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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42da75
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x43d210]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x70], ecx
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x4c]
call fcn.00403c70
mov byte [ebp - 4], 2
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp + 8]
call fcn.00403590
push eax
mov ecx, dword [ebp - 0x70]
call fcn.00418d30
test eax, eax
jne 0x418f8d
mov dword [ebp - 0x5c], 0xfffffff3
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4c]
call fcn.00403cd0
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00401280
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.00401280
mov eax, dword [ebp - 0x5c]
jmp 0x41924f
mov dword [ebp - 0x54], 0
cmp dword [ebp - 0x14], 0
je 0x418fa3
mov dword [ebp - 0x54], 0x800100
jmp 0x418faa
mov dword [ebp - 0x54], pe_nt_image_headers32
mov ecx, dword [ebp - 0x14]
neg ecx
sbb ecx, ecx
and ecx, 0x16b
add ecx, 0x50
mov word [ebp - 0x58], cx
mov edx, dword [ebp + 0x40]
push edx
mov ecx, dword [ebp - 0x70]
call fcn.00418a00
mov ecx, dword [ebp + 0x40]
add ecx, 0x20
call fcn.00401690
test eax, eax
je 0x418ff1
mov ecx, dword [ebp + 0x40]
add ecx, 0x20
call fcn.00403590
push eax
mov ecx, 0x440b88
call fcn.0041a5a0
jmp 0x419000
push 0x433e7c
mov ecx, 0x440b88
call fcn.0041a5a0
mov ecx, dword [ebp - 0x70]
call fcn.00417600
mov ecx, dword [ebp + 0x40]
add ecx, 0x3c
call fcn.00401690
test eax, eax
je 0x419027
mov ecx, dword [ebp + 0x40]
add ecx, 0x3c
call fcn.00403590
mov dword [ebp - 0x74], eax
jmp 0x41902e
mov dword [ebp - 0x74], 0
mov ecx, dword [ebp + 0x40]
add ecx, 0x20
call fcn.00401690
test eax, eax
je 0x41904d
mov ecx, dword [ebp + 0x40]
add ecx, 0x20
call fcn.00403590
mov dword [ebp - 0x78], eax
jmp 0x419054
mov dword [ebp - 0x78], 0
push 0
mov eax, dword [ebp - 0x74]
push eax
mov ecx, dword [ebp - 0x78]
push ecx
mov ecx, dword [ebp + 0x40]
add ecx, 0x20
call fcn.00401690
neg eax
sbb eax, eax
and eax, 2
add eax, 1
push eax
mov ecx, dword [ebp - 0x70]
add ecx, 0x30
call fcn.00403590
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov edx, dword [ebp - 0x70]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x70]
cmp dword [eax + 4], 0
jne 0x4190cb
mov dword [ebp - 0x60], 0xfffffff8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4c]
call fcn.00403cd0
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00401280
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.00401280
mov eax, dword [ebp - 0x60]
jmp 0x41924f
mov dword [ebp - 0x50], 2
push 4
lea ecx, [ebp - 0x50]
push ecx
push 0x58
mov edx, dword [ebp - 0x70]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
mov ecx, dword [ebp - 0x70]
mov edx, dword [ecx + 0x10]
push edx
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax + 4]
push ecx
mov ecx, dword [ebp - 0x70]
call fcn.00417520
push 0
mov dx, word [ebp - 0x58]
push edx
lea ecx, [ebp - 0x4c]
call fcn.00403590
push eax
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov edx, dword [ebp - 0x70]
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x70]
cmp dword [eax + 8], 0
jne 0x41915f
mov dword [ebp - 0x64], 0xfffffff8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4c]
call fcn.00403cd0
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00401280
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.00401280
mov eax, dword [ebp - 0x64]
jmp 0x41924f
mov ecx, dword [ebp - 0x70]
add ecx, 0x4c
call fcn.00401690
test eax, eax
je 0x41917e
mov ecx, dword [ebp - 0x70]
add ecx, 0x4c
call fcn.00403590
mov dword [ebp - 0x7c], eax
jmp 0x419185
mov dword [ebp - 0x7c], 0
lea ecx, [ebp + 0x24]
call fcn.00401690
test eax, eax
je 0x41919a
mov dword [ebp - 0x80], str.POST
jmp 0x4191a1
mov dword [ebp - 0x80], 0x433e8c
mov ecx, dword [ebp - 0x54]
push ecx
push 0
mov edx, dword [ebp - 0x7c]
push edx
push 0
lea ecx, [ebp - 0x30]
call fcn.00403590
push eax
mov eax, dword [ebp - 0x80]
push eax
mov ecx, dword [ebp - 0x70]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov ecx, dword [ebp - 0x70]
mov dword [ecx + 0xc], eax
push 4
lea edx, [ebp - 0x50]
push edx
push 0x58
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
mov edx, dword [ebp - 0x70]
cmp dword [edx + 0xc], 0
jne 0x41921e
mov dword [ebp - 0x68], 0xfffffff8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4c]
call fcn.00403cd0
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00401280
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.00401280
mov eax, dword [ebp - 0x68]
jmp 0x41924f
mov dword [ebp - 0x6c], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4c]
call fcn.00403cd0
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00401280
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.00401280
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004042ce
mov esp, ebp
pop ebp
ret 0x3c