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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x511cae
push eax
mov al, byte [0x55ef28]
mov dword fs:[0], esp
sub esp, 0x18
test al, 1
push ebx
push ebp
push esi
push edi
mov ebp, ecx
jne 0x469eee
mov bl, al
push 0x556bcc
or bl, 1
mov ecx, 0x55ef24
mov byte [0x55ef28], bl
call fcn.004dd17f
push 0x46a830
call fcn.004c2295
add esp, 4
mov al, byte [0x55ef28]
test al, 2
jne 0x469f1e
mov bl, al
push str.cdup
or bl, 2
mov ecx, 0x55ef20
mov byte [0x55ef28], bl
call fcn.004dd17f
push 0x46a820
call fcn.004c2295
add esp, 4
mov al, byte [0x55ef28]
test al, 4
jne 0x469f4e
mov bl, al
push str.quit
or bl, 4
mov ecx, 0x55ef1c
mov byte [0x55ef28], bl
call fcn.004dd17f
push 0x46a810
call fcn.004c2295
add esp, 4
mov ecx, dword [0x5580a0]
xor eax, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], ecx
mov esi, dword [esp + 0x38]
lea ecx, [esp + 0x10]
push esi
mov dword [esp + 0x34], eax
call fcn.004dd17f
push 0x5526b0
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], 1
call fcn.004d3ee8
lea edx, [esp + 0x10]
lea ecx, [esp + 0x14]
push edx
call fcn.004dce86
push 0x5526b0
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], 2
call fcn.004dd4ed
mov eax, dword [esp + 0x10]
mov ebx, dword [str.user]
mov edi, ebx
or ecx, 0xffffffff
mov edx, dword [eax - 8]
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp edx, ecx
jbe 0x46a0f7
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
mov ecx, dword [esp + 0x14]
push ecx
push ebx
call fcn.004c3000
add esp, 0xc
test eax, eax
jne 0x46a0f7
mov edi, esi
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
inc ecx
push ecx
call fcn.004dd75a
mov ebx, eax
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x553c88
mov edx, ecx
mov esi, edi
mov edi, ebx
push ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.004c4160
push 0x553c88
push 0
call fcn.004c4160
push 0x553c88
push 0
call fcn.004c4160
add esp, 0x1c
mov dword [esp + 0x20], eax
test eax, eax
je 0x46a0ee
push eax
lea eax, [esp + 0x1c]
push str.PASS__s_r_n
push eax
mov dword [esp + 0x30], 1
call fcn.004d3e8c
mov edx, dword [esp + 0x44]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push ebx
mov eax, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x24]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ebx
sub esi, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov edi, dword [esp + 0x24]
not ecx
dec ecx
mov byte [esi + ecx - 1], 0xd
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ebx
sub esi, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov edi, dword [esp + 0x24]
not ecx
dec ecx
mov byte [esi + ecx], 0xa
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ebx
sub esi, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [esi + ecx + 1], al
lea ecx, [esp + 0x14]
call fcn.004dd29a
push ebx
call fcn.004dd783
add esp, 4
mov ecx, dword [str.type_i]
mov edx, dword [esp + 0x14]
push ecx
push edx
call fcn.004c22d6
add esp, 8
test eax, eax
jne 0x46a11a
cmp dword [ebp + 0x6a8], 1
jne 0x46a196
jmp case.0x46a6a3.2
mov eax, dword [str.type_a]
mov ecx, dword [esp + 0x14]
push eax
push ecx
call fcn.004c22d6
add esp, 8
test eax, eax
jne 0x46a13d
mov eax, dword [ebp + 0x6a8]
test eax, eax
jne 0x46a196
jmp case.0x46a6a3.2
mov edx, dword [str.rest_0]
mov eax, dword [esp + 0x14]
push edx
push eax
call fcn.004c22d6
add esp, 8
test eax, eax
jne 0x46a196
mov eax, dword [ebp + 0x6a4]
test eax, eax
je 0x46a196
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 1
call fcn.004dd111
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 0
call fcn.004dd111
mov dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0x18]
call fcn.004dd111
mov eax, 2
jmp 0x46a2a3
mov edx, dword [str.type]
or esi, 0xffffffff
mov edi, edx
mov ecx, esi
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
mov ecx, dword [esp + 0x18]
push ecx
push edx
call fcn.004c3000
add esp, 0xc
test eax, eax
jne 0x46a1c3
mov dword [ebp + 0x6a8], esi
mov edx, dword [str.rest]
mov ecx, esi
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x14]
not ecx
dec ecx
push ecx
push eax
push edx
call fcn.004c3000
add esp, 0xc
test eax, eax
jne 0x46a1ed
mov dword [ebp + 0x6a4], eax
lea ecx, [esp + 0x38]
push 0xac
push ecx
call fcn.0042e080
add esp, 8
mov eax, dword [eax]
push 1
push eax
mov ecx, ebp
mov byte [esp + 0x38], 3
call fcn.00452660
lea ecx, [esp + 0x38]
mov byte [esp + 0x30], 2
call fcn.004dd111
mov edx, dword [esp + 0x10]
push 1
push edx
mov ecx, ebp
call fcn.004525c0
mov eax, dword [esp + 0x10]
push 0
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [ebp + 0x458]
push eax
call sub.WSOCK32.dll_send
test eax, eax
jg 0x46a2b8
lea ecx, [esp + 0x40]
push 0xd1
push ecx
call fcn.0042e080
add esp, 8
mov eax, dword [eax]
push 0
push eax
mov ecx, ebp
mov byte [esp + 0x38], 4
call fcn.00452660
mov byte [esp + 0x30], 2
lea ecx, [esp + 0x40]
call fcn.004dd111
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 1
call fcn.004dd111
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 0
call fcn.004dd111
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], esi
call fcn.004dd111
mov eax, esi
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x24
ret 0x10
lea edx, [esp + 0x1c]
mov ecx, ebp
push edx
call fcn.0046a840
mov ebx, dword [esp + 0x3c]
mov edi, eax
test ebx, ebx
je 0x46a2e1
test edi, edi
jle 0x46a2e1
mov eax, dword [esp + 0x1c]
mov ecx, ebx
add eax, 4
push eax
call fcn.004dd24a
mov ecx, dword [esp + 0x44]
test ecx, ecx
je 0x46a2fa
test edi, edi
jle 0x46a330
mov edx, dword [esp + 0x1c]
add edx, 8
push edx
call fcn.004dd24a
test edi, edi
jle 0x46a330
mov esi, dword [esp + 0x1c]
test esi, esi
mov dword [esp + 0x38], esi
je 0x46a32d
lea ecx, [esi + 8]
mov byte [esp + 0x30], 5
call fcn.004dd111
lea ecx, [esi + 4]
mov byte [esp + 0x30], 2
call fcn.004dd111
push esi
call fcn.004dd783
add esp, 4
or esi, 0xffffffff
mov eax, dword [esp + 0x40]
test eax, eax
je 0x46a33a
mov dword [eax], edi
mov ecx, dword [esp + 0x14]
mov dword [ebp + 0x4a8], edi
mov eax, dword [str.type_i]
push eax
push ecx
call fcn.004c22d6
add esp, 8
test eax, eax
jne 0x46a380
mov eax, 0x51eb851f
imul edi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp edx, 2
jne 0x46a43c
mov dword [ebp + 0x6a8], 1
jmp 0x46a43c
mov ecx, dword [str.type_a]
mov edx, dword [esp + 0x14]
push ecx
push edx
call fcn.004c22d6
add esp, 8
test eax, eax
jne 0x46a3be
mov eax, 0x51eb851f
imul edi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp edx, 2
jne 0x46a43c
mov dword [ebp + 0x6a8], 0
jmp 0x46a43c
mov ecx, dword [str.rest_0]
mov edx, dword [esp + 0x14]
push ecx
push edx
call fcn.004c22d6
add esp, 8
test eax, eax
jne 0x46a3f8
mov eax, 0x51eb851f
imul edi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp edx, 3
jne 0x46a43c
mov dword [ebp + 0x6a4], 1
jmp 0x46a43c
mov ecx, dword [0x55ef1c]
mov edx, dword [esp + 0x14]
push ecx
push edx
call fcn.004c22d6
add esp, 8
test eax, eax
jne 0x46a43c
mov eax, 0x51eb851f
imul edi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp edx, 2
jne 0x46a43c
mov ecx, dword [ebp + 0x1c]
push 0
push 0x8004
push 0x111
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, 0x51eb851f
imul edi
sar edx, 5
mov eax, edx
shr eax, 0x1f
lea edx, [edx + eax - 1]
cmp edx, 4
ja case.default.0x46a458
jmp dword [edx*4 + 0x46a7e4]
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 1
call fcn.004dd111
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 0
call fcn.004dd111
mov dword [esp + 0x30], esi
jmp 0x46a6ce
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 1
call fcn.004dd111
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 0
call fcn.004dd111
mov dword [esp + 0x30], esi
jmp 0x46a183
mov eax, dword [esp + 0x24]
test eax, eax
je 0x46a78f
lea ecx, [esp + 0x38]
push 0xac
push ecx
call fcn.0042e080
add esp, 8
mov eax, dword [eax]
push 1
push eax
mov ecx, ebp
mov byte [esp + 0x38], 6
call fcn.00452660
lea ecx, [esp + 0x38]
mov byte [esp + 0x30], 2
call fcn.004dd111
push 1
push str.PASS_
mov ecx, ebp
call fcn.004525c0
lea edx, [esp + 0x18]
lea ecx, [esp + 0x10]
push edx
call fcn.004dd24a
mov eax, dword [esp + 0x10]
push 0
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [ebp + 0x458]
push eax
call sub.WSOCK32.dll_send
test eax, eax
jg 0x46a54e
lea ecx, [esp + 0x40]
push 0xd1
push ecx
call fcn.0042e080
add esp, 8
mov eax, dword [eax]
push 0
push eax
mov ecx, ebp
mov byte [esp + 0x38], 7
call fcn.00452660
mov byte [esp + 0x30], 2
lea ecx, [esp + 0x40]
jmp 0x46a273
lea edx, [esp + 0x1c]
mov ecx, ebp
push edx
call fcn.0046a840
test ebx, ebx
mov esi, eax
je 0x46a57d
test esi, esi
jle 0x46a5b2
mov ecx, dword [esp + 0x44]
push ebx
call fcn.004dd24a
mov eax, dword [esp + 0x1c]
mov ecx, ebx
add eax, 4
push eax
call fcn.004dd24a
test esi, esi
jle 0x46a5b2
mov eax, dword [esp + 0x1c]
mov edi, eax
test eax, eax
mov dword [esp + 0x38], edi
je 0x46a5b2
lea ecx, [eax + 8]
mov byte [esp + 0x30], 8
call fcn.004dd111
lea ecx, [edi + 4]
mov byte [esp + 0x30], 2
call fcn.004dd111
push edi
call fcn.004dd783
add esp, 4
mov eax, dword [esp + 0x40]
test eax, eax
je 0x46a5bc
mov dword [eax], esi
mov ecx, ebp
call fcn.00470f30
mov eax, 0x51eb851f
imul esi
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
mov esi, edx
cmp esi, 2
jne 0x46a69b
mov eax, dword [0x5580a0]
mov dword [esp + 0x44], eax
mov dword [esp + 0x38], eax
push ecx
mov byte [esp + 0x34], 0xa
mov ecx, esp
mov dword [esp + 0x44], esp
push 0x55cdc0
call fcn.004dd17f
mov ecx, ebp
call fcn.00475ee0
push ecx
mov ecx, esp
mov dword [esp + 0x44], esp
push 0x55cdc0
call fcn.004dd17f
mov ecx, ebp
call fcn.00475f30
push 0
lea edx, [esp + 0x48]
push 0
push edx
push str.PWD_r_n
mov ecx, ebp
call fcn.00469ea0
cmp eax, esi
jne 0x46a6e1
lea eax, [esp + 0x38]
lea ecx, [esp + 0x44]
push eax
push ecx
call fcn.00470ad0
add esp, 4
lea edx, [esp + 0x3c]
mov ecx, esp
mov dword [esp + 0x44], esp
push edx
call fcn.004dce86
mov ecx, ebp
call fcn.00475ee0
push ecx
lea eax, [esp + 0x3c]
mov ecx, esp
mov dword [esp + 0x44], esp
push eax
call fcn.004dce86
mov ecx, ebp
call fcn.00475f30
lea ecx, [esp + 0x38]
mov byte [esp + 0x30], 9
call fcn.004dd111
lea ecx, [esp + 0x44]
mov byte [esp + 0x30], 2
call fcn.004dd111
lea eax, [esi - 1]
cmp eax, 4
ja case.default.0x46a6a3
jmp dword [eax*4 + 0x46a7f8]
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 1
call fcn.004dd111
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 0
call fcn.004dd111
mov dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0x18]
call fcn.004dd111
mov eax, 1
jmp 0x46a2a3
lea ecx, [esp + 0x38]
mov byte [esp + 0x30], 9
call fcn.004dd111
lea ecx, [esp + 0x44]
mov byte [esp + 0x30], 2
call fcn.004dd111
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 1
call fcn.004dd111
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 0
call fcn.004dd111
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 0xffffffff
call fcn.004dd111
or eax, 0xffffffff
jmp 0x46a2a3
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 1
call fcn.004dd111
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 0
call fcn.004dd111
mov dword [esp + 0x30], 0xffffffff
jmp 0x46a7af
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 1
call fcn.004dd111
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 0
call fcn.004dd111
mov dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0x18]
call fcn.004dd111
mov eax, 5
jmp 0x46a2a3
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 1
call fcn.004dd111
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 0
call fcn.004dd111
mov dword [esp + 0x30], esi
lea ecx, [esp + 0x18]
call fcn.004dd111
mov eax, 3
jmp 0x46a2a3
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 1
call fcn.004dd111
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 0
call fcn.004dd111
mov dword [esp + 0x30], esi
jmp 0x46a77c