Function at 0x4641ca
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x64
mov eax, dword [0x4d3a00]
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 0x464205
mov dword [esp + 0x14], esi
mov dword [esp + 0x1c], eax
jmp 0x46420d
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 0x464280
cmp byte [esi + 0xe5], al
je 0x464240
mov edx, dword [ecx + 0x20]
test edx, edx
je 0x464240
mov ecx, esi
call fcn.0046417b
test eax, eax
jne 0x464500
mov ecx, dword [esp + 0xc]
and dword [esp + 0x10], 0
cmp dword [ecx + 0x14], 0
jle 0x464278
mov eax, dword [esp + 0x10]
mov edx, dword [ecx + 0x10]
mov ecx, esi
mov edx, dword [edx + eax*4]
call fcn.0046417b
test eax, eax
jne 0x464500
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
inc eax
mov dword [esp + 0x10], eax
cmp eax, dword [ecx + 0x14]
jl 0x46424f
jmp 0x464280
test eax, eax
jne 0x464500
push str.PASV
push 0x4b9c78
push dword [esp + 0x1c]
call fcn.00463f3c
add esp, 0xc
test eax, eax
jne 0x464500
mov edx, dword [esp + 0x14]
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x14]
call fcn.00461684
pop ecx
test eax, eax
jne 0x464500
cmp dword [esp + 0xc], 0xe3
je 0x4642dc
push dword [esp + 0xc]
push str.Odd_return_code_after_PASV:__03d
push edi
call fcn.0045dab8
add esp, 0xc
push 0xd
jmp 0x4644ff
cmp byte [ebx], 0
je 0x4644eb
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.0047db99
add esp, 0x20
cmp eax, 6
je 0x46431c
inc ebx
cmp byte [ebx], 0
jne 0x4642e5
cmp byte [ebx], 0
je 0x4644eb
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.0046109f
mov ebx, dword [esp + 0x40]
lea eax, [esp + 0x5c]
add esp, 0x24
push eax
push str.PORT__s
push ebx
call fcn.00463f3c
add esp, 0xc
test eax, eax
jne 0x464500
lea eax, [esp + 0xc]
mov edx, ebx
push eax
lea ecx, [esp + 0x14]
call fcn.00461684
pop ecx
test eax, eax
jne 0x464500
cmp dword [esp + 0xc], 0xc8
je 0x4643ac
push dword [esp + 0xc]
push str.PORT_command_attempts_failed:__03d
push edi
call fcn.0045dab8
add esp, 0xc
push 0x1e
jmp 0x4644ff
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.00463f3c
add esp, 0xc
test eax, eax
jne 0x464500
cmp dword [edi + 0x70], eax
jne 0x464484
mov edx, dword [esp + 0x18]
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x14]
call fcn.00461684
pop ecx
test eax, eax
jne 0x464500
cmp dword [esp + 0xc], 0x96
je 0x46442b
cmp dword [esp + 0xc], 0x7d
je 0x46442b
push dword [esp + 0xc]
push str.Failed_RETR:__03d
push edi
call fcn.0045dab8
add esp, 0xc
push 0x13
jmp 0x4644ff
mov eax, dword [esi + 0x16c]
push dword [eax + 0x1c]
push ebx
push str._s__s
push esi
call fcn.00463f3c
add esp, 0x10
test eax, eax
jne 0x464500
lea eax, [esp + 0xc]
mov edx, esi
push eax
lea ecx, [esp + 0x14]
call fcn.00461684
pop ecx
test eax, eax
jne 0x464500
cmp dword [esp + 0xc], 0x190
jl 0x4644e7
push dword [esp + 0xc]
push str.Failed_FTP_upload:__03d
push edi
call fcn.0045dab8
add esp, 0xc
push 0x19
jmp 0x4644ff
mov eax, dword [esi + 0x16c]
push dword [eax + 0x1c]
push ebx
push str._s__s
push esi
call fcn.00463f3c
add esp, 0x10
test eax, eax
jne 0x464500
mov edx, dword [esp + 0x18]
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x14]
call fcn.00461684
pop ecx
test eax, eax
jne 0x464500
cmp dword [esp + 0xc], 0x190
jge 0x46446e
lea eax, [esp + 0xc]
mov edx, esi
push eax
lea ecx, [esp + 0x14]
call fcn.00461684
pop ecx
test eax, eax
jne 0x464500
cmp dword [esp + 0xc], 0x96
je 0x4644e7
cmp dword [esp + 0xc], 0x7d
jne 0x46446e
xor eax, eax
jmp 0x464500
mov eax, dword [esp + 0x14]
push str.Couldnt_interpret_the_227_reply
push dword [eax]
call fcn.0045dab8
pop ecx
pop ecx
push 0xe
pop eax
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0047aabf
mov esp, ebp
pop ebp
ret