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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x555186
mov eax, dword fs:[0]
push eax
sub esp, 0x46c
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 - 0x448], ecx
mov dword [ebp - 0x458], 0
push 0
push 0
push 0
push 0
mov ecx, dword [ebp - 0x448]
add ecx, 0x34
call fcn.00408050
push eax
push 0x589ff8
mov eax, dword [ebp - 0x448]
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov edx, dword [ebp - 0x448]
mov dword [edx + 0x24], eax
mov eax, dword [ebp - 0x448]
cmp dword [eax + 0x24], 0
jne 0x407491
jmp 0x407702
mov ecx, dword [ebp - 0x448]
mov edx, dword [ecx + 0x24]
push edx
mov eax, dword [ebp - 0x448]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x448]
mov eax, dword [edx + 0xc]
call eax
mov ecx, dword [ebp - 0x448]
add ecx, 0x10
push ecx
lea edx, [ebp - 0x444]
push edx
mov eax, dword [ebp - 0x448]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x448]
mov eax, dword [edx + 0x14]
call eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x444]
push ecx
lea edx, [ebp - 0x478]
push edx
call fcn.00440bb0
add esp, 8
mov dword [ebp - 0x460], eax
mov eax, dword [ebp - 0x460]
push eax
lea ecx, [ebp - 0x42c]
call fcn.00407de0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x478]
call fcn.00440ad0
lea ecx, [ebp - 0x42c]
call fcn.00404100
mov dword [ebp - 0x450], eax
mov ecx, dword [ebp - 0x448]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x448]
mov eax, dword [edx]
call eax
add eax, dword [ebp - 0x450]
mov dword [ebp - 0x450], eax
push 0
mov ecx, dword [ebp - 0x450]
push ecx
push 0
push 0
push 0
push 0
mov edx, dword [ebp - 0x448]
mov eax, dword [edx + 0x24]
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
jne 0x407590
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 0x407702
lea ecx, [ebp - 0x42c]
call fcn.00404100
test eax, eax
je 0x4075f3
push 0
lea ecx, [ebp - 0x42c]
call fcn.00404100
push eax
lea ecx, [ebp - 0x42c]
call fcn.00406710
push eax
mov ecx, dword [ebp - 0x448]
mov edx, dword [ecx + 0x24]
push edx
call dword [sym.imp.WINHTTP.dll_WinHttpWriteData]
test eax, eax
jne 0x4075f3
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 0x407702
mov byte [ebp - 0x410], 0
push 0x3ff
push 0
lea eax, [ebp - 0x40f]
push eax
call fcn.00516d90
add esp, 0xc
mov dword [ebp - 0x454], 0
mov dword [ebp - 0x44c], 0
mov dword [ebp - 0x45c], 0x400
mov ecx, dword [ebp - 0x45c]
push ecx
lea edx, [ebp - 0x410]
push edx
call fcn.004093b0
add esp, 8
mov dword [ebp - 0x414], 0
lea eax, [ebp - 0x414]
push eax
mov ecx, dword [ebp - 0x45c]
push ecx
lea edx, [ebp - 0x410]
push edx
mov eax, dword [ebp - 0x448]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x448]
mov eax, dword [edx + 8]
call eax
mov dword [ebp - 0x454], eax
cmp dword [ebp - 0x414], 0
je 0x4076ad
push 0
mov ecx, dword [ebp - 0x414]
push ecx
lea edx, [ebp - 0x410]
push edx
mov eax, dword [ebp - 0x448]
mov ecx, dword [eax + 0x24]
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpWriteData]
mov dword [ebp - 0x44c], eax
jmp 0x4076b7
mov dword [ebp - 0x44c], 1
cmp dword [ebp - 0x454], 0
je 0x4076cd
cmp dword [ebp - 0x44c], 0
jne 0x407624
mov edx, dword [ebp - 0x44c]
mov dword [ebp - 0x458], edx
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 eax, eax
jne 0x40744b
mov eax, dword [ebp - 0x458]
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