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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x511cee
push eax
mov al, byte [0x55f028]
mov dword fs:[0], esp
sub esp, 0x18
test al, 1
push ebx
push ebp
push esi
push edi
mov ebp, ecx
jne 0x469f2e
mov bl, al
push 0x556ccc
or bl, 1
mov ecx, 0x55f024
mov byte [0x55f028], bl
call fcn.004dd1bf
push 0x46a870
call fcn.004c22d5
add esp, 4
mov al, byte [0x55f028]
test al, 2
jne 0x469f5e
mov bl, al
push str.cdup
or bl, 2
mov ecx, 0x55f020
mov byte [0x55f028], bl
call fcn.004dd1bf
push 0x46a860
call fcn.004c22d5
add esp, 4
mov al, byte [0x55f028]
test al, 4
jne 0x469f8e
mov bl, al
push str.quit
or bl, 4
mov ecx, 0x55f01c
mov byte [0x55f028], bl
call fcn.004dd1bf
push 0x46a850
call fcn.004c22d5
add esp, 4
mov ecx, dword [0x5581a0]
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.004dd1bf
push 0x5526b0
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], 1
call fcn.004d3f28
lea edx, [esp + 0x10]
lea ecx, [esp + 0x14]
push edx
call fcn.004dcec6
push 0x5526b0
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], 2
call fcn.004dd52d
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 0x46a137
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.004c3040
add esp, 0xc
test eax, eax
jne 0x46a137
mov edi, esi
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
inc ecx
push ecx
call fcn.004dd79a
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.004c41a0
push 0x553c88
push 0
call fcn.004c41a0
push 0x553c88
push 0
call fcn.004c41a0
add esp, 0x1c
mov dword [esp + 0x20], eax
test eax, eax
je 0x46a12e
push eax
lea eax, [esp + 0x1c]
push str.PASS__s_r_n
push eax
mov dword [esp + 0x30], 1
call fcn.004d3ecc
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.004dd2da
push ebx
call fcn.004dd7c3
add esp, 4
mov ecx, dword [str.type_i]
mov edx, dword [esp + 0x14]
push ecx
push edx
call fcn.004c2316
add esp, 8
test eax, eax
jne 0x46a15a
cmp dword [ebp + 0x6a8], 1
jne 0x46a1d6
jmp case.0x46a6e3.2
mov eax, dword [str.type_a]
mov ecx, dword [esp + 0x14]
push eax
push ecx
call fcn.004c2316
add esp, 8
test eax, eax
jne 0x46a17d
mov eax, dword [ebp + 0x6a8]
test eax, eax
jne 0x46a1d6
jmp case.0x46a6e3.2
mov edx, dword [str.rest_0]
mov eax, dword [esp + 0x14]
push edx
push eax
call fcn.004c2316
add esp, 8
test eax, eax
jne 0x46a1d6
mov eax, dword [ebp + 0x6a4]
test eax, eax
je 0x46a1d6
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 1
call fcn.004dd151
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 0
call fcn.004dd151
mov dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0x18]
call fcn.004dd151
mov eax, 2
jmp 0x46a2e3
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.004c3040
add esp, 0xc
test eax, eax
jne 0x46a203
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.004c3040
add esp, 0xc
test eax, eax
jne 0x46a22d
mov dword [ebp + 0x6a4], eax
lea ecx, [esp + 0x38]
push 0xac
push ecx
call fcn.0042e0a0
add esp, 8
mov eax, dword [eax]
push 1
push eax
mov ecx, ebp
mov byte [esp + 0x38], 3
call fcn.00452680
lea ecx, [esp + 0x38]
mov byte [esp + 0x30], 2
call fcn.004dd151
mov edx, dword [esp + 0x10]
push 1
push edx
mov ecx, ebp
call fcn.004525e0
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 0x46a2f8
lea ecx, [esp + 0x40]
push 0xd1
push ecx
call fcn.0042e0a0
add esp, 8
mov eax, dword [eax]
push 0
push eax
mov ecx, ebp
mov byte [esp + 0x38], 4
call fcn.00452680
mov byte [esp + 0x30], 2
lea ecx, [esp + 0x40]
call fcn.004dd151
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 1
call fcn.004dd151
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 0
call fcn.004dd151
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], esi
call fcn.004dd151
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.0046a880
mov ebx, dword [esp + 0x3c]
mov edi, eax
test ebx, ebx
je 0x46a321
test edi, edi
jle 0x46a321
mov eax, dword [esp + 0x1c]
mov ecx, ebx
add eax, 4
push eax
call fcn.004dd28a
mov ecx, dword [esp + 0x44]
test ecx, ecx
je 0x46a33a
test edi, edi
jle 0x46a370
mov edx, dword [esp + 0x1c]
add edx, 8
push edx
call fcn.004dd28a
test edi, edi
jle 0x46a370
mov esi, dword [esp + 0x1c]
test esi, esi
mov dword [esp + 0x38], esi
je 0x46a36d
lea ecx, [esi + 8]
mov byte [esp + 0x30], 5
call fcn.004dd151
lea ecx, [esi + 4]
mov byte [esp + 0x30], 2
call fcn.004dd151
push esi
call fcn.004dd7c3
add esp, 4
or esi, 0xffffffff
mov eax, dword [esp + 0x40]
test eax, eax
je 0x46a37a
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.004c2316
add esp, 8
test eax, eax
jne 0x46a3c0
mov eax, 0x51eb851f
imul edi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp edx, 2
jne 0x46a47c
mov dword [ebp + 0x6a8], 1
jmp 0x46a47c
mov ecx, dword [str.type_a]
mov edx, dword [esp + 0x14]
push ecx
push edx
call fcn.004c2316
add esp, 8
test eax, eax
jne 0x46a3fe
mov eax, 0x51eb851f
imul edi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp edx, 2
jne 0x46a47c
mov dword [ebp + 0x6a8], 0
jmp 0x46a47c
mov ecx, dword [str.rest_0]
mov edx, dword [esp + 0x14]
push ecx
push edx
call fcn.004c2316
add esp, 8
test eax, eax
jne 0x46a438
mov eax, 0x51eb851f
imul edi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp edx, 3
jne 0x46a47c
mov dword [ebp + 0x6a4], 1
jmp 0x46a47c
mov ecx, dword [0x55f01c]
mov edx, dword [esp + 0x14]
push ecx
push edx
call fcn.004c2316
add esp, 8
test eax, eax
jne 0x46a47c
mov eax, 0x51eb851f
imul edi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp edx, 2
jne 0x46a47c
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.0x46a498
jmp dword [edx*4 + 0x46a824]
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 1
call fcn.004dd151
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 0
call fcn.004dd151
mov dword [esp + 0x30], esi
jmp 0x46a70e
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 1
call fcn.004dd151
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 0
call fcn.004dd151
mov dword [esp + 0x30], esi
jmp 0x46a1c3
mov eax, dword [esp + 0x24]
test eax, eax
je 0x46a7cf
lea ecx, [esp + 0x38]
push 0xac
push ecx
call fcn.0042e0a0
add esp, 8
mov eax, dword [eax]
push 1
push eax
mov ecx, ebp
mov byte [esp + 0x38], 6
call fcn.00452680
lea ecx, [esp + 0x38]
mov byte [esp + 0x30], 2
call fcn.004dd151
push 1
push str.PASS_
mov ecx, ebp
call fcn.004525e0
lea edx, [esp + 0x18]
lea ecx, [esp + 0x10]
push edx
call fcn.004dd28a
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 0x46a58e
lea ecx, [esp + 0x40]
push 0xd1
push ecx
call fcn.0042e0a0
add esp, 8
mov eax, dword [eax]
push 0
push eax
mov ecx, ebp
mov byte [esp + 0x38], 7
call fcn.00452680
mov byte [esp + 0x30], 2
lea ecx, [esp + 0x40]
jmp 0x46a2b3
lea edx, [esp + 0x1c]
mov ecx, ebp
push edx
call fcn.0046a880
test ebx, ebx
mov esi, eax
je 0x46a5bd
test esi, esi
jle 0x46a5f2
mov ecx, dword [esp + 0x44]
push ebx
call fcn.004dd28a
mov eax, dword [esp + 0x1c]
mov ecx, ebx
add eax, 4
push eax
call fcn.004dd28a
test esi, esi
jle 0x46a5f2
mov eax, dword [esp + 0x1c]
mov edi, eax
test eax, eax
mov dword [esp + 0x38], edi
je 0x46a5f2
lea ecx, [eax + 8]
mov byte [esp + 0x30], 8
call fcn.004dd151
lea ecx, [edi + 4]
mov byte [esp + 0x30], 2
call fcn.004dd151
push edi
call fcn.004dd7c3
add esp, 4
mov eax, dword [esp + 0x40]
test eax, eax
je 0x46a5fc
mov dword [eax], esi
mov ecx, ebp
call fcn.00470f70
mov eax, 0x51eb851f
imul esi
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
mov esi, edx
cmp esi, 2
jne 0x46a6db
mov eax, dword [0x5581a0]
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 0x55cec0
call fcn.004dd1bf
mov ecx, ebp
call fcn.00475f20
push ecx
mov ecx, esp
mov dword [esp + 0x44], esp
push 0x55cec0
call fcn.004dd1bf
mov ecx, ebp
call fcn.00475f70
push 0
lea edx, [esp + 0x48]
push 0
push edx
push str.PWD_r_n
mov ecx, ebp
call fcn.00469ee0
cmp eax, esi
jne 0x46a721
lea eax, [esp + 0x38]
lea ecx, [esp + 0x44]
push eax
push ecx
call fcn.00470b10
add esp, 4
lea edx, [esp + 0x3c]
mov ecx, esp
mov dword [esp + 0x44], esp
push edx
call fcn.004dcec6
mov ecx, ebp
call fcn.00475f20
push ecx
lea eax, [esp + 0x3c]
mov ecx, esp
mov dword [esp + 0x44], esp
push eax
call fcn.004dcec6
mov ecx, ebp
call fcn.00475f70
lea ecx, [esp + 0x38]
mov byte [esp + 0x30], 9
call fcn.004dd151
lea ecx, [esp + 0x44]
mov byte [esp + 0x30], 2
call fcn.004dd151
lea eax, [esi - 1]
cmp eax, 4
ja case.default.0x46a6e3
jmp dword [eax*4 + 0x46a838]
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 1
call fcn.004dd151
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 0
call fcn.004dd151
mov dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0x18]
call fcn.004dd151
mov eax, 1
jmp 0x46a2e3
lea ecx, [esp + 0x38]
mov byte [esp + 0x30], 9
call fcn.004dd151
lea ecx, [esp + 0x44]
mov byte [esp + 0x30], 2
call fcn.004dd151
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 1
call fcn.004dd151
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 0
call fcn.004dd151
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 0xffffffff
call fcn.004dd151
or eax, 0xffffffff
jmp 0x46a2e3
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 1
call fcn.004dd151
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 0
call fcn.004dd151
mov dword [esp + 0x30], 0xffffffff
jmp 0x46a7ef
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 1
call fcn.004dd151
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 0
call fcn.004dd151
mov dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0x18]
call fcn.004dd151
mov eax, 5
jmp 0x46a2e3
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 1
call fcn.004dd151
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 0
call fcn.004dd151
mov dword [esp + 0x30], esi
lea ecx, [esp + 0x18]
call fcn.004dd151
mov eax, 3
jmp 0x46a2e3
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 1
call fcn.004dd151
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 0
call fcn.004dd151
mov dword [esp + 0x30], esi
jmp 0x46a7bc