Function at 0x526290
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x68
mov eax, dword [0x5af710]
mov ecx, dword [esi + 0x338]
mov dword [esp + 0x64], eax
mov eax, dword [esi]
mov edx, dword [eax + 0x70]
test edx, edx
push ebx
push edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x34], ecx
lea edi, [eax + 0x2ec]
jne 0x5262c9
mov ebx, esi
mov dword [esp + 0x18], ecx
jmp 0x5262cf
mov ebx, ecx
mov dword [esp + 0x18], esi
mov eax, esi
call fcn.00524cf0
test eax, eax
jne 0x5265e7
push str.PASV
push 0x575618
push ebx
call fcn.005247a0
add esp, 0xc
test eax, eax
jne 0x5265e7
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x18]
push ebx
push ecx
call fcn.00523d00
add esp, 0xc
test eax, eax
jne 0x5265e7
mov eax, dword [esp + 0xc]
cmp eax, 0xe3
je 0x526346
mov edx, dword [esp + 0x10]
push eax
push str.Odd_return_code_after_PASV:__03d
push edx
call fcn.00521d00
add esp, 0xc
mov eax, 0xd
mov ecx, dword [esp + 0x6c]
call fcn.0053aaae
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [edi], 0
je 0x526390
jmp 0x526350
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x38]
push edx
push str._d__d__d__d__d__d
push edi
call fcn.0053ecb1
add esp, 0x20
cmp eax, 6
je 0x52638b
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x526350
jmp 0x526390
cmp byte [edi], 0
jne 0x5263b4
mov eax, dword [ebx]
push str.Couldnt_interpret_the_227_reply
push eax
call fcn.00521d00
add esp, 8
mov eax, 0xe
mov ecx, dword [esp + 0x6c]
call fcn.0053aaae
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x30]
push ecx
push edx
push eax
push str._d__d__d__d__d__d
lea ecx, [esp + 0x54]
push 0x32
push ecx
call fcn.00520370
mov edi, dword [esp + 0x3c]
lea edx, [esp + 0x5c]
push edx
push str.PORT__s
push edi
call fcn.005247a0
add esp, 0x30
test eax, eax
jne 0x5265e7
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x18]
push edi
push ecx
call fcn.00523d00
add esp, 0xc
test eax, eax
jne 0x5265e7
mov eax, dword [esp + 0xc]
cmp eax, 0xc8
je 0x52644f
mov edx, dword [esp + 0x10]
push eax
push str.PORT_command_attempts_failed:__03d
push edx
call fcn.00521d00
add esp, 0xc
mov eax, 0x1e
mov ecx, dword [esp + 0x6c]
call fcn.0053aaae
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x10]
mov cl, byte [eax + 0x187]
test cl, cl
mov edi, str.APPE
jne 0x526467
mov edi, str.STOR
mov ebx, dword [esp + 0x34]
mov ecx, dword [ebx + 0x50]
push ecx
push str.RETR__s
push ebx
call fcn.005247a0
add esp, 0xc
test eax, eax
jne 0x5265e7
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 0x70]
test eax, eax
jne 0x526558
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x18]
push ebx
push ecx
call fcn.00523d00
add esp, 0xc
test eax, eax
jne 0x5265e7
mov eax, dword [esp + 0xc]
cmp eax, 0x96
je 0x5264e6
cmp eax, 0x7d
je 0x5264e6
mov edx, dword [esp + 0x10]
push eax
push str.Failed_RETR:__03d
push edx
call fcn.00521d00
add esp, 0xc
mov eax, 0x13
mov ecx, dword [esp + 0x6c]
call fcn.0053aaae
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x16c]
mov ecx, dword [eax + 0x1c]
push ecx
push edi
push str._s__s
push esi
call fcn.005247a0
add esp, 0x10
test eax, eax
jne 0x5265e7
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x18]
push esi
push eax
call fcn.00523d00
add esp, 0xc
test eax, eax
jne 0x5265e7
mov eax, dword [esp + 0xc]
cmp eax, 0x190
jl 0x5265e5
mov ecx, dword [esp + 0x10]
push eax
push str.Failed_FTP_upload:__03d
push ecx
call fcn.00521d00
add esp, 0xc
mov eax, 0x19
mov ecx, dword [esp + 0x6c]
call fcn.0053aaae
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esi + 0x16c]
mov eax, dword [edx + 0x1c]
push eax
push edi
push str._s__s
push esi
call fcn.005247a0
add esp, 0x10
test eax, eax
jne 0x5265e7
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x18]
push ebx
push edx
call fcn.00523d00
add esp, 0xc
test eax, eax
jne 0x5265e7
mov eax, dword [esp + 0xc]
cmp eax, 0x190
jge 0x5265be
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x18]
push esi
push edx
call fcn.00523d00
add esp, 0xc
test eax, eax
jne 0x5265e7
mov eax, dword [esp + 0xc]
cmp eax, 0x96
je 0x5265e5
cmp eax, 0x7d
je 0x5265e5
push eax
mov eax, dword [esp + 0x14]
push str.Failed_FTP_upload:__03d
push eax
call fcn.00521d00
add esp, 0xc
mov eax, 0x19
mov ecx, dword [esp + 0x6c]
call fcn.0053aaae
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov ecx, dword [esp + 0x6c]
call fcn.0053aaae
pop edi
pop ebx
mov esp, ebp
pop ebp
ret