Function at 0x14001461c
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 [0x140162100]
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 0x140014696
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rsi
xor r8d, r8d
lea rdx, [0x140136fcd]
mov rcx, rdi
call fcn.140007ba4
jmp 0x1400147ee
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 0x140014819
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x140014791
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 0x14001471c
lea rax, [r8 + rcx]
mov qword [rsp + 0x60], rax
jmp 0x140014755
jbe 0x140014755
mov rax, qword [rsp + 0x68]
sub rax, rcx
cmp r8, rax
jbe 0x14001473a
mov rdx, r8
lea rcx, [rsp + 0x58]
call fcn.14002f468
jmp 0x140014750
sub r8, rdx
lea rbx, [r9 + r8]
xor edx, edx
mov rcx, r9
call fcn.1401224d0
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 0x140014819
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rsi
xor r8d, r8d
lea rdx, [0x140136fcd]
mov rcx, rdi
call fcn.140007ba4
nop
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x1400147ee
mov rdx, qword [rsp + 0x68]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400147e9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001487a
call fcn.1400f7be0
mov rax, rdi
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.1400f7bc0
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 0x140014794
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 0x140014849
lea rcx, [rbp - 0x80]
call fcn.140007ba4
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 0x1400147b2
call fcn.140100bd8
int3