Function at 0x432820
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa14
mov eax, dword [0x66bf78]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x67dffc], 0
push esi
push edi
mov edi, dword [ebp + 8]
jne 0x43284a
cmp dword [0x67dff0], 0
je 0x432870
movzx eax, word [edi + 0x244]
push eax
lea eax, [edi + 0x140]
push eax
lea eax, [edi + 0x40]
push eax
push edi
push str.Attempting_connection_to_ftp:___s:_s__s:_i_n
push 0x400
call fcn.00454c40
add esp, 0x18
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
test esi, esi
jns 0x4328a6
push str.ftp_anon_connect
push str.Couldnt_create__s_socket
call fcn.00431f60
add esp, 8
xor eax, eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004bb11e
mov esp, ebp
pop ebp
ret
push 0x67e01c
push esi
call fcn.004b6370
mov eax, 2
add esp, 8
mov word [ebp - 0xa14], ax
mov eax, dword [edi + 0x240]
mov dword [ebp - 0xa10], eax
movzx eax, word [edi + 0x244]
push eax
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0xa12], ax
lea eax, [ebp - 0xa14]
push 0x10
push eax
push esi
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
js 0x432bca
cmp dword [0x67dffc], 0
jne 0x43290b
cmp dword [0x67dff0], 0
je 0x43291d
push str.Connected:
push 0x400
call fcn.00454c40
add esp, 8
push 0
push 7
push 0x7ff
lea eax, [ebp - 0xa04]
push eax
push esi
call fcn.0047a3f0
add esp, 0x14
test eax, eax
jle 0x43299d
lea ebx, [ebx]
cmp dword [0x67dff0], 0
jne 0x432952
cmp dword [0x67dffc], 0
je 0x43297e
cmp eax, 0x800
jae 0x432bde
mov byte [ebp + eax - 0xa04], 0
lea eax, [ebp - 0xa04]
push eax
push 0x4e1dd0
push 0x400
call fcn.00454c40
add esp, 0xc
push 0
push 7
push 0x7ff
lea eax, [ebp - 0xa04]
push eax
push esi
call fcn.0047a3f0
add esp, 0x14
test eax, eax
jg 0x432940
test eax, eax
jns 0x4329a4
jmp 0x432bd4
push edi
push str.USER__s_r_n
lea eax, [ebp - 0x204]
push 0x1ff
push eax
call fcn.004b54a0
lea ecx, [ebp - 0x204]
add esp, 0x10
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4329c7
push 0
sub ecx, edx
lea eax, [ebp - 0x204]
push ecx
push eax
push esi
call dword [sym.imp.WS2_32.dll_send]
push 0
push 0xc
push 0x7ff
lea eax, [ebp - 0xa04]
push eax
push esi
call fcn.0047a3f0
add esp, 0x14
test eax, eax
jle 0x432be3
cmp eax, 0x800
jae 0x432bde
cmp dword [0x67dff0], 0
mov byte [ebp + eax - 0xa04], 0
je 0x432a37
lea eax, [ebp - 0xa04]
push eax
push str.sent_username__received:__s
push 0x400
call fcn.00454c40
add esp, 0xc
cmp byte [ebp - 0xa04], 0x35
je 0x432bed
push 3
lea eax, [ebp - 0xa04]
push 0x4cc4a0
push eax
call dword [sym.imp.MSVCR120.dll_strncmp]
add esp, 0xc
test eax, eax
jne 0x432a92
cmp dword [0x67dffc], 0
je 0x432a7a
push str.Login_credentials_accepted_by_FTP_server__n
push 0x400
call fcn.00454c40
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, esi
mov dword [edi + 0x248], esi
xor ecx, ebp
pop edi
pop esi
call fcn.004bb11e
mov esp, ebp
pop ebp
ret
push ebx
lea ebx, [edi + 0x40]
push ebx
push str.PASS__s_r_n
lea eax, [ebp - 0x204]
push 0x1ff
push eax
call fcn.004b54a0
lea ecx, [ebp - 0x204]
add esp, 0x10
lea edx, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x432ac0
push 0
sub ecx, edx
lea eax, [ebp - 0x204]
push ecx
push eax
push esi
call dword [sym.imp.WS2_32.dll_send]
push 0
push 0xc
push 0x7ff
lea eax, [ebp - 0xa04]
push eax
push esi
call fcn.0047a3f0
add esp, 0x14
test eax, eax
js 0x432bf8
jne 0x432b8a
push str.Timeout_from_bounce_server_...
call fcn.00431e00
add esp, 4
push 0
push 2
push 0x7ff
lea eax, [ebp - 0xa04]
push eax
push esi
call fcn.0047a3f0
add esp, 0x14
pop ebx
test eax, eax
jle 0x432b82
lea esp, [esp]
cmp dword [0x67dff0], 0
je 0x432b65
cmp eax, 0x800
jae 0x432bde
mov byte [ebp + eax - 0xa04], 0
lea eax, [ebp - 0xa04]
push eax
push 0x4e1dd0
push 0x400
call fcn.00454c40
add esp, 0xc
push 0
push 2
push 0x7ff
lea eax, [ebp - 0xa04]
push eax
push esi
call fcn.0047a3f0
add esp, 0x14
test eax, eax
jg 0x432b30
jns 0x432a5f
jmp 0x432c02
cmp eax, 0x800
jae 0x432bde
cmp dword [0x67dff0], 0
mov byte [ebp + eax - 0xa04], 0
je 0x432bbb
lea eax, [ebp - 0xa04]
push eax
push str.sent_password__received:__s
push 0x400
call fcn.00454c40
add esp, 0xc
cmp byte [ebp - 0xa04], 0x35
jne 0x432b0e
jmp 0x432c0c
push str.Your_FTP_bounce_proxy_server_wont_talk_to_us_
call fcn.00431e30
push str.recv_problem_from_FTP_bounce_server
call fcn.00431fe0
call fcn.004bb410
push str.recv_problem_from_FTP_bounce_server
call fcn.00431fe0
push edi
push str.Your_FTP_bounce_server_doesnt_like_the_username___s_
call fcn.00431e30
push str.recv_problem_from_FTP_bounce_server
call fcn.00431fe0
push str.recv_problem_from_FTP_bounce_server
call fcn.00431fe0
push ebx
push edi
push str.Your_FTP_bounce_server_refused_login_combo___s__s_
call fcn.00431e30
int3