Function at 0x404e40
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41fb80
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc24
mov al, byte [ebp + 8]
push ebx
push esi
mov ebx, ecx
push edi
mov byte [ebp - 0x640], al
mov edi, str.Comun
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x63f]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [ebp - 0x10], esp
mov eax, ecx
mov esi, edi
mov edi, edx
mov dword [ebp - 0x1c], 0
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov dword [ebp - 0x14], 1
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 4]
add ecx, 0x21a
push ecx
call fcn.00404e10
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x636]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [ebp - 0x2c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [ebx + 4]
and ecx, 3
add eax, 0x21a
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x24]
push ecx
push edx
push eax
call fcn.00404d70
mov ecx, 5
lea esi, [ebp - 0x30]
lea edi, [ebp - 0x46a]
mov dword [ebp - 0x28], 0x400
mov dword [ebp - 0x30], 8
add esp, 0x10
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x34]
lea edx, [ebp - 0x514]
push ecx
push edx
mov dword [ebp - 0x34], 0x64
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
mov eax, dword [ebx + 4]
push 0x4281a8
add eax, 0x21a
push eax
call fcn.004163dc
add esp, 8
mov dword [ebp - 0x18], eax
test eax, eax
jne 0x404faf
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0xc]
test eax, eax
push 0x200
je 0x404f64
lea ecx, [ebp - 0x640]
push ecx
mov ecx, ebx
call fcn.0040adf0
jmp 0x404f72
lea edx, [ebp - 0x640]
mov ecx, ebx
push edx
call fcn.0040ad10
push str.no_abre_arch
push 2
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 - 0x3c]
push str.User_Cancelled
call fcn.0040b170
lea eax, [ebp - 0x3c]
push 0x4259b0
push eax
call fcn.00416244
mov esi, dword [ebp + 0xc]
push 0x200
test esi, esi
je 0x404fcb
lea ecx, [ebp - 0x640]
push ecx
mov ecx, ebx
call fcn.0040adf0
jmp 0x404fd9
lea edx, [ebp - 0x640]
mov ecx, ebx
push edx
call fcn.0040ad10
mov eax, dword [ebp + 8]
mov edi, 1
cmp eax, edi
jne 0x405096
test esi, esi
mov dword [ebp - 4], 0
push 0xa
je 0x405006
lea eax, [ebp - 0x640]
mov ecx, ebx
push eax
call fcn.0040a960
jmp 0x405014
lea ecx, [ebp - 0x640]
push ecx
mov ecx, ebx
call fcn.0040a880
mov al, byte [ebp - 0x640]
mov dword [ebp - 4], 0xffffffff
test al, al
jne 0x405096
push str.errd2
push 2
call fcn.0040c720
mov edx, dword [ebx + 4]
add esp, 8
mov eax, edi
mov dword [edx + 0x808], edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp dword [ebp - 0x1c], 4
jge 0x40520e
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x40520e
mov ecx, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x28]
mov eax, ecx
cdq
idiv esi
mov edi, eax
test edi, edi
jle 0x405116
mov dword [ebp + 8], edi
jmp 0x4050c4
mov esi, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x18]
lea edx, [ebp - 0xc30]
push ecx
push 1
push esi
push edx
call fcn.004162d4
mov eax, dword [ebp + 0xc]
add esp, 0x10
test eax, eax
je 0x4050f5
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 0xc30]
push eax
push ecx
mov ecx, ebx
call fcn.0040adf0
jmp 0x405107
mov edx, dword [ebp - 0x28]
lea eax, [ebp - 0xc30]
push edx
push eax
mov ecx, ebx
call fcn.0040ad10
mov eax, dword [ebp + 8]
dec eax
mov dword [ebp + 8], eax
jne 0x4050c1
mov ecx, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x28]
mov eax, ecx
cdq
idiv esi
test edx, edx
je 0x405175
mov eax, edi
mov edx, dword [ebp - 0x18]
imul eax, esi
push edx
sub ecx, eax
push 1
push ecx
lea ecx, [ebp - 0xc30]
push ecx
call fcn.004162d4
mov eax, dword [ebp + 0xc]
add esp, 0x10
test eax, eax
je 0x40515d
imul edi, dword [ebp - 0x28]
mov edx, dword [ebp - 0x2c]
lea eax, [ebp - 0xc30]
sub edx, edi
mov ecx, ebx
push edx
push eax
call fcn.0040adf0
jmp 0x405175
imul edi, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
lea edx, [ebp - 0xc30]
sub ecx, edi
push ecx
push edx
mov ecx, ebx
call fcn.0040ad10
mov eax, dword [ebp - 0x18]
push eax
call fcn.0041627e
mov eax, dword [ebp + 0xc]
add esp, 4
xor esi, esi
mov dword [ebp - 4], 2
cmp eax, esi
push 0xa
je 0x4051a3
lea ecx, [ebp - 0x640]
push ecx
mov ecx, ebx
call fcn.0040a960
jmp 0x4051b1
lea edx, [ebp - 0x640]
mov ecx, ebx
push edx
call fcn.0040a880
mov al, byte [ebp - 0x640]
mov dword [ebp - 4], 0xffffffff
test al, al
je 0x4051ce
mov eax, dword [ebx + 4]
mov dword [ebp - 0x14], esi
mov dword [eax + 0x808], esi
inc dword [ebp - 0x1c]
jmp 0x405096
mov edx, dword [ebx + 4]
mov eax, dword [ebp - 0x14]
push 0
push str.bien
push 0
push 0x42f668
mov dword [edx + 0x808], eax
call fcn.00405580
mov ecx, dword [ebp - 0xc]
add esp, 0x10
mov eax, 1
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8