Function at 0x402200
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x420070]
xor eax, ebp
mov dword [ebp - 8], eax
push 0
call fcn.0040ffe7
add esp, 4
push eax
call fcn.0040ffb8
add esp, 4
mov dword [ebp - 0x114], 0x104
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x110]
push ecx
call dword [sym.imp.KERNEL32.DLL_GetComputerNameA]
test eax, eax
jne 0x40224f
mov byte [ebp - 0x110], 0
lea edx, [ebp - 0x110]
push edx
call fcn.0040f9f0
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xa
jb 0x402280
mov byte [ebp - 0x107], 0
lea eax, [ebp - 0x110]
push eax
call fcn.0040f9f0
add esp, 4
mov dword [ebp - 4], eax
call fcn.0040ffc5
mov ecx, 0xe
sub ecx, dword [ebp - 4]
xor edx, edx
div ecx
mov dword [ebp - 0x118], edx
mov dword [ebp - 0x11c], 0
jmp 0x4022b2
mov edx, dword [ebp - 0x11c]
add edx, 1
mov dword [ebp - 0x11c], edx
cmp dword [ebp - 0x11c], 0x10
jge 0x4024a8
mov eax, dword [ebp - 0x118]
cmp eax, dword [ebp - 0x11c]
jne 0x40231c
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x11c]
mov byte [ecx], 0x2d
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x11c]
mov byte [edx + 1], 0
lea eax, [ebp - 0x110]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0040fed0
add esp, 8
mov edx, dword [ebp + 8]
push edx
call fcn.0040f9f0
add esp, 4
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x11c]
mov byte [eax], 0x2d
jmp 0x4024a3
call fcn.0040ffc5
cdq
mov ecx, 0xfe
idiv ecx
movsx edx, dl
add edx, 1
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x11c]
mov byte [eax], dl
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x11c]
movsx edx, byte [ecx]
cmp edx, 0x22
jle 0x40231c
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x11c]
movsx ecx, byte [eax]
cmp ecx, 0x27
je 0x40231c
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x11c]
movsx eax, byte [edx]
cmp eax, 0x60
je 0x40231c
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x11c]
movsx edx, byte [ecx]
cmp edx, 0x5c
je 0x40231c
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x11c]
movsx ecx, byte [eax]
cmp ecx, 0x3c
je 0x40231c
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x11c]
movsx eax, byte [edx]
cmp eax, 0x3e
je 0x40231c
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x11c]
movsx edx, byte [ecx]
cmp edx, 0xb6
je 0x40231c
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x11c]
movsx ecx, byte [eax]
cmp ecx, 0x5e
je 0x40231c
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x11c]
movsx eax, byte [edx]
cmp eax, 0x26
je 0x40231c
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x11c]
movsx edx, byte [ecx]
cmp edx, 0x7b
je 0x40231c
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x11c]
movsx ecx, byte [eax]
cmp ecx, 0x7d
je 0x40231c
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x11c]
movsx eax, byte [edx]
cmp eax, 0x7c
je 0x40231c
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x11c]
movsx edx, byte [ecx]
cmp edx, 0x5b
je 0x40231c
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x11c]
movsx ecx, byte [eax]
cmp ecx, 0x5d
je 0x40231c
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x11c]
movsx eax, byte [edx]
cmp eax, 0x3f
je 0x40231c
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x11c]
movsx edx, byte [ecx]
cmp edx, 0x23
je 0x40231c
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x11c]
movsx ecx, byte [eax]
cmp ecx, 0x2d
je 0x40231c
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x11c]
movsx eax, byte [edx]
cmp eax, 0x2f
je 0x40231c
jmp 0x4022a3
mov dword [ebp - 0x120], 0
jmp 0x4024c3
mov ecx, dword [ebp - 0x120]
add ecx, 1
mov dword [ebp - 0x120], ecx
cmp dword [ebp - 0x120], 0x10
jge 0x402654
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x120]
movsx eax, byte [edx]
cmp eax, 0x22
jle 0x40262c
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x120]
movsx edx, byte [ecx]
cmp edx, 0x27
je 0x40262c
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x120]
movsx ecx, byte [eax]
cmp ecx, 0x60
je 0x40262c
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x120]
movsx eax, byte [edx]
cmp eax, 0x5c
je 0x40262c
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x120]
movsx edx, byte [ecx]
cmp edx, 0x3c
je 0x40262c
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x120]
movsx ecx, byte [eax]
cmp ecx, 0x3e
je 0x40262c
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x120]
movsx eax, byte [edx]
cmp eax, 0xb6
je 0x40262c
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x120]
movsx edx, byte [ecx]
cmp edx, 0x5e
je 0x40262c
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x120]
movsx ecx, byte [eax]
cmp ecx, 0x26
je 0x40262c
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x120]
movsx eax, byte [edx]
cmp eax, 0x7b
je 0x40262c
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x120]
movsx edx, byte [ecx]
cmp edx, 0x7d
je 0x40262c
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x120]
movsx ecx, byte [eax]
cmp ecx, 0x7c
je 0x40262c
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x120]
movsx eax, byte [edx]
cmp eax, 0x5b
je 0x40262c
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x120]
movsx edx, byte [ecx]
cmp edx, 0x5d
je 0x40262c
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x120]
movsx ecx, byte [eax]
cmp ecx, 0x3f
je 0x40262c
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x120]
movsx eax, byte [edx]
cmp eax, 0x23
je 0x40262c
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x120]
movsx edx, byte [ecx]
cmp edx, 0x2d
je 0x40262c
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x120]
movsx ecx, byte [eax]
cmp ecx, 0x2f
jne 0x40264f
call fcn.0040ffc5
cdq
mov ecx, 0xfe
idiv ecx
movsx edx, dl
add edx, 1
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x120]
mov byte [eax], dl
jmp 0x4024d0
jmp 0x4024b4
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00410051
mov esp, ebp
pop ebp
ret