Function at 0x40a1f0
Capabilities:
Send data
Send data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x489e1d
mov eax, dword fs:[0]
push eax
sub esp, 0x1a8
mov eax, dword [0x4bd008]
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 ebx, ecx
mov dword [ebp - 0xd8], ebx
push 8
push str.weakpass
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xac], 0xf
mov byte [ebp - 0xc0], 0
call fcn.00403320
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x13c]
push 9
xorps xmm0, xmm0
mov dword [ebp - 0x84], 0
push str.anonymous
movq qword [ebp - 0x8c], xmm0
mov dword [ebp - 0x12c], 0
mov dword [ebp - 0x128], 0xf
mov byte [ebp - 0x13c], 0
call fcn.00403320
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x124]
push 7
push str.ftpuser
mov dword [ebp - 0x114], 0
mov dword [ebp - 0x110], 0xf
mov byte [ebp - 0x124], 0
call fcn.00403320
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10c]
push 3
push 0x4a2c74
mov dword [ebp - 0xfc], 0
mov dword [ebp - 0xf8], 0xf
mov byte [ebp - 0x10c], 0
call fcn.00403320
mov byte [ebp - 4], 3
lea eax, [ebp - 0xf4]
push dword [ebp - 0xc4]
lea ecx, [ebp - 0x8c]
mov dword [ebp - 0x8c], 0
push eax
lea eax, [ebp - 0x13c]
mov dword [ebp - 0x88], 0
push eax
mov dword [ebp - 0x84], 0
call fcn.0040ac30
push fcn.00402310
push 3
push 0x18
lea eax, [ebp - 0x13c]
mov byte [ebp - 4], 5
push eax
call fcn.00444a08
push 7
xorps xmm0, xmm0
mov dword [ebp - 0x78], 0
push str.ftpuser
lea ecx, [ebp - 0x1b4]
movq qword [ebp - 0x80], xmm0
mov dword [ebp - 0x1a4], 0
mov dword [ebp - 0x1a0], 0xf
mov byte [ebp - 0x1b4], 0
call fcn.00403320
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x19c]
push 3
push 0x4a2c74
mov dword [ebp - 0x18c], 0
mov dword [ebp - 0x188], 0xf
mov byte [ebp - 0x19c], 0
call fcn.00403320
mov byte [ebp - 4], 7
mov dword [ebp - 0x174], 0
mov dword [ebp - 0x170], 0xf
push 7
push str.ftp_123
lea ecx, [ebp - 0x184]
mov byte [ebp - 0x184], 0
call fcn.00403320
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x16c]
push 6
push str.123456
mov dword [ebp - 0x15c], 0
mov dword [ebp - 0x158], 0xf
mov byte [ebp - 0x16c], 0
call fcn.00403320
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x154]
push 9
push str.admin_123
mov dword [ebp - 0x144], 0
mov dword [ebp - 0x140], 0xf
mov byte [ebp - 0x154], 0
call fcn.00403320
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x13c]
push dword [ebp - 0xc4]
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x80], 0
push eax
lea eax, [ebp - 0x1b4]
mov dword [ebp - 0x7c], 0
push eax
mov dword [ebp - 0x78], 0
call fcn.0040ac30
push fcn.00402310
push 5
push 0x18
lea eax, [ebp - 0x1b4]
mov byte [ebp - 4], 0xc
push eax
call fcn.00444a08
push 0x64
lea eax, [ebp - 0x74]
mov dword [ebp - 0x90], 0x1f4
push 0
push eax
call fcn.0044a330
add esp, 0xc
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 0xf
mov byte [ebp - 0xa8], 0
mov byte [ebp - 4], 0xd
call fcn.0043a6b0
test eax, eax
jne 0x40a84a
push eax
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov esi, dword [sym.imp.WS2_32.dll_setsockopt]
mov edi, eax
push 4
lea eax, [ebp - 0x90]
mov dword [ebp - 0xc8], edi
push eax
push 0x1006
push 0xffff
push edi
call esi
push 4
lea eax, [ebp - 0x90]
push eax
push 0x1005
push 0xffff
push edi
call esi
cmp edi, 0xffffffff
je 0x40a850
sub esp, 0x18
lea eax, [ebx + 0x58]
mov ecx, esp
push eax
call fcn.00403180
push dword [ebx + 0x70]
lea eax, [ebp - 0xc8]
push eax
call fcn.0043a6f0
test eax, eax
jne 0x40a84a
mov esi, dword [ebp - 0x8c]
xor ecx, ecx
mov dword [ebp - 0xcc], ecx
mov eax, 0x2aaaaaab
mov ecx, dword [ebp - 0x88]
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x40a84a
mov edi, dword [ebp - 0x7c]
mov ebx, dword [ebp - 0x80]
mov dword [ebp - 0xd0], 0
nop dword [eax]
xor eax, eax
mov ecx, edi
mov dword [ebp - 0xd4], eax
sub ecx, ebx
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x40a818
xor edi, edi
push 0x64
lea eax, [ebp - 0x74]
push 0
push eax
call fcn.0044a330
mov eax, dword [ebp - 0xd0]
add esp, 0xc
add eax, esi
cmp dword [eax + 0x14], 0x10
jb 0x40a5e5
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x74]
push str.USER__s_r_n
push eax
call fcn.00401410
lea ecx, [ebp - 0x74]
mov dword [ebp - 0xe0], 0
add esp, 0xc
mov dword [ebp - 0xdc], 0xf
mov byte [ebp - 0xf0], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40a618
sub ecx, edx
lea eax, [ebp - 0x74]
push ecx
push eax
lea ecx, [ebp - 0xf0]
call fcn.00403320
cmp dword [ebp - 0xdc], 0x10
lea eax, [ebp - 0xf0]
mov esi, dword [ebp - 0xc8]
cmovae eax, dword [ebp - 0xf0]
push 0
push dword [ebp - 0xe0]
push eax
push esi
call dword [sym.imp.WS2_32.dll_send]
mov edx, dword [ebp - 0xdc]
xor ebx, ebx
cmp eax, 0xffffffff
setne bl
dec ebx
cmp edx, 0x10
jb 0x40a69e
mov ecx, dword [ebp - 0xf0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40a694
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40aa59
push edx
push ecx
call fcn.004449d2
add esp, 8
test ebx, ebx
jne 0x40a7d2
push 0x64
lea eax, [ebp - 0x74]
push ebx
push eax
call fcn.0044a330
mov eax, dword [ebp - 0x80]
add esp, 0xc
add eax, edi
cmp dword [eax + 0x14], 0x10
jb 0x40a6c2
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x74]
push str.PASS__s_r_n
push eax
call fcn.00401410
lea eax, [ebp - 0x74]
mov dword [ebp - 0xe0], 0
add esp, 0xc
mov dword [ebp - 0xdc], 0xf
mov byte [ebp - 0xf0], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40a6f5
sub eax, edx
lea ecx, [ebp - 0xf0]
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.00403320
cmp dword [ebp - 0xdc], 0x10
lea eax, [ebp - 0xf0]
push 0
push dword [ebp - 0xe0]
cmovae eax, dword [ebp - 0xf0]
push eax
push esi
call dword [sym.imp.WS2_32.dll_send]
mov edx, dword [ebp - 0xdc]
xor ebx, ebx
cmp eax, 0xffffffff
setne bl
dec ebx
cmp edx, 0x10
jb 0x40a775
mov ecx, dword [ebp - 0xf0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40a76b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40aa59
push edx
push ecx
call fcn.004449d2
add esp, 8
test ebx, ebx
jne 0x40a7d2
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0xf4]
push eax
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0xc8]
push eax
call fcn.0043a7d0
test eax, eax
jne 0x40a7d2
cmp dword [ebp - 0x94], 0x10
lea ecx, [ebp - 0xa8]
mov edx, dword [ebp - 0x98]
cmovae ecx, dword [ebp - 0xa8]
push 3
push 0x4a2cac
push ecx
call fcn.00409ed0
add esp, 0xc
cmp eax, 0xffffffff
jne 0x40a856
mov ebx, dword [ebp - 0x80]
add edi, 0x18
mov esi, dword [ebp - 0xd4]
mov eax, 0x2aaaaaab
mov dword [ebp - 0xc4], edi
inc esi
mov edi, dword [ebp - 0x7c]
mov ecx, edi
sub ecx, ebx
mov dword [ebp - 0xd4], esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
mov esi, dword [ebp - 0x8c]
jae 0x40a818
mov edi, dword [ebp - 0xc4]
jmp 0x40a5c5
mov ecx, dword [ebp - 0x88]
mov eax, 0x2aaaaaab
inc dword [ebp - 0xcc]
sub ecx, esi
add dword [ebp - 0xd0], 0x18
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0xcc], eax
jb 0x40a5a0
mov edi, dword [ebp - 0xc8]
push edi
jmp 0x40a999
push 0x64
lea eax, [ebp - 0x74]
push 0
push eax
call fcn.0044a330
mov eax, dword [ebp - 0xd4]
add esp, 0xc
lea ecx, [eax + eax*2]
mov eax, dword [ebp - 0x80]
cmp dword [eax + ecx*8 + 0x14], 0x10
lea edx, [eax + ecx*8]
jb 0x40a87e
mov edx, dword [edx]
mov eax, dword [ebp - 0xcc]
lea ecx, [eax + eax*2]
mov eax, dword [ebp - 0x8c]
cmp dword [eax + ecx*8 + 0x14], 0x10
lea eax, [eax + ecx*8]
jb 0x40a899
mov eax, dword [eax]
cmp dword [ebp - 0xac], 0x10
lea ecx, [ebp - 0xc0]
mov esi, dword [ebp - 0xd8]
cmovae ecx, dword [ebp - 0xc0]
add esi, 0x40
mov edi, esi
cmp dword [esi + 0x14], 0x10
jb 0x40a8c0
mov edi, dword [esi]
mov ebx, dword [ebp - 0xd8]
add ebx, 0x58
cmp dword [ebx + 0x14], 0x10
jb 0x40a8d1
mov ebx, dword [ebx]
push edx
push eax
push ecx
push edi
push ebx
lea eax, [ebp - 0x74]
push str._s__s__s__s__s
push eax
call fcn.00401410
push 0x4c0f64
call fcn.0044684a
add esp, 0x20
test eax, eax
je 0x40a8fe
push eax
call fcn.004463ca
add esp, 4
sub esp, 0x18
lea ecx, [ebp - 0x74]
mov edx, esp
mov dword [ebp - 0xf4], esp
lea edi, [ecx + 1]
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0xf
mov byte [edx], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40a920
sub ecx, edi
lea eax, [ebp - 0x74]
push ecx
push eax
mov ecx, edx
call fcn.00403320
mov eax, dword [ebp - 0xd8]
mov byte [ebp - 4], 0xe
push dword [eax + 0x70]
push 1
push 1
sub esp, 0x18
mov ecx, esp
push esi
call fcn.00403180
lea ecx, [ebp - 0x130]
mov byte [ebp - 4], 0xd
call fcn.00419430
push eax
mov byte [ebp - 4], 0xf
call fcn.00409b20
lea ecx, [ebp - 0x130]
mov byte [ebp - 4], 0xd
call fcn.00419570
push 0x4c0f64
call fcn.0044686f
add esp, 4
test eax, eax
je 0x40a993
push eax
call fcn.004463ca
add esp, 4
push dword [ebp - 0xc8]
call dword [sym.imp.WS2_32.dll_closesocket]
mov edx, dword [ebp - 0x94]
cmp edx, 0x10
jb 0x40a9d9
mov ecx, dword [ebp - 0xa8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40a9cf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40aa59
push edx
push ecx
call fcn.004449d2
add esp, 8
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 0xf
mov byte [ebp - 0xa8], 0
call fcn.0040ab50
lea ecx, [ebp - 0x8c]
call fcn.0040ab50
mov edx, dword [ebp - 0xac]
cmp edx, 0x10
jb 0x40aa3d
mov ecx, dword [ebp - 0xc0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40aa33
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40aa5e
push edx
push ecx
call fcn.004449d2
add esp, 8
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.00444991
mov esp, ebp
pop ebp
ret
call fcn.0045abc1
call fcn.0045abc1
int3