Function at 0x406700
Capabilities:
Create directory
Get hostname

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x422840
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x658
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 0x10], esp
push str.entra_traiga
push 1
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 1
call fcn.0040d050
mov al, byte [ebp + 8]
mov edi, str.Comun
mov byte [ebp - 0x664], al
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x663]
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]
mov ecx, dword [ebx + 4]
add ecx, 0x420
push ecx
call fcn.00404e80
mov edx, eax
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
lea esi, [ebp - 0x65a]
sub edi, ecx
mov eax, ecx
mov dword [ebp - 0x14], esi
mov esi, edi
mov edi, dword [ebp - 0x14]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push edx
and ecx, 3
push str.alla_s
rep movsb byte es:[edi], byte [esi]
push 2
mov dword [ebp - 0x20], edx
call fcn.0040d050
mov eax, dword [ebp + 8]
add esp, 0x18
cmp eax, 0x22
jne 0x406832
push str.opcion_25__34
push 1
call fcn.0040d050
mov ecx, dword [ebx + 4]
push 0x42c4e0
add ecx, 0x420
push str._scome
push ecx
call fcn.00418db9
mov edx, dword [ebx + 4]
add esp, 0x14
add edx, 0x420
push 0
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov eax, dword [ebx + 4]
push 0xa
push 0x42c4e0
add eax, 0x420
push str._scome_arrive_d.dat
push eax
call fcn.00418db9
mov ecx, dword [ebp - 0x20]
push ecx
push str.aqui_s
push 2
call fcn.0040d050
add esp, 0x1c
jmp 0x4068ee
cmp eax, 0x10
jne 0x406870
push str.opcion_16
push 1
call fcn.0040d050
mov edi, str.Agent
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp - 0x4d4]
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]
jmp 0x4068ee
mov edi, str.Priv
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x4d4]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [ebp - 0x574]
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 - 0x27c]
mov byte [ebp - 0x575], 0
push ecx
push edx
call fcn.0040e010
lea eax, [ebp - 0x574]
push eax
push str.id__s
push 1
call fcn.0040d050
lea ecx, [ebp - 0x574]
lea edx, [ebp - 0x574]
push ecx
push edx
call fcn.004053e0
lea eax, [ebp - 0x574]
push eax
push str.id_limpio_s
push 1
call fcn.0040d050
add esp, 0x28
push str.get_cname
push 1
mov dword [ebp - 0x28], 0x64
call fcn.0040d050
add esp, 8
lea ecx, [ebp - 0x28]
lea edx, [ebp - 0x538]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
push str.pedira_long
push 1
call fcn.0040d050
lea eax, [ebp - 0x24]
lea ecx, [ebp - 0x30]
push eax
mov eax, dword [ebx + 4]
lea edx, [ebp - 0x38]
push ecx
add eax, 0x420
push edx
push eax
call fcn.00404d70
mov ecx, 5
lea esi, [ebp - 0x3c]
lea edi, [ebp - 0x48e]
mov dword [ebp - 0x34], 0x400
mov dword [ebp - 0x3c], 8
push str.escribira_512
rep movsd dword es:[edi], dword [esi]
push 1
call fcn.0040d050
mov edi, 0x432efc
or ecx, 0xffffffff
xor eax, eax
add esp, 0x20
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp - 0x4a3]
mov eax, ecx
mov esi, edi
mov edi, edx
mov byte [ebp - 0x4a7], 0x45
shr ecx, 2
mov byte [ebp - 0x4a6], 0x6d
mov byte [ebp - 0x4a5], 0x30
mov byte [ebp - 0x4a4], 0x31
push 0x200
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x4069c8
lea ecx, [ebp - 0x664]
push ecx
mov ecx, ebx
call fcn.0040b560
jmp 0x4069d6
lea edx, [ebp - 0x664]
mov ecx, ebx
push edx
call fcn.0040b480
push str.leera_512
push 1
call fcn.0040d050
add esp, 8
mov dword [ebp - 4], 0
test esi, esi
push 0x200
je 0x406a05
lea eax, [ebp - 0x664]
mov ecx, ebx
push eax
call fcn.0040b0d0
jmp 0x406a13
lea ecx, [ebp - 0x664]
push ecx
mov ecx, ebx
call fcn.0040aff0
push str.leyo_512
push 1
mov dword [ebp - 4], 0xffffffff
call fcn.0040d050
mov al, byte [ebp - 0x664]
add esp, 8
mov ecx, 5
lea esi, [ebp - 0x48e]
lea edi, [ebp - 0x50]
test al, al
rep movsd dword es:[edi], dword [esi]
jne 0x406a65
mov edx, dword [ebx + 4]
xor eax, eax
mov dword [edx + 0xac4], 0xfffffffe
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push str.paso1
push 1
call fcn.0040d050
mov al, byte [ebp - 0x664]
add esp, 8
cmp al, 1
jne 0x406aa3
mov eax, dword [ebx + 4]
mov dword [eax + 0xac4], 0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
push str.paso2
push 1
call fcn.0040d050
mov ecx, dword [ebx + 4]
add ecx, 0x420
push ecx
call fcn.00411fc0
push str.borro
push 1
call fcn.0040d050
mov edx, dword [ebx + 4]
push 0x42b298
add edx, 0x420
push edx
call fcn.0041906c
add esp, 0x1c
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x406b25
push str.no_pudo_crear
push 1
call fcn.0040d050
push 0
push str.ya_envio_los_10_n
push 0
push 0x4333b0
call fcn.00405690
add esp, 0x18
lea ecx, [ebp - 0x5c]
push str.User_Cancelled
call fcn.0040b8d0
lea eax, [ebp - 0x5c]
push 0x4289b0
push eax
call fcn.00418ed4
push str.si_pudo_crear
push 1
call fcn.0040d050
mov edi, dword [ebp - 0x48]
add esp, 8
cmp dword [ebp - 0x18], 4
jge 0x406d5f
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x406d5f
mov eax, dword [ebp - 0x4c]
cdq
idiv edi
xor esi, esi
mov dword [ebp + 8], eax
cmp esi, dword [ebp + 8]
jge 0x406bf5
push esi
push str.leera_pedazo__d
push 1
call fcn.0040d050
mov eax, dword [ebp + 0xc]
add esp, 0xc
test eax, eax
mov dword [ebp - 4], 2
push edi
je 0x406b8f
lea ecx, [ebp - 0x664]
push ecx
mov ecx, ebx
call fcn.0040b0d0
jmp 0x406b9d
lea edx, [ebp - 0x664]
mov ecx, ebx
push edx
call fcn.0040aff0
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x664]
push eax
push 1
push edi
push ecx
mov dword [ebp - 4], 0xffffffff
call fcn.0041910b
add esp, 0x10
inc esi
jmp 0x406b57
mov eax, dword [ebp - 0x4c]
cdq
idiv edi
test edx, edx
je 0x406c6f
push str.leera_fin
push 1
call fcn.0040d050
mov eax, dword [ebp + 0xc]
add esp, 8
test eax, eax
mov dword [ebp - 4], 4
je 0x406c38
mov eax, edi
mov esi, dword [ebp - 0x4c]
imul eax, dword [ebp + 8]
sub esi, eax
lea ecx, [ebp - 0x664]
push esi
push ecx
mov ecx, ebx
call fcn.0040b0d0
jmp 0x406c52
mov edx, edi
mov esi, dword [ebp - 0x4c]
imul edx, dword [ebp + 8]
sub esi, edx
lea eax, [ebp - 0x664]
push esi
push eax
mov ecx, ebx
call fcn.0040aff0
mov ecx, dword [ebp - 0x14]
lea edx, [ebp - 0x664]
push ecx
push 1
push esi
push edx
mov dword [ebp - 4], 0xffffffff
call fcn.0041910b
add esp, 0x10
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.00418f0e
lea edx, [ebp - 0x24]
lea eax, [ebp - 0x30]
push edx
mov edx, dword [ebx + 4]
lea ecx, [ebp - 0x38]
push eax
add edx, 0x420
push ecx
push edx
call fcn.00404d70
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x38]
add esp, 0x14
cmp ecx, eax
jne 0x406cfa
mov ecx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x30]
cmp eax, ecx
jne 0x406cfa
push str.bien
push 1
mov byte [ebp - 0x664], 1
call fcn.0040d050
add esp, 8
jmp 0x406d12
push 0x42b698
push 1
call fcn.0040d050
add esp, 8
mov byte [ebp - 0x664], 0
jmp 0x406d2a
mov al, byte [ebp - 0x664]
test al, al
je 0x406d2a
mov edx, dword [ebx + 4]
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [edx + 0xac4], eax
mov eax, dword [ebp + 0xc]
push 0xa
test eax, eax
je 0x406d49
lea eax, [ebp - 0x664]
mov ecx, ebx
push eax
call fcn.0040b560
inc dword [ebp - 0x18]
jmp 0x406b37
lea ecx, [ebp - 0x664]
push ecx
mov ecx, ebx
call fcn.0040b480
inc dword [ebp - 0x18]
jmp 0x406b37
push str.sale_loop
push 1
call fcn.0040d050
mov edx, dword [ebx + 4]
mov eax, dword [ebp - 0x1c]
push 0
push str.bien
push 0
push 0x4333b0
mov dword [edx + 0xac4], eax
call fcn.00405690
add esp, 0x18
jmp 0x406a8b