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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001c306
mov eax, dword fs:[0]
push eax
sub esp, 0x478
mov eax, dword [0x10026008]
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 0x1001e3fc
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.10005d00
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 0x10012aa0
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x45c]
call fcn.10005d00
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 0x10012af0
sub ecx, edx
lea eax, [ebp - 0x424]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x474]
call fcn.10005d00
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 0x10012ba9
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 0x10012bc4
push edi
push edx
mov byte [ebp - 0x478], 0
lea ecx, [ebp - 0x43c]
push dword [ebp - 0x478]
push edi
call fcn.10005b70
mov edx, dword [ebp - 0x428]
mov eax, edx
mov ecx, dword [ebp - 0x42c]
sub eax, ecx
cmp eax, 1
jb 0x10012bfb
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 0x10012c1c
push 1
push 0x1001db58
mov byte [ebp - 0x478], 0
lea ecx, [ebp - 0x43c]
push dword [ebp - 0x478]
push 1
call fcn.10005b70
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 0x10012ca3
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 0x10012cc4
push edx
push ecx
mov byte [ebp - 0x47c], 0
lea ecx, [ebp - 0x43c]
push dword [ebp - 0x47c]
push edx
call fcn.10005b70
mov edi, dword [ebp - 0x45c]
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x460]
cmp eax, 8
jb 0x10012d10
lea ecx, [eax*2 + 2]
mov eax, dword [ebp - 0x474]
mov edx, eax
cmp ecx, 0x1000
jb 0x10012d06
mov eax, dword [edx - 4]
add ecx, 0x23
sub edx, eax
mov dword [ebp - 0x47c], eax
lea eax, [edx - 4]
cmp eax, 0x1f
ja 0x10012d40
mov eax, dword [ebp - 0x47c]
push ecx
push eax
call fcn.10019c6a
add esp, 8
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x448]
cmp eax, 8
jb 0x10012d5e
lea ecx, [eax*2 + 2]
mov eax, edi
cmp ecx, 0x1000
jb 0x10012d46
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10012d46
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edi
call fcn.10019c6a
add esp, 8
jmp 0x10012d5e
lea edx, [ebp - 0x43c]
mov dword [ebp - 4], 0
mov ecx, ebx
call fcn.10012fc0
mov ecx, dword [ebp - 0x428]
cmp ecx, 8
jb 0x10012db4
mov edx, dword [ebp - 0x43c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10012daa
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10012daa
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10019c6a
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.10019709
mov esp, ebp
pop ebp
ret