Function at 0x4bf570
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x744571
mov eax, dword fs:[0]
push eax
sub esp, 0x1ac
mov eax, dword [0x899944]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
push str.ftpConnect
mov esi, ecx
push edi
lea ecx, [ebp - 0x1b8]
mov dword [ebp - 0x1ac], eax
mov dword [ebp - 0x1a0], ebx
call fcn.00474ef0
mov ecx, ebx
mov dword [ebp - 4], 0
call fcn.004a71c0
cmp dword [esi + 0x57c], 0
mov byte [esi + 0x4cc], 0
mov dword [esi + 0x4d0], 0
mov byte [esi + 0x924], 0
je 0x4bf613
push 1
mov ecx, edi
call fcn.004749f0
mov ecx, dword [esi + 0x57c]
push edi
call fcn.00544630
mov ecx, edi
call fcn.00474a20
jmp 0x4bf648
push 0x13
call fcn.00546a10
add esp, 4
mov dword [esi + 0x57c], eax
test eax, eax
jne 0x4bf640
lea ecx, [ebp - 0x1b8]
mov dword [ebp - 4], 0xffffffff
call fcn.00474f80
xor al, al
jmp 0x4bfaba
lea ecx, [eax + 0x7c]
call fcn.00448fd0
mov ecx, dword [esi + 0x590]
push ecx
mov ecx, dword [esi + 0x57c]
call fcn.00545690
lea ecx, [esi + 0xb04]
mov byte [esi + 0x21], 0
call fcn.0040c9e0
lea eax, [esi + 0x2c]
push eax
push str.Hostname
mov ecx, edi
mov dword [esi + 0x630], 0
call fcn.00474890
mov edx, dword [esi + 0x28]
push edx
push str.Port
mov ecx, edi
call fcn.00474a80
cmp byte [esi + 0x26], 0
je 0x4bf6a7
mov eax, dword [edi]
mov edx, dword [eax + 0x18]
push str.Connecting_via_SSL_TLS
mov ecx, edi
call edx
mov eax, dword [esi + 0x590]
push eax
push str.IdleTimeoutMs
mov ecx, edi
call fcn.00474a80
mov word [ebx + 0xa0], 0x101
mov dword [ebp - 0x1a4], 0
lea ecx, [ecx]
lea ecx, [esi + 0x72c]
call fcn.0040a400
lea ecx, [esi + 0x118]
call fcn.005304a0
cmp dword [esi + 0x57c], 0
jne 0x4bf721
push 0x14
call fcn.00546a10
add esp, 4
mov dword [esi + 0x57c], eax
test eax, eax
je 0x4bf627
lea ecx, [eax + 0x7c]
call fcn.00448fd0
mov ecx, dword [esi + 0x590]
push ecx
mov ecx, dword [esi + 0x57c]
call fcn.00545690
mov edx, dword [esi + 0x590]
movzx ecx, byte [esi + 0x26]
mov eax, dword [ebp - 0x1ac]
push edi
push ebx
push edx
mov edx, dword [esi + 0x28]
push eax
push ecx
mov ecx, dword [esi + 0x57c]
push edx
lea eax, [esi + 0x2c]
push eax
mov byte [esi + 0x179], 0
call fcn.00548250
mov bl, al
test bl, bl
je 0x4bf917
mov eax, dword [esi + 0x57c]
mov al, byte [eax + 0x8e8]
mov byte [esi + 0x179], al
test al, al
je 0x4bf818
lea ecx, [ebp - 0x19c]
call fcn.00403e00
mov eax, dword [ebp - 0x1a0]
mov edx, dword [ebp - 0x1ac]
lea ecx, [ebp - 0x19c]
push ecx
mov ecx, dword [edx + 0xba0]
push edi
push eax
push ecx
add eax, 0xac
push eax
mov byte [ebp - 4], 1
call fcn.005149c0
add esp, 0x14
lea ebx, [esi + 0x17c]
test al, al
je 0x4bf7cc
lea ecx, [ebp - 0x19c]
call fcn.00406f60
push eax
mov ecx, ebx
call fcn.0040c200
jmp 0x4bf7d3
mov ecx, ebx
call fcn.0040a400
cmp byte [edi + 0xad], 0
je 0x4bf7e9
push ebx
push str.indirectDestIp
mov ecx, edi
call fcn.00474890
mov ecx, ebx
call fcn.00409da0
test eax, eax
jne 0x4bf809
mov edx, dword [edi]
mov eax, dword [edx + 0x14]
push str.Missing_the_indirect_destination_IP.
mov ecx, edi
call eax
mov byte [esi + 0x179], 0
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 0
call fcn.00403e90
mov ecx, dword [esi + 0x57c]
lea eax, [esi + 0x118]
push eax
call fcn.00545f10
mov ecx, dword [esi + 0x57c]
push edi
push 1
call fcn.00546950
mov ecx, dword [esi + 0x57c]
push edi
push 1
call fcn.005447d0
mov ecx, dword [esi + 0x57c]
push edi
call fcn.00546750
lea ecx, [ebp - 0x84]
mov dword [ebp - 0x1a8], 0
call fcn.0040ac30
mov ecx, dword [ebp - 0x1a0]
push edi
push ecx
lea edx, [ebp - 0x84]
push edx
lea eax, [ebp - 0x1a8]
push eax
push 0
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.004b80e0
lea ecx, [ebp - 0x84]
push ecx
lea ecx, [esi + 0x72c]
mov bl, al
call fcn.0040c010
mov eax, dword [ebp - 0x1a8]
test bl, bl
je 0x4bf932
cmp eax, 0xdd
jne 0x4bf932
cmp dword [ebp - 0x1a4], 0
jne 0x4bf940
mov edx, dword [edi]
mov eax, dword [edx + 0x18]
push str.Retrying_after_221_initial_response...
mov ecx, edi
call eax
mov ecx, dword [esi + 0x57c]
mov dword [ebp - 0x1a4], 1
test ecx, ecx
je 0x4bf8e8
push edi
call fcn.00544630
push 0x32
call fcn.004213c0
add esp, 4
lea ecx, [esi + 0xb04]
call fcn.0040c9e0
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0
call fcn.0040acf0
mov ebx, dword [ebp - 0x1a0]
jmp 0x4bf6d0
mov ecx, dword [ebp - 0x1a0]
mov edx, dword [ecx + 0x24]
push edx
push str.ConnectFailReason
mov ecx, edi
call fcn.00474a80
jmp 0x4bfaa6
cmp eax, 0xc8
jl 0x4bf949
cmp eax, 0x12c
jge 0x4bf949
mov byte [esi + 0x4cc], 1
jmp 0x4bf992
mov ebx, dword [ebp - 0x1a0]
mov dword [ebx + 0x24], 0xc8
cmp dword [esi + 0x57c], 0
je 0x4bf990
push 1
mov ecx, edi
call fcn.004749f0
mov eax, dword [ebx + 4]
mov ecx, dword [esi + 0x590]
push eax
push edi
push ecx
mov ecx, dword [esi + 0x57c]
push 1
push 1
call fcn.00546ab0
mov ecx, edi
call fcn.00474a20
mov eax, dword [ebp - 0x1a8]
xor bl, bl
push eax
push str.initialStatus
mov ecx, edi
call fcn.00474a80
mov eax, dword [edi]
add eax, 0x2c
lea ecx, [ebp - 0x84]
mov dword [ebp - 0x1a4], eax
call fcn.00409d90
mov edx, dword [ebp - 0x1a4]
push eax
mov eax, dword [edx]
push str.initialResponse
mov ecx, edi
call eax
push str.SecurePortal2000
lea ecx, [ebp - 0x84]
call fcn.0040c4b0
test al, al
jne 0x4bf9ef
push str._TANDEM
lea ecx, [ebp - 0x84]
call fcn.0040c450
test al, al
je 0x4bf9f3
mov byte [esi + 0x24], 1
push str._ProFTPD
lea ecx, [ebp - 0x84]
call fcn.0040c4b0
test al, al
je 0x4bfa0e
mov byte [esi + 0xa0], 1
push str.GIS_FTP_Server__java__1
lea ecx, [ebp - 0x84]
call fcn.0040c4b0
test al, al
je 0x4bfa34
mov edx, dword [edi]
mov eax, dword [edx + 0x18]
push str.Skipping_the_TYPE_I_command_that_is_normally_sent_after_login.
mov ecx, edi
call eax
mov byte [esi + 0x25], 1
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0
call fcn.0040acf0
test bl, bl
je 0x4bfaa6
cmp byte [esi + 0x26], 0
jne 0x4bfaa6
cmp byte [esi + 0x7c2], 0
jne 0x4bfa5f
cmp byte [esi + 0x7c3], 0
je 0x4bfaa6
mov edx, dword [edi]
mov eax, dword [edx + 0x18]
push str.converting_to_secure_connection...
mov ecx, edi
call eax
mov ecx, dword [ebp - 0x1a0]
mov edx, dword [ebp - 0x1ac]
push ecx
push edi
push edx
mov ecx, esi
call fcn.004be900
mov bl, al
test bl, bl
jne 0x4bfa98
mov eax, dword [ebp - 0x1a0]
mov dword [eax + 0x24], 0xc9
jmp 0x4bfaa6
mov edx, dword [edi]
mov eax, dword [edx + 0x18]
push str.successfully_converted_to_secure_connection...
mov ecx, edi
call eax
lea ecx, [ebp - 0x1b8]
mov dword [ebp - 4], 0xffffffff
call fcn.00474f80
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0070bb4c
mov esp, ebp
pop ebp
ret 0xc