Function at 0x432150
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4be39e
mov eax, dword fs:[0]
push eax
sub esp, 0xa34
mov eax, dword [0x66bf78]
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 + 0x14]
mov ecx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0xa38], eax
mov dword [0x6821d8], 0x11
mov eax, dword [eax + 0x248]
mov dword [ebp - 0xa2c], ecx
mov dword [ebp - 0xa28], eax
call fcn.00474ce0
cmp dword [ebp + 0x10], 0
mov ecx, eax
mov dword [ebp - 0xa3c], 2
mov byte [ebp - 0xa34], 0
je 0x432796
movzx eax, byte [ecx + 3]
push eax
movzx eax, byte [ecx + 2]
push eax
movzx eax, byte [ecx + 1]
push eax
movzx eax, byte [ecx]
push eax
push str._d__d__d__d_
lea eax, [ebp - 0x24]
push 0x14
push eax
call fcn.004b54a0
push 0x24
call sub.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 0x20
mov dword [ebp - 0xa40], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x432221
push 0x11
call fcn.0042bce0
add esp, 4
mov ecx, esi
push eax
call fcn.0047b650
mov ebx, eax
jmp 0x432223
xor ebx, ebx
mov eax, dword [ebp + 0x10]
xor esi, esi
mov dword [ebp - 4], 0xffffffff
test eax, eax
jle 0x432756
jmp 0x432240
mov ecx, dword [ebp - 0xa2c]
push 0
call fcn.00474c50
test al, al
jne 0x43280c
movzx eax, word [edi + esi*2]
push eax
call dword [sym.imp.WS2_32.dll_htons]
movzx ecx, ax
mov eax, ecx
shr eax, 8
movzx eax, al
push eax
movzx eax, cl
push eax
lea eax, [ebp - 0x24]
push eax
push str.PORT__s_i__i_r_n
lea eax, [ebp - 0xa24]
push 0x200
push eax
call fcn.004b54a0
add esp, 0x18
cmp dword [0x67dff0], 0
je 0x4322af
lea eax, [ebp - 0xa24]
push eax
push str.Attempting_command:__s
push 0x400
call fcn.00454c40
add esp, 0xc
lea ecx, [ebp - 0xa24]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4322b8
push 0
sub ecx, edx
lea eax, [ebp - 0xa24]
push ecx
push eax
push dword [ebp - 0xa28]
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x43236a
push str.bounce_scan
push str.send_in__s
call fcn.00431f60
mov eax, dword [ebp - 0xa3c]
add esp, 8
test eax, eax
je 0x4327cd
cmp dword [0x67dffc], 0
jne 0x432311
cmp dword [0x67dff0], 0
je 0x432329
push str.Our_FTP_proxy_server_hung_up_on_us___retrying_n
push 0x400
call fcn.00454c40
mov eax, dword [ebp - 0xa3c]
add esp, 8
push dword [ebp - 0xa28]
dec eax
mov dword [ebp - 0xa3c], eax
call dword [sym.imp.WS2_32.dll_closesocket]
push dword [ebp - 0xa38]
call fcn.00432820
mov ecx, dword [ebp - 0xa38]
add esp, 4
mov dword [ebp - 0xa28], eax
mov dword [ecx + 0x248], eax
test eax, eax
js 0x4327b2
dec esi
jmp 0x4326d9
push 0
push 0xf
push 0x800
lea eax, [ebp - 0x824]
push eax
push dword [ebp - 0xa28]
call fcn.0047a3f0
add esp, 0x14
test eax, eax
jg 0x43239f
push str.recv_problem_from_FTP_bounce_server
call dword [sym.imp.MSVCR120.dll_perror]
add esp, 4
jmp 0x4326d9
cmp eax, 0x800
jae 0x432807
cmp dword [0x67dff0], 0
mov byte [ebp + eax - 0x824], 0
je 0x4323d9
lea eax, [ebp - 0x824]
push eax
movzx eax, word [edi + esi*2]
push eax
push str.result_of_port_query_on_port__i:__s
push 0x400
call fcn.00454c40
add esp, 0x10
cmp byte [ebp - 0x824], 0x35
mov eax, dword [ebp - 0xa34]
jne 0x432429
test al, al
jne 0x432429
mov eax, 0x3ff
cmp word [edi + esi*2], ax
ja 0x4327fd
push str.Your_FTP_bounce_server_doesnt_allow_privileged_ports__skipping_them.
call fcn.00431e00
mov eax, dword [ebp + 0x10]
add esp, 4
mov ecx, 0x400
cmp word [edi + esi*2], cx
jae 0x4326d9
inc esi
cmp esi, eax
jl 0x432410
push str.And_you_didnt_want_to_scan_any_unprivileged_ports.__Giving_up.
call fcn.00431e30
push 0
mov ecx, 0x400
movzx eax, al
cmp word [edi + esi*2], cx
mov ecx, 1
push 6
push str.LIST_r_n
push dword [ebp - 0xa28]
cmovb eax, ecx
mov dword [ebp - 0xa34], eax
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jle 0x4326d9
lea eax, [ebp - 0xa30]
push eax
push 0xc
push 0x800
lea eax, [ebp - 0x824]
push eax
push dword [ebp - 0xa28]
call fcn.0047a3f0
add esp, 0x14
test eax, eax
jns 0x43249a
push str.recv_problem_from_FTP_bounce_server
call dword [sym.imp.MSVCR120.dll_perror]
add esp, 4
jmp 0x4326d9
jne 0x4324c4
cmp dword [ebp - 0xa30], 0
mov ecx, dword [ebp - 0xa2c]
movzx eax, word [edi + esi*2]
mov byte [ebp - 0x824], 0
lea ecx, [ecx + 0x64]
je 0x4326cf
push 3
jmp 0x4326d1
cmp eax, 0x800
jae 0x432807
cmp dword [0x67dff0], 0
mov byte [ebp + eax - 0x824], 0
je 0x4324f9
lea eax, [ebp - 0x824]
push eax
push str.result_of_LIST:__s
push 0x400
call fcn.00454c40
add esp, 0xc
push 3
lea eax, [ebp - 0x824]
push 0x4cc75c
push eax
call dword [sym.imp.MSVCR120.dll_strncmp]
add esp, 0xc
test eax, eax
jne 0x43254f
cmp dword [0x67dffc], eax
jne 0x432524
cmp dword [0x67dff0], eax
je 0x432531
push str.FTP_command_misalignment_detected_..._correcting.
call fcn.00431e00
add esp, 4
push 0
push 0xa
push 0x800
lea eax, [ebp - 0x824]
push eax
push dword [ebp - 0xa28]
call fcn.0047a3f0
add esp, 0x14
cmp byte [ebp - 0x824], 0x31
jne 0x43258d
lea eax, [ebp - 0xa30]
push eax
push 0xa
push 0x800
lea eax, [ebp - 0x824]
push eax
push dword [ebp - 0xa28]
call fcn.0047a3f0
add esp, 0x14
test eax, eax
jns 0x4325ae
push str.recv_problem_from_FTP_bounce_server
call dword [sym.imp.MSVCR120.dll_perror]
add esp, 4
cmp byte [ebp - 0x824], 0x32
jne 0x4326c2
mov ecx, dword [ebp - 0xa2c]
movzx eax, word [edi + esi*2]
push 2
lea ecx, [ecx + 0x64]
jmp 0x4326d1
cmp dword [ebp - 0xa30], 0
jne 0x432666
test eax, eax
je 0x432666
cmp eax, 0x800
jae 0x432807
mov byte [ebp + eax - 0x824], 0
test eax, eax
jle 0x43258d
cmp dword [0x67dff0], 0
je 0x4325fc
lea eax, [ebp - 0x824]
push eax
push str.nxt_line:__s
push 0x400
call fcn.00454c40
add esp, 0xc
cmp byte [ebp - 0x824], 0x34
jne 0x43258d
cmp byte [ebp - 0x823], 0x32
jne 0x4326c2
cmp byte [ebp - 0x822], 0x36
jne 0x4326c2
mov ecx, dword [ebp - 0xa2c]
movzx eax, word [edi + esi*2]
push 6
push eax
lea ecx, [ecx + 0x64]
call fcn.0045ccc0
cmp dword [0x67dff0], 0
jne 0x43264a
cmp dword [0x67dffc], 0
je 0x43258d
movzx eax, word [edi + esi*2]
push eax
push str.Changed_my_mind_about_port__i_n
push 0x400
call fcn.00454c40
add esp, 0xc
jmp 0x43258d
push 0
push 6
push str.ABOR_r_n
push dword [ebp - 0xa28]
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jle 0x432696
mov ecx, dword [ebp - 0xa2c]
movzx eax, word [edi + esi*2]
push 3
push 6
push eax
lea ecx, [ecx + 0x64]
call fcn.0045de60
lea eax, [ebp - 0xa30]
push eax
push 0xa
push 0x800
lea eax, [ebp - 0x824]
push eax
push dword [ebp - 0xa28]
call fcn.0047a3f0
add esp, 0x14
mov byte [ebp - 0x824], 0
jmp 0x4326d9
mov ecx, dword [ebp - 0xa2c]
movzx eax, word [edi + esi*2]
lea ecx, [ecx + 0x64]
push 1
push 6
push eax
call fcn.0045de60
push 0
mov ecx, ebx
call fcn.0047c030
test al, al
je 0x43270e
movd xmm0, dword [ebp + 0x10]
mov ecx, ebx
movd xmm1, esi
cvtdq2pd xmm1, xmm1
push 0
sub esp, 8
cvtdq2pd xmm0, xmm0
divsd xmm1, xmm0
movsd qword [esp], xmm1
call fcn.0047c430
jmp 0x43274a
call fcn.00432da0
test al, al
je 0x43274a
movd xmm0, dword [ebp + 0x10]
mov ecx, ebx
movd xmm1, esi
cvtdq2pd xmm1, xmm1
push 0
sub esp, 8
cvtdq2pd xmm0, xmm0
divsd xmm1, xmm0
movsd qword [esp], xmm1
call fcn.0047c100
push 0x400
call fcn.004548c0
add esp, 4
mov eax, dword [ebp + 0x10]
inc esi
cmp esi, eax
jl 0x432240
push eax
push str._d_total_ports
lea eax, [ebp - 0x824]
push 0x800
push eax
call fcn.004b54a0
add esp, 0x10
push 0
lea eax, [ebp - 0x824]
mov ecx, ebx
push eax
push 0
call fcn.0047b950
test ebx, ebx
je 0x432796
mov ecx, ebx
call fcn.0047b6a0
push ebx
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
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.004bb11e
mov esp, ebp
pop ebp
ret
push str.Error_connecting
lea eax, [ebp - 0x824]
push 0x800
push eax
call fcn.004b54a0
add esp, 0xc
jmp 0x432770
push str.Our_socket_descriptor_is_dead_and_we_are_out_of_retries._Giving_up.
call fcn.00431e00
add esp, 4
push dword [ebp - 0xa28]
call dword [sym.imp.WS2_32.dll_closesocket]
mov eax, dword [ebp - 0xa38]
push str.Max_retries_exceeded
mov dword [eax + 0x248], 0xffffffff
jmp 0x4327b7
push str.Your_FTP_bounce_server_sucks__it_wont_let_us_feed_bogus_ports_
call fcn.00431e30
call fcn.004bb410
push str.Target_timed_out
jmp 0x4327b7