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

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
lea rbp, [rax - 0x1d8]
sub rsp, 0x2d0
mov rax, qword [0x140157100]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
mov rdi, rcx
mov qword [rsp + 0x48], rcx
xor esi, esi
mov ebx, 0x104
mov dword [rsp + 0x74], ebx
lea rdx, [rsp + 0x74]
lea rcx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
jne 0x140013c7a
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rsi
xor r8d, r8d
lea rdx, [0x14012ffad]
mov rcx, rdi
call fcn.140007b18
jmp 0x140013dd2
mov dword [rsp + 0x50], esi
mov dword [rsp + 0x70], ebx
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x58], xmm1
mov qword [rsp + 0x68], rsi
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0xb0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x50]
xor r8d, r8d
lea rdx, [rbp - 0x60]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupAccountNameA]
test eax, eax
jne 0x140013dfd
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x140013d75
mov r8d, dword [rsp + 0x50]
mov r9, qword [rsp + 0x60]
mov rdx, r9
mov rcx, qword [rsp + 0x58]
sub rdx, rcx
cmp r8, rdx
jae 0x140013d00
lea rax, [r8 + rcx]
mov qword [rsp + 0x60], rax
jmp 0x140013d39
jbe 0x140013d39
mov rax, qword [rsp + 0x68]
sub rax, rcx
cmp r8, rax
jbe 0x140013d1e
mov rdx, r8
lea rcx, [rsp + 0x58]
call fcn.140029fb4
jmp 0x140013d34
sub r8, rdx
lea rbx, [r9 + r8]
xor edx, edx
mov rcx, r9
call fcn.14011bfb0
mov qword [rsp + 0x60], rbx
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0xb0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x50]
mov r8, rcx
lea rdx, [rbp - 0x60]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupAccountNameA]
test eax, eax
jne 0x140013dfd
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rsi
xor r8d, r8d
lea rdx, [0x14012ffad]
mov rcx, rdi
call fcn.140007b18
nop
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140013dd2
mov rdx, qword [rsp + 0x68]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140013dcd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140013e5e
call fcn.1400f16c0
mov rax, rdi
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.1400f16a0
lea r11, [rsp + 0x2d0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_ConvertSidToStringSidA]
xorps xmm0, xmm0
test eax, eax
je 0x140013d78
movups xmmword [rbp - 0x80], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x70], xmm1
mov rdx, qword [rsp + 0x48]
or r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], sil
jne 0x140013e2d
lea rcx, [rbp - 0x80]
call fcn.140007b18
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_LocalFree]
movups xmm0, xmmword [rbp - 0x80]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rbp - 0x70]
movups xmmword [rdi + 0x10], xmm1
jmp 0x140013d96
call fcn.1400fa6b8
int3