Function at 0x410730
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x64
mov eax, dword [0x581d10]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [esi]
mov eax, dword [esi + 0x338]
mov dword [esp + 0x18], eax
cmp dword [edi + 0x70], 0
lea ebx, [edi + 0x2f4]
jne 0x41076b
mov dword [esp + 0x14], esi
mov dword [esp + 0x1c], eax
jmp 0x410773
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], esi
mov ecx, dword [esi + 0x16c]
xor eax, eax
mov dword [esp + 0xc], ecx
cmp byte [ecx + 0x39], al
jne 0x4107e6
cmp byte [esi + 0xe5], al
je 0x4107a6
mov edx, dword [ecx + 0x20]
test edx, edx
je 0x4107a6
mov ecx, esi
call fcn.004106e1
test eax, eax
jne 0x410a66
mov ecx, dword [esp + 0xc]
and dword [esp + 0x10], 0
cmp dword [ecx + 0x14], 0
jle 0x4107de
mov eax, dword [esp + 0x10]
mov edx, dword [ecx + 0x10]
mov ecx, esi
mov edx, dword [edx + eax*4]
call fcn.004106e1
test eax, eax
jne 0x410a66
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
inc eax
mov dword [esp + 0x10], eax
cmp eax, dword [ecx + 0x14]
jl 0x4107b5
jmp 0x4107e6
test eax, eax
jne 0x410a66
push str.PASV
push 0x54f300
push dword [esp + 0x1c]
call fcn.004104a2
add esp, 0xc
test eax, eax
jne 0x410a66
mov edx, dword [esp + 0x14]
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x14]
call fcn.0040dbea
pop ecx
test eax, eax
jne 0x410a66
cmp dword [esp + 0xc], 0xe3
je 0x410842
push dword [esp + 0xc]
push str.Odd_return_code_after_PASV:__03d
push edi
call fcn.00401832
add esp, 0xc
push 0xd
jmp 0x410a65
cmp byte [ebx], 0
je 0x410a51
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x3c]
push eax
push str._d__d__d__d__d__d
push ebx
call fcn.004f774c
add esp, 0x20
cmp eax, 6
je 0x410882
inc ebx
cmp byte [ebx], 0
jne 0x41084b
cmp byte [ebx], 0
je 0x410a51
push dword [esp + 0x24]
lea eax, [esp + 0x3c]
push dword [esp + 0x24]
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push str._d__d__d__d__d__d
push 0x32
push eax
call fcn.00402c98
mov ebx, dword [esp + 0x40]
lea eax, [esp + 0x5c]
add esp, 0x24
push eax
push str.PORT__s
push ebx
call fcn.004104a2
add esp, 0xc
test eax, eax
jne 0x410a66
lea eax, [esp + 0xc]
mov edx, ebx
push eax
lea ecx, [esp + 0x14]
call fcn.0040dbea
pop ecx
test eax, eax
jne 0x410a66
cmp dword [esp + 0xc], 0xc8
je 0x410912
push dword [esp + 0xc]
push str.PORT_command_attempts_failed:__03d
push edi
call fcn.00401832
add esp, 0xc
push 0x1e
jmp 0x410a65
cmp byte [edi + 0x18b], 0
mov eax, str.STOR
mov ebx, str.APPE
cmove ebx, eax
mov eax, dword [esp + 0x18]
push dword [eax + 0x50]
push str.RETR__s
push eax
call fcn.004104a2
add esp, 0xc
test eax, eax
jne 0x410a66
cmp dword [edi + 0x70], eax
jne 0x4109ea
mov edx, dword [esp + 0x18]
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x14]
call fcn.0040dbea
pop ecx
test eax, eax
jne 0x410a66
cmp dword [esp + 0xc], 0x96
je 0x410991
cmp dword [esp + 0xc], 0x7d
je 0x410991
push dword [esp + 0xc]
push str.Failed_RETR:__03d
push edi
call fcn.00401832
add esp, 0xc
push 0x13
jmp 0x410a65
mov eax, dword [esi + 0x16c]
push dword [eax + 0x1c]
push ebx
push 0x558b00
push esi
call fcn.004104a2
add esp, 0x10
test eax, eax
jne 0x410a66
lea eax, [esp + 0xc]
mov edx, esi
push eax
lea ecx, [esp + 0x14]
call fcn.0040dbea
pop ecx
test eax, eax
jne 0x410a66
cmp dword [esp + 0xc], 0x190
jl 0x410a4d
push dword [esp + 0xc]
push str.Failed_FTP_upload:__03d
push edi
call fcn.00401832
add esp, 0xc
push 0x19
jmp 0x410a65
mov eax, dword [esi + 0x16c]
push dword [eax + 0x1c]
push ebx
push 0x558b00
push esi
call fcn.004104a2
add esp, 0x10
test eax, eax
jne 0x410a66
mov edx, dword [esp + 0x18]
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x14]
call fcn.0040dbea
pop ecx
test eax, eax
jne 0x410a66
cmp dword [esp + 0xc], 0x190
jge 0x4109d4
lea eax, [esp + 0xc]
mov edx, esi
push eax
lea ecx, [esp + 0x14]
call fcn.0040dbea
pop ecx
test eax, eax
jne 0x410a66
cmp dword [esp + 0xc], 0x96
je 0x410a4d
cmp dword [esp + 0xc], 0x7d
jne 0x4109d4
xor eax, eax
jmp 0x410a66
mov eax, dword [esp + 0x14]
push str.Couldnt_interpret_the_227_reply
push dword [eax]
call fcn.00401832
pop ecx
pop ecx
push 0xe
pop eax
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004f1cdb
mov esp, ebp
pop ebp
ret