Function at 0x43e8a0
Capabilities:
Initialize winhttp library

Disassembly:
push 0xffffffffffffffff
push 0x48dcf6
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
mov eax, dword [0x4ae830]
xor eax, esp
mov dword [esp + 0x98], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4ae830]
xor eax, esp
push eax
lea eax, [esp + 0xb0]
mov dword fs:[0], eax
mov eax, dword [esp + 0xc4]
mov ebp, dword [esp + 0xc0]
mov edi, ecx
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov esi, 7
xor ecx, ecx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x2c], eax
mov dword [esp + 0xa8], esi
mov dword [esp + 0xa4], ebx
mov word [esp + 0x94], cx
mov dword [esp + 0xb8], ebx
xor eax, eax
lea edx, [esp + 0x30]
push edx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
call dword [sym.imp.WINHTTP.dll_WinHttpGetIEProxyConfigForCurrentUser]
test eax, eax
je 0x43eba7
mov eax, dword [esp + 0x34]
cmp eax, ebx
je 0x43e966
mov dword [esp + 0x48], eax
cmp dword [esp + 0x48], ebx
je 0x43eaae
push 0x10000000
push ebx
push ebx
push ebx
push ebx
mov dword [esp + 0x54], 2
mov dword [esp + 0x68], 1
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov esi, eax
cmp esi, ebx
je 0x43eaae
cmp dword [ebp + 0x18], 8
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
jb 0x43e9b0
mov eax, dword [ebp + 4]
jmp 0x43e9b3
lea eax, [ebp + 4]
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x44]
push edx
push eax
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpGetProxyForUrl]
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
cmp dword [esp + 0x24], ebx
je 0x43eaae
mov eax, dword [esp + 0x28]
cmp eax, ebx
je 0x43ea10
push eax
lea ecx, [esp + 0x78]
call fcn.00417010
lea eax, [esp + 0x74]
mov byte [esp + 0xb8], 1
push eax
mov edi, ebp
mov dword [esp + 0x1c], 2
call fcn.0043ec10
mov edi, dword [esp + 0x1c]
mov byte [esp + 0x17], bl
test eax, eax
je 0x43ea15
mov byte [esp + 0x17], 1
mov dword [esp + 0xb8], ebx
test byte [esp + 0x18], 2
je 0x43ea31
and dword [esp + 0x18], 0xfffffffd
lea ecx, [esp + 0x74]
call fcn.00417080
cmp byte [esp + 0x17], bl
je 0x43ea90
mov ecx, dword [esp + 0x24]
push ecx
lea ecx, [esp + 0x78]
call fcn.00417010
mov edx, dword [esp + 0x2c]
push edx
lea esi, [esp + 0x78]
lea edi, [esp + 0x5c]
mov byte [esp + 0xbc], 2
call fcn.0043ee60
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x9c]
mov byte [esp + 0xc4], 3
call fcn.00417270
mov ecx, edi
call fcn.00417080
mov ecx, esi
mov byte [esp + 0xb8], bl
call fcn.00417080
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x43ea9f
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [esp + 0x28]
cmp eax, ebx
je 0x43eaae
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [esp + 0xa4], ebx
jne 0x43eb77
cmp dword [esp + 0x38], ebx
je 0x43eb77
mov eax, dword [esp + 0x3c]
cmp eax, ebx
je 0x43eafc
push eax
lea ecx, [esp + 0x78]
call fcn.00417010
lea eax, [esp + 0x74]
mov byte [esp + 0xb8], 4
or dword [esp + 0x18], 4
push eax
mov edi, ebp
call fcn.0043ec10
mov edi, dword [esp + 0x1c]
mov byte [esp + 0x17], bl
test eax, eax
je 0x43eb01
mov byte [esp + 0x17], 1
mov dword [esp + 0xb8], ebx
test byte [esp + 0x18], 4
je 0x43eb18
lea ecx, [esp + 0x74]
call fcn.00417080
cmp byte [esp + 0x17], bl
je 0x43eb77
mov ecx, dword [esp + 0x38]
push ecx
lea ecx, [esp + 0x78]
call fcn.00417010
mov edx, dword [esp + 0x2c]
push edx
lea esi, [esp + 0x78]
lea edi, [esp + 0x5c]
mov byte [esp + 0xbc], 5
call fcn.0043ee60
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x9c]
mov byte [esp + 0xc4], 6
call fcn.00417270
mov ecx, edi
call fcn.00417080
mov ecx, esi
mov byte [esp + 0xb8], bl
call fcn.00417080
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x34]
mov esi, dword [sym.imp.KERNEL32.dll_GlobalFree]
cmp eax, ebx
je 0x43eb88
push eax
call esi
mov eax, dword [esp + 0x38]
cmp eax, ebx
je 0x43eb93
push eax
call esi
mov eax, dword [esp + 0x3c]
cmp eax, ebx
je 0x43eb9e
push eax
call esi
mov dword [edi + 0x18], 7
jmp 0x43ebaa
mov dword [edi + 0x18], esi
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x98]
xor eax, eax
push ecx
mov dword [edi + 0x14], ebx
mov ecx, edi
mov word [edi + 4], ax
call fcn.00417270
cmp dword [esp + 0xa8], 8
jb 0x43ebdf
mov edx, dword [esp + 0x94]
push edx
call fcn.0045352f
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0xb0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.0046fd33
add esp, 0xa8
ret 8