Function at 0x4065f0
Capabilities:
Create directory
Get hostname

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41fba0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x654
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.0040c720
mov al, byte [ebp + 8]
mov edi, str.Comun
mov byte [ebp - 0x660], al
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x65f]
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.00404e10
mov edx, eax
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
lea esi, [ebp - 0x656]
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.0040c720
mov eax, dword [ebp + 8]
add esp, 0x18
cmp eax, 0x22
jne 0x406722
push str.opcion_25__34
push 1
call fcn.0040c720
mov ecx, dword [ebx + 4]
push 0x429438
add ecx, 0x420
push str._scome
push ecx
call fcn.00416129
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 0x429438
add eax, 0x420
push str._scome_arrive_d.dat
push eax
call fcn.00416129
mov ecx, dword [ebp - 0x20]
push ecx
push str.aqui_s
push 2
call fcn.0040c720
add esp, 0x1c
jmp 0x4067de
cmp eax, 0x10
jne 0x406760
push str.opcion_16
push 1
call fcn.0040c720
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 - 0x4d0]
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 0x4067de
mov edi, str.Priv
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x4d0]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [ebp - 0x570]
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 - 0x278]
mov byte [ebp - 0x571], 0
push ecx
push edx
call fcn.0040d430
lea eax, [ebp - 0x570]
push eax
push str.id__s
push 1
call fcn.0040c720
lea ecx, [ebp - 0x570]
lea edx, [ebp - 0x570]
push ecx
push edx
call fcn.004052d0
lea eax, [ebp - 0x570]
push eax
push str.id_limpio_s
push 1
call fcn.0040c720
add esp, 0x28
push str.get_cname
push 1
mov dword [ebp - 0x24], 0x64
call fcn.0040c720
add esp, 8
lea ecx, [ebp - 0x24]
lea edx, [ebp - 0x534]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
push str.pedira_long
push 1
call fcn.0040c720
mov edx, dword [ebx + 4]
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x34]
push eax
add edx, 0x420
push ecx
push edx
call fcn.00404d70
mov ecx, 5
lea esi, [ebp - 0x38]
lea edi, [ebp - 0x48a]
mov dword [ebp - 0x30], 0x400
mov dword [ebp - 0x38], 8
push str.escribira_512
rep movsd dword es:[edi], dword [esi]
push 1
call fcn.0040c720
mov esi, dword [ebp + 0xc]
add esp, 0x1c
test esi, esi
push 0x200
je 0x406871
lea eax, [ebp - 0x660]
mov ecx, ebx
push eax
call fcn.0040adf0
jmp 0x40687f
lea ecx, [ebp - 0x660]
push ecx
mov ecx, ebx
call fcn.0040ad10
push str.leera_512
push 1
call fcn.0040c720
add esp, 8
mov dword [ebp - 4], 0
test esi, esi
push 0x200
je 0x4068ae
lea edx, [ebp - 0x660]
mov ecx, ebx
push edx
call fcn.0040a960
jmp 0x4068bc
lea eax, [ebp - 0x660]
mov ecx, ebx
push eax
call fcn.0040a880
push str.leyo_512
push 1
mov dword [ebp - 4], 0xffffffff
call fcn.0040c720
mov al, byte [ebp - 0x660]
add esp, 8
mov ecx, 5
lea esi, [ebp - 0x48a]
lea edi, [ebp - 0x4c]
test al, al
rep movsd dword es:[edi], dword [esi]
jne 0x40690e
mov ecx, dword [ebx + 4]
xor eax, eax
mov dword [ecx + 0x808], 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.0040c720
mov al, byte [ebp - 0x660]
add esp, 8
cmp al, 1
jne 0x40694c
mov edx, dword [ebx + 4]
mov dword [edx + 0x808], 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.0040c720
mov eax, dword [ebx + 4]
add eax, 0x420
push eax
call fcn.004105c0
push str.borro
push 1
call fcn.0040c720
mov ecx, dword [ebx + 4]
push 0x428250
add ecx, 0x420
push ecx
call fcn.004163dc
add esp, 0x1c
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x4069cd
push str.no_pudo_crear
push 1
call fcn.0040c720
push 0
push str.ya_envio_los_10_n
push 0
push 0x42f668
call fcn.00405580
add esp, 0x18
lea ecx, [ebp - 0x54]
push str.User_Cancelled
call fcn.0040b170
lea edx, [ebp - 0x54]
push 0x4259b0
push edx
call fcn.00416244
push str.si_pudo_crear
push 1
call fcn.0040c720
mov edi, dword [ebp - 0x44]
add esp, 8
cmp dword [ebp - 0x18], 4
jge 0x406c02
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x406c02
mov eax, dword [ebp - 0x48]
cdq
idiv edi
xor esi, esi
mov dword [ebp + 8], eax
cmp esi, dword [ebp + 8]
jge 0x406a9d
push esi
push str.leera_pedazo__d
push 1
call fcn.0040c720
mov eax, dword [ebp + 0xc]
add esp, 0xc
test eax, eax
mov dword [ebp - 4], 2
push edi
je 0x406a37
lea eax, [ebp - 0x660]
mov ecx, ebx
push eax
call fcn.0040a960
jmp 0x406a45
lea ecx, [ebp - 0x660]
push ecx
mov ecx, ebx
call fcn.0040a880
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0x660]
push edx
push 1
push edi
push eax
mov dword [ebp - 4], 0xffffffff
call fcn.004163ef
add esp, 0x10
inc esi
jmp 0x4069ff
mov eax, dword [ebp - 0x48]
cdq
idiv edi
test edx, edx
je 0x406b17
push str.leera_fin
push 1
call fcn.0040c720
mov eax, dword [ebp + 0xc]
add esp, 8
test eax, eax
mov dword [ebp - 4], 4
je 0x406ae0
mov edx, edi
mov esi, dword [ebp - 0x48]
imul edx, dword [ebp + 8]
sub esi, edx
lea eax, [ebp - 0x660]
push esi
push eax
mov ecx, ebx
call fcn.0040a960
jmp 0x406afa
mov ecx, edi
mov esi, dword [ebp - 0x48]
imul ecx, dword [ebp + 8]
sub esi, ecx
lea edx, [ebp - 0x660]
push esi
push edx
mov ecx, ebx
call fcn.0040a880
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x660]
push eax
push 1
push esi
push ecx
mov dword [ebp - 4], 0xffffffff
call fcn.004163ef
add esp, 0x10
mov eax, dword [ebp - 0x14]
push eax
call fcn.0041627e
mov eax, dword [ebx + 4]
lea ecx, [ebp - 0x2c]
lea edx, [ebp - 0x34]
push ecx
add eax, 0x420
push edx
push eax
call fcn.00404d70
mov ecx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x34]
add esp, 0x10
cmp eax, ecx
jne 0x406b9d
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x2c]
cmp eax, edx
jne 0x406b9d
push str.bien
push 1
mov byte [ebp - 0x660], 1
call fcn.0040c720
add esp, 8
jmp 0x406bb5
push 0x428650
push 1
call fcn.0040c720
add esp, 8
mov byte [ebp - 0x660], 0
jmp 0x406bcd
mov al, byte [ebp - 0x660]
test al, al
je 0x406bcd
mov ecx, dword [ebx + 4]
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ecx + 0x808], eax
mov eax, dword [ebp + 0xc]
push 0xa
test eax, eax
je 0x406bec
lea edx, [ebp - 0x660]
mov ecx, ebx
push edx
call fcn.0040adf0
inc dword [ebp - 0x18]
jmp 0x4069df
lea eax, [ebp - 0x660]
mov ecx, ebx
push eax
call fcn.0040ad10
inc dword [ebp - 0x18]
jmp 0x4069df
push str.sale_loop
push 1
call fcn.0040c720
mov ecx, dword [ebx + 4]
mov edx, dword [ebp - 0x1c]
push 0
push str.bien
push 0
push 0x42f668
mov dword [ecx + 0x808], edx
call fcn.00405580
add esp, 0x18
jmp 0x406934