Function at 0x406671
Capabilities:
Check http status code
Print debug messages

Disassembly:
push 0x46c
mov eax, 0x442070
call fcn.00440fe8
mov edi, ecx
mov dword [ebp - 0x470], edi
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x478], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x474], eax
lea eax, [ebp - 0x434]
push ecx
push eax
call fcn.00406543
and dword [ebp - 4], 0
mov eax, 0x45d16c
cmp dword [0x45d180], 0xf
mov esi, dword [edi + 0x24]
cmova eax, dword [0x45d16c]
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 - 0x46c], eax
lea eax, [ebp - 0x440]
push eax
push 0x80
push dword [edi + 0x18]
call dword [0x448184]
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 [0x448184]
call esi
cmp dword [ebp - 0x420], 0xf
lea ecx, [ebp - 0x434]
mov esi, dword [edi + 0x20]
cmova ecx, dword [ebp - 0x434]
xor eax, eax
mov edi, dword [ebp - 0x46c]
cmp bl, 0x73
mov ebx, dword [ebp - 0x470]
push eax
push edi
push 3
push eax
push eax
push 0x50
pop edx
mov eax, 0x1bb
cmovne eax, edx
movzx eax, ax
push eax
push ecx
push dword [ebx + 0x18]
mov ecx, esi
call dword [0x448184]
call esi
mov ecx, eax
test ecx, ecx
jne 0x40677e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x434]
call fcn.0040acb5
xor al, al
jmp 0x406928
mov eax, dword [ebp - 0x474]
mov esi, dword [ebx + 0x28]
cmp dword [eax + 0x14], 0xf
jbe 0x40678f
mov eax, dword [eax]
xor edx, edx
push edx
push edi
push edx
push edx
push edx
push eax
push str.POST
push ecx
mov ecx, esi
call dword [0x448184]
call esi
mov edi, eax
test edi, edi
je 0x406768
mov esi, dword [ebx + 0x2c]
mov ecx, esi
push 0xa0000000
push 0xffffffffffffffff
push str.Content_Type:_application_octet_stream__boundary____
push edi
call dword [0x448184]
call esi
test eax, eax
je 0x406768
mov eax, dword [ebp + 0x10]
xorps xmm0, xmm0
mov esi, dword [ebx + 0x30]
add eax, 0xc
mov dword [ebp - 0x44c], eax
mov ecx, esi
xor eax, eax
movlpd qword [ebp - 0x464], xmm0
push eax
push eax
push eax
lea eax, [ebp - 0x468]
movlpd qword [ebp - 0x45c], xmm0
push eax
push edi
movlpd qword [ebp - 0x454], xmm0
movlpd qword [ebp - 0x448], xmm0
mov dword [ebp - 0x468], 0x28
call dword [0x448184]
call esi
test eax, eax
je 0x406768
push dword [ebp + 0x10]
push dword [ebp - 0x478]
push edi
call fcn.00406622
test al, al
je 0x406768
push 0xc
push str._r_n_________r_n
push edi
call fcn.00406622
test al, al
je 0x406768
mov esi, dword [ebx + 0x34]
mov ecx, esi
push 0
push 8
push 0
push edi
call dword [0x448184]
call esi
test eax, eax
jne 0x406899
jmp 0x406768
mov eax, dword [ebp - 0x418]
test eax, eax
je 0x4068c5
cmp eax, 0x401
jae 0x406930
mov byte [ebp + eax - 0x414], 0
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov esi, dword [ebx + 0x38]
lea eax, [ebp - 0x418]
and dword [ebp - 0x418], 0
mov ecx, esi
push eax
push 0x400
lea eax, [ebp - 0x414]
push eax
push edi
call dword [0x448184]
call esi
test eax, eax
jne 0x40686f
mov esi, dword [ebx + 0x40]
lea eax, [ebp - 0x43c]
and dword [ebp - 0x41c], 0
mov ecx, esi
push 0
push eax
lea eax, [ebp - 0x41c]
mov dword [ebp - 0x43c], 4
push eax
push 0x20000013
push edi
call dword [0x448184]
call esi
mov esi, dword [ebx + 0x3c]
mov ecx, esi
push edi
call dword [0x448184]
call esi
cmp dword [ebp - 0x41c], 0xc8
jne 0x406768
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x434]
call fcn.0040acb5
mov al, 1
call fcn.00440f94
ret 0x10
call fcn.0041e048
int3