Function at 0x418c37
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x68
mov eax, dword [0x444044]
xor eax, esp
mov dword [esp + 0x64], eax
mov eax, dword [edi]
cmp dword [eax + 0x70], 0
mov ecx, dword [edi + 0x338]
push ebx
lea ebx, [eax + 0x2f4]
push esi
mov dword [esp + 0x14], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 8], ebx
jne 0x418c77
mov dword [esp + 0x10], edi
mov dword [esp + 0x18], ecx
jmp 0x418c7f
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], edi
mov esi, dword [edi + 0x16c]
xor eax, eax
cmp byte [esi + 0x39], al
jne 0x418ce9
cmp byte [edi + 0xe5], al
je 0x418cac
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x418cac
mov ebx, ecx
mov eax, edi
call fcn.00418b7a
test eax, eax
jne 0x418cdd
mov ebx, dword [esp + 8]
and dword [esp + 0xc], 0
cmp dword [esi + 0x14], 0
jle 0x418ce1
mov eax, dword [esi + 0x10]
mov ecx, dword [esp + 0xc]
mov ebx, dword [eax + ecx*4]
mov eax, edi
call fcn.00418b7a
test eax, eax
jne 0x418f84
inc dword [esp + 0xc]
mov ecx, dword [esp + 0xc]
cmp ecx, dword [esi + 0x14]
jl 0x418cb7
mov ebx, dword [esp + 8]
test eax, eax
jne 0x418f84
mov esi, dword [esp + 0x10]
push str.PASV
push 0x43c888
call fcn.00418974
test eax, eax
pop ecx
pop ecx
jne 0x418f84
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x10]
push esi
push eax
call fcn.004162b5
add esp, 0xc
test eax, eax
jne 0x418f84
cmp dword [esp + 8], 0xe3
je 0x418d47
push dword [esp + 8]
mov esi, dword [esp + 0x18]
push str.Odd_return_code_after_PASV:__03d
call fcn.00409b0c
pop ecx
pop ecx
push 0xd
pop eax
jmp 0x418f84
cmp byte [ebx], 0
je 0x418d89
mov esi, str._d__d__d__d__d__d
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x38]
push eax
push esi
push ebx
call fcn.0042ffa5
add esp, 0x20
cmp eax, 6
je 0x418d84
inc ebx
cmp byte [ebx], 0
jne 0x418d51
cmp byte [ebx], 0
jne 0x418d9e
mov eax, dword [esp + 0x10]
mov esi, dword [eax]
push str.Couldnt_interpret_the_227_reply
call fcn.00409b0c
pop ecx
push 0xe
jmp 0x418d41
push dword [esp + 0x20]
lea eax, [esp + 0x3c]
push dword [esp + 0x20]
push dword [esp + 0x38]
push dword [esp + 0x38]
push dword [esp + 0x38]
push dword [esp + 0x38]
push esi
push 0x32
push eax
call fcn.004115d9
mov esi, dword [esp + 0x3c]
add esp, 0x24
lea eax, [esp + 0x38]
push eax
push str.PORT__s
call fcn.00418974
test eax, eax
pop ecx
pop ecx
jne 0x418f84
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x10]
push esi
push eax
call fcn.004162b5
add esp, 0xc
test eax, eax
jne 0x418f84
cmp dword [esp + 8], 0xc8
je 0x418e23
push dword [esp + 8]
mov esi, dword [esp + 0x18]
push str.PORT_command_attempts_failed:__03d
call fcn.00409b0c
pop ecx
pop ecx
push 0x1e
jmp 0x418d41
mov eax, dword [esp + 0x14]
cmp byte [eax + 0x18b], 0
mov dword [esp + 0x10], str.APPE
jne 0x418e40
mov dword [esp + 0x10], str.STOR
mov ebx, dword [esp + 0x34]
push dword [ebx + 0x50]
mov esi, ebx
push str.RETR__s
call fcn.00418974
test eax, eax
pop ecx
pop ecx
jne 0x418f84
mov esi, dword [esp + 0x14]
cmp dword [esi + 0x70], eax
jne 0x418f15
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x10]
push ebx
push eax
call fcn.004162b5
add esp, 0xc
test eax, eax
jne 0x418f84
cmp dword [esp + 8], 0x96
je 0x418ead
cmp dword [esp + 8], 0x7d
je 0x418ead
push dword [esp + 8]
push str.Failed_RETR:__03d
call fcn.00409b0c
pop ecx
pop ecx
push 0x13
jmp 0x418d41
mov eax, dword [edi + 0x16c]
push dword [eax + 0x1c]
mov esi, edi
push dword [esp + 0x14]
push str._s__s
call fcn.00418974
add esp, 0xc
test eax, eax
jne 0x418f84
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x10]
push edi
push eax
call fcn.004162b5
add esp, 0xc
test eax, eax
jne 0x418f84
cmp dword [esp + 8], 0x190
jl 0x418f82
push dword [esp + 8]
mov esi, dword [esp + 0x18]
push str.Failed_FTP_upload:__03d
call fcn.00409b0c
pop ecx
pop ecx
push 0x19
jmp 0x418d41
mov eax, dword [edi + 0x16c]
push dword [eax + 0x1c]
mov esi, edi
push dword [esp + 0x14]
push str._s__s
call fcn.00418974
add esp, 0xc
test eax, eax
jne 0x418f84
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x10]
push ebx
push eax
call fcn.004162b5
add esp, 0xc
test eax, eax
jne 0x418f84
cmp dword [esp + 8], 0x190
jge 0x418efa
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x10]
push edi
push eax
call fcn.004162b5
add esp, 0xc
test eax, eax
jne 0x418f84
cmp dword [esp + 8], 0x96
je 0x418f82
cmp dword [esp + 8], 0x7d
jne 0x418efa
xor eax, eax
mov ecx, dword [esp + 0x6c]
pop esi
pop ebx
xor ecx, esp
call fcn.0041e1a0
mov esp, ebp
pop ebp
ret