Function at 0x45b762
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 dword [esp + 4], ecx
mov esi, edx
xorps xmm0, xmm0
mov eax, dword [0x63a1e8]
xor eax, ebp
mov dword [esp + 0x118], eax
lea eax, [esp + 0x40]
movaps xmmword [eax], xmm0
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpGetIEProxyConfigForCurrentUser]
test eax, eax
je 0x45b7e9
push 0x10
call fcn.00590936
add esp, 4
mov edi, dword [esp + 0x48]
mov ebx, eax
mov dword [eax], 0x5c3860
xor eax, eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], eax
mov dword [esp], ebx
test edi, edi
je 0x45b84d
xor ecx, ecx
xor edx, edx
cmp word [edi], 0
mov eax, 0
setne bl
je 0x45b7de
mov ecx, dword [esp + 0x4c]
mov eax, edi
mov dl, bl
mov ebx, dword [esp]
lea edx, [edx + edx + 1]
jmp 0x45b852
push 2
call fcn.004824f0
add esp, 4
test al, al
je 0x45b83e
lea esi, [esp + 0x58]
mov ecx, esi
push 2
push 0x69
push str..._.._chrome_chrome_cleaner_http_http_agent_impl.cc
call fcn.00482590
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.0045b2c0
add esp, 8
mov ecx, esi
call fcn.00482940
mov esi, dword [esp + 4]
mov dword [esi], 0
jmp 0x45befd
xor edx, edx
xor ecx, ecx
inc edx
cmp byte [esi + 0xb], 0
lea edi, [ebx + 4]
jns 0x45b85d
mov esi, dword [esi]
push 0
push ecx
push eax
push edx
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov ecx, edi
mov edx, eax
call fcn.0045c0c6
mov eax, dword [edi]
test eax, eax
je 0x45b9d5
mov esi, dword [ebp + 0x14]
mov dword [esp + 0xc], edi
push 0
push 0x10000
push 0x45c100
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpSetStatusCallback]
cmp eax, 0xffffffff
jne 0x45b8f7
mov ebx, esi
push 2
call fcn.004824f0
add esp, 4
test al, al
je 0x45b8f5
lea edi, [esp + 0x58]
mov ecx, edi
push 2
push 0x13d
push str..._.._chrome_chrome_cleaner_http_http_agent_impl.cc
call fcn.00482590
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.0045b2c0
add esp, 8
mov ecx, edi
call fcn.00482940
mov esi, ebx
mov eax, dword [esp + 0x44]
cmp dword [esp + 0x40], 1
lea edi, [esp + 0x24]
mov edx, 0x5bf824
mov ecx, edi
sete byte [edi - 4]
test eax, eax
cmovne edx, eax
push edx
call fcn.0041be8c
movzx ecx, byte [ebp + 0x18]
movzx eax, word [ebp + 0xc]
mov byte [edi + 0xc], 0
lea edi, [esp + 0x34]
xor ebx, ebx
lea edx, [esp + 0x14]
mov dword [edi + 4], ebx
mov dword [edi], ebx
mov dword [edi + 8], ebx
mov dword [esp + 0x10], ecx
push ecx
push esi
mov dword [esp + 0x10], eax
push eax
push dword [ebp + 8]
mov esi, edx
push edx
call fcn.0045c790
add esp, 0x14
mov eax, dword [esp + 0xc]
cmp byte [edi - 0x14], 0
mov edx, dword [eax]
je 0x45ba5a
cmp byte [esp + 0x1f], 0
mov dword [esp + 0x10c], ebx
mov dword [esp + 0x108], ebx
mov dword [esp + 0x114], ebx
mov dword [esp + 0x110], ebx
mov dword [esp + 0x100], 0x20001
mov dword [esp + 0x104], 3
jns 0x45b99e
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x34]
lea eax, [esp + 0x100]
push ecx
push eax
push esi
push edx
mov esi, edx
call dword [sym.imp.WINHTTP.dll_WinHttpGetProxyForUrl]
mov ebx, dword [esp]
test eax, eax
je 0x45ba40
mov ecx, dword [ebp + 8]
mov edi, dword [esp + 0xc]
lea eax, [esp + 0x14]
mov byte [esp + 0x30], 1
jmp 0x45bb7f
push 2
call fcn.004824f0
add esp, 4
test al, al
je 0x45ba31
lea esi, [esp + 0x58]
mov ecx, esi
push 2
push 0x135
push str..._.._chrome_chrome_cleaner_http_http_agent_impl.cc
call fcn.00482590
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
mov ebx, dword [esp + 8]
call fcn.0045b2c0
add esp, 8
mov ecx, esi
call fcn.00482940
mov esi, dword [esp + 4]
mov dword [esi], 0
jmp 0x45bef5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2f92
je 0x45ba58
cmp eax, 0x2f94
jne 0x45bb1c
mov edx, esi
movzx eax, byte [esp + 0x2f]
mov ebx, dword [esp]
test al, al
mov ecx, eax
jns 0x45ba6c
mov ecx, dword [esp + 0x28]
mov edi, dword [esp + 0xc]
test ecx, ecx
je 0x45bb78
xor ecx, ecx
test al, al
lea eax, [esp + 0x24]
mov dword [esp + 0x104], ecx
mov dword [esp + 0x110], ecx
mov dword [esp + 0x10c], ecx
mov dword [esp + 0x114], ecx
mov dword [esp + 0x100], 2
jns 0x45baad
mov eax, dword [esp + 0x24]
cmp byte [esp + 0x1f], 0
mov dword [esp + 0x108], eax
jns 0x45bac3
mov eax, dword [esp + 0x14]
mov esi, edx
jmp 0x45bac9
mov esi, edx
lea eax, [esp + 0x14]
lea edx, [esp + 0x34]
lea ecx, [esp + 0x100]
push edx
push ecx
push eax
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpGetProxyForUrl]
test eax, eax
je 0x45baec
mov byte [esp + 0x30], 1
jmp 0x45bb78
push 2
call fcn.004824f0
add esp, 4
test al, al
je 0x45bb78
lea ecx, [esp + 0x58]
push 2
push 0xd7
push str..._.._chrome_chrome_cleaner_http_http_agent_impl.cc
call fcn.00482590
lea eax, [esp + 0x60]
push 0x3c
push str.WinHttpGetProxyForUrl_WINHTTP_AUTOPROXY_CONFIG_URL__failed:
jmp 0x45bb4e
push 2
call fcn.004824f0
add esp, 4
mov edi, dword [esp + 0xc]
test al, al
je 0x45bb78
lea ecx, [esp + 0x58]
push 2
push 0xc4
push str..._.._chrome_chrome_cleaner_http_http_agent_impl.cc
call fcn.00482590
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.0045b2c0
add esp, 8
lea ecx, [esp + 0x58]
call fcn.00482940
mov ecx, dword [ebp + 8]
lea eax, [esp + 0x14]
cmp byte [eax + 0xb], 0
jns 0x45bb94
push dword [esp + 0x14]
call fcn.005909b6
mov ecx, dword [ebp + 8]
add esp, 4
cmp byte [ecx + 0xb], 0
lea esi, [ebx + 8]
mov eax, ecx
jns 0x45bba1
mov eax, dword [ecx]
push 0
push dword [esp + 0xc]
push eax
push dword [edi]
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov ecx, esi
mov edx, eax
call fcn.0045c0c6
mov eax, dword [esi]
test eax, eax
je 0x45bc9d
mov edx, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
cmp byte [edx + 0xb], 0
jns 0x45bbd1
mov edx, dword [edx]
add ebx, 0xc
shl dword [esp + 0x10], 0x17
cmp byte [ecx + 0xb], 0
jns 0x45bbe1
mov ecx, dword [ecx]
xor edi, edi
push dword [esp + 0x10]
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.0045c0c6
cmp dword [esi], edi
je 0x45bcc2
lea eax, [esp + 0x100]
mov dword [eax], 5
push 4
push eax
push 0x3f
push dword [ebx]
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
mov esi, dword [esp + 4]
test eax, eax
je 0x45bd7c
cmp byte [esp + 0x30], 0
je 0x45bc4a
push 0xc
lea eax, [esp + 0x38]
push eax
push 0x26
push dword [ebx]
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
je 0x45be5d
mov ecx, dword [ebp + 0x20]
mov eax, dword [ebp + 0x1c]
movzx edx, byte [ecx + 0xb]
test dl, dl
jns 0x45bc5d
mov edx, dword [ecx + 4]
mov ecx, dword [ecx]
cmp byte [eax + 0xb], 0
jns 0x45bc65
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 0x45bdb5
push 0
mov ebx, dword [esp + 4]
push dword [ebx + 0xc]
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
je 0x45bf42
mov eax, ebx
xor ebx, ebx
jmp 0x45bebe
push 2
call fcn.004824f0
add esp, 4
test al, al
je 0x45bd6d
lea esi, [esp + 0x58]
mov edi, 2
mov ecx, esi
push edi
push 0x14a
jmp 0x45bce5
push 2
call fcn.004824f0
add esp, 4
test al, al
je 0x45bd64
lea esi, [esp + 0x58]
mov edi, 2
mov ecx, esi
push edi
push 0x157
push str..._.._chrome_chrome_cleaner_http_http_agent_impl.cc
call fcn.00482590
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 0x45bd0e
mov ecx, dword [ecx]
push ecx
push eax
call fcn.00483130
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.00462490
push edi
push 0x5bf32f
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.0045b2c0
add esp, 8
mov ecx, esi
call fcn.00482940
mov esi, dword [esp + 4]
mov ebx, dword [esp]
jmp 0x45bd71
mov esi, dword [esp + 4]
mov dword [esi], 0
jmp 0x45bec0
push 2
call fcn.004824f0
add esp, 4
test al, al
je 0x45beb9
lea esi, [esp + 0x58]
mov ecx, esi
push 2
push 0x162
push str..._.._chrome_chrome_cleaner_http_http_agent_impl.cc
call fcn.00482590
lea eax, [esp + 0x60]
push 0x53
push str.WinHttpSetOption_WINHTTP_DISABLE_COOKIES__WINHTTP_DISABLE_AUTHENTICATION__failed:
jmp 0x45be8d
push 2
call fcn.004824f0
add esp, 4
mov ebx, dword [esp]
test al, al
je 0x45bebc
lea esi, [esp + 0x58]
mov edi, 2
mov ecx, esi
push edi
push 0x179
push str..._.._chrome_chrome_cleaner_http_http_agent_impl.cc
call fcn.00482590
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 0x45be04
mov ecx, dword [ecx]
push ecx
push eax
call fcn.00483130
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.00462490
push edi
push 0x5bf32f
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.0045b2c0
add esp, 8
mov ecx, esi
call fcn.00482940
mov esi, dword [esp + 4]
jmp 0x45beb9
push 2
call fcn.004824f0
add esp, 4
test al, al
je 0x45beb9
lea esi, [esp + 0x58]
mov ecx, esi
push 2
push 0x16d
push str..._.._chrome_chrome_cleaner_http_http_agent_impl.cc
call fcn.00482590
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.0045b2c0
add esp, 8
mov ecx, esi
mov esi, dword [esp + 4]
call fcn.00482940
mov ebx, dword [esp]
xor eax, eax
mov dword [esi], eax
mov eax, dword [esp + 0x38]
test eax, eax
je 0x45becf
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x45bede
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
cmp byte [esp + 0x2f], 0
jns 0x45bef1
push dword [esp + 0x24]
call fcn.005909b6
add esp, 4
test ebx, ebx
je 0x45befd
mov eax, dword [ebx]
mov ecx, ebx
push 1
call dword [eax]
mov eax, dword [esp + 0x44]
test eax, eax
je 0x45bf0c
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [esp + 0x48]
test eax, eax
je 0x45bf1b
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x45bf2a
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov ecx, dword [esp + 0x118]
xor ecx, ebp
call fcn.005909f1
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push 2
call fcn.004824f0
add esp, 4
test al, al
je 0x45bebc
lea esi, [esp + 0x58]
mov edi, 2
mov ecx, esi
push edi
push 0x181
push str..._.._chrome_chrome_cleaner_http_http_agent_impl.cc
call fcn.00482590
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 0x45bf8e
mov ecx, dword [ecx]
push ecx
push eax
call fcn.00483130
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.00462490
push edi
push 0x5bf32f
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 + 8]
call fcn.0045b2c0
add esp, 8
mov ecx, esi
call fcn.00482940
mov esi, dword [esp + 4]
jmp 0x45bebc