Function at 0x406c70
Capabilities:
Create process on windows
Enumerate files on windows
Receive data
Receive data on socket
Send data
Send data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41fbb0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x9e8
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 0x10], esp
push str.Entra_oper_esp
push 1
call fcn.0040c720
mov eax, dword [ebx + 4]
add esp, 8
cmp dword [eax + 0x410], 0x3ea
jne 0x406cf8
mov edx, dword [ebx + 0x108]
mov esi, dword [sym.imp.WSOCK32.dll_setsockopt]
lea ecx, [ebp - 0x18]
push 4
push ecx
push 0x1006
push 0xffff
push edx
mov dword [ebp - 0x18], 0x1388
call esi
cmp eax, 0xffffffff
je 0x406cf8
mov ecx, dword [ebx + 0x108]
lea eax, [ebp - 0x18]
push 4
push eax
push 0x1005
push 0xffff
push ecx
call esi
mov edx, dword [ebx + 4]
mov byte [edx + 0x878], 0
mov eax, dword [ebx + 4]
cmp dword [eax + 0x410], 0x3e9
jne 0x406d1b
mov dword [eax + 0x808], 0
mov eax, dword [ebx + 4]
cmp dword [eax + 0x410], 0x3e8
jne 0x406e90
add eax, 0x420
xor ecx, ecx
push eax
push str.enviara__s
push 2
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
call fcn.0040c720
mov eax, dword [ebx + 4]
or ecx, 0xffffffff
add esp, 0xc
lea edi, [eax + 0x420]
xor eax, eax
mov dword [ebp - 0x20], edi
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
je 0x406dbe
cmp dword [ebx + 0x108], 0xffffffff
je 0x406dbe
push esi
push str.__writing__d_bytes_n
push 0xa
push 0x42f668
call fcn.00405580
add esp, 0x10
xor edi, edi
test esi, esi
jle 0x406dbe
mov ecx, dword [ebp - 0x20]
mov eax, esi
sub eax, edi
push 0
push eax
mov eax, dword [ebx + 0x108]
lea edx, [edi + ecx]
push edx
push eax
call dword [sym.imp.WSOCK32.dll_send]
cmp eax, 0xffffffff
je 0x406e35
test eax, eax
je 0x406e35
add edi, eax
cmp edi, esi
jl 0x406d90
mov edi, dword [ebx + 4]
mov esi, dword [ebp - 0x14]
add edi, 0x614
mov edx, dword [ebp - 0x18]
mov eax, dword [ebx + 0x108]
push 0
inc esi
push 1
inc edx
push edi
push eax
mov dword [ebp - 0x18], edx
call dword [sym.imp.WSOCK32.dll_recv]
mov al, byte [edi]
mov byte [edi + 1], 0
cmp al, 1
jb 0x406dff
cmp esi, 0x190
jg 0x406dff
cmp dword [ebp - 0x18], 0xfa0
jle 0x406e06
mov dword [ebp - 0x1c], 0
cmp byte [edi], 0x20
jae 0x406e6e
mov ecx, dword [ebx + 4]
push 3
add ecx, 0x614
push str.IP_DALL
push ecx
call fcn.00416710
add esp, 0xc
test eax, eax
je 0x406e6e
mov edi, dword [ebx + 4]
add edi, 0x614
xor esi, esi
jmp 0x406e6f
push eax
push edi
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
push eax
push esi
lea ecx, [ebp - 0x9f4]
push str.WriteExact:_Socket_error_while_writing.__bytes_d__error_d__i_d__j_d
push ecx
call fcn.00416129
add esp, 0x18
lea ecx, [ebp - 0x58]
push 0x42eb08
call fcn.0040b170
lea edx, [ebp - 0x58]
push 0x4259b0
push edx
call fcn.00416244
inc edi
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x406dca
mov byte [edi], 0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, 0xa
xor edi, edi
push esi
push str.__reading__d_bytes_n
push esi
push 0x42f668
mov dword [ebp - 4], edi
call fcn.00405580
add esp, 0x10
test esi, esi
jle 0x406f2a
mov eax, dword [ebx + 0x108]
push 0
lea edx, [ebp + edi - 0x670]
push esi
push edx
push eax
call dword [sym.imp.WSOCK32.dll_recv]
test eax, eax
jne 0x406ee9
push 0x42eb08
lea ecx, [ebp - 0x38]
call fcn.0040b170
lea ecx, [ebp - 0x38]
push 0x4259b0
push ecx
call fcn.00416244
cmp eax, 0xffffffff
jne 0x406f24
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Socket_error_while_reading__d_n
push 1
push 0x42f668
call fcn.00405580
add esp, 0x10
lea ecx, [ebp - 0x70]
push 0x42eb08
call fcn.0040b170
lea edx, [ebp - 0x70]
push 0x4259b0
push edx
call fcn.00416244
sub esi, eax
add edi, eax
jmp 0x406eae
mov edi, 1
push str.leyo_10
push edi
mov dword [ebp - 4], 0xffffffff
call fcn.0040c720
mov eax, dword [ebx + 4]
mov cl, byte [ebp - 0x667]
mov byte [eax + 0x878], cl
mov edx, dword [ebx + 4]
movsx ecx, byte [ebp - 0x667]
mov eax, dword [edx + 0x410]
push eax
push ecx
push str.Num_Inst_d_oper_d
push edi
call fcn.0040c720
mov eax, dword [ebx + 4]
add esp, 0x18
mov esi, dword [eax + 0x410]
cmp esi, 0x16
jg 0x4074de
je 0x4074a9
cmp esi, 0x14
ja case.0x406f99.7
xor edx, edx
mov dl, byte [esi + 0x407ca8]
jmp dword [edx*4 + 0x407c88]
lea eax, [ebp - 0x670]
push 0xa
push eax
mov ecx, ebx
mov dword [ebp - 4], 2
call fcn.0040a880
or ecx, 0xffffffff
mov byte [ebp - 0x670], 0
mov dword [ebp - 4], ecx
lea edx, [ebp - 0x66f]
mov edi, str.Comun
xor eax, eax
push 0x200
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x670]
push ecx
jmp 0x407289
mov cl, byte [eax + 0x21a]
test cl, cl
je 0x40706f
push str.enviara_arch
push edi
call fcn.0040c720
add esp, 8
mov ecx, ebx
push 0
push edi
call fcn.00404e40
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov cl, byte [eax + 0x21a]
test cl, cl
jne 0x407089
mov byte [ebp - 0x670], 0
lea edx, [ebp - 0x66f]
mov edi, str.Comun
or ecx, 0xffffffff
jmp 0x406fcf
push edi
push 4
mov ecx, ebx
call fcn.00404e40
test eax, eax
mov dword [ebp - 0x14], eax
je 0x40713f
mov edx, dword [ebx + 4]
push 0x4281a8
add edx, 0x21a
push edx
call fcn.004163dc
mov esi, eax
add esp, 8
test esi, esi
je case.0x406f99.7
push esi
push edi
lea eax, [ebp - 0x990]
push 0xfa
push eax
call fcn.004162d4
push esi
mov edi, eax
call fcn.0041627e
add esp, 0x14
test edi, edi
je case.0x406f99.7
mov ecx, dword [ebx + 4]
add ecx, 0x21a
push ecx
call fcn.0041737a
lea edx, [ebp - 0x990]
lea eax, [ebp - 0x922]
push edx
push eax
lea ecx, [ebp - 0x800]
push 0x428860
push ecx
call fcn.00416129
add esp, 0x14
lea edx, [ebp - 0x800]
push edx
push str.LEVERIT_CHAT
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
je 0x40713f
push 0
push 0xbb9
push 0x111
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.traiga_arch
push edi
call fcn.0040c720
add esp, 8
mov ecx, ebx
push 0
push 0x10
call fcn.004065f0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x428840
push 2
call fcn.0040c720
push 0x429438
lea eax, [ebp - 0x968]
push str._sgo.
push eax
call fcn.00416129
add esp, 0x14
lea ecx, [ebp - 0x7b0]
lea edx, [ebp - 0x968]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x40725f
cmp byte [ebp - 0x784], 0x2e
je 0x407242
mov ecx, dword [ebx + 4]
lea eax, [ebp - 0x784]
push eax
push 0x429438
add ecx, 0x21a
push str._sgo_s
push ecx
call fcn.00416129
mov edx, dword [ebx + 4]
add edx, 0x21a
push edx
push str.enc_s
push 2
call fcn.0040c720
add esp, 0x1c
mov ecx, ebx
push 0
push 0x11
call fcn.00404e40
test eax, eax
jne 0x407225
push str.no_env
push 2
call fcn.0040c720
add esp, 8
jmp 0x407242
push str.si_envio
push 2
call fcn.0040c720
mov eax, dword [ebx + 4]
add eax, 0x21a
push eax
call fcn.004105c0
add esp, 0xc
lea ecx, [ebp - 0x7b0]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4071c3
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0x428808
push 2
call fcn.0040c720
add esp, 8
mov ecx, 0x80
xor eax, eax
lea edi, [ebp - 0x670]
lea edx, [ebp - 0x670]
push 0x200
push edx
rep stosd dword es:[edi], eax
mov ecx, ebx
call fcn.0040ad10
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
add eax, 0x420
push eax
lea eax, [ebp - 0x968]
push str._s.lop
push eax
call fcn.00416129
add esp, 0xc
lea ecx, [ebp - 0x7b0]
lea edx, [ebp - 0x968]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x40726e
mov eax, dword [ebx + 4]
lea ecx, [ebp - 0x784]
push ecx
lea edx, [eax + 0x420]
add eax, 0x21a
push edx
push 0x4287f4
push eax
call fcn.00416129
add esp, 0x10
mov ecx, ebx
push 0
push 0x12
call fcn.00404e40
test eax, eax
je 0x40731c
mov eax, dword [ebx + 4]
add eax, 0x21a
push eax
call fcn.004105c0
add esp, 4
lea ecx, [ebp - 0x7b0]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4072d8
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x40726e
mov dword [eax + 0x808], 1
mov edi, str.Comun
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp - 0x66f]
mov eax, ecx
mov esi, edi
mov edi, edx
mov byte [ebp - 0x670], 0x14
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push 0x200
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebx + 4]
mov ecx, 0x78
add esi, 0x420
lea edi, [ebp - 0x666]
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x670]
push ecx
mov ecx, ebx
call fcn.0040ad10
xor eax, eax
mov edx, dword [ebx + 4]
mov byte [ebp + eax - 0x670], 0
mov byte [eax + edx + 0x420], 0
inc eax
cmp eax, 0x200
jl 0x40739e
xor edi, edi
xor eax, eax
cmp eax, 4
jge 0x407470
test edi, edi
jne 0x407470
lea eax, [ebp - 0x670]
push 0x200
push eax
mov ecx, ebx
mov dword [ebp - 4], 4
call fcn.0040a880
mov dword [ebp - 4], 0xffffffff
xor esi, esi
mov eax, 0xa
xor ecx, ecx
mov cl, byte [ebp + eax - 0x670]
add esi, ecx
inc eax
cmp eax, 0x1f5
jl 0x4073f6
cmp esi, dword [ebp - 0x66c]
jne 0x40741f
mov edi, 1
mov byte [ebp - 0x670], 0
jmp 0x407426
mov byte [ebp - 0x66f], 0
lea edx, [ebp - 0x670]
push 0xa
push edx
mov ecx, ebx
call fcn.0040ad10
jmp 0x4073bb
mov edx, dword [ebx + 4]
xor ecx, ecx
test edi, edi
sete cl
mov dword [edx + 0x808], ecx
mov edi, dword [ebx + 4]
add edi, 0x420
mov ecx, 0x78
lea esi, [ebp - 0x666]
xor eax, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.traiga_arch
push edi
call fcn.0040c720
mov eax, dword [ebx + 4]
add esp, 8
mov ecx, ebx
push 0
push 0x16
mov dword [eax + 0x880], edi
call fcn.004065f0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp esi, 0x7c
jg 0x407a0f
je 0x407830
sub esi, 0x17
je 0x40779b
dec esi
je 0x407581
dec esi
jne case.0x406f99.7
push str.traiga_arch_34
push edi
call fcn.0040c720
add esp, 8
mov ecx, ebx
push 0
push 0x22
call fcn.004056b0
mov ecx, dword [ebx + 4]
mov eax, dword [ecx + 0x808]
test eax, eax
jne case.0x406f99.7
push 0xa
push 0x429438
lea edx, [ebp - 0x800]
push str._sprocess.exe__n_d
push edx
call fcn.00416129
add esp, 0x10
lea eax, [ebp - 0x800]
push 5
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
lea ecx, [ebp - 0x800]
push ecx
push str.ejecuto__s
push 2
call fcn.0040c720
add esp, 0xc
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.envie_opcion_0_al_chusr
push 1
call fcn.0040c720
mov edx, dword [ebx + 4]
mov edi, str.Comun
or ecx, 0xffffffff
xor eax, eax
add esp, 8
mov dword [edx + 0x808], 0
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp - 0x66f]
mov eax, ecx
mov esi, edi
mov edi, edx
mov byte [ebp - 0x670], 0
shr ecx, 2
mov byte [ebp - 0x666], 0x22
mov byte [ebp - 0x665], 0x59
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [ebx + 0x108]
and ecx, 3
cmp eax, 0xffffffff
rep movsb byte es:[edi], byte [esi]
je 0x407634
push 0x200
push str.__writing__d_bytes_n
push 0xa
push 0x42f668
call fcn.00405580
mov edi, dword [sym.imp.WSOCK32.dll_send]
add esp, 0x10
xor esi, esi
mov eax, dword [ebx + 0x108]
mov ecx, 0x200
sub ecx, esi
push 0
lea edx, [ebp + esi - 0x670]
push ecx
push edx
push eax
call edi
cmp eax, 0xffffffff
je 0x407695
test eax, eax
je 0x407695
add esi, eax
cmp esi, 0x200
jl 0x407606
mov esi, 0xa
mov dword [ebp - 4], 6
push esi
push str.__reading__d_bytes_n
push esi
push 0x42f668
xor edi, edi
call fcn.00405580
add esp, 0x10
test esi, esi
jle 0x407716
mov ecx, dword [ebx + 0x108]
push 0
lea eax, [ebp + edi - 0x670]
push esi
push eax
push ecx
call dword [sym.imp.WSOCK32.dll_recv]
test eax, eax
jne 0x4076d2
push 0x42eb08
lea ecx, [ebp - 0x80]
call fcn.0040b170
lea edx, [ebp - 0x80]
push 0x4259b0
push edx
call fcn.00416244
push eax
push esi
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
push eax
push 0x200
lea ecx, [ebp - 0x9f4]
push str.WriteExact:_Socket_error_while_writing.__bytes_d__error_d__i_d__j_d
push ecx
call fcn.00416129
add esp, 0x18
lea ecx, [ebp - 0x28]
push 0x42eb08
call fcn.0040b170
lea edx, [ebp - 0x28]
push 0x4259b0
push edx
call fcn.00416244
cmp eax, 0xffffffff
jne 0x40770d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Socket_error_while_reading__d_n
push 1
push 0x42f668
call fcn.00405580
add esp, 0x10
lea ecx, [ebp - 0x68]
push 0x42eb08
call fcn.0040b170
lea eax, [ebp - 0x68]
push 0x4259b0
push eax
call fcn.00416244
sub esi, eax
add edi, eax
jmp 0x407656
push str.si_leyo_del_1
push 1
mov dword [ebp - 4], 0xffffffff
call fcn.0040c720
movsx ecx, byte [ebp - 0x670]
push ecx
push str.viene__d
push 1
call fcn.0040c720
movsx edx, byte [ebp - 0x670]
mov eax, dword [ebx + 4]
add esp, 0x14
mov dword [eax + 0x808], edx
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.envie_opcion_33
push 1
call fcn.0040c720
mov edi, str.Comun
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp - 0x66f]
mov eax, ecx
mov esi, edi
mov edi, edx
mov byte [ebp - 0x670], 0x21
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push 0x200
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebx + 4]
mov ecx, 0x78
add esi, 0x420
lea edi, [ebp - 0x664]
mov byte [ebp - 0x666], 0x6a
mov byte [ebp - 0x665], 0x64
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x670]
push ecx
mov ecx, ebx
call fcn.0040ad10
mov edx, dword [ebx + 4]
xor eax, eax
mov dword [edx + 0x808], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [eax + 0x808], 1
mov edi, str.Comun
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp - 0x66f]
mov eax, ecx
mov esi, edi
mov edi, edx
mov byte [ebp - 0x670], 0x7c
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push 0x200
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebx + 4]
mov ecx, 0x78
add esi, 0x420
lea edi, [ebp - 0x666]
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x670]
push ecx
mov ecx, ebx
call fcn.0040ad10
xor eax, eax
mov edx, dword [ebx + 4]
mov byte [ebp + eax - 0x670], 0
mov byte [eax + edx + 0x420], 0
inc eax
cmp eax, 0x200
jl 0x407894
xor edi, edi
mov dword [ebp - 0x1c], edi
xor eax, eax
cmp eax, 4
jge 0x40796c
test edi, edi
jne 0x40796c
lea eax, [ebp - 0x670]
push 0x200
push eax
mov ecx, ebx
mov dword [ebp - 4], 8
call fcn.0040a880
mov dword [ebp - 4], 0xffffffff
xor esi, esi
mov eax, 0xa
xor ecx, ecx
mov cl, byte [ebp + eax - 0x670]
add esi, ecx
inc eax
cmp eax, 0x1f5
jl 0x4078ef
cmp esi, dword [ebp - 0x66c]
jne 0x40791b
mov edi, 1
mov byte [ebp - 0x670], 0
mov dword [ebp - 0x1c], edi
jmp 0x407922
mov byte [ebp - 0x66f], 0
lea edx, [ebp - 0x670]
push 0xa
push edx
mov ecx, ebx
call fcn.0040ad10
jmp 0x4078b4
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebx + 4]
xor ecx, ecx
lea esi, [ebp - 0x666]
test eax, eax
sete cl
mov dword [edx + 0x808], ecx
mov edi, dword [ebx + 4]
add edi, 0x420
mov ecx, 0x78
test eax, eax
rep movsd dword es:[edi], dword [esi]
je case.0x406f99.7
push 0x429438
lea eax, [ebp - 0x864]
push str._s_ninvsql.dat
push eax
call fcn.00416129
lea ecx, [ebp - 0x864]
push ecx
call fcn.004105c0
lea edx, [ebp - 0x864]
push 0x428250
push edx
call fcn.004163dc
mov esi, eax
add esp, 0x18
test esi, esi
je case.0x406f99.7
lea eax, [ebp - 0x666]
push esi
push eax
call fcn.00415c6b
add esp, 4
push eax
call fcn.0041f926
push esi
call fcn.0041627e
add esp, 0xc
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
sub esi, 0x3e9
je 0x407a49
dec esi
jne case.0x406f99.7
push str.pide_verif_si_funciona
push 2
call fcn.0040c720
mov ecx, dword [ebx + 4]
add esp, 8
xor eax, eax
mov dword [ecx + 0x808], edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [eax + 0x808], 0
mov edx, dword [ebp - 0x66b]
mov eax, dword [0x42fe20]
mov cl, byte [0x42fe24]
mov byte [ebp - 0x670], 0x64
mov dword [ebp - 0x66e], edx
mov dword [ebp - 0x666], eax
mov byte [ebp - 0x662], cl
mov byte [ebp - 0x65f], 0x54
mov byte [ebp - 0x65e], 1
call fcn.0040dca0
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x65c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x65c]
push ecx
push str.id_s
push 2
call fcn.0040c720
push str.1001_entra_a_1_y_envia_512
push 2
call fcn.0040c720
add esp, 0x14
lea edx, [ebp - 0x670]
mov ecx, ebx
push 0x200
push edx
call fcn.0040ad80
lea eax, [ebp - 0x670]
push 0x10
push eax
mov ecx, ebx
mov dword [ebp - 4], 0xa
call fcn.0040a8f0
push 9
lea ecx, [ebp - 0x670]
push str.suspenten
push ecx
mov dword [ebp - 4], 0xffffffff
call fcn.00416710
add esp, 0xc
test eax, eax
jne 0x407b45
push 0xa
call fcn.0040dd00
push str.susp
push 2
call fcn.0040c720
mov edx, dword [ebx + 4]
add esp, 0xc
xor esi, esi
mov dword [edx + 0x808], esi
jmp 0x407b47
xor esi, esi
push 9
lea eax, [ebp - 0x670]
push str.suspenday
push eax
call fcn.00416710
add esp, 0xc
test eax, eax
jne 0x407b80
push 1
call fcn.0040dcc0
push str.susp
push 2
call fcn.0040c720
mov ecx, dword [ebx + 4]
add esp, 0xc
mov dword [ecx + 0x808], esi
push 9
lea edx, [ebp - 0x670]
push str.suspenwee
push edx
call fcn.00416710
add esp, 0xc
test eax, eax
jne 0x407bb9
push 4
call fcn.0040dcc0
push str.susp
push 2
call fcn.0040c720
mov eax, dword [ebx + 4]
add esp, 0xc
mov dword [eax + 0x808], esi
push 9
lea ecx, [ebp - 0x670]
push str.accepted
push ecx
call fcn.00416710
add esp, 0xc
test eax, eax
jne 0x407c02
push str.si_acc
push 2
call fcn.0040c720
mov edx, dword [ebx + 4]
add esp, 8
xor eax, eax
mov dword [edx + 0x808], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.no_acc
push 2
call fcn.0040c720
mov ecx, dword [ebp - 0xc]
add esp, 8
xor eax, eax
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret