Function at 0x10032323
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [esi]
mov eax, dword [esi + 0x338]
mov dword [ebp - 4], edi
mov dword [ebp - 0x14], eax
cmp dword [edi + 0x70], 0
lea ebx, [edi + 0x2ec]
jne 0x10032351
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], eax
jmp 0x10032357
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], esi
push esi
call fcn.100325cb
test eax, eax
pop ecx
jne 0x100325c6
push str.PASV
push 0x100b016c
push dword [ebp - 0xc]
call fcn.10031d59
add esp, 0xc
test eax, eax
jne 0x100325c6
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 8]
push dword [ebp - 0xc]
push eax
call fcn.1002f25b
add esp, 0xc
test eax, eax
jne 0x100325c6
cmp dword [ebp + 8], 0xe3
je 0x100323bf
push dword [ebp + 8]
push str.Odd_return_code_after_PASV:__03d
push edi
call fcn.1002da56
add esp, 0xc
push 0xd
jmp 0x100325c1
mov edi, str._d__d__d__d__d__d
cmp byte [ebx], 0
je 0x100323f9
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
push edi
push ebx
call dword [sym.imp.MSVCRT.dll_sscanf]
add esp, 0x20
cmp eax, 6
je 0x100323f4
inc ebx
jmp 0x100323c4
cmp byte [ebx], 0
jne 0x10032411
mov eax, dword [ebp - 0xc]
push str.Couldnt_interpret_the_227_reply
push dword [eax]
call fcn.1002da56
pop ecx
pop ecx
push 0xe
jmp 0x100325c1
push dword [ebp - 0x18]
lea eax, [ebp - 0x60]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push edi
push 0x32
push eax
call fcn.1002c4bf
lea eax, [ebp - 0x60]
push eax
push str.PORT__s
push dword [ebp - 0x10]
call fcn.10031d59
add esp, 0x30
test eax, eax
jne 0x100325c6
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 8]
push dword [ebp - 0x10]
push eax
call fcn.1002f25b
add esp, 0xc
test eax, eax
jne 0x100325c6
cmp dword [ebp + 8], 0xc8
je 0x10032489
push dword [ebp + 8]
push str.PORT_command_attempts_failed:__03d
push dword [ebp - 4]
call fcn.1002da56
add esp, 0xc
push 0x1e
jmp 0x100325c1
mov eax, dword [ebp - 4]
mov ebx, str.APPE
cmp byte [eax + 0x183], 0
jne 0x1003249f
mov ebx, str.STOR
mov edi, dword [ebp - 0x14]
push dword [edi + 0x50]
push str.RETR__s
push edi
call fcn.10031d59
add esp, 0xc
test eax, eax
jne 0x100325c6
mov eax, dword [ebp - 4]
cmp dword [eax + 0x70], 0
jne 0x1003254e
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 8]
push edi
push eax
call fcn.1002f25b
add esp, 0xc
test eax, eax
jne 0x100325c6
cmp dword [ebp + 8], 0x96
je 0x1003250a
cmp dword [ebp + 8], 0x7d
je 0x1003250a
push dword [ebp + 8]
push str.Failed_RETR:__03d
push dword [ebp - 4]
call fcn.1002da56
add esp, 0xc
push 0x13
jmp 0x100325c1
mov eax, dword [esi + 0x16c]
push dword [eax + 0x1c]
push ebx
push 0x100af1e4
push esi
call fcn.10031d59
add esp, 0x10
test eax, eax
jne 0x100325c6
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 8]
push esi
push eax
call fcn.1002f25b
add esp, 0xc
test eax, eax
jne 0x100325c6
cmp dword [ebp + 8], 0x190
jl 0x100325c4
jmp 0x100325ac
mov eax, dword [esi + 0x16c]
push dword [eax + 0x1c]
push ebx
push 0x100af1e4
push esi
call fcn.10031d59
add esp, 0x10
test eax, eax
jne 0x100325c6
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 8]
push edi
push eax
call fcn.1002f25b
add esp, 0xc
test eax, eax
jne 0x100325c6
cmp dword [ebp + 8], 0x190
jge 0x100325ac
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 8]
push esi
push eax
call fcn.1002f25b
add esp, 0xc
test eax, eax
jne 0x100325c6
cmp dword [ebp + 8], 0x96
je 0x100325c4
cmp dword [ebp + 8], 0x7d
je 0x100325c4
push dword [ebp + 8]
push str.Failed_FTP_upload:__03d
push dword [ebp - 4]
call fcn.1002da56
add esp, 0xc
push 0x19
pop eax
jmp 0x100325c6
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret