Function at 0x406dd0
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 0x422850
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa08
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 0x10], esp
push str.Entra_oper_esp
push 1
call fcn.0040d050
mov eax, dword [ebx + 4]
add esp, 8
cmp dword [eax + 0x410], 0x3ea
jne 0x406e58
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 0x406e58
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 + 0xb34], 0
mov eax, dword [ebx + 4]
cmp dword [eax + 0x410], 0x3e9
jne 0x406e7b
mov dword [eax + 0xac4], 0
mov eax, dword [ebx + 4]
cmp dword [eax + 0x410], 0x3e8
jne 0x406ff0
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.0040d050
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 0x406f1e
cmp dword [ebx + 0x108], 0xffffffff
je 0x406f1e
push esi
push str.__writing__d_bytes_n
push 0xa
push 0x4333b0
call fcn.00405690
add esp, 0x10
xor edi, edi
test esi, esi
jle 0x406f1e
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 0x406f95
test eax, eax
je 0x406f95
add edi, eax
cmp edi, esi
jl 0x406ef0
mov edi, dword [ebx + 4]
mov esi, dword [ebp - 0x14]
add edi, 0x8d0
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 0x406f5f
cmp esi, 0x190
jg 0x406f5f
cmp dword [ebp - 0x18], 0xfa0
jle 0x406f66
mov dword [ebp - 0x1c], 0
cmp byte [edi], 0x20
jae 0x406fce
mov ecx, dword [ebx + 4]
push 3
add ecx, 0x8d0
push str.IP_DALL
push ecx
call fcn.004193d0
add esp, 0xc
test eax, eax
je 0x406fce
mov edi, dword [ebx + 4]
add edi, 0x8d0
xor esi, esi
jmp 0x406fcf
push eax
push edi
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
push eax
push esi
lea ecx, [ebp - 0x6f4]
push str.WriteExact:_Socket_error_while_writing.__bytes_d__error_d__i_d__j_d
push ecx
call fcn.00418db9
add esp, 0x18
lea ecx, [ebp - 0x68]
push 0x4325fc
call fcn.0040b8d0
lea edx, [ebp - 0x68]
push 0x4289b0
push edx
call fcn.00418ed4
inc edi
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x406f2a
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 0x4333b0
mov dword [ebp - 4], edi
call fcn.00405690
add esp, 0x10
test esi, esi
jle 0x407097
mov eax, dword [ebx + 0x108]
push 0
lea edx, [ebp + edi - 0x690]
push esi
push edx
push eax
call dword [sym.imp.WSOCK32.dll_recv]
test eax, eax
jne 0x40704d
push 0x4325fc
lea ecx, [ebp - 0x38]
call fcn.0040b8d0
lea ecx, [ebp - 0x38]
push 0x4289b0
push ecx
call fcn.00418ed4
cmp eax, 0xffffffff
jne 0x40708e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Socket_error_while_reading__d_n
push 1
push 0x4333b0
call fcn.00405690
add esp, 0x10
lea ecx, [ebp - 0x90]
push 0x4325fc
call fcn.0040b8d0
lea edx, [ebp - 0x90]
push 0x4289b0
push edx
call fcn.00418ed4
sub esi, eax
add edi, eax
jmp 0x40700e
mov edi, 1
push str.leyo_10
push edi
mov dword [ebp - 4], 0xffffffff
call fcn.0040d050
mov eax, dword [ebx + 4]
mov cl, byte [ebp - 0x687]
mov byte [eax + 0xb34], cl
mov edx, dword [ebx + 4]
movsx ecx, byte [ebp - 0x687]
mov eax, dword [edx + 0x410]
push eax
push ecx
push str.Num_Inst_d_oper_d
push edi
call fcn.0040d050
mov eax, dword [ebx + 4]
add esp, 0x18
mov esi, dword [eax + 0x410]
cmp esi, 0x16
jg 0x4076ba
je 0x407685
cmp esi, 0x14
ja case.0x407106.7
xor edx, edx
mov dl, byte [esi + 0x408048]
jmp dword [edx*4 + 0x408028]
lea eax, [ebp - 0x690]
push 0xa
push eax
mov ecx, ebx
mov dword [ebp - 4], 2
call fcn.0040aff0
or ecx, 0xffffffff
mov byte [ebp - 0x690], 0
mov dword [ebp - 4], ecx
lea edx, [ebp - 0x68f]
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 - 0x690]
push ecx
mov ecx, ebx
call fcn.0040b480
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 cl, byte [eax + 0x21a]
test cl, cl
je 0x4071f1
push str.enviara_arch
push edi
call fcn.0040d050
add esp, 8
mov ecx, ebx
push 0
push edi
call fcn.00404eb0
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 0x40720b
mov byte [ebp - 0x690], 0
lea edx, [ebp - 0x68f]
mov edi, str.Comun
or ecx, 0xffffffff
jmp 0x40713c
push edi
push 4
mov ecx, ebx
call fcn.00404eb0
test eax, eax
mov dword [ebp - 0x14], eax
je 0x4072c1
mov edx, dword [ebx + 4]
push 0x42b1f0
add edx, 0x21a
push edx
call fcn.0041906c
mov esi, eax
add esp, 8
test esi, esi
je case.0x407106.7
push esi
push edi
lea eax, [ebp - 0xa14]
push 0xfa
push eax
call fcn.00418f64
push esi
mov edi, eax
call fcn.00418f0e
add esp, 0x14
test edi, edi
je case.0x407106.7
mov ecx, dword [ebx + 4]
add ecx, 0x21a
push ecx
call fcn.0041a21c
lea edx, [ebp - 0xa14]
lea eax, [ebp - 0x9a6]
push edx
push eax
lea ecx, [ebp - 0x884]
push 0x42b8d4
push ecx
call fcn.00418db9
add esp, 0x14
lea edx, [ebp - 0x884]
push edx
push str.LEVERIT_CHAT
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
je 0x4072c1
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.0040d050
add esp, 8
mov ecx, ebx
push 0
push 0x10
call fcn.00406700
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 0x42b8b4
push 2
call fcn.0040d050
push 0x42c4e0
lea eax, [ebp - 0x9ec]
push str._sgo.
push eax
call fcn.00418db9
lea ecx, [ebp - 0x9ec]
push ecx
push str.busq_en_s
push 2
call fcn.0040d050
add esp, 0x20
lea edx, [ebp - 0x834]
lea eax, [ebp - 0x9ec]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x407405
push 0x42b898
push 2
call fcn.0040d050
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileA]
add esp, 8
cmp byte [ebp - 0x808], 0x2e
je 0x4073ec
mov edx, dword [ebx + 4]
lea ecx, [ebp - 0x808]
push ecx
push 0x42c4e0
add edx, 0x21a
push str._sgo_s
push edx
call fcn.00418db9
mov eax, dword [ebx + 4]
add eax, 0x21a
push eax
push str.enc_s
push 2
call fcn.0040d050
add esp, 0x1c
mov ecx, ebx
push 0
push 0x11
call fcn.00404eb0
test eax, eax
jne 0x4073ce
push str.no_env
push 2
call fcn.0040d050
add esp, 8
jmp 0x4073ec
push str.si_envio
push 2
call fcn.0040d050
mov ecx, dword [ebx + 4]
add ecx, 0x21a
push ecx
call fcn.00411fc0
add esp, 0xc
lea edx, [ebp - 0x834]
push edx
push esi
call edi
test eax, eax
jne 0x40736d
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0x42b86c
push 2
call fcn.0040d050
mov ecx, 0x80
xor eax, eax
lea edi, [ebp - 0x690]
add esp, 8
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x690]
push 0x200
push eax
mov ecx, ebx
call fcn.0040b480
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
lea ecx, [ebp - 0x9ec]
push eax
push str._s.lop
push ecx
call fcn.00418db9
add esp, 0xc
lea edx, [ebp - 0x834]
lea eax, [ebp - 0x9ec]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x4074db
mov eax, dword [ebx + 4]
lea ecx, [ebp - 0x808]
push ecx
lea edx, [eax + 0x420]
add eax, 0x21a
push edx
push 0x42b858
push eax
call fcn.00418db9
add esp, 0x10
mov ecx, ebx
push 0
push 0x12
call fcn.00404eb0
test eax, eax
je 0x4074c2
mov eax, dword [ebx + 4]
add eax, 0x21a
push eax
call fcn.00411fc0
add esp, 4
lea ecx, [ebp - 0x834]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x40747e
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, 0x80
xor eax, eax
lea edi, [ebp - 0x690]
lea edx, [ebp - 0x690]
rep stosd dword es:[edi], eax
push 0x200
push edx
mov ecx, ebx
call fcn.0040b480
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 dword [eax + 0xac4], 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 - 0x68f]
mov eax, ecx
mov esi, edi
mov edi, edx
mov byte [ebp - 0x690], 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 - 0x686]
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x690]
push ecx
mov ecx, ebx
call fcn.0040b480
xor eax, eax
mov edx, dword [ebx + 4]
mov byte [ebp + eax - 0x690], 0
mov byte [eax + edx + 0x420], 0
inc eax
cmp eax, 0x200
jl 0x407574
xor edi, edi
xor eax, eax
cmp eax, 4
jge 0x40764c
test edi, edi
jne 0x40764c
lea eax, [ebp - 0x690]
push 0x200
push eax
mov ecx, ebx
mov dword [ebp - 4], 4
call fcn.0040aff0
mov dword [ebp - 4], 0xffffffff
xor esi, esi
mov eax, 0xa
xor ecx, ecx
mov cl, byte [ebp + eax - 0x690]
add esi, ecx
inc eax
cmp eax, 0x1f5
jl 0x4075cc
cmp esi, dword [ebp - 0x68c]
jne 0x4075f5
mov edi, 1
mov byte [ebp - 0x690], 0
jmp 0x4075fc
mov byte [ebp - 0x68f], 0
lea edx, [ebp - 0x690]
push 0xa
push edx
mov ecx, ebx
call fcn.0040b480
jmp 0x407591
mov edx, dword [ebx + 4]
xor ecx, ecx
test edi, edi
sete cl
mov dword [edx + 0xac4], ecx
mov edi, dword [ebx + 4]
add edi, 0x420
mov ecx, 0x78
lea esi, [ebp - 0x686]
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.0040d050
mov eax, dword [ebx + 4]
add esp, 8
mov ecx, ebx
push 0
push 0x16
mov dword [eax + 0xb3c], edi
call fcn.00406700
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, 0x1a
jg 0x407bce
je 0x407a18
sub esi, 0x17
je 0x407983
dec esi
je 0x40775d
dec esi
jne case.0x407106.7
push str.traiga_arch_34
push edi
call fcn.0040d050
add esp, 8
mov ecx, ebx
push 0
push 0x22
call fcn.004057c0
mov ecx, dword [ebx + 4]
mov eax, dword [ecx + 0xac4]
test eax, eax
jne case.0x407106.7
push 0xa
push 0x42c4e0
lea edx, [ebp - 0x884]
push str._sprocess.exe__n_d
push edx
call fcn.00418db9
add esp, 0x10
lea eax, [ebp - 0x884]
push 5
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
lea ecx, [ebp - 0x884]
push ecx
push str.ejecuto__s
push 2
call fcn.0040d050
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.0040d050
mov edx, dword [ebx + 4]
mov edi, str.Comun
or ecx, 0xffffffff
xor eax, eax
add esp, 8
mov dword [edx + 0xac4], 0
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp - 0x68f]
mov eax, ecx
mov esi, edi
mov edi, edx
mov byte [ebp - 0x690], 0
shr ecx, 2
mov byte [ebp - 0x686], 0x22
mov byte [ebp - 0x685], 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 0x407810
push 0x200
push str.__writing__d_bytes_n
push 0xa
push 0x4333b0
call fcn.00405690
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 - 0x690]
push ecx
push edx
push eax
call edi
cmp eax, 0xffffffff
je 0x407877
test eax, eax
je 0x407877
add esi, eax
cmp esi, 0x200
jl 0x4077e2
mov esi, 0xa
mov dword [ebp - 4], 6
push esi
push str.__reading__d_bytes_n
push esi
push 0x4333b0
xor edi, edi
call fcn.00405690
add esp, 0x10
test esi, esi
jle 0x4078f8
mov ecx, dword [ebx + 0x108]
push 0
lea eax, [ebp + edi - 0x690]
push esi
push eax
push ecx
call dword [sym.imp.WSOCK32.dll_recv]
test eax, eax
jne 0x4078b4
push 0x4325fc
lea ecx, [ebp - 0x98]
call fcn.0040b8d0
lea edx, [ebp - 0x98]
push 0x4289b0
push edx
call fcn.00418ed4
push eax
push esi
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
push eax
push 0x200
lea ecx, [ebp - 0x6f4]
push str.WriteExact:_Socket_error_while_writing.__bytes_d__error_d__i_d__j_d
push ecx
call fcn.00418db9
add esp, 0x18
lea ecx, [ebp - 0x58]
push 0x4325fc
call fcn.0040b8d0
lea edx, [ebp - 0x58]
push 0x4289b0
push edx
call fcn.00418ed4
cmp eax, 0xffffffff
jne 0x4078ef
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Socket_error_while_reading__d_n
push 1
push 0x4333b0
call fcn.00405690
add esp, 0x10
lea ecx, [ebp - 0x28]
push 0x4325fc
call fcn.0040b8d0
lea eax, [ebp - 0x28]
push 0x4289b0
push eax
call fcn.00418ed4
sub esi, eax
add edi, eax
jmp 0x407832
push str.si_leyo_del_1
push 1
mov dword [ebp - 4], 0xffffffff
call fcn.0040d050
movsx ecx, byte [ebp - 0x690]
push ecx
push str.viene__d
push 1
call fcn.0040d050
movsx edx, byte [ebp - 0x690]
mov eax, dword [ebx + 4]
add esp, 0x14
mov dword [eax + 0xac4], 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.0040d050
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 - 0x68f]
mov eax, ecx
mov esi, edi
mov edi, edx
mov byte [ebp - 0x690], 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 - 0x684]
mov byte [ebp - 0x686], 0x6a
mov byte [ebp - 0x685], 0x64
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x690]
push ecx
mov ecx, ebx
call fcn.0040b480
mov edx, dword [ebx + 4]
xor eax, eax
mov dword [edx + 0xac4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, str.Test
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x68f]
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
mov eax, dword [ebx + 0x108]
and ecx, 3
cmp eax, 0xffffffff
rep movsb byte es:[edi], byte [esi]
je 0x407a9a
push 0x200
push str.__writing__d_bytes_n
push 0xa
push 0x4333b0
call fcn.00405690
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 - 0x690]
push ecx
push edx
push eax
call edi
cmp eax, 0xffffffff
je 0x407afc
test eax, eax
je 0x407afc
add esi, eax
cmp esi, 0x200
jl 0x407a6c
mov esi, 0x200
mov dword [ebp - 4], 8
push esi
push str.__reading__d_bytes_n
push 0xa
push 0x4333b0
xor edi, edi
call fcn.00405690
add esp, 0x10
test esi, esi
jle 0x407b7d
mov ecx, dword [ebx + 0x108]
push 0
lea eax, [ebp + edi - 0x690]
push esi
push eax
push ecx
call dword [sym.imp.WSOCK32.dll_recv]
test eax, eax
jne 0x407b39
push 0x4325fc
lea ecx, [ebp - 0x30]
call fcn.0040b8d0
lea edx, [ebp - 0x30]
push 0x4289b0
push edx
call fcn.00418ed4
push eax
push esi
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
push eax
push 0x200
lea ecx, [ebp - 0x6f4]
push str.WriteExact:_Socket_error_while_writing.__bytes_d__error_d__i_d__j_d
push ecx
call fcn.00418db9
add esp, 0x18
lea ecx, [ebp - 0x78]
push 0x4325fc
call fcn.0040b8d0
lea edx, [ebp - 0x78]
push 0x4289b0
push edx
call fcn.00418ed4
cmp eax, 0xffffffff
jne 0x407b74
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Socket_error_while_reading__d_n
push 1
push 0x4333b0
call fcn.00405690
add esp, 0x10
lea ecx, [ebp - 0x40]
push 0x4325fc
call fcn.0040b8d0
lea eax, [ebp - 0x40]
push 0x4289b0
push eax
call fcn.00418ed4
sub esi, eax
add edi, eax
jmp 0x407abd
lea ecx, [ebp - 0x690]
push ecx
push str.rr_s
call fcn.0041939f
add esp, 8
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, 0x7c
je 0x407e04
sub esi, 0x36d
je 0x407c0d
dec esi
jne case.0x407106.7
push str.pide_verif_si_funciona
push 2
call fcn.0040d050
mov edx, dword [ebx + 4]
add esp, 8
xor eax, eax
mov dword [edx + 0xac4], 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 + 0xac4], 0
mov eax, dword [ebp - 0x68b]
mov ecx, dword [0x433b68]
mov dl, byte [0x433b6c]
mov byte [ebp - 0x690], 0x64
mov dword [ebp - 0x68e], eax
mov dword [ebp - 0x686], ecx
mov byte [ebp - 0x682], dl
mov byte [ebp - 0x67f], 0x54
mov byte [ebp - 0x67e], 1
call fcn.0040e890
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x67c]
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 - 0x67c]
push ecx
push str.id_s
push 2
call fcn.0040d050
push str.1001_entra_a_1_y_envia_512
push 2
call fcn.0040d050
add esp, 0x14
lea edx, [ebp - 0x690]
mov ecx, ebx
push 0x200
push edx
call fcn.0040b4f0
lea eax, [ebp - 0x690]
push 0x10
push eax
mov ecx, ebx
mov dword [ebp - 4], 0xc
call fcn.0040b060
push 9
lea ecx, [ebp - 0x690]
push str.suspenten
push ecx
mov dword [ebp - 4], 0xffffffff
call fcn.004193d0
add esp, 0xc
test eax, eax
jne 0x407d0a
push 0xa
call fcn.0040e8f0
push str.susp
push 2
call fcn.0040d050
mov edx, dword [ebx + 4]
add esp, 0xc
xor esi, esi
mov dword [edx + 0xac4], esi
jmp 0x407d0c
xor esi, esi
push 9
lea eax, [ebp - 0x690]
push str.suspenday
push eax
call fcn.004193d0
add esp, 0xc
test eax, eax
jne 0x407d45
push 1
call fcn.0040e8b0
push str.susp
push 2
call fcn.0040d050
mov ecx, dword [ebx + 4]
add esp, 0xc
mov dword [ecx + 0xac4], esi
push 9
lea edx, [ebp - 0x690]
push str.suspenwee
push edx
call fcn.004193d0
add esp, 0xc
test eax, eax
jne 0x407d7e
push 4
call fcn.0040e8b0
push str.susp
push 2
call fcn.0040d050
mov eax, dword [ebx + 4]
add esp, 0xc
mov dword [eax + 0xac4], esi
push 9
lea ecx, [ebp - 0x690]
push str.accepted
push ecx
call fcn.004193d0
add esp, 0xc
test eax, eax
jne 0x407dc7
push str.si_acc
push 2
call fcn.0040d050
mov edx, dword [ebx + 4]
add esp, 8
xor eax, eax
mov dword [edx + 0xac4], 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.0040d050
jmp 0x407b8e
mov dword [eax + 0xac4], 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 - 0x68f]
mov eax, ecx
mov esi, edi
mov edi, edx
mov byte [ebp - 0x690], 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 - 0x686]
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x690]
push ecx
mov ecx, ebx
call fcn.0040b480
xor eax, eax
mov edx, dword [ebx + 4]
mov byte [ebp + eax - 0x690], 0
mov byte [eax + edx + 0x420], 0
inc eax
cmp eax, 0x200
jl 0x407e68
xor edi, edi
mov dword [ebp - 0x1c], edi
xor eax, eax
cmp eax, 4
jge 0x407f40
test edi, edi
jne 0x407f40
lea eax, [ebp - 0x690]
push 0x200
push eax
mov ecx, ebx
mov dword [ebp - 4], 0xa
call fcn.0040aff0
mov dword [ebp - 4], 0xffffffff
xor esi, esi
mov eax, 0xa
xor ecx, ecx
mov cl, byte [ebp + eax - 0x690]
add esi, ecx
inc eax
cmp eax, 0x1f5
jl 0x407ec3
cmp esi, dword [ebp - 0x68c]
jne 0x407eef
mov edi, 1
mov byte [ebp - 0x690], 0
mov dword [ebp - 0x1c], edi
jmp 0x407ef6
mov byte [ebp - 0x68f], 0
lea edx, [ebp - 0x690]
push 0xa
push edx
mov ecx, ebx
call fcn.0040b480
jmp 0x407e88
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebx + 4]
xor ecx, ecx
lea esi, [ebp - 0x686]
test eax, eax
sete cl
mov dword [edx + 0xac4], ecx
mov edi, dword [ebx + 4]
add edi, 0x420
mov ecx, 0x78
test eax, eax
rep movsd dword es:[edi], dword [esi]
je case.0x407106.7
push 0x42c4e0
lea eax, [ebp - 0x8e8]
push str._s_ninvsql.dat
push eax
call fcn.00418db9
lea ecx, [ebp - 0x8e8]
push ecx
call fcn.00411fc0
lea edx, [ebp - 0x8e8]
push 0x42b298
push edx
call fcn.0041906c
mov esi, eax
add esp, 0x18
test esi, esi
je case.0x407106.7
lea eax, [ebp - 0x686]
push esi
push eax
call fcn.004188fb
add esp, 4
push eax
call fcn.004225c6
push esi
call fcn.00418f0e
mov ecx, dword [ebp - 0xc]
add esp, 0xc
xor eax, eax
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret