Function at 0x45bed2
Capabilities:
Initialize winhttp library
Prepare http request
Receive http response

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x120
mov esi, edx
mov ebx, ecx
mov eax, dword [0x6401e4]
xor eax, ebp
mov dword [esp + 0x118], eax
xorps xmm0, xmm0
lea eax, [esp + 0x40]
movaps xmmword [eax], xmm0
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpGetIEProxyConfigForCurrentUser]
test eax, eax
je 0x45bf51
mov dword [esp + 4], ebx
push 0x10
call fcn.00596296
add esp, 4
mov dword [eax], 0x5c9cf0
xor edi, edi
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov dword [esp], eax
mov dword [eax + 0xc], edi
mov eax, dword [esp + 0x48]
test eax, eax
je 0x45bfb1
xor ecx, ecx
xor edx, edx
cmp word [eax], 0
setne bl
mov edi, 0
je 0x45bf4a
mov ecx, dword [esp + 0x4c]
mov edi, eax
mov dl, bl
add edx, edx
inc edx
jmp 0x45bfb6
push 2
call fcn.00483a10
add esp, 4
test al, al
je 0x45bfa6
lea esi, [esp + 0x58]
mov ecx, esi
push 2
push 0x69
push str..._.._chrome_chrome_cleaner_http_http_agent_impl.cc
call fcn.00483ab0
lea eax, [esp + 0x60]
push 0x30
push str.WinHttpGetIEProxyConfigForCurrentUser___failed:
push eax
call fcn.00401baa
add esp, 0xc
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [esp + 0x20]
mov dword [ecx], eax
push ecx
push edi
call fcn.0045b970
add esp, 8
mov ecx, esi
call fcn.00483e50
mov dword [ebx], 0
jmp 0x45c642
xor edx, edx
inc edx
xor ecx, ecx
mov eax, dword [esp]
lea ebx, [eax + 4]
cmp byte [esi + 0xb], 0
jns 0x45bfc4
mov esi, dword [esi]
push 0
push ecx
push edi
push edx
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov ecx, ebx
mov edx, eax
call fcn.0045c816
mov eax, dword [ebx]
test eax, eax
je 0x45c11e
mov dword [esp + 0x10], ebx
mov esi, dword [ebp + 0x14]
movzx edi, word [ebp + 0xc]
push 0
push 0x10000
push 0x45c850
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpSetStatusCallback]
cmp eax, 0xffffffff
jne 0x45c061
push 2
call fcn.00483a10
add esp, 4
test al, al
je 0x45c05e
lea ebx, [esp + 0x58]
mov ecx, ebx
push 2
push 0x13c
push str..._.._chrome_chrome_cleaner_http_http_agent_impl.cc
call fcn.00483ab0
lea eax, [esp + 0x60]
push 0x23
push str.WinHttpSetStatusCallback___failed:
push eax
call fcn.00401baa
add esp, 0xc
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [esp + 0x20]
mov dword [ecx], eax
push ecx
push esi
call fcn.0045b970
add esp, 8
mov ecx, ebx
call fcn.00483e50
mov esi, dword [ebp + 0x14]
mov eax, dword [esp + 0x44]
cmp dword [esp + 0x40], 1
lea ebx, [esp + 0x24]
sete byte [ebx - 4]
test eax, eax
mov edx, 0x5c5854
cmovne edx, eax
mov ecx, ebx
push edx
call fcn.0041be7c
mov byte [ebx + 0xc], 0
lea ebx, [esp + 0x34]
xor eax, eax
mov dword [ebx + 4], eax
mov dword [ebx], eax
mov dword [ebx + 8], eax
movzx ecx, byte [ebp + 0x18]
movzx eax, di
lea edi, [esp + 0x14]
mov dword [esp + 0xc], ecx
push ecx
push esi
mov dword [esp + 0x10], eax
push eax
push dword [ebp + 8]
push edi
call fcn.0045ced4
add esp, 0x14
mov eax, dword [esp + 0x10]
mov esi, dword [eax]
cmp byte [ebx - 0x14], 0
je 0x45c1a0
xorps xmm0, xmm0
movups xmmword [esp + 0x108], xmm0
mov dword [esp + 0x100], 0x20001
mov dword [esp + 0x104], 3
cmp byte [esp + 0x1f], 0
jns 0x45c0f4
mov edi, dword [esp + 0x14]
lea eax, [esp + 0x100]
lea ecx, [esp + 0x34]
push ecx
push eax
push edi
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpGetProxyForUrl]
test eax, eax
je 0x45c188
lea eax, [esp + 0x14]
mov byte [esp + 0x30], 1
mov edi, dword [esp]
jmp 0x45c1fb
push 2
call fcn.00483a10
add esp, 4
test al, al
je 0x45c176
lea esi, [esp + 0x58]
mov ecx, esi
push 2
push 0x134
push str..._.._chrome_chrome_cleaner_http_http_agent_impl.cc
call fcn.00483ab0
lea eax, [esp + 0x60]
push 0x16
push str.WinHttpOpen___failed:
push eax
call fcn.00401baa
add esp, 0xc
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [esp + 0x20]
mov dword [ecx], eax
push ecx
push ebx
call fcn.0045b970
add esp, 8
mov ecx, esi
call fcn.00483e50
mov ebx, dword [esp + 4]
mov edi, dword [esp]
mov dword [ebx], 0
jmp 0x45c63a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2f92
je 0x45c1a0
cmp eax, 0x2f94
jne 0x45c288
movzx eax, byte [esp + 0x2f]
mov ecx, eax
test al, al
jns 0x45c1af
mov ecx, dword [esp + 0x28]
test ecx, ecx
mov edi, dword [esp]
je 0x45c1f7
xorps xmm0, xmm0
movups xmmword [esp + 0x104], xmm0
mov dword [esp + 0x114], 0
mov dword [esp + 0x100], 2
test al, al
lea eax, [esp + 0x24]
jns 0x45c1e3
mov eax, dword [esp + 0x24]
mov dword [esp + 0x108], eax
cmp byte [esp + 0x1f], 0
jns 0x45c203
mov eax, dword [esp + 0x14]
jmp 0x45c207
lea eax, [esp + 0x14]
mov ecx, dword [ebp + 8]
jmp 0x45c2ea
lea eax, [esp + 0x14]
lea ecx, [esp + 0x100]
lea edx, [esp + 0x34]
push edx
push ecx
push eax
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpGetProxyForUrl]
test eax, eax
je 0x45c22a
mov byte [esp + 0x30], 1
jmp 0x45c2e3
push 2
call fcn.00483a10
add esp, 4
test al, al
je 0x45c2e3
lea ebx, [esp + 0x58]
mov ecx, ebx
push 2
push 0xd7
push str..._.._chrome_chrome_cleaner_http_http_agent_impl.cc
call fcn.00483ab0
lea eax, [esp + 0x60]
push 0x3c
push str.WinHttpGetProxyForUrl_WINHTTP_AUTOPROXY_CONFIG_URL__failed:
push eax
call fcn.00401baa
add esp, 0xc
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [esp + 0x54]
mov dword [ecx], eax
push ecx
push esi
call fcn.0045b970
add esp, 8
mov ecx, ebx
call fcn.00483e50
jmp 0x45c2e3
push 2
call fcn.00483a10
add esp, 4
test al, al
je 0x45c2e0
lea edi, [esp + 0x58]
mov ecx, edi
push 2
push 0xc4
push str..._.._chrome_chrome_cleaner_http_http_agent_impl.cc
call fcn.00483ab0
lea eax, [esp + 0x60]
push 0x4c
push str.Unexpected_error_during_WinHttpGetProxyForUrl_WINHTTP_AUTOPROXY_AUTO_DETECT_
push eax
call fcn.00401baa
add esp, 0xc
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [esp + 0x54]
mov dword [ecx], eax
push ecx
push esi
call fcn.0045b970
add esp, 8
mov ecx, edi
call fcn.00483e50
mov edi, dword [esp]
mov ecx, dword [ebp + 8]
lea eax, [esp + 0x14]
cmp byte [eax + 0xb], 0
jns 0x45c2ff
push dword [esp + 0x14]
call fcn.00596316
mov ecx, dword [ebp + 8]
add esp, 4
lea esi, [edi + 8]
cmp byte [ecx + 0xb], 0
mov eax, ecx
jns 0x45c30c
mov eax, dword [ecx]
push 0
push dword [esp + 0xc]
push eax
mov eax, dword [esp + 0x1c]
push dword [eax]
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov ecx, esi
mov edx, eax
call fcn.0045c816
mov eax, dword [esi]
test eax, eax
je 0x45c40d
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
cmp byte [edx + 0xb], 0
jns 0x45c340
mov edx, dword [edx]
mov ebx, edi
add ebx, 0xc
shl dword [esp + 0xc], 0x17
cmp byte [ecx + 0xb], 0
jns 0x45c352
mov ecx, dword [ecx]
xor edi, edi
push dword [esp + 0xc]
push edi
push edi
push edi
push edx
push ecx
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov ecx, ebx
mov edx, eax
call fcn.0045c816
cmp dword [esi], edi
je 0x45c432
lea eax, [esp + 0x100]
mov dword [eax], 5
push 4
push eax
push 0x3f
push dword [ebx]
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
je 0x45c4ec
cmp byte [esp + 0x30], 0
je 0x45c3b7
push 0xc
lea eax, [esp + 0x38]
push eax
push 0x26
push dword [ebx]
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
je 0x45c5a2
mov ecx, dword [ebp + 0x20]
mov eax, dword [ebp + 0x1c]
movzx edx, byte [ecx + 0xb]
test dl, dl
jns 0x45c3ca
mov edx, dword [ecx + 4]
mov ecx, dword [ecx]
cmp byte [eax + 0xb], 0
mov edi, dword [esp]
jns 0x45c3d5
mov eax, dword [eax]
push 0
push edx
push edx
push ecx
push 0xffffffffffffffff
push eax
push dword [ebx]
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
je 0x45c525
push 0
push dword [edi + 0xc]
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
mov ebx, dword [esp + 4]
je 0x45c687
mov eax, edi
xor edi, edi
jmp 0x45c603
push 2
call fcn.00483a10
add esp, 4
test al, al
je 0x45c4dd
mov edi, 2
lea esi, [esp + 0x58]
mov ecx, esi
push edi
push 0x149
jmp 0x45c455
push 2
call fcn.00483a10
add esp, 4
test al, al
je 0x45c4d4
mov edi, 2
lea esi, [esp + 0x58]
mov ecx, esi
push edi
push 0x156
push str..._.._chrome_chrome_cleaner_http_http_agent_impl.cc
call fcn.00483ab0
lea eax, [esp + 0x60]
push 0x22
push str.WinHttpConnect___failed_with_host
push eax
call fcn.00401baa
add esp, 0xc
mov ecx, dword [ebp + 8]
cmp byte [ecx + 0xb], 0
jns 0x45c47e
mov ecx, dword [ecx]
push ecx
push eax
call fcn.00484610
add esp, 8
push 0xa
push str._and_port
push eax
call fcn.00401baa
add esp, 0xc
mov ecx, eax
push dword [esp + 8]
call fcn.00462c70
push edi
push 0x5c534f
push eax
call fcn.00401baa
add esp, 0xc
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [esp + 0x100]
mov dword [ecx], eax
push ecx
push ebx
call fcn.0045b970
add esp, 8
mov ecx, esi
call fcn.00483e50
mov ebx, dword [esp + 4]
mov edi, dword [esp]
jmp 0x45c4e1
mov ebx, dword [esp + 4]
mov dword [ebx], 0
jmp 0x45c605
push 2
call fcn.00483a10
add esp, 4
test al, al
je 0x45c5fa
lea esi, [esp + 0x58]
mov ecx, esi
push 2
push 0x161
push str..._.._chrome_chrome_cleaner_http_http_agent_impl.cc
call fcn.00483ab0
lea eax, [esp + 0x60]
push 0x53
push str.WinHttpSetOption_WINHTTP_DISABLE_COOKIES__WINHTTP_DISABLE_AUTHENTICATION__failed:
jmp 0x45c5d2
push 2
call fcn.00483a10
add esp, 4
test al, al
mov ebx, dword [esp + 4]
je 0x45c731
mov edi, 2
lea esi, [esp + 0x58]
mov ecx, esi
push edi
push 0x178
push str..._.._chrome_chrome_cleaner_http_http_agent_impl.cc
call fcn.00483ab0
lea eax, [esp + 0x60]
push 0x24
push str.Failed_to_send_HTTP_request_to_host
push eax
call fcn.00401baa
add esp, 0xc
mov ecx, dword [ebp + 8]
cmp byte [ecx + 0xb], 0
jns 0x45c575
mov ecx, dword [ecx]
push ecx
push eax
call fcn.00484610
add esp, 8
push 0xa
push str._and_port
push eax
call fcn.00401baa
add esp, 0xc
mov ecx, eax
push dword [esp + 8]
call fcn.00462c70
push edi
push 0x5c534f
jmp 0x45c5d2
push 2
call fcn.00483a10
add esp, 4
test al, al
je 0x45c5fa
lea esi, [esp + 0x58]
mov ecx, esi
push 2
push 0x16c
push str..._.._chrome_chrome_cleaner_http_http_agent_impl.cc
call fcn.00483ab0
lea eax, [esp + 0x60]
push 0x2f
push str.WinHttpSetOption_WINHTTP_OPTION_PROXY__failed:
push eax
call fcn.00401baa
add esp, 0xc
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [esp + 0x14]
mov dword [ecx], eax
push ecx
push ebx
call fcn.0045b970
add esp, 8
mov ecx, esi
call fcn.00483e50
xor eax, eax
mov ebx, dword [esp + 4]
mov edi, dword [esp]
mov dword [ebx], eax
mov eax, dword [esp + 0x38]
test eax, eax
je 0x45c614
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x45c623
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
cmp byte [esp + 0x2f], 0
jns 0x45c636
push dword [esp + 0x24]
call fcn.00596316
add esp, 4
test edi, edi
je 0x45c642
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax]
mov eax, dword [esp + 0x44]
test eax, eax
je 0x45c651
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [esp + 0x48]
test eax, eax
je 0x45c660
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x45c66f
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov ecx, dword [esp + 0x118]
xor ecx, ebp
call fcn.00596351
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push 2
call fcn.00483a10
add esp, 4
test al, al
je 0x45c731
mov edi, 2
lea esi, [esp + 0x58]
mov ecx, esi
push edi
push 0x180
push str..._.._chrome_chrome_cleaner_http_http_agent_impl.cc
call fcn.00483ab0
lea eax, [esp + 0x60]
push 0x28
push str.Failed_to_complete_HTTP_request_to_host
push eax
call fcn.00401baa
add esp, 0xc
mov ecx, dword [ebp + 8]
cmp byte [ecx + 0xb], 0
jns 0x45c6d3
mov ecx, dword [ecx]
push ecx
push eax
call fcn.00484610
add esp, 8
push 0xa
push str._and_port
push eax
call fcn.00401baa
add esp, 0xc
mov ecx, eax
push dword [esp + 8]
call fcn.00462c70
push edi
push 0x5c534f
push eax
call fcn.00401baa
add esp, 0xc
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [esp + 0x14]
mov dword [ecx], eax
push ecx
push ebx
mov ebx, dword [esp + 0xc]
call fcn.0045b970
add esp, 8
mov ecx, esi
call fcn.00483e50
xor eax, eax
jmp 0x45c600
xor eax, eax
jmp 0x45c603