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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46c000
mov eax, dword fs:[0]
push eax
sub esp, 0x46c
mov eax, dword [0x490004]
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.00407570
mov dword [ebp - 4], 0
mov eax, 0x492b18
cmp dword [0x492b2c], 0x10
mov esi, dword [edi + 0x24]
cmovae eax, dword [0x492b18]
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 [0x4751bc]
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 [0x4751bc]
call esi
cmp dword [ebp - 0x420], 0x10
lea ecx, [ebp - 0x434]
mov esi, dword [edi + 0x20]
mov edx, 0x50
cmovae 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 [0x4751bc]
call esi
mov ecx, eax
test ecx, ecx
je 0x407b00
mov eax, dword [ebp - 0x478]
mov esi, dword [edi + 0x28]
cmp dword [eax + 0x14], 0x10
jb 0x4078da
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 [0x4751bc]
call esi
mov esi, eax
test esi, esi
je 0x407b00
mov edi, dword [edi + 0x2c]
mov ecx, edi
push 0xa0000000
push 0xffffffffffffffff
push str.Content_Type:_application_octet_stream__boundary____
push esi
call dword [0x4751bc]
call edi
test eax, eax
je 0x407b00
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 [0x4751bc]
call edi
test eax, eax
je 0x407b00
test ebx, ebx
je 0x4079b7
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 0x407b00
add edi, dword [ebp - 0x46c]
sub ebx, dword [ebp - 0x46c]
jne 0x407991
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 0x407b00
add ebx, dword [ebp - 0x46c]
sub edi, dword [ebp - 0x46c]
jne 0x4079c1
mov ebx, dword [ebp - 0x474]
push 0
push 8
push 0
mov edi, dword [ebx + 0x34]
mov ecx, edi
push esi
call dword [0x4751bc]
call edi
test eax, eax
je 0x407b00
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 [0x4751bc]
call edi
test eax, eax
je 0x407a99
nop dword [eax + eax]
mov eax, dword [ebp - 0x418]
test eax, eax
je 0x407a99
cmp eax, 0x401
jae 0x407b32
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 [0x4751bc]
call edi
test eax, eax
jne 0x407a40
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 [0x4751bc]
call edi
mov edi, dword [ebx + 0x3c]
mov ecx, edi
push esi
call dword [0x4751bc]
call edi
cmp dword [ebp - 0x41c], 0xc8
jne 0x407b00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x434]
call fcn.00410830
mov al, 1
jmp 0x407b14
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x434]
call fcn.00410830
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.0042e653
mov esp, ebp
pop ebp
ret 0x10
call fcn.0042e783
int3