Function at 0x1000bc82
Capabilities:
Get hostname
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push edi
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x1c], ebx
lea edi, [ebp - 0x18]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [0x1004c150]
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
cmp dword [eax], ebx
jne 0x1000bcce
push ebx
push 0x1004c150
call fcn.1001ccc0
pop ecx
pop ecx
cmp eax, ebx
jge 0x1000bcce
push eax
push str.NetbiosInitCoreData__:_ResolveProcs___failed:_nRet_d
push ebx
call main
add esp, 0xc
xor eax, eax
jmp 0x1000be8b
push 0x650
call fcn.10019ae0
pop ecx
mov dword [ebp - 4], eax
cmp eax, ebx
jne 0x1000bcef
push str.NetbiosInitCoreData__:_mem_alloc___failed
push ebx
call main
pop ecx
pop ecx
jmp 0x1000bcc7
mov ecx, dword [ebp + 8]
push dword [ebp + 0x18]
mov dword [eax + 0x618], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
mov dword [eax + 0x61c], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0x10]
mov dword [eax + 0x620], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0x14]
mov dword [eax + 0x624], ecx
call fcn.10018df0
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
pop ecx
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x628], eax
cmp dword [ebp + 0x1c], ebx
je 0x1000bd56
push dword [ebp + 0x1c]
call edi
test eax, eax
jle 0x1000bd56
push dword [ebp + 0x1c]
call fcn.10018df0
pop ecx
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x62c], eax
jmp 0x1000bd5f
mov eax, dword [ebp - 4]
mov dword [eax + 0x62c], ebx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x628], ebx
jne 0x1000bd96
push str.NetbiosInitCoreData__:_UnicodeStrDup___failed
push ebx
call main
mov eax, dword [ebp - 4]
add eax, 0x628
push ebx
push eax
call fcn.10019b10
lea eax, [ebp - 4]
push ebx
push eax
call fcn.10019b10
add esp, 0x18
jmp 0x1000bcc7
lea ecx, [ebp - 8]
push ecx
add eax, 0x18
push eax
mov dword [ebp - 8], 0x200
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
jne 0x1000bdc2
push str.NetbiosInitCoreData__:_GetComputerNameW___failed
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call main
pop ecx
pop ecx
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
add eax, 0x218
push eax
mov dword [ebp - 8], 0x200
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
jne 0x1000bdf3
push str.NetbiosInitCoreData__:_GetUserNameW___failed
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call main
pop ecx
pop ecx
mov eax, dword [ebp - 4]
add eax, 0x18
cmp eax, ebx
je 0x1000be5e
lea ecx, [ebp - 0x1c]
push ecx
push 0x64
push eax
call dword [0x1004f150]
cmp eax, ebx
jne 0x1000be43
cmp dword [ebp - 0x14], ebx
je 0x1000be43
push dword [ebp - 0x14]
call edi
mov ecx, eax
add ecx, ecx
mov eax, 0x1fe
cmp ecx, eax
ja 0x1000be2c
push dword [ebp - 0x14]
call edi
add eax, eax
push eax
mov eax, dword [ebp - 4]
push dword [ebp - 0x14]
add eax, 0x418
push eax
call fcn.10019c40
add esp, 0xc
jmp 0x1000be5e
push eax
push str.NetbiosInitCoreData__:_NetWkstaGetInfo__:_failed_dwErr_d
push eax
call main
mov ecx, dword [ebp - 4]
add esp, 0xc
xor eax, eax
mov word [ecx + 0x418], ax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov eax, dword [ebp - 4]
lea ecx, [eax + 0x218]
push ecx
lea ecx, [eax + 0x18]
push ecx
add eax, 0x418
push eax
push str.NetbiosInitCoreData__:_wszMyDomain_S_wszMyHost_S_wszMyUsername_S
call fcn.10018570
mov eax, dword [ebp - 4]
add esp, 0x10
pop edi
pop ebx
leave
ret