Function at 0x432440
Capabilities:
Initialize winhttp library
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46d576
mov eax, dword fs:[0]
push eax
sub esp, 0x170
mov eax, dword [0x487550]
xor eax, esp
mov dword [esp + 0x168], eax
push ebx
push esi
push edi
mov eax, dword [0x487550]
xor eax, esp
push eax
lea eax, [esp + 0x180]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [esp + 0x20], eax
mov dword [eax], ebx
lea eax, [esp + 0x68]
push eax
mov edi, ecx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
call dword [sym.imp.WINHTTP.dll_WinHttpGetIEProxyConfigForCurrentUser]
mov eax, dword [esp + 0x6c]
cmp eax, ebx
je 0x432ab0
push 0x10000000
push ebx
push ebx
push ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x64], ebx
push ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x54], 2
mov dword [esp + 0x68], 1
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov esi, eax
cmp esi, ebx
je 0x432a5d
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov ecx, edi
lea ebx, [esp + 0x140]
call fcn.0042be40
mov edi, 8
cmp dword [eax + 0x18], edi
jb 0x43251e
mov eax, dword [eax + 4]
jmp 0x432521
add eax, 4
lea ecx, [esp + 0x5c]
push ecx
lea edx, [esp + 0x44]
push edx
push eax
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpGetProxyForUrl]
cmp dword [esp + 0x158], edi
jb 0x43254c
mov eax, dword [esp + 0x144]
push eax
call fcn.0044caf8
add esp, 4
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov eax, dword [esp + 0x5c]
cmp eax, 1
jne 0x43256b
mov ecx, dword [esp + 0x20]
mov dword [ecx], 0
jmp 0x432a3d
cmp eax, 3
jne 0x432a3d
mov eax, dword [esp + 0x60]
lea ecx, [esp + 0x24]
call fcn.004037f0
lea edx, [esp + 0x24]
xor ebx, ebx
push edx
lea ecx, [esp + 0x144]
mov dword [esp + 0x18c], ebx
call fcn.0042c040
add esp, 4
lea esi, [esp + 0x24]
mov byte [esp + 0x188], 2
call fcn.00418c90
push 0x47a648
lea ecx, [esp + 0xb8]
call fcn.00403740
mov byte [esp + 0x188], 3
cmp dword [esp + 0x158], 0x10
mov eax, dword [esp + 0x144]
jae 0x4325e0
lea eax, [esp + 0x144]
push eax
lea ecx, [esp + 0x160]
call fcn.00403740
lea eax, [esp + 0xb4]
push eax
lea ecx, [esp + 0x7c]
push ecx
lea ecx, [esp + 0x164]
mov byte [esp + 0x190], 4
call fcn.0042d4d0
add esp, 8
lea ecx, [esp + 0x15c]
call fcn.004037b0
lea ecx, [esp + 0xb4]
mov byte [esp + 0x188], 7
call fcn.004037b0
mov ecx, dword [esp + 0x88]
sub ecx, dword [esp + 0x84]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x1c], ebx
je 0x432a1a
mov dword [esp + 0x18], ebx
cmp dword [esp + 0x1c], eax
jb 0x43266b
call fcn.0044cae8
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x84]
push 0xffffffffffffffff
add eax, edx
push ebx
mov esi, 0xf
push eax
lea ecx, [esp + 0xdc]
mov dword [esp + 0xf4], esi
mov dword [esp + 0xf0], ebx
mov byte [esp + 0xe0], bl
call fcn.004038f0
mov dword [esp + 0x104], esi
mov dword [esp + 0x100], ebx
mov byte [esp + 0xf0], bl
mov dword [esp + 0x120], esi
mov dword [esp + 0x11c], ebx
mov byte [esp + 0x10c], bl
mov dword [esp + 0x13c], esi
mov dword [esp + 0x138], ebx
mov byte [esp + 0x128], bl
push 1
push 0x47a64c
lea ecx, [esp + 0xd8]
push ecx
mov byte [esp + 0x194], 0xb
call fcn.004338a0
push 1
push 0x478ef4
lea edx, [esp + 0xd8]
push edx
mov edi, eax
call fcn.004338a0
mov dword [esp + 0x14], eax
cmp edi, 0xffffffff
je 0x432763
push edi
xor ecx, ecx
lea esi, [esp + 0x28]
lea edx, [esp + 0xd4]
call fcn.00418b90
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0xf8]
mov byte [esp + 0x194], 0xc
call fcn.004038f0
mov byte [esp + 0x188], 0xb
cmp dword [esp + 0x3c], 0x10
jb 0x432763
mov eax, dword [esp + 0x28]
push eax
call fcn.0044caf8
add esp, 4
mov ecx, dword [esp + 0x14]
sub ecx, edi
dec ecx
push ecx
lea ecx, [edi + 1]
lea esi, [esp + 0x28]
lea edx, [esp + 0xd4]
call fcn.00418b90
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x114]
mov byte [esp + 0x194], 0xd
call fcn.004038f0
mov byte [esp + 0x188], 0xb
cmp dword [esp + 0x3c], 0x10
jb 0x4327b2
mov edx, dword [esp + 0x28]
push edx
call fcn.0044caf8
add esp, 4
mov eax, dword [esp + 0xe4]
mov ecx, dword [esp + 0x14]
push eax
inc ecx
lea esi, [esp + 0x28]
lea edx, [esp + 0xd4]
call fcn.00418b90
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x130]
mov byte [esp + 0x194], 0xe
call fcn.004038f0
mov byte [esp + 0x188], 0xb
cmp dword [esp + 0x3c], 0x10
jb 0x432803
mov ecx, dword [esp + 0x28]
push ecx
call fcn.0044caf8
add esp, 4
mov ecx, 0x4791e6
lea edi, [esp + 0x108]
call fcn.004266d0
mov edi, 0x10
test al, al
jne 0x432933
mov eax, dword [esp + 0x10c]
cmp dword [esp + 0x120], edi
jae 0x432838
lea eax, [esp + 0x10c]
lea edx, [eax + 1]
jmp 0x432840
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x432840
sub eax, edx
je 0x432933
mov eax, dword [esp + 0xf0]
cmp dword [esp + 0x104], edi
jae 0x432866
lea eax, [esp + 0xf0]
mov esi, str.http
jmp 0x432870
mov cl, byte [eax]
cmp cl, byte [esi]
jne 0x432890
cmp cl, bl
je 0x43288c
mov cl, byte [eax + 1]
cmp cl, byte [esi + 1]
jne 0x432890
add eax, 2
add esi, 2
cmp cl, bl
jne 0x432870
xor eax, eax
jmp 0x432895
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x4328a2
cmp dword [esp + 0x100], ebx
jne 0x4328f6
mov esi, dword [esp + 0x20]
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x110]
push edx
lea ecx, [esi + 4]
mov dword [esi], 1
call fcn.004038f0
mov eax, dword [esp + 0x128]
cmp dword [esp + 0x13c], edi
jae 0x4328d6
lea eax, [esp + 0x128]
push eax
lea ecx, [esp + 0x28]
call fcn.00403740
lea eax, [esp + 0x24]
call fcn.0042db70
lea ecx, [esp + 0x24]
mov word [esi + 0x20], ax
call fcn.004037b0
lea ecx, [esp + 0x124]
call fcn.004037b0
lea ecx, [esp + 0x108]
call fcn.004037b0
lea ecx, [esp + 0xec]
call fcn.004037b0
lea ecx, [esp + 0xd0]
mov byte [esp + 0x188], 7
call fcn.004037b0
jmp 0x4329e3
cmp dword [esp + 0x13c], edi
jb 0x43294c
mov eax, dword [esp + 0x128]
push eax
call fcn.0044caf8
add esp, 4
mov esi, 0xf
mov dword [esp + 0x13c], esi
mov dword [esp + 0x138], ebx
mov byte [esp + 0x128], bl
cmp dword [esp + 0x120], edi
jb 0x43297f
mov ecx, dword [esp + 0x10c]
push ecx
call fcn.0044caf8
add esp, 4
mov dword [esp + 0x120], esi
mov dword [esp + 0x11c], ebx
mov byte [esp + 0x10c], bl
cmp dword [esp + 0x104], edi
jb 0x4329ad
mov edx, dword [esp + 0xf0]
push edx
call fcn.0044caf8
add esp, 4
mov byte [esp + 0x188], 7
mov dword [esp + 0x104], esi
mov dword [esp + 0x100], ebx
mov byte [esp + 0xf0], bl
cmp dword [esp + 0xe8], edi
jb 0x4329e3
mov eax, dword [esp + 0xd4]
push eax
call fcn.0044caf8
add esp, 4
mov ecx, dword [esp + 0x88]
sub ecx, dword [esp + 0x84]
mov esi, dword [esp + 0x1c]
add dword [esp + 0x18], 0x1c
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
inc esi
add eax, edx
mov dword [esp + 0x1c], esi
cmp esi, eax
jb 0x432660
lea esi, [esp + 0x78]
call fcn.00415470
cmp dword [esp + 0x158], 0x10
jb 0x432a3d
mov ecx, dword [esp + 0x144]
push ecx
call fcn.0044caf8
add esp, 4
mov eax, dword [esp + 0x60]
test eax, eax
je 0x432a4c
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [esp + 0x64]
test eax, eax
je 0x432a5b
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor ebx, ebx
mov eax, dword [esp + 0x6c]
cmp eax, ebx
je 0x432a6c
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [esp + 0x70]
cmp eax, ebx
je 0x432a7b
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [esp + 0x74]
cmp eax, ebx
je 0x432a8a
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov ecx, dword [esp + 0x180]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x168]
xor ecx, esp
call fcn.0044c790
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esp + 0x70]
cmp eax, ebx
je 0x432a7b
xor edx, edx
mov ecx, eax
mov dword [esp + 0x90], 7
mov dword [esp + 0x8c], ebx
mov word [esp + 0x7c], dx
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x432ad6
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [esp + 0x7c]
call fcn.00403ee0
mov eax, esi
mov edi, 0xf
push eax
lea ecx, [esp + 0x160]
mov dword [esp + 0x18c], edi
call fcn.0042c040
add esp, 4
mov byte [esp + 0x188], 0x11
cmp dword [esp + 0x90], 8
jb 0x432b2c
mov ecx, dword [esp + 0x7c]
push ecx
call fcn.0044caf8
add esp, 4
push 1
xor edx, edx
push 0x47a648
lea ecx, [esp + 0x148]
mov dword [esp + 0x98], 7
mov dword [esp + 0x94], ebx
mov word [esp + 0x84], dx
mov dword [esp + 0x160], edi
mov dword [esp + 0x15c], ebx
mov byte [esp + 0x14c], bl
call fcn.00403b10
mov byte [esp + 0x188], 0x12
cmp dword [esp + 0x174], 0x10
mov edx, dword [esp + 0x160]
jae 0x432b90
lea edx, [esp + 0x160]
mov eax, edx
mov dword [esp + 0x58], edi
mov dword [esp + 0x54], ebx
mov byte [esp + 0x44], bl
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x432ba1
sub eax, esi
push eax
push edx
lea ecx, [esp + 0x48]
call fcn.00403b10
lea eax, [esp + 0x140]
push eax
lea ecx, [esp + 0x98]
push ecx
lea ecx, [esp + 0x48]
mov byte [esp + 0x190], 0x13
call fcn.0042d4d0
add esp, 8
mov esi, 0x10
cmp dword [esp + 0x58], esi
jb 0x432bf1
mov edx, dword [esp + 0x44]
push edx
call fcn.0044caf8
add esp, 4
mov dword [esp + 0x58], edi
mov dword [esp + 0x54], ebx
mov byte [esp + 0x44], bl
mov byte [esp + 0x188], 0x16
cmp dword [esp + 0x158], esi
jb 0x432c1e
mov eax, dword [esp + 0x144]
push eax
call fcn.0044caf8
add esp, 4
mov ecx, dword [esp + 0xa4]
mov esi, dword [esp + 0xa0]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x158], edi
mov dword [esp + 0x154], ebx
mov byte [esp + 0x144], bl
mov dword [esp + 0x18], ebx
je 0x433138
mov dword [esp + 0x1c], ebx
cmp dword [esp + 0x18], eax
jb 0x432c76
call fcn.0044cae8
mov esi, dword [esp + 0xa0]
mov ecx, dword [esp + 0x1c]
push 0xffffffffffffffff
lea eax, [ecx + esi]
push ebx
mov esi, 0xf
push eax
lea ecx, [esp + 0x130]
mov dword [esp + 0x148], esi
mov dword [esp + 0x144], ebx
mov byte [esp + 0x134], bl
call fcn.004038f0
mov dword [esp + 0x104], esi
mov dword [esp + 0x100], ebx
mov byte [esp + 0xf0], bl
mov dword [esp + 0xe8], esi
mov dword [esp + 0xe4], ebx
mov byte [esp + 0xd4], bl
mov dword [esp + 0x120], esi
mov dword [esp + 0x11c], ebx
mov byte [esp + 0x10c], bl
push 1
push 0x47a64c
lea edx, [esp + 0x12c]
push edx
mov byte [esp + 0x194], 0x1a
call fcn.004338a0
push 1
mov edi, eax
push 0x478ef4
lea eax, [esp + 0x12c]
push eax
call fcn.004338a0
mov dword [esp + 0x14], eax
cmp edi, 0xffffffff
je 0x432d68
push edi
xor ecx, ecx
lea esi, [esp + 0x28]
lea edx, [esp + 0x128]
call fcn.00418b90
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0xf8]
mov byte [esp + 0x194], 0x1b
call fcn.004038f0
mov byte [esp + 0x188], 0x1a
cmp dword [esp + 0x3c], 0x10
jb 0x432d68
mov ecx, dword [esp + 0x28]
push ecx
call fcn.0044caf8
add esp, 4
mov edx, dword [esp + 0x14]
sub edx, edi
dec edx
push edx
lea ecx, [edi + 1]
lea esi, [esp + 0x28]
lea edx, [esp + 0x128]
call fcn.00418b90
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0xdc]
mov byte [esp + 0x194], 0x1c
call fcn.004038f0
mov byte [esp + 0x188], 0x1a
cmp dword [esp + 0x3c], 0x10
jb 0x432db7
mov eax, dword [esp + 0x28]
push eax
call fcn.0044caf8
add esp, 4
mov ecx, dword [esp + 0x138]
push ecx
mov ecx, dword [esp + 0x18]
inc ecx
lea esi, [esp + 0x28]
lea edx, [esp + 0x128]
call fcn.00418b90
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x114]
mov byte [esp + 0x194], 0x1d
call fcn.004038f0
mov edi, 0x10
mov byte [esp + 0x188], 0x1a
cmp dword [esp + 0x3c], edi
jb 0x432e0c
mov edx, dword [esp + 0x28]
push edx
call fcn.0044caf8
add esp, 4
mov esi, dword [esp + 0xe8]
mov edx, dword [esp + 0xd4]
cmp esi, edi
jae 0x432e25
lea edx, [esp + 0xd4]
xor eax, eax
mov ecx, 0x4791e6
call fcn.0041f0b0
cmp eax, ebx
jne 0x432e49
xor eax, eax
cmp dword [esp + 0xe4], ebx
setne al
cmp eax, ebx
je 0x43304f
mov eax, dword [esp + 0xd4]
cmp esi, edi
jae 0x432e5b
lea eax, [esp + 0xd4]
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x432e60
sub eax, edx
je 0x43304f
mov eax, dword [esp + 0xf0]
cmp dword [esp + 0x104], edi
jae 0x432e86
lea eax, [esp + 0xf0]
mov esi, str.http
jmp 0x432e90
mov cl, byte [eax]
cmp cl, byte [esi]
jne 0x432eb0
cmp cl, bl
je 0x432eac
mov cl, byte [eax + 1]
cmp cl, byte [esi + 1]
jne 0x432eb0
add eax, 2
add esi, 2
cmp cl, bl
jne 0x432e90
xor eax, eax
jmp 0x432eb5
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x432ec6
cmp dword [esp + 0x100], ebx
jne 0x432f9e
mov edi, dword [esp + 0x20]
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0xd8]
push eax
lea ecx, [edi + 4]
mov dword [edi], 1
call fcn.004038f0
cmp dword [esp + 0x120], 0x10
mov edx, dword [esp + 0x10c]
jae 0x432efb
lea edx, [esp + 0x10c]
mov eax, edx
mov dword [esp + 0xcc], 0xf
mov dword [esp + 0xc8], ebx
mov byte [esp + 0xb8], bl
lea esi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x432f20
sub eax, esi
push eax
push edx
lea ecx, [esp + 0xbc]
call fcn.00403b10
cmp dword [esp + 0xcc], 0x10
mov eax, dword [esp + 0xb8]
mov dword [esp + 0xac], ebx
mov dword [esp + 0xb0], ebx
jae 0x432f5d
lea eax, [esp + 0xb8]
lea ecx, [esp + 0xac]
push ecx
push 0x47a358
push eax
call fcn.0044d7d7
mov dx, word [esp + 0xb8]
add esp, 0xc
cmp dword [esp + 0xcc], 0x10
mov word [edi + 0x20], dx
jb 0x432f99
mov eax, dword [esp + 0xb8]
push eax
call fcn.0044caf8
add esp, 4
mov edi, 0x10
cmp dword [esp + 0x120], edi
jb 0x432fb7
mov ecx, dword [esp + 0x10c]
push ecx
call fcn.0044caf8
add esp, 4
mov esi, 0xf
mov dword [esp + 0x120], esi
mov dword [esp + 0x11c], ebx
mov byte [esp + 0x10c], bl
cmp dword [esp + 0xe8], edi
jb 0x432fea
mov edx, dword [esp + 0xd4]
push edx
call fcn.0044caf8
add esp, 4
mov dword [esp + 0xe8], esi
mov dword [esp + 0xe4], ebx
mov byte [esp + 0xd4], bl
cmp dword [esp + 0x104], edi
jb 0x433018
mov eax, dword [esp + 0xf0]
push eax
call fcn.0044caf8
add esp, 4
mov byte [esp + 0x188], 0x16
mov dword [esp + 0x104], esi
mov dword [esp + 0x100], ebx
mov byte [esp + 0xf0], bl
cmp dword [esp + 0x13c], edi
jb 0x4330ff
mov ecx, dword [esp + 0x128]
push ecx
jmp 0x4330f7
cmp dword [esp + 0x120], edi
jb 0x433068
mov edx, dword [esp + 0x10c]
push edx
call fcn.0044caf8
add esp, 4
mov esi, 0xf
mov dword [esp + 0x120], esi
mov dword [esp + 0x11c], ebx
mov byte [esp + 0x10c], bl
cmp dword [esp + 0xe8], edi
jb 0x43309b
mov eax, dword [esp + 0xd4]
push eax
call fcn.0044caf8
add esp, 4
mov dword [esp + 0xe8], esi
mov dword [esp + 0xe4], ebx
mov byte [esp + 0xd4], bl
cmp dword [esp + 0x104], edi
jb 0x4330c9
mov ecx, dword [esp + 0xf0]
push ecx
call fcn.0044caf8
add esp, 4
mov byte [esp + 0x188], 0x16
mov dword [esp + 0x104], esi
mov dword [esp + 0x100], ebx
mov byte [esp + 0xf0], bl
cmp dword [esp + 0x13c], edi
jb 0x4330ff
mov edx, dword [esp + 0x128]
push edx
call fcn.0044caf8
add esp, 4
mov ecx, dword [esp + 0xa4]
mov esi, dword [esp + 0xa0]
mov edi, dword [esp + 0x18]
add dword [esp + 0x1c], 0x1c
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
inc edi
add eax, edx
mov dword [esp + 0x18], edi
cmp edi, eax
jb 0x432c64
cmp esi, ebx
je 0x433162
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0xa4]
push eax
mov eax, esi
call fcn.004157f0
mov ecx, dword [esp + 0xa4]
add esp, 4
push ecx
call fcn.0044caf8
add esp, 4
mov edx, dword [esp + 0x94]
push edx
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xac], ebx
call fcn.0044caf8
add esp, 4
cmp dword [esp + 0x174], 0x10
jb 0x432a5d
mov eax, dword [esp + 0x160]
push eax
call fcn.0044caf8
add esp, 4
jmp 0x432a5d