Function at 0x48a5c4
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 ebx, edx
mov esi, ecx
mov eax, dword [0x674014]
xor eax, ebp
mov dword [esp + 0x118], eax
pxor xmm0, xmm0
lea eax, [esp + 0x40]
movdqa xmmword [eax], xmm0
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpGetIEProxyConfigForCurrentUser]
test eax, eax
je 0x48a64b
mov dword [esp], esi
push 0x10
call fcn.005dc726
add esp, 4
mov dword [eax], fcn.0048bb20
xor edi, edi
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
mov esi, dword [esp + 0x48]
test esi, esi
je 0x48a6af
xor ecx, ecx
xor edx, edx
cmp word [esi], 0
setne byte [esp + 4]
mov edi, 0
je 0x48a640
mov ecx, dword [esp + 0x4c]
mov edi, esi
mov esi, ecx
mov dl, byte [esp + 4]
add edx, edx
inc edx
jmp 0x48a6b4
push 2
call fcn.004b68d0
add esp, 4
test al, al
je 0x48a6a4
lea edi, [esp + 0x5c]
mov ecx, edi
push 2
push 0x6e
push str.....chromechrome_cleanerhttphttp_agent_impl.cc
call fcn.004b6940
lea eax, [esp + 0x64]
push 0x30
push str.WinHttpGetIEProxyConfigForCurrentUser___failed:
push eax
call fcn.0041482a
add esp, 0xc
mov ebx, esi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [esp + 0x20]
mov dword [ecx], eax
push ecx
push esi
mov esi, ebx
call fcn.00489c37
add esp, 8
mov ecx, edi
call fcn.004b6d50
mov dword [esi], 0
jmp 0x48ad59
xor edx, edx
inc edx
xor ecx, ecx
lea esi, [eax + 4]
cmp byte [ebx + 0xb], 0
mov dword [esp + 0xc], eax
jns 0x48a6c3
mov ebx, dword [ebx]
push 0
push ecx
push edi
push edx
push ebx
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov ecx, esi
mov edx, eax
call fcn.0048ae76
mov esi, dword [esi]
test esi, esi
je 0x48a871
mov edi, dword [ebp + 8]
push 0
push 0x10000
push 0x48aeb0
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpSetStatusCallback]
cmp eax, 0xffffffff
mov dword [esp + 8], esi
jne 0x48a75c
push 2
call fcn.004b68d0
add esp, 4
test al, al
je 0x48a759
lea edi, [esp + 0x5c]
mov ecx, edi
push 2
push 0x142
push str.....chromechrome_cleanerhttphttp_agent_impl.cc
call fcn.004b6940
lea eax, [esp + 0x64]
push 0x23
push str.WinHttpSetStatusCallback___failed:
push eax
call fcn.0041482a
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.00489c37
add esp, 8
mov ecx, edi
call fcn.004b6d50
mov edi, dword [ebp + 8]
pcmpeqd xmm0, xmm0
lea ebx, [esp + 0x24]
movdqa xmmword [ebx - 4], xmm0
movdqa xmmword [ebx + 0xc], xmm0
cmp dword [esp + 0x40], 1
mov eax, dword [esp + 0x44]
sete byte [ebx - 4]
test eax, eax
mov edx, 0x61b34c
cmovne edx, eax
mov ecx, ebx
push edx
call fcn.00419880
mov byte [ebx + 0xc], 0
mov edx, edi
lea edi, [esp + 0x34]
xor eax, eax
mov dword [edi + 4], eax
mov dword [edi], eax
mov dword [edi + 8], eax
movzx ecx, byte [ebp + 0x18]
movzx eax, word [ebp + 0xc]
lea esi, [esp + 0x14]
mov dword [esp + 0x10], ecx
push ecx
push dword [ebp + 0x14]
mov dword [esp + 0xc], eax
push eax
push edx
push esi
call fcn.0048bef4
add esp, 0x14
cmp byte [edi - 0x14], 0
je 0x48a831
pxor xmm0, xmm0
movdqu xmmword [esp + 0x108], xmm0
mov dword [esp + 0x100], 0x20001
mov dword [esp + 0x104], 3
cmp byte [esp + 0x1f], 0
jns 0x48a7f8
mov esi, dword [esp + 0x14]
lea eax, [esp + 0x100]
lea ecx, [esp + 0x34]
push ecx
push eax
push esi
mov edi, dword [esp + 0x14]
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpGetProxyForUrl]
test eax, eax
jne 0x48a945
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2f92
je 0x48a831
cmp eax, 0x2f94
jne 0x48abad
cmp byte [esp + 0x2f], 0
js 0x48a8db
mov ecx, dword [ebp + 8]
mov edi, dword [esp + 8]
je 0x48a94d
pxor xmm0, xmm0
movdqu xmmword [esp + 0x104], xmm0
mov dword [esp + 0x114], 0
mov dword [esp + 0x100], 2
jmp 0x48a910
push 2
call fcn.004b68d0
add esp, 4
test al, al
je 0x48a8c9
lea ebx, [esp + 0x5c]
mov ecx, ebx
push 2
push 0x13a
push str.....chromechrome_cleanerhttphttp_agent_impl.cc
call fcn.004b6940
lea eax, [esp + 0x64]
push 0x16
push str.WinHttpOpen___failed:
push eax
call fcn.0041482a
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.00489c37
add esp, 8
mov ecx, ebx
call fcn.004b6d50
mov esi, dword [esp]
mov edi, dword [esp + 0xc]
mov dword [esi], 0
jmp 0x48ad4c
cmp dword [esp + 0x28], 0
mov ecx, dword [ebp + 8]
mov edi, dword [esp + 8]
je 0x48a94d
pxor xmm0, xmm0
movdqu xmmword [esp + 0x104], xmm0
mov dword [esp + 0x114], 0
mov dword [esp + 0x100], 2
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x108], ebx
cmp byte [esp + 0x1f], 0
jns 0x48a924
mov eax, dword [esp + 0x14]
jmp 0x48a928
lea eax, [esp + 0x14]
lea ecx, [esp + 0x100]
lea edx, [esp + 0x34]
push edx
push ecx
push eax
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpGetProxyForUrl]
test eax, eax
je 0x48ab77
mov byte [esp + 0x30], 1
mov ecx, dword [ebp + 8]
cmp byte [esp + 0x1f], 0
jns 0x48a963
push dword [esp + 0x14]
call fcn.005dc756
mov ecx, dword [ebp + 8]
add esp, 4
mov ebx, dword [esp + 0xc]
lea esi, [ebx + 8]
cmp byte [ecx + 0xb], 0
mov eax, ecx
jns 0x48a974
mov eax, dword [ecx]
push 0
push dword [esp + 8]
push eax
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov ecx, esi
mov edx, eax
call fcn.0048ae76
mov eax, dword [ebx + 8]
test eax, eax
mov edi, ebx
je 0x48aa72
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
cmp byte [edx + 0xb], 0
jns 0x48a9a6
mov edx, dword [edx]
mov ebx, edi
add ebx, 0xc
shl dword [esp + 0x10], 0x17
cmp byte [ecx + 0xb], 0
jns 0x48a9b8
mov ecx, dword [ecx]
xor esi, esi
push dword [esp + 0x10]
push esi
push esi
push esi
push edx
push ecx
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov ecx, ebx
mov edx, eax
call fcn.0048ae76
cmp dword [edi + 8], esi
je 0x48aa97
lea eax, [esp + 0x100]
mov dword [eax], 5
mov esi, dword [ebx]
push 4
push eax
push 0x3f
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
je 0x48ab3e
cmp byte [esp + 0x30], 0
je 0x48aa26
lea eax, [esp + 0x34]
test eax, eax
je 0x48aa26
push 0xc
lea eax, [esp + 0x38]
push eax
push 0x26
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
je 0x48ac48
mov ecx, dword [ebp + 0x20]
mov eax, dword [ebp + 0x1c]
movzx edx, byte [ecx + 0xb]
test dl, dl
jns 0x48aa39
mov edx, dword [ecx + 4]
mov ecx, dword [ecx]
cmp byte [eax + 0xb], 0
jns 0x48aa41
mov eax, dword [eax]
push 0
push edx
push edx
push ecx
push 0xffffffffffffffff
push eax
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
je 0x48ac0e
push 0
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
je 0x48ac7e
mov eax, edi
xor edi, edi
jmp 0x48ad16
push 2
call fcn.004b68d0
add esp, 4
test al, al
je 0x48ab30
mov esi, 2
lea ebx, [esp + 0x5c]
mov ecx, ebx
push esi
push 0x14f
jmp 0x48aaba
push 2
call fcn.004b68d0
add esp, 4
test al, al
je 0x48ab30
mov esi, 2
lea ebx, [esp + 0x5c]
mov ecx, ebx
push esi
push 0x15c
push str.....chromechrome_cleanerhttphttp_agent_impl.cc
call fcn.004b6940
lea eax, [esp + 0x64]
push 0x22
push str.WinHttpConnect___failed_with_host
push eax
call fcn.0041482a
add esp, 0xc
push dword [ebp + 8]
push eax
call fcn.004b7530
add esp, 8
push 0xa
push str._and_port
push eax
call fcn.0041482a
add esp, 0xc
mov ecx, eax
push dword [esp + 4]
call fcn.00410e20
push esi
push 0x61d3ef
push eax
call fcn.0041482a
add esp, 0xc
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [esp + 0x100]
mov dword [ecx], eax
push ecx
push esi
call fcn.00489c37
add esp, 8
mov ecx, ebx
call fcn.004b6d50
mov esi, dword [esp]
mov dword [esi], 0
jmp 0x48ad1b
push 2
call fcn.004b68d0
add esp, 4
test al, al
je 0x48ad14
lea ebx, [esp + 0x5c]
mov ecx, ebx
push 2
push 0x167
push str.....chromechrome_cleanerhttphttp_agent_impl.cc
call fcn.004b6940
lea eax, [esp + 0x64]
push 0x53
push str.WinHttpSetOption_WINHTTP_DISABLE_COOKIES__WINHTTP_DISABLE_AUTHENTICATION__failed:
jmp 0x48acec
push 2
call fcn.004b68d0
add esp, 4
test al, al
je 0x48a94a
lea ebx, [esp + 0x5c]
mov ecx, ebx
push 2
push 0xde
push str.....chromechrome_cleanerhttphttp_agent_impl.cc
call fcn.004b6940
lea eax, [esp + 0x64]
push 0x3c
push str.WinHttpGetProxyForUrl_WINHTTP_AUTOPROXY_CONFIG_URL__failed:
jmp 0x48abe1
push 2
call fcn.004b68d0
add esp, 4
test al, al
je 0x48a94a
lea ebx, [esp + 0x5c]
mov ecx, ebx
push 2
push 0xcb
push str.....chromechrome_cleanerhttphttp_agent_impl.cc
call fcn.004b6940
lea eax, [esp + 0x64]
push 0x4c
push str.Unexpected_error_during_WinHttpGetProxyForUrl_WINHTTP_AUTOPROXY_AUTO_DETECT_
push eax
call fcn.0041482a
add esp, 0xc
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [esp + 0x58]
mov dword [ecx], eax
push ecx
push esi
call fcn.00489c37
add esp, 8
mov ecx, ebx
call fcn.004b6d50
jmp 0x48a94a
push 2
call fcn.004b68d0
add esp, 4
test al, al
je 0x48ad14
mov esi, 2
lea ebx, [esp + 0x5c]
mov ecx, ebx
push esi
push 0x17e
push str.....chromechrome_cleanerhttphttp_agent_impl.cc
call fcn.004b6940
lea eax, [esp + 0x64]
push 0x24
push str.Failed_to_send_HTTP_request_to_host
jmp 0x48acb6
push 2
call fcn.004b68d0
add esp, 4
test al, al
je 0x48ad14
lea ebx, [esp + 0x5c]
mov ecx, ebx
push 2
push 0x172
push str.....chromechrome_cleanerhttphttp_agent_impl.cc
call fcn.004b6940
lea eax, [esp + 0x64]
push 0x2f
push str.WinHttpSetOption_WINHTTP_OPTION_PROXY__failed:
jmp 0x48acec
push 2
call fcn.004b68d0
add esp, 4
test al, al
je 0x48ad14
mov esi, 2
lea ebx, [esp + 0x5c]
mov ecx, ebx
push esi
push 0x186
push str.....chromechrome_cleanerhttphttp_agent_impl.cc
call fcn.004b6940
lea eax, [esp + 0x64]
push 0x28
push str.Failed_to_complete_HTTP_request_to_host
push eax
call fcn.0041482a
add esp, 0xc
push dword [ebp + 8]
push eax
call fcn.004b7530
add esp, 8
push 0xa
push str._and_port
push eax
call fcn.0041482a
add esp, 0xc
mov ecx, eax
push dword [esp + 4]
call fcn.00410e20
push esi
push 0x61d3ef
push eax
call fcn.0041482a
add esp, 0xc
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [esp + 0x14]
mov dword [ecx], eax
push ecx
push esi
call fcn.00489c37
add esp, 8
mov ecx, ebx
call fcn.004b6d50
xor eax, eax
mov esi, dword [esp]
mov dword [esi], eax
mov eax, dword [esp + 0x38]
test eax, eax
je 0x48ad2a
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x48ad39
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
cmp byte [esp + 0x2f], 0
jns 0x48ad4c
push dword [esp + 0x24]
call fcn.005dc756
add esp, 4
test edi, edi
je 0x48ad59
mov ecx, edi
push 1
call fcn.0048bb20
mov eax, dword [esp + 0x44]
test eax, eax
je 0x48ad68
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [esp + 0x48]
test eax, eax
je 0x48ad77
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x48ad86
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov ecx, dword [esp + 0x118]
xor ecx, ebp
call fcn.005dd6f3
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret