Function at 0x469880
Capabilities:
Initialize winhttp library

Disassembly:
push 0xffffffffffffffff
push 0x489956
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
mov eax, dword [0x4a4100]
xor eax, esp
mov dword [esp + 0x98], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a4100]
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 0x469b8a
mov eax, dword [esp + 0x34]
cmp eax, ebx
je 0x469946
mov dword [esp + 0x48], eax
cmp dword [esp + 0x48], ebx
je 0x469a94
push 0x10000000
push ebx
push ebx
push ebx
mov edi, 2
push ebx
mov dword [esp + 0x54], edi
mov dword [esp + 0x68], 1
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov esi, eax
cmp esi, ebx
je 0x469a88
cmp dword [ebp + 0x18], 8
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
jb 0x469991
mov eax, dword [ebp + 4]
jmp 0x469994
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 0x469a88
mov eax, dword [esp + 0x28]
cmp eax, ebx
je 0x4699e8
push eax
lea ecx, [esp + 0x78]
call fcn.00404460
lea eax, [esp + 0x74]
push eax
mov byte [esp + 0xbc], 1
push ebp
mov dword [esp + 0x20], edi
call fcn.00469bf0
mov byte [esp + 0x17], bl
test eax, eax
je 0x4699ed
mov byte [esp + 0x17], 1
mov dword [esp + 0xb8], ebx
test byte [esp + 0x18], 2
je 0x469a09
and dword [esp + 0x18], 0xfffffffd
lea ecx, [esp + 0x74]
call fcn.00406360
cmp byte [esp + 0x17], bl
je 0x469a66
mov ecx, dword [esp + 0x24]
push ecx
lea ecx, [esp + 0x78]
call fcn.00404460
mov edx, dword [esp + 0x2c]
push edx
lea ecx, [esp + 0x78]
lea edi, [esp + 0x5c]
mov byte [esp + 0xbc], 2
call fcn.00469e70
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x9c]
mov byte [esp + 0xc4], 3
call fcn.00405c00
mov ecx, edi
call fcn.00406360
lea ecx, [esp + 0x74]
mov byte [esp + 0xb8], bl
call fcn.00406360
mov eax, dword [esp + 0x24]
mov esi, dword [sym.imp.KERNEL32.dll_GlobalFree]
cmp eax, ebx
je 0x469a77
push eax
call esi
mov eax, dword [esp + 0x28]
cmp eax, ebx
je 0x469a8e
push eax
call esi
mov edi, dword [esp + 0x1c]
jmp 0x469a9a
mov esi, dword [sym.imp.KERNEL32.dll_GlobalFree]
mov edi, dword [esp + 0x1c]
jmp 0x469a9a
mov esi, dword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [esp + 0xa4], ebx
jne 0x469b60
cmp dword [esp + 0x38], ebx
je 0x469b60
mov eax, dword [esp + 0x3c]
cmp eax, ebx
je 0x469ae3
push eax
lea ecx, [esp + 0x78]
call fcn.00404460
lea eax, [esp + 0x74]
push eax
mov byte [esp + 0xbc], 4
or dword [esp + 0x1c], 4
push ebp
call fcn.00469bf0
mov byte [esp + 0x17], bl
test eax, eax
je 0x469ae8
mov byte [esp + 0x17], 1
mov dword [esp + 0xb8], ebx
test byte [esp + 0x18], 4
je 0x469aff
lea ecx, [esp + 0x74]
call fcn.00406360
cmp byte [esp + 0x17], bl
je 0x469b60
mov ecx, dword [esp + 0x38]
push ecx
lea ecx, [esp + 0x78]
call fcn.00404460
mov edx, dword [esp + 0x2c]
push edx
lea ecx, [esp + 0x78]
lea edi, [esp + 0x5c]
mov byte [esp + 0xbc], 5
call fcn.00469e70
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x9c]
mov byte [esp + 0xc4], 6
call fcn.00405c00
mov ecx, edi
call fcn.00406360
lea ecx, [esp + 0x74]
mov byte [esp + 0xb8], bl
call fcn.00406360
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x34]
cmp eax, ebx
je 0x469b6b
push eax
call esi
mov eax, dword [esp + 0x38]
cmp eax, ebx
je 0x469b76
push eax
call esi
mov eax, dword [esp + 0x3c]
cmp eax, ebx
je 0x469b81
push eax
call esi
mov dword [edi + 0x18], 7
jmp 0x469b8d
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.00405c00
cmp dword [esp + 0xa8], 8
jb 0x469bc2
mov edx, dword [esp + 0x94]
push edx
call fcn.0046f011
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.0046f01c
add esp, 0xa8
ret 8