Function at 0x407730
Capabilities:
Prepare http request
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5551c6
mov eax, dword fs:[0]
push eax
sub esp, 0x470
mov eax, dword [0x5b7780]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x44c], ecx
mov dword [ebp - 0x460], 0
push 0
push 0
push 0
push 0
mov ecx, dword [ebp - 0x44c]
add ecx, 0x34
call fcn.00408050
push eax
push 0x58a004
mov eax, dword [ebp - 0x44c]
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov edx, dword [ebp - 0x44c]
mov dword [edx + 0x24], eax
mov eax, dword [ebp - 0x44c]
cmp dword [eax + 0x24], 0
jne 0x4077b1
jmp 0x407ab0
mov ecx, dword [ebp - 0x44c]
mov edx, dword [ecx + 0x24]
push edx
mov eax, dword [ebp - 0x44c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x44c]
mov eax, dword [edx + 0xc]
call eax
mov ecx, dword [ebp - 0x44c]
add ecx, 0x10
push ecx
lea edx, [ebp - 0x444]
push edx
mov eax, dword [ebp - 0x44c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x44c]
mov eax, dword [edx + 0x14]
call eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x444]
push ecx
lea edx, [ebp - 0x47c]
push edx
call fcn.00440bb0
add esp, 8
mov dword [ebp - 0x464], eax
mov eax, dword [ebp - 0x464]
push eax
lea ecx, [ebp - 0x42c]
call fcn.00407de0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x47c]
call fcn.00440ad0
lea ecx, [ebp - 0x42c]
call fcn.00404100
mov dword [ebp - 0x45c], eax
mov ecx, dword [ebp - 0x44c]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x44c]
mov eax, dword [edx]
call eax
add eax, dword [ebp - 0x45c]
mov dword [ebp - 0x45c], eax
push 0
mov ecx, dword [ebp - 0x45c]
push ecx
push 0
push 0
push 0
push 0
mov edx, dword [ebp - 0x44c]
mov eax, dword [edx + 0x24]
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
jne 0x4078b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x42c]
call fcn.004040e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x444]
call fcn.004041c0
jmp 0x407ab0
mov byte [ebp - 0x410], 0
push 0x3ff
push 0
lea ecx, [ebp - 0x40f]
push ecx
call fcn.00516d90
add esp, 0xc
mov dword [ebp - 0x458], 0
mov dword [ebp - 0x450], 0
mov dword [ebp - 0x454], 0x400
mov edx, dword [ebp - 0x454]
push edx
lea eax, [ebp - 0x410]
push eax
call fcn.004093b0
add esp, 8
mov dword [ebp - 0x414], 0
mov ecx, dword [ebp - 0x44c]
cmp dword [ecx + 4], 3
jne 0x40799c
mov edx, dword [ebp - 0x44c]
cmp dword [edx + 0xc], 1
jne 0x40799c
mov dword [ebp - 0x448], 0
lea eax, [ebp - 0x414]
push eax
mov ecx, dword [ebp - 0x454]
push ecx
lea edx, [ebp - 0x448]
push edx
mov eax, dword [ebp - 0x44c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x44c]
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 0x458], eax
cmp dword [ebp - 0x414], 0
je 0x407990
push 0
mov ecx, dword [ebp - 0x414]
push ecx
mov edx, dword [ebp - 0x448]
push edx
mov eax, dword [ebp - 0x44c]
mov ecx, dword [eax + 0x24]
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpWriteData]
mov dword [ebp - 0x450], eax
jmp 0x40799a
mov dword [ebp - 0x450], 1
jmp 0x407a05
lea edx, [ebp - 0x414]
push edx
mov eax, dword [ebp - 0x454]
push eax
lea ecx, [ebp - 0x410]
push ecx
mov edx, dword [ebp - 0x44c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x44c]
mov edx, dword [eax + 8]
call edx
mov dword [ebp - 0x458], eax
cmp dword [ebp - 0x414], 0
je 0x4079fb
push 0
mov eax, dword [ebp - 0x414]
push eax
lea ecx, [ebp - 0x410]
push ecx
mov edx, dword [ebp - 0x44c]
mov eax, dword [edx + 0x24]
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpWriteData]
mov dword [ebp - 0x450], eax
jmp 0x407a05
mov dword [ebp - 0x450], 1
cmp dword [ebp - 0x458], 0
je 0x407a1b
cmp dword [ebp - 0x450], 0
jne 0x4078e1
lea ecx, [ebp - 0x42c]
call fcn.00404100
test eax, eax
je 0x407a7b
push 0
lea ecx, [ebp - 0x42c]
call fcn.00404100
push eax
lea ecx, [ebp - 0x42c]
call fcn.00406710
push eax
mov ecx, dword [ebp - 0x44c]
mov edx, dword [ecx + 0x24]
push edx
call dword [sym.imp.WINHTTP.dll_WinHttpWriteData]
test eax, eax
jne 0x407a7b
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x42c]
call fcn.004040e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x444]
call fcn.004041c0
jmp 0x407ab0
mov eax, dword [ebp - 0x450]
mov dword [ebp - 0x460], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x42c]
call fcn.004040e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x444]
call fcn.004041c0
xor ecx, ecx
jne 0x40776b
mov eax, dword [ebp - 0x460]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00516529
mov esp, ebp
pop ebp
ret