Function at 0x100092b0
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
push ebx
push esi
push edi
mov dword [ebp - 0xc], 0
push 2
push 0x10027b88
mov eax, dword [ebp + 8]
push eax
call fcn.1001ee60
add esp, 0xc
test eax, eax
jne 0x1000930b
push 0x5c
mov ecx, dword [ebp + 8]
add ecx, 2
push ecx
call fcn.1001ed00
add esp, 8
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x1000930b
push 0x5c
mov edx, dword [ebp - 0x18]
add edx, 1
push edx
call fcn.1001ed00
add esp, 8
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x10009312
xor eax, eax
jmp 0x10009513
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x18]
sub eax, 1
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
lea edx, [ecx + ecx + 2]
push edx
call fcn.1001ef81
add esp, 4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x10009403
push str.NetApi32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x10009403
push str.NetShareGetInfo
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x10009403
push str.NetApiBufferFree
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x10009403
mov edx, dword [ebp - 0x20]
lea eax, [edx + edx + 2]
push eax
push 0
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.1001ea50
add esp, 0xc
test eax, eax
je 0x10009403
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x18]
add eax, 1
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.1001eb8c
add esp, 0xc
cmp eax, dword [ebp - 0x20]
jne 0x10009403
lea edx, [ebp - 0xc]
push edx
push 2
mov eax, dword [ebp - 0x14]
push eax
push 0
call dword [ebp - 4]
test eax, eax
jne 0x10009403
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x20], ecx
lea edx, [ebp - 0x20]
push edx
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
je 0x10009403
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp + 8]
add edx, 2
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.10026590
add esp, 0xc
test eax, eax
je 0x10009439
cmp dword [ebp - 0xc], 0
je 0x10009410
mov ecx, dword [ebp - 0xc]
push ecx
call dword [ebp - 8]
cmp dword [ebp - 0x14], 0
je 0x10009432
mov edx, dword [ebp - 0x14]
push edx
call fcn.1001ee98
add esp, 4
cmp dword [ebp - 0x10], 0
je 0x10009432
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
jmp 0x10009513
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x18]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
movsx ecx, byte [eax]
test ecx, ecx
je 0x10009479
cmp dword [ebp + 0x10], 0
je 0x10009479
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x18]
mov cl, byte [eax]
mov byte [edx], cl
mov edx, dword [ebp + 0x10]
sub edx, 1
mov dword [ebp + 0x10], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp - 0x18]
add ecx, 2
mov dword [ebp - 0x18], ecx
jmp 0x10009442
mov edx, dword [ebp - 0x1c]
push edx
call fcn.1001e830
add esp, 4
add eax, 1
cmp eax, dword [ebp + 0x10]
jae 0x100094a1
mov eax, dword [ebp - 0x1c]
push eax
call fcn.1001e830
add esp, 4
add eax, 1
mov dword [ebp - 0x24], eax
jmp 0x100094a7
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x24]
mov dword [ebp + 0x10], edx
mov eax, dword [ebp + 0xc]
movsx ecx, byte [eax - 1]
cmp ecx, 0x5c
jne 0x100094cb
mov edx, dword [ebp + 0x10]
sub edx, 1
mov dword [ebp + 0x10], edx
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp + 0x10]
push ecx
push 0
mov edx, dword [ebp + 0xc]
push edx
call fcn.1001ea50
add esp, 0xc
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.1001e4a0
add esp, 0xc
mov eax, dword [ebp - 0xc]
push eax
call dword [ebp - 8]
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.1001ee98
add esp, 4
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret