Function at 0xbf3180
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xccee23
mov eax, dword fs:[0]
push eax
sub esp, 0x154
mov eax, dword [0xcff584]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov edi, ecx
cmp dword [0xd07170], ebx
jne 0xbf31dc
cmp dword [0xd07174], ebx
jne 0xbf31dc
push 1
call fcn.00c62640
add esp, 4
call fcn.00bedff0
mov dword [0xd07170], eax
mov dword [0xd07174], edx
cmp dword [0xd03380], ebx
jne 0xbf3275
push 0x63
lea eax, [ebp - 0x77]
push ebx
push eax
mov byte [ebp - 0x78], bl
call fcn.00c66830
add esp, 0xc
lea ecx, [ebp - 0x15c]
push ecx
lea edx, [ebp - 0x78]
push edx
mov dword [ebp - 0x15c], 0x64
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
je 0xbf3264
lea eax, [ebp - 0x78]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0xbf3220
lea ecx, [ebp - 0x160]
push ecx
sub eax, edx
lea ecx, [ebp - 0x78]
call fcn.00c2b460
mov esi, eax
add esp, 4
cmp esi, ebx
je 0xbf3275
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0xbf3244
sub eax, edx
push eax
push esi
mov ecx, 0xd03370
call fcn.00be2a60
push esi
call fcn.00c625e4
add esp, 4
jmp 0xbf3275
push 0xd
push str.GetNameFailed
mov ecx, 0xd03370
call fcn.00be2a60
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x15c], eax
cmp eax, ebx
jne 0xbf3286
xor edi, edi
jmp 0xbf32bd
push ebx
push ebx
push ebx
push ebx
push 0xffffffffffffffff
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov esi, eax
lea edx, [esi + 1]
push edx
call fcn.00c630b5
add esp, 4
push ebx
push ebx
push esi
mov edi, eax
mov eax, dword [ebp - 0x15c]
push edi
push 0xffffffffffffffff
push eax
push ebx
push ebx
mov byte [edi + esi], bl
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov esi, 0xf
mov eax, edi
mov dword [ebp - 0x80], esi
mov dword [ebp - 0x84], ebx
mov byte [ebp - 0x94], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0xbf32d6
sub eax, edx
push eax
push edi
lea ecx, [ebp - 0x94]
call fcn.00be2a60
push edi
mov dword [ebp - 4], ebx
call fcn.00c63498
add esp, 4
mov edi, 0x10
cmp dword [0xd0339c], ebx
jne 0xbf334f
mov ecx, dword [ebp - 0x94]
cmp dword [ebp - 0x80], edi
jae 0xbf3316
lea ecx, [ebp - 0x94]
lea esi, [ebp - 0xb0]
call fcn.00be6140
push eax
mov ecx, 0xd0338c
mov byte [ebp - 4], 1
call fcn.00be2870
mov byte [ebp - 4], bl
cmp dword [ebp - 0x9c], edi
jb 0xbf334a
mov ecx, dword [ebp - 0xb0]
push ecx
call fcn.00c625e4
add esp, 4
mov esi, 0xf
lea edx, [ebp - 0x94]
push edx
lea eax, [ebp - 0xb0]
push str.gid
push eax
call fcn.00c01f30
add esp, 0xc
push str.mac
push eax
lea ecx, [ebp - 0x120]
push ecx
mov byte [ebp - 4], 2
call fcn.00be6750
add esp, 0xc
push 0xd033a8
push eax
lea edx, [ebp - 0xe8]
push edx
mov byte [ebp - 4], 3
call fcn.00bed720
add esp, 0xc
push str.pcname
push eax
lea eax, [ebp - 0x13c]
push eax
mov byte [ebp - 4], 4
call fcn.00be6750
add esp, 0xc
push 0xd03370
push eax
lea ecx, [ebp - 0xcc]
push ecx
mov byte [ebp - 4], 5
call fcn.00bed720
add esp, 0xc
push str.bootid
push eax
lea edx, [ebp - 0x104]
push edx
mov byte [ebp - 4], 6
call fcn.00be6750
add esp, 0xc
push 0xd0338c
push eax
lea eax, [ebp - 0x158]
push eax
mov byte [ebp - 4], 7
call fcn.00bed720
add esp, 0xc
push eax
mov ecx, 0xd033c4
mov byte [ebp - 4], 8
call fcn.00be2870
mov byte [ebp - 4], 7
cmp dword [ebp - 0x144], edi
jb 0xbf342a
mov ecx, dword [ebp - 0x158]
push ecx
call fcn.00c625e4
add esp, 4
mov byte [ebp - 4], 6
mov dword [ebp - 0x144], esi
mov dword [ebp - 0x148], ebx
mov byte [ebp - 0x158], bl
cmp dword [ebp - 0xf0], edi
jb 0xbf3457
mov edx, dword [ebp - 0x104]
push edx
call fcn.00c625e4
add esp, 4
mov byte [ebp - 4], 5
mov dword [ebp - 0xf0], esi
mov dword [ebp - 0xf4], ebx
mov byte [ebp - 0x104], bl
cmp dword [ebp - 0xb8], edi
jb 0xbf3484
mov eax, dword [ebp - 0xcc]
push eax
call fcn.00c625e4
add esp, 4
mov byte [ebp - 4], 4
mov dword [ebp - 0xb8], esi
mov dword [ebp - 0xbc], ebx
mov byte [ebp - 0xcc], bl
cmp dword [ebp - 0x128], edi
jb 0xbf34b1
mov ecx, dword [ebp - 0x13c]
push ecx
call fcn.00c625e4
add esp, 4
mov byte [ebp - 4], 3
mov dword [ebp - 0x128], esi
mov dword [ebp - 0x12c], ebx
mov byte [ebp - 0x13c], bl
cmp dword [ebp - 0xd4], edi
jb 0xbf34de
mov edx, dword [ebp - 0xe8]
push edx
call fcn.00c625e4
add esp, 4
mov byte [ebp - 4], 2
mov dword [ebp - 0xd4], esi
mov dword [ebp - 0xd8], ebx
mov byte [ebp - 0xe8], bl
cmp dword [ebp - 0x10c], edi
jb 0xbf350b
mov eax, dword [ebp - 0x120]
push eax
call fcn.00c625e4
add esp, 4
mov byte [ebp - 4], bl
mov dword [ebp - 0x10c], esi
mov dword [ebp - 0x110], ebx
mov byte [ebp - 0x120], bl
cmp dword [ebp - 0x9c], edi
jb 0xbf3537
mov ecx, dword [ebp - 0xb0]
push ecx
call fcn.00c625e4
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x9c], esi
mov dword [ebp - 0xa0], ebx
mov byte [ebp - 0xb0], bl
cmp dword [ebp - 0x80], edi
jb 0xbf3564
mov edx, dword [ebp - 0x94]
push edx
call fcn.00c625e4
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00c62239
mov esp, ebp
pop ebp
ret