Function at 0x408da0
Capabilities:
Check http status code
Print debug messages
Send data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x470790
mov eax, dword fs:[0]
push eax
sub esp, 0x46c
mov eax, dword [0x491040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x474], edi
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x46c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x478], eax
lea eax, [ebp - 0x434]
push ecx
push eax
call fcn.00408b60
mov dword [ebp - 4], 0
mov eax, 0x4962f4
cmp dword [0x496308], 0xf
mov esi, dword [edi + 0x24]
cmova eax, dword [0x4962f4]
xor ecx, ecx
push 4
mov bl, byte [eax + 4]
mov eax, 0x800000
cmp bl, 0x73
mov dword [ebp - 0x438], 0xf4240
cmovne eax, ecx
mov ecx, esi
mov dword [ebp - 0x470], eax
lea eax, [ebp - 0x440]
push eax
push 0x80
push dword [edi + 0x18]
call dword [0x4791e8]
call esi
mov esi, dword [edi + 0x24]
lea eax, [ebp - 0x438]
push 4
push eax
push 6
push dword [edi + 0x18]
mov ecx, esi
call dword [0x4791e8]
call esi
cmp dword [ebp - 0x420], 0xf
lea ecx, [ebp - 0x434]
mov esi, dword [edi + 0x20]
mov edx, 0x50
cmova ecx, dword [ebp - 0x434]
mov eax, 0x1bb
push 0
push dword [ebp - 0x470]
cmp bl, 0x73
push 3
push 0
push 0
cmovne eax, edx
movzx eax, ax
push eax
push ecx
push dword [edi + 0x18]
mov ecx, esi
call dword [0x4791e8]
call esi
mov ecx, eax
test ecx, ecx
je 0x4090f0
mov eax, dword [ebp - 0x478]
mov esi, dword [edi + 0x28]
cmp dword [eax + 0x14], 0xf
jbe 0x408eca
mov eax, dword [eax]
push 0
push dword [ebp - 0x470]
push 0
push 0
push 0
push eax
push str.POST
push ecx
mov ecx, esi
call dword [0x4791e8]
call esi
mov esi, eax
test esi, esi
je 0x4090f0
mov edi, dword [edi + 0x2c]
mov ecx, edi
push 0xa0000000
push 0xffffffffffffffff
push str.Content_Type:_application_octet_stream__boundary____
push esi
call dword [0x4791e8]
call edi
test eax, eax
je 0x4090f0
mov ebx, dword [ebp + 0x10]
xorps xmm0, xmm0
mov edi, dword [ebp - 0x474]
push 0
push 0
lea eax, [ebx + 0xc]
movlpd qword [ebp - 0x464], xmm0
mov edi, dword [edi + 0x30]
mov ecx, edi
mov dword [ebp - 0x44c], eax
lea eax, [ebp - 0x468]
push 0
push eax
push esi
movlpd qword [ebp - 0x45c], xmm0
movlpd qword [ebp - 0x454], xmm0
movlpd qword [ebp - 0x448], xmm0
mov dword [ebp - 0x468], 0x28
call dword [0x4791e8]
call edi
test eax, eax
je 0x4090f0
test ebx, ebx
je 0x408fa7
mov edi, dword [ebp - 0x46c]
lea eax, [ebp - 0x46c]
push eax
push ebx
push edi
push esi
call dword [sym.imp.WININET.dll_InternetWriteFile]
test eax, eax
je 0x4090f0
add edi, dword [ebp - 0x46c]
sub ebx, dword [ebp - 0x46c]
jne 0x408f81
mov edi, 0xc
mov ebx, str._r_n_________r_n
lea eax, [ebp - 0x46c]
push eax
push edi
push ebx
push esi
call dword [sym.imp.WININET.dll_InternetWriteFile]
test eax, eax
je 0x4090f0
add ebx, dword [ebp - 0x46c]
sub edi, dword [ebp - 0x46c]
jne 0x408fb1
mov ebx, dword [ebp - 0x474]
push 0
push 8
push 0
mov edi, dword [ebx + 0x34]
mov ecx, edi
push esi
call dword [0x4791e8]
call edi
test eax, eax
je 0x4090f0
mov edi, dword [ebx + 0x38]
lea eax, [ebp - 0x418]
push eax
push 0x400
lea eax, [ebp - 0x414]
mov dword [ebp - 0x418], 0
push eax
push esi
mov ecx, edi
call dword [0x4791e8]
call edi
test eax, eax
je 0x409089
nop dword [eax + eax]
mov eax, dword [ebp - 0x418]
test eax, eax
je 0x409089
cmp eax, 0x401
jae 0x409122
mov byte [ebp + eax - 0x414], 0
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov edi, dword [ebx + 0x38]
lea eax, [ebp - 0x418]
push eax
push 0x400
lea eax, [ebp - 0x414]
mov dword [ebp - 0x418], 0
push eax
push esi
mov ecx, edi
call dword [0x4791e8]
call edi
test eax, eax
jne 0x409030
mov edi, dword [ebx + 0x40]
lea eax, [ebp - 0x43c]
push 0
push eax
lea eax, [ebp - 0x41c]
mov dword [ebp - 0x41c], 0
push eax
push 0x20000013
push esi
mov ecx, edi
mov dword [ebp - 0x43c], 4
call dword [0x4791e8]
call edi
mov edi, dword [ebx + 0x3c]
mov ecx, edi
push esi
call dword [0x4791e8]
call edi
cmp dword [ebp - 0x41c], 0xc8
jne 0x4090f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x434]
call fcn.00414300
mov al, 1
jmp 0x409104
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x434]
call fcn.00414300
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004347ab
mov esp, ebp
pop ebp
ret 0x10
call fcn.004348dc
int3