Function at 0x45d9bc
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x64
mov eax, dword [0x52de80]
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 0x45d9f7
mov dword [esp + 0x14], esi
mov dword [esp + 0x1c], eax
jmp 0x45d9ff
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 0x45da72
cmp byte [esi + 0xe5], al
je 0x45da32
mov edx, dword [ecx + 0x20]
test edx, edx
je 0x45da32
mov ecx, esi
call fcn.0045d96d
test eax, eax
jne 0x45dcf2
mov ecx, dword [esp + 0xc]
and dword [esp + 0x10], 0
cmp dword [ecx + 0x14], 0
jle 0x45da6a
mov eax, dword [esp + 0x10]
mov edx, dword [ecx + 0x10]
mov ecx, esi
mov edx, dword [edx + eax*4]
call fcn.0045d96d
test eax, eax
jne 0x45dcf2
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
inc eax
mov dword [esp + 0x10], eax
cmp eax, dword [ecx + 0x14]
jl 0x45da41
jmp 0x45da72
test eax, eax
jne 0x45dcf2
push str.PASV
push 0x50d32c
push dword [esp + 0x1c]
call fcn.0045d72e
add esp, 0xc
test eax, eax
jne 0x45dcf2
mov edx, dword [esp + 0x14]
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x14]
call fcn.0045ae76
pop ecx
test eax, eax
jne 0x45dcf2
cmp dword [esp + 0xc], 0xe3
je 0x45dace
push dword [esp + 0xc]
push str.Odd_return_code_after_PASV:__03d
push edi
call fcn.004572aa
add esp, 0xc
push 0xd
jmp 0x45dcf1
cmp byte [ebx], 0
je 0x45dcdd
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.004c17dc
add esp, 0x20
cmp eax, 6
je 0x45db0e
inc ebx
cmp byte [ebx], 0
jne 0x45dad7
cmp byte [ebx], 0
je 0x45dcdd
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.0045a891
mov ebx, dword [esp + 0x40]
lea eax, [esp + 0x5c]
add esp, 0x24
push eax
push str.PORT__s
push ebx
call fcn.0045d72e
add esp, 0xc
test eax, eax
jne 0x45dcf2
lea eax, [esp + 0xc]
mov edx, ebx
push eax
lea ecx, [esp + 0x14]
call fcn.0045ae76
pop ecx
test eax, eax
jne 0x45dcf2
cmp dword [esp + 0xc], 0xc8
je 0x45db9e
push dword [esp + 0xc]
push str.PORT_command_attempts_failed:__03d
push edi
call fcn.004572aa
add esp, 0xc
push 0x1e
jmp 0x45dcf1
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.0045d72e
add esp, 0xc
test eax, eax
jne 0x45dcf2
cmp dword [edi + 0x70], eax
jne 0x45dc76
mov edx, dword [esp + 0x18]
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x14]
call fcn.0045ae76
pop ecx
test eax, eax
jne 0x45dcf2
cmp dword [esp + 0xc], 0x96
je 0x45dc1d
cmp dword [esp + 0xc], 0x7d
je 0x45dc1d
push dword [esp + 0xc]
push str.Failed_RETR:__03d
push edi
call fcn.004572aa
add esp, 0xc
push 0x13
jmp 0x45dcf1
mov eax, dword [esi + 0x16c]
push dword [eax + 0x1c]
push ebx
push str._s__s
push esi
call fcn.0045d72e
add esp, 0x10
test eax, eax
jne 0x45dcf2
lea eax, [esp + 0xc]
mov edx, esi
push eax
lea ecx, [esp + 0x14]
call fcn.0045ae76
pop ecx
test eax, eax
jne 0x45dcf2
cmp dword [esp + 0xc], 0x190
jl 0x45dcd9
push dword [esp + 0xc]
push str.Failed_FTP_upload:__03d
push edi
call fcn.004572aa
add esp, 0xc
push 0x19
jmp 0x45dcf1
mov eax, dword [esi + 0x16c]
push dword [eax + 0x1c]
push ebx
push str._s__s
push esi
call fcn.0045d72e
add esp, 0x10
test eax, eax
jne 0x45dcf2
mov edx, dword [esp + 0x18]
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x14]
call fcn.0045ae76
pop ecx
test eax, eax
jne 0x45dcf2
cmp dword [esp + 0xc], 0x190
jge 0x45dc60
lea eax, [esp + 0xc]
mov edx, esi
push eax
lea ecx, [esp + 0x14]
call fcn.0045ae76
pop ecx
test eax, eax
jne 0x45dcf2
cmp dword [esp + 0xc], 0x96
je 0x45dcd9
cmp dword [esp + 0xc], 0x7d
jne 0x45dc60
xor eax, eax
jmp 0x45dcf2
mov eax, dword [esp + 0x14]
push str.Couldnt_interpret_the_227_reply
push dword [eax]
call fcn.004572aa
pop ecx
pop ecx
push 0xe
pop eax
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004bc11d
mov esp, ebp
pop ebp
ret