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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001a216
mov eax, dword fs:[0]
push eax
sub esp, 0x478
mov eax, dword [0x10024008]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 0x47c], ebx
push 2
push 0x1001c398
lea ecx, [ebp - 0x43c]
mov dword [ebp - 0x480], ebx
mov dword [ebp - 0x43c], 0
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x428], 0
call fcn.10005ce0
lea eax, [ebp - 0x440]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x21c]
mov byte [ebp - 4], 1
push eax
mov dword [ebp - 0x440], 0x104
mov dword [ebp - 0x444], 0x104
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
lea eax, [ebp - 0x444]
push eax
lea eax, [ebp - 0x424]
push eax
push 3
call dword [sym.imp.KERNEL32.dll_GetComputerNameExW]
lea ecx, [ebp - 0x21c]
mov dword [ebp - 0x45c], 0
mov dword [ebp - 0x44c], 0
lea edx, [ecx + 2]
mov dword [ebp - 0x448], 0
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10011480
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x45c]
call fcn.10005ce0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x424]
mov dword [ebp - 0x474], 0
lea edx, [ecx + 2]
mov dword [ebp - 0x464], 0
mov dword [ebp - 0x460], 0
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100114d0
sub ecx, edx
lea eax, [ebp - 0x424]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x474]
call fcn.10005ce0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x43c]
cmp dword [ebp - 0x428], 8
lea edx, [ebp - 0x474]
mov edi, dword [ebp - 0x464]
cmovae eax, dword [ebp - 0x43c]
xor ecx, ecx
cmp dword [ebp - 0x460], 8
mov dword [ebp - 0x42c], 0
cmovae edx, dword [ebp - 0x474]
mov word [eax], cx
mov ecx, dword [ebp - 0x42c]
mov eax, dword [ebp - 0x428]
sub eax, ecx
mov dword [ebp - 0x478], ecx
cmp edi, eax
ja 0x10011589
cmp dword [ebp - 0x428], 8
lea eax, [ecx + edi]
lea esi, [ebp - 0x43c]
mov dword [ebp - 0x42c], eax
cmovae esi, dword [ebp - 0x43c]
lea eax, [edi + edi]
push eax
push edx
lea ecx, [esi + ecx*2]
push ecx
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [ebp - 0x478]
add esp, 0xc
add eax, edi
xor ecx, ecx
mov word [esi + eax*2], cx
jmp 0x100115a4
push edi
push edx
mov byte [ebp - 0x478], 0
lea ecx, [ebp - 0x43c]
push dword [ebp - 0x478]
push edi
call fcn.10005b50
mov edx, dword [ebp - 0x428]
mov eax, edx
mov ecx, dword [ebp - 0x42c]
sub eax, ecx
cmp eax, 1
jb 0x100115db
lea eax, [ecx + 1]
cmp edx, 8
mov dword [ebp - 0x42c], eax
lea eax, [ebp - 0x43c]
cmovae eax, dword [ebp - 0x43c]
mov dword [eax + ecx*2], 0x2f
jmp 0x100115fc
push 1
push 0x1001bb34
mov byte [ebp - 0x478], 0
lea ecx, [ebp - 0x43c]
push dword [ebp - 0x478]
push 1
call fcn.10005b50
cmp dword [ebp - 0x448], 8
lea ecx, [ebp - 0x45c]
mov edi, dword [ebp - 0x45c]
mov esi, dword [ebp - 0x42c]
cmovae ecx, edi
mov eax, dword [ebp - 0x428]
mov edx, dword [ebp - 0x44c]
sub eax, esi
mov dword [ebp - 0x47c], ecx
mov dword [ebp - 0x478], esi
cmp edx, eax
ja 0x10011683
cmp dword [ebp - 0x428], 8
lea eax, [esi + edx]
mov dword [ebp - 0x42c], eax
lea esi, [ebp - 0x43c]
cmovae esi, dword [ebp - 0x43c]
mov eax, dword [ebp - 0x478]
lea ecx, [esi + eax*2]
lea eax, [edx + edx]
push eax
push dword [ebp - 0x47c]
push ecx
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [ebp - 0x44c]
add esp, 0xc
add eax, dword [ebp - 0x478]
xor ecx, ecx
mov word [esi + eax*2], cx
jmp 0x100116a4
push edx
push ecx
mov byte [ebp - 0x47c], 0
lea ecx, [ebp - 0x43c]
push dword [ebp - 0x47c]
push edx
call fcn.10005b50
mov edi, dword [ebp - 0x45c]
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x460]
cmp eax, 8
jb 0x100116f0
lea ecx, [eax*2 + 2]
mov eax, dword [ebp - 0x474]
mov edx, eax
cmp ecx, 0x1000
jb 0x100116e6
mov eax, dword [edx - 4]
add ecx, 0x23
sub edx, eax
mov dword [ebp - 0x47c], eax
lea eax, [edx - 4]
cmp eax, 0x1f
ja 0x10011720
mov eax, dword [ebp - 0x47c]
push ecx
push eax
call fcn.10017b8e
add esp, 8
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x448]
cmp eax, 8
jb 0x1001173e
lea ecx, [eax*2 + 2]
mov eax, edi
cmp ecx, 0x1000
jb 0x10011726
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10011726
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edi
call fcn.10017b8e
add esp, 8
jmp 0x1001173e
lea edx, [ebp - 0x43c]
mov dword [ebp - 4], 0
mov ecx, ebx
call fcn.100119a0
mov ecx, dword [ebp - 0x428]
cmp ecx, 8
jb 0x10011794
mov edx, dword [ebp - 0x43c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1001178a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1001178a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10017b8e
add esp, 8
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1001762d
mov esp, ebp
pop ebp
ret