Function at 0x427ed0
Capabilities:
Initialize winhttp library

Disassembly:
push 0xffffffffffffffff
push 0x486c03
mov eax, dword fs:[0]
push eax
sub esp, 0xac
mov eax, dword [0x4aeda0]
xor eax, esp
mov dword [esp + 0xa8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4aeda0]
xor eax, esp
push eax
lea eax, [esp + 0xc0]
mov dword fs:[0], eax
mov eax, dword [esp + 0xd0]
mov ebp, dword [esp + 0xd4]
mov esi, ecx
mov ebx, 7
xor edi, edi
xor ecx, ecx
mov dword [esp + 0x1c], eax
mov dword [ebp], 1
mov dword [esp + 0x78], ebx
mov dword [esp + 0x74], edi
mov word [esp + 0x64], cx
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x64]
mov dword [esp + 0xcc], edi
push eax
mov dword [esp + 0x1c], edi
call fcn.00427dd0
add esp, 8
test eax, eax
jne 0x427f78
cmp dword [esp + 0x78], 8
jb 0x427f71
mov ecx, dword [esp + 0x64]
push ecx
call fcn.0045061f
add esp, 4
xor eax, eax
jmp 0x428390
cmp dword [esp + 0x14], edi
jne 0x427fc1
cmp dword [esp + 0x74], edi
jne 0x427fc1
push str.GETPROXY:Auto_proxy_not_configured_by_user
push 0x10d
call fcn.0041ef10
push eax
mov ebx, 0x2000008
mov ecx, str..GetProxy.cpp
call fcn.0041f0d0
add esp, 0xc
cmp dword [esp + 0x78], 8
jb 0x427f71
mov edx, dword [esp + 0x64]
push edx
call fcn.0045061f
add esp, 4
xor eax, eax
jmp 0x428390
push edi
push edi
push edi
push edi
push str.Trend_Micro_HouseCall_7.0_Launcher
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov dword [esp + 0x18], eax
cmp eax, edi
jne 0x428024
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GETPROXY:WinHttpOpen_failed_err__lu_.
push 0x117
push ecx
call fcn.0041ef10
add esp, 4
push eax
mov ebx, 0x2000002
mov ecx, str..GetProxy.cpp
call fcn.0041f0d0
add esp, 0x10
cmp dword [esp + 0x78], 8
jb 0x427f71
mov eax, dword [esp + 0x64]
push eax
call fcn.0045061f
add esp, 4
xor eax, eax
jmp 0x428390
push 0xffffffffffffffff
lea edx, [esp + 0x48]
mov dword [esp + 0x60], ebx
xor ecx, ecx
push edx
xor ebx, ebx
mov eax, esi
mov dword [esp + 0x60], edi
mov word [esp + 0x50], cx
call fcn.0040191e
mov ebx, 1
push 0x49bef4
mov byte [esp + 0xcc], bl
call fcn.00450a1d
add esp, 4
push eax
push 0x49bef4
xor eax, eax
lea ecx, [esp + 0x4c]
call fcn.00409006
cmp eax, 0xffffffff
jne 0x428094
push str.http:__
call fcn.00450a1d
add esp, 4
mov ebx, eax
push str.http:__
lea eax, [esp + 0x48]
call fcn.00408f51
mov ebx, 1
mov eax, dword [esp + 0x14]
push eax
lea edx, [esp + 0x64]
lea eax, [esp + 0x80]
call fcn.00427e90
mov ecx, dword [eax]
mov dword [esp + 0x30], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x34], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x38], ecx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x3c], edx
mov ecx, dword [eax + 0x10]
mov dword [esp + 0x40], ecx
mov edx, dword [eax + 0x14]
xor eax, eax
mov esi, 8
add esp, 4
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x40], edx
mov dword [esp + 0x14], edi
cmp dword [esp + 0x5c], esi
jae 0x4280fa
lea eax, [esp + 0x48]
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x30]
push edx
push eax
mov eax, dword [esp + 0x24]
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpGetProxyForUrl]
test eax, eax
je 0x4283b8
mov eax, 7
xor ecx, ecx
mov dword [esp + 0xb8], eax
mov dword [esp + 0xb4], edi
mov word [esp + 0xa4], cx
xor edx, edx
mov dword [esp + 0x94], eax
mov dword [esp + 0x90], edi
mov word [esp + 0x80], dx
mov byte [esp + 0xc8], 3
mov eax, dword [esp + 0x28]
cmp eax, edi
mov edi, dword [sym.imp.KERNEL32.dll_GlobalFree]
je 0x428185
push eax
mov esi, eax
call fcn.00450a1d
mov ecx, esi
add esp, 4
lea esi, [esp + 0x7c]
call fcn.00401b92
mov eax, dword [esp + 0x28]
push eax
call edi
mov esi, 8
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4281b2
push eax
mov esi, eax
call fcn.00450a1d
mov ecx, esi
add esp, 4
lea esi, [esp + 0xa0]
call fcn.00401b92
mov ecx, dword [esp + 0x24]
push ecx
call edi
mov esi, 8
cmp dword [esp + 0x20], ebx
jne 0x4281eb
push str.GETPROXY:AutoProxy_returns_direct_access
push 0x135
call fcn.0041ef10
push eax
mov ebx, 0x2000008
mov ecx, str..GetProxy.cpp
call fcn.0041f0d0
mov dword [ebp], 0
mov dword [esp + 0x20], 1
jmp 0x4282f1
cmp dword [esp + 0x90], 0
je 0x42821e
lea edx, [esp + 0x44]
push edx
lea eax, [esp + 0x80]
push eax
call fcn.004277b0
add esp, 8
test eax, eax
je 0x42821e
mov dword [ebp], 0
mov dword [esp + 0x14], ebx
jmp 0x4282f4
cmp dword [esp + 0xb4], 0
je 0x4282d2
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x48]
lea edi, [ebp + 0x1c]
push ebp
cmp dword [esp + 0x60], esi
jae 0x428242
lea ebx, [esp + 0x4c]
sub esp, 0x1c
lea ecx, [esp + 0xc0]
mov esi, esp
mov dword [esp + 0x3c], esp
push ecx
call fcn.004017f2
mov ecx, edi
mov edx, ebx
call fcn.00427440
mov edx, dword [esp + 0x68]
mov eax, 8
add esp, 0x20
cmp dword [esp + 0x5c], eax
jae 0x428277
lea edx, [esp + 0x48]
mov ecx, dword [esp + 0xa4]
cmp dword [esp + 0xb8], eax
jae 0x42828e
lea ecx, [esp + 0xa4]
cmp dword [ebp + 0x18], eax
jb 0x428298
mov eax, dword [ebp + 4]
jmp 0x42829b
lea eax, [ebp + 4]
push edx
mov edx, dword [edi]
push ecx
push edx
push eax
push str.GETPROXY:get_proxy_server___S:_d__parsed_from__S_for_URL:_S
push 0x147
call fcn.0041ef10
push eax
mov ebx, 0x2000040
mov ecx, str..GetProxy.cpp
call fcn.0041f0d0
add esp, 0x1c
mov dword [esp + 0x14], 1
mov esi, 8
jmp 0x4282f4
push str.GETPROXY:AutoProxy_returns_empty_list.
push 0x14c
call fcn.0041ef10
push eax
mov ebx, 0x2000008
mov ecx, str..GetProxy.cpp
call fcn.0041f0d0
add esp, 0xc
cmp dword [esp + 0x94], esi
jb 0x42830d
mov eax, dword [esp + 0x80]
push eax
call fcn.0045061f
add esp, 4
xor ecx, ecx
mov dword [esp + 0x94], 7
mov dword [esp + 0x90], 0
mov word [esp + 0x80], cx
cmp dword [esp + 0xb8], esi
jb 0x428346
mov edx, dword [esp + 0xa4]
push edx
call fcn.0045061f
add esp, 4
xor edi, edi
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
cmp dword [esp + 0x5c], esi
jb 0x428366
mov ecx, dword [esp + 0x48]
push ecx
call fcn.0045061f
add esp, 4
xor edx, edx
mov dword [esp + 0x5c], 7
mov dword [esp + 0x58], edi
mov word [esp + 0x48], dx
cmp dword [esp + 0x78], esi
jb 0x42838c
mov eax, dword [esp + 0x64]
push eax
call fcn.0045061f
add esp, 4
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xc0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xa8]
xor ecx, esp
call fcn.004504a7
add esp, 0xb8
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GETPROXY:WinHttpGetProxyForUrl_failed_err__lu_.
push 0x155
push ecx
call fcn.0041ef10
add esp, 4
push eax
mov ebx, 0x2000002
mov ecx, str..GetProxy.cpp
call fcn.0041f0d0
add esp, 0x10
jmp 0x428348