Function at 0x424f9e
Capabilities:
Initialize winhttp library
Prepare http request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x46a010]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x20c], eax
xor ebx, ebx
push edi
lea eax, [ebp - 0x218]
mov dword [ebp - 0x214], edx
push eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x210], ebx
push eax
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x21c], 4
push eax
lea edx, [ebp - 0x214]
mov dword [ebp - 0x218], ebx
call fcn.00466410
test eax, eax
jns 0x42504d
mov ecx, dword [0x46a020]
cmp ecx, 0x46a020
je 0x425339
test byte [ecx + 0x1c], 8
je 0x425339
cmp byte [ecx + 0x19], 2
jb 0x425339
push eax
push 0x403180
call fcn.00411040
push eax
mov eax, dword [0x46a020]
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0xa
mov edx, 0x40328c
pop ecx
call fcn.00410eec
jmp 0x425339
mov ecx, dword [ebp - 0x20c]
call fcn.0044f766
mov esi, eax
cmp esi, 0xffffffff
je 0x4250c1
mov ecx, dword [ebp - 0x20c]
lea edx, [ebp - 0x208]
push 0x100
call fcn.0044f840
test eax, eax
jns 0x425124
mov ecx, dword [0x46a020]
cmp ecx, 0x46a020
je 0x425339
test byte [ecx + 0x1c], 8
je 0x425339
cmp byte [ecx + 0x19], 2
jb 0x425339
push eax
push 0x4031ac
call fcn.00411040
push eax
mov eax, dword [0x46a020]
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0xb
jmp 0x42503d
push dword [ebp - 0x20c]
mov edx, 0x100
lea ecx, [ebp - 0x208]
call fcn.00414563
test eax, eax
jns 0x42511f
mov ecx, dword [0x46a020]
cmp ecx, 0x46a020
je 0x425339
test byte [ecx + 0x1c], 8
je 0x425339
cmp byte [ecx + 0x19], 2
jb 0x425339
push eax
push 0x4031d8
call fcn.00411040
push eax
mov eax, dword [0x46a020]
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0xc
jmp 0x42503d
mov esi, 0x1bb
push ebx
push ebx
push ebx
push 1
push 0x4031f0
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov dword [ebp - 0x214], ebx
test ebx, ebx
jne 0x42519c
call edi
test eax, eax
jle 0x425156
movzx eax, ax
or eax, 0x80070000
test eax, eax
jns 0x42519c
mov ecx, dword [0x46a020]
cmp ecx, 0x46a020
je 0x425339
test byte [ecx + 0x1c], 8
je 0x425339
cmp byte [ecx + 0x19], 2
jb 0x425339
push eax
push 0x403210
call fcn.00411040
push eax
mov eax, dword [0x46a020]
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0xd
jmp 0x42503d
push 0
push esi
lea eax, [ebp - 0x208]
push eax
push ebx
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov ebx, eax
test ebx, ebx
jne 0x425214
call edi
test eax, eax
jle 0x4251c3
movzx eax, ax
or eax, 0x80070000
test eax, eax
jns 0x425214
mov ecx, dword [0x46a020]
cmp ecx, 0x46a020
je 0x425328
test byte [ecx + 0x1c], 8
je 0x425328
cmp byte [ecx + 0x19], 2
jb 0x425328
push eax
push 0x403224
call fcn.00411040
push eax
mov eax, dword [0x46a020]
mov edx, 0x40328c
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0xe
pop ecx
call fcn.00410eec
jmp 0x425328
push 0x800000
xor eax, eax
push eax
push eax
push eax
push eax
push 0x40323c
push ebx
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov esi, eax
test esi, esi
jne 0x425292
call edi
test eax, eax
jle 0x425241
movzx eax, ax
or eax, 0x80070000
test eax, eax
jns 0x425292
mov ecx, dword [0x46a020]
cmp ecx, 0x46a020
je 0x42531d
test byte [ecx + 0x1c], 8
je 0x42531d
cmp byte [ecx + 0x19], 2
jb 0x42531d
push eax
push 0x403244
call fcn.00411040
push eax
mov eax, dword [0x46a020]
mov edx, 0x40328c
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0xf
pop ecx
call fcn.00410eec
jmp 0x42531d
xor eax, eax
push eax
push eax
push eax
push eax
push eax
push eax
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x210]
push eax
push 0x4e
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpQueryOption]
test eax, eax
jne 0x425312
and dword [ebp - 0x210], eax
call edi
test eax, eax
jle 0x4252d2
movzx eax, ax
or eax, 0x80070000
test eax, eax
jns 0x425312
mov ecx, dword [0x46a020]
cmp ecx, 0x46a020
je 0x425312
test byte [ecx + 0x1c], 8
je 0x425312
cmp byte [ecx + 0x19], 2
jb 0x425312
push eax
push 0x403260
call fcn.00411040
push eax
mov eax, dword [0x46a020]
mov edx, 0x40328c
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x10
pop ecx
call fcn.00410eec
test esi, esi
je 0x42531d
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
test ebx, ebx
je 0x425328
push ebx
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov eax, dword [ebp - 0x214]
test eax, eax
je 0x425339
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov ecx, dword [ebp - 0x218]
test ecx, ecx
je 0x425348
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x210]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00468719
mov esp, ebp
pop ebp
ret 8