Function at 0x10067e40
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10100322
mov eax, dword fs:[0]
push eax
sub esp, 0x1dc
mov eax, dword [0x10172eb8]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x148], 0
push 0x105
push 0
lea eax, [ebp - 0x124]
push eax
call fcn.100cac20
add esp, 0xc
lea ecx, [ebp - 0x14]
call fcn.10008b40
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x144]
call fcn.10008b40
mov byte [ebp - 4], 1
mov dword [ebp - 0x12c], 0
lea ecx, [ebp - 0x128]
call fcn.10008b40
mov byte [ebp - 4], 2
mov byte [ebp - 0x140], 0
xor ecx, ecx
mov dword [ebp - 0x13f], ecx
mov dword [ebp - 0x13b], ecx
mov dword [ebp - 0x137], ecx
mov word [ebp - 0x133], cx
mov byte [ebp - 0x131], cl
mov dword [ebp - 0x10], 0x10
cmp dword [ebp + 0x10], 0
jne 0x1006817a
mov dword [ebp - 0x14c], 0x104
lea edx, [ebp - 0x14c]
push edx
lea eax, [ebp - 0x124]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
mov dword [ebp - 0x148], eax
cmp dword [ebp - 0x148], 0
jne 0x10067fd6
lea ecx, [ebp - 0x150]
call fcn.10008b40
mov byte [ebp - 4], 3
push 0
push 0
lea ecx, [ebp - 0x160]
call fcn.100145f0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x150]
push ecx
lea ecx, [ebp - 0x160]
call fcn.10016170
test eax, eax
je 0x10067fb3
lea ecx, [ebp - 0x150]
call fcn.10008bc0
push eax
lea edx, [ebp - 0x1a4]
push edx
call fcn.100690d0
add esp, 8
mov dword [ebp - 0x1c4], eax
mov eax, dword [ebp - 0x1c4]
mov dword [ebp - 0x1c8], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x1c8]
push ecx
lea ecx, [ebp - 0x14]
call fcn.100121e0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1a4]
call fcn.10008b60
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x160]
call fcn.10014670
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x150]
call fcn.10008b60
jmp 0x10068166
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x124]
push eax
call fcn.10068470
add esp, 8
test eax, eax
jne 0x10068046
cmp dword [ebp + 0x14], 0
je 0x10068004
mov ecx, dword [0x101301b8]
push ecx
lea ecx, [ebp - 0x14]
call fcn.10012200
jmp 0x10068046
mov dword [ebp - 0x1a8], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x128]
call fcn.10008b60
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x144]
call fcn.10008b60
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10008b60
mov eax, dword [ebp - 0x1a8]
jmp 0x10068450
lea ecx, [ebp - 0x14]
call fcn.10012840
test eax, eax
je 0x10068166
cmp dword [0x10174904], 0
jne 0x10068166
lea ecx, [ebp - 0x178]
call fcn.10008b40
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x174]
call fcn.10008b40
mov byte [ebp - 4], 7
lea edx, [ebp - 0x14]
push edx
lea ecx, [ebp - 0x174]
call fcn.100121e0
lea ecx, [ebp - 0x174]
call fcn.10008bc0
push eax
lea eax, [ebp - 0x1ac]
push eax
call fcn.10069360
add esp, 8
mov dword [ebp - 0x1cc], eax
mov ecx, dword [ebp - 0x1cc]
mov dword [ebp - 0x1d0], ecx
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x1d0]
push edx
lea ecx, [ebp - 0x178]
call fcn.100121e0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x1ac]
call fcn.10008b60
push 0
lea eax, [ebp - 0x124]
push eax
lea ecx, [ebp - 0x170]
call fcn.100145f0
mov byte [ebp - 4], 9
push ecx
mov ecx, esp
mov dword [ebp - 0x1b0], esp
lea edx, [ebp - 0x178]
push edx
call fcn.10012140
mov dword [ebp - 0x1d4], eax
lea ecx, [ebp - 0x170]
call fcn.10015ff0
mov dword [ebp - 0x1d8], eax
cmp dword [ebp - 0x1d8], 0
je 0x10068139
mov dword [0x10174904], 1
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x170]
call fcn.10014670
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x174]
call fcn.10008b60
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x178]
call fcn.10008b60
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x128]
call fcn.100121e0
jmp 0x1006834a
lea ecx, [ebp - 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
call fcn.10068470
add esp, 8
test eax, eax
jne 0x100681e6
cmp dword [ebp + 0x14], 0
je 0x100681a4
mov eax, dword [0x101301b8]
push eax
lea ecx, [ebp - 0x14]
call fcn.10012200
jmp 0x100681e6
mov dword [ebp - 0x1b4], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x128]
call fcn.10008b60
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x144]
call fcn.10008b60
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10008b60
mov eax, dword [ebp - 0x1b4]
jmp 0x10068450
mov ecx, dword [ebp + 0x10]
push ecx
lea ecx, [ebp - 0x188]
call fcn.10012160
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x184]
call fcn.10008b40
mov byte [ebp - 4], 0xb
push 0
push 0x101301cc
lea ecx, [ebp - 0x188]
call fcn.100125d0
mov dword [ebp - 0x17c], eax
cmp dword [ebp - 0x17c], 0
je 0x10068289
lea ecx, [ebp - 0x188]
call fcn.10012840
sub eax, dword [ebp - 0x17c]
sub eax, 1
push eax
lea edx, [ebp - 0x1b8]
push edx
lea ecx, [ebp - 0x188]
call fcn.100126e0
mov dword [ebp - 0x1dc], eax
mov eax, dword [ebp - 0x1dc]
mov dword [ebp - 0x1e0], eax
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x1e0]
push ecx
lea ecx, [ebp - 0x184]
call fcn.100121e0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x1b8]
call fcn.10008b60
jmp 0x1006829b
lea edx, [ebp - 0x188]
push edx
lea ecx, [ebp - 0x184]
call fcn.100121e0
mov dword [ebp - 0x180], 0
cmp dword [ebp + 0x18], 0
je 0x100682be
lea ecx, [ebp - 0x184]
call fcn.10012be0
mov dword [ebp - 0x180], eax
jmp 0x100682d6
lea ecx, [ebp - 0x184]
call fcn.10012be0
push eax
call dword [sym.imp.USER32.dll_CharLowerA]
mov dword [ebp - 0x180], eax
mov eax, dword [ebp - 0x180]
push eax
lea ecx, [ebp - 0x14]
call fcn.10008bc0
push eax
lea ecx, [ebp - 0x1bc]
push ecx
call fcn.100686a0
add esp, 0xc
mov dword [ebp - 0x1e4], eax
mov edx, dword [ebp - 0x1e4]
mov dword [ebp - 0x1e8], edx
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x1e8]
push eax
lea ecx, [ebp - 0x128]
call fcn.100121e0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x1bc]
call fcn.10008b60
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x184]
call fcn.10008b60
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x188]
call fcn.10008b60
lea ecx, [ebp - 0x128]
call fcn.10012840
mov dword [ebp - 0x130], eax
cmp dword [ebp - 0x130], 0
jle 0x100683f8
lea ecx, [ebp - 0x1a0]
call fcn.1009ccc0
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x128]
call fcn.10012be0
mov dword [ebp - 0x12c], eax
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x140]
push edx
mov eax, dword [ebp - 0x130]
push eax
mov ecx, dword [ebp - 0x12c]
push ecx
push 1
lea ecx, [ebp - 0x1a0]
call fcn.1009cdb0
test eax, eax
jne 0x100683cf
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [0x101301b8]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
lea edx, [ebp - 0x140]
push edx
call fcn.100cc97e
add esp, 0x10
push 0xffffffffffffffff
lea ecx, [ebp - 0x128]
call fcn.100695f0
push 0
lea ecx, [ebp - 0x1a0]
call fcn.1009cd20
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1a0]
call fcn.1009cd00
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x140]
push eax
call fcn.1008d890
add esp, 0x10
mov dword [ebp - 0x1c0], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x128]
call fcn.10008b60
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x144]
call fcn.10008b60
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10008b60
mov eax, dword [ebp - 0x1c0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.100ca7f5
mov esp, ebp
pop ebp
ret