Function at 0x1400843e0
Capabilities:
Get hostname
Get user security identifier

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r12
sub rsp, 0x310
mov rax, qword [0x14025a030]
xor rax, rsp
mov qword [rsp + 0x300], rax
mov qword [rsp + 0x60], rsp
xor ebx, ebx
mov qword [rsp + 0x58], rbx
mov dword [rsp + 0x40], ebx
lea rax, [0x1401b68b0]
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x44], ebx
xor edx, edx
mov r8d, 0x100
lea rcx, [rsp + 0x100]
call sub.MSVCR90.dll_memset
mov ecx, 0x200
call fcn.14015562c
mov rsi, rax
mov qword [rsp + 0x50], rax
xor edx, edx
mov r8d, 0x100
mov rcx, rax
call sub.MSVCR90.dll_memset
nop
mov dword [rsp + 0x48], 0x10
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0xb0]
call qword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
jne 0x1400844a8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov qword [rsp + 0xa8], rbx
lea rdx, [0x1400844a1]
mov rcx, rsp
call sub.MSVCR90.dll__local_unwind
nop
nop
nop
xor eax, eax
jmp 0x140084701
lea r8, [rsp + 0xb0]
mov edx, 0x10
lea rcx, [rsp + 0xd8]
call qword [sym.imp.MSVCR90.dll_wcscpy_s]
mov r8d, 1
lea rdx, [0x1401d5adc]
lea rcx, [rsp + 0xb0]
call qword [sym.imp.MSVCR90.dll_wcsncat]
mov dword [rsp + 0x40], ebx
mov dword [rsp + 0x44], ebx
mov rdi, rbx
mov qword [rsp + 0x58], rbx
mov r12, rbx
mov qword [rsp + 0x70], rbx
lea rax, [rsp + 0x4c]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x44]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x40]
xor r8d, r8d
lea rdx, [rsp + 0xb0]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
test eax, eax
jne 0x1400845d0
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x1400845d0
cmp eax, 0x534
jne 0x140084594
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0xb0]
repne scasw ax, word [rdi]
not rcx
mov word [rsp + rcx*2 + 0xac], bx
lea rax, [rsp + 0x4c]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x44]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x40]
xor r8d, r8d
lea rdx, [rsp + 0xb0]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
jmp 0x1400845d0
cmp eax, 0x6fd
jne 0x1400845ad
call fcn.140084020
mov rsi, rax
mov qword [rsp + 0x50], rax
jmp 0x1400846cc
mov qword [rsp + 0x80], rbx
lea rdx, [0x1400845c9]
mov rcx, qword [rsp + 0x60]
call sub.MSVCR90.dll__local_unwind
nop
nop
nop
xor eax, eax
jmp 0x140084701
mov ecx, dword [rsp + 0x40]
call qword [sym.imp.MSVCR90.dll_malloc]
mov rdi, rax
mov qword [rsp + 0x58], rax
mov ecx, dword [rsp + 0x44]
lea rcx, [rcx + rcx + 1]
call qword [sym.imp.MSVCR90.dll_malloc]
mov r12, rax
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x4c]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x44]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x40]
mov r8, rdi
lea rdx, [rsp + 0xb0]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
test eax, eax
jne 0x140084657
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov qword [rsp + 0x98], rbx
lea rdx, [0x140084650]
mov rcx, qword [rsp + 0x60]
call sub.MSVCR90.dll__local_unwind
nop
nop
nop
xor eax, eax
jmp 0x140084701
mov dword [rsp + 0x48], 0x100
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_IsValidSid]
test eax, eax
jne 0x140084672
mov dword [rsp + 0x68], ebx
jmp 0x14008468f
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x100]
mov rcx, rdi
call fcn.140084220
mov dword [rsp + 0x68], eax
test eax, eax
jne 0x1400846b5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov qword [rsp + 0xa0], rbx
lea rdx, [0x1400846b1]
mov rcx, qword [rsp + 0x60]
call sub.MSVCR90.dll__local_unwind
nop
nop
nop
xor eax, eax
jmp 0x140084701
lea r8, [rsp + 0x100]
mov edx, 0x100
mov rcx, rsi
call qword [sym.imp.MSVCR90.dll_wcscpy_s]
nop
test rdi, rdi
je 0x1400846da
mov rcx, rdi
call qword [sym.imp.MSVCR90.dll_free]
test r12, r12
je 0x1400846e8
mov rcx, r12
call qword [sym.imp.MSVCR90.dll_free]
jmp 0x1400846fe
mov rax, rsi
mov rcx, qword [rsp + 0x300]
xor rcx, rsp
call fcn.140155650
lea r11, [rsp + 0x310]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop r12
ret