Function at 0x140033400
Capabilities:
Get common file path
Get disk information
Get hostname
Get user security identifier

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x2e0
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x140190038]
xor rax, rsp
mov qword [rsp + 0x2d8], rax
xorps xmm0, xmm0
lea rcx, [rsp + 0xa0]
movaps xmmword [rcx + 0x10], xmm0
movaps xmmword [rcx], xmm0
lea rdx, [rsp + 0x64]
mov dword [rdx], 0x10
call qword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
je 0x1400335d8
mov ebp, 0xaaaaaaaa
lea r14, [rsp + 0xc0]
mov dword [r14 + 0x40], ebp
movaps xmm0, xmmword [0x14016ceb0]
movaps xmmword [r14 + 0x30], xmm0
movaps xmmword [r14 + 0x20], xmm0
movaps xmmword [r14 + 0x10], xmm0
movaps xmmword [r14], xmm0
mov ecx, 0x100
call fcn.1400d0c2c
mov rbx, rax
lea r15, [rsp + 0x80]
mov dword [r15], 0x80
lea r9, [rsp + 0x48]
mov dword [r9], 0x44
lea r12, [rsp + 0x68]
mov dword [r12], ebp
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0xa0]
xor ecx, ecx
mov r8, r14
call qword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
mov bpl, 1
test eax, eax
je 0x1400336b9
test rbx, rbx
je 0x1400334ea
mov rcx, rbx
call fcn.1400d0c34
test bpl, bpl
je 0x1400335d8
xor eax, eax
mov qword [rsp + 0x90], rax
xorps xmm0, xmm0
movaps xmmword [rsp + 0x80], xmm0
lea rdx, [rsp + 0x78]
mov qword [rdx], rax
lea rcx, [rsp + 0xc0]
call sub.ADVAPI32.dll_ConvertSidToStringSidW
test eax, eax
je 0x140033555
mov rbx, qword [rsp + 0x78]
test rbx, rbx
je 0x14003373c
mov rcx, rbx
call fcn.1400f5ad8
lea rcx, [rsp + 0x80]
mov rdx, rbx
mov r8, rax
call fcn.14003d690
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_LocalFree]
movzx ecx, byte [rsp + 0x97]
mov eax, ecx
and eax, 0x7f
test cl, cl
cmovs rax, qword [rsp + 0x88]
cmovs r15, qword [rsp + 0x80]
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x70], rax
test rax, rax
js 0x140033768
test r15, r15
jne 0x140033597
test rax, rax
jne 0x140033794
lea rcx, [rsp + 0x48]
lea rdx, [rsp + 0x68]
call fcn.14008bdf0
cmp byte [rsp + 0x97], 0
jns 0x1400335bd
mov rcx, qword [rsp + 0x80]
call fcn.1400d0be4
cmp byte [rdi + 0x17], 0
js 0x1400336ac
mov rax, qword [rsp + 0x58]
mov qword [rdi + 0x10], rax
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rdi], xmm0
mov dword [rsi], 0
test rsi, rsi
je 0x14003369a
lea rdi, [rsp + 0xc0]
mov r8d, 0x20a
mov rcx, rdi
mov dl, 0xaa
call fcn.1400d47c0
mov rcx, rdi
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x14003369a
lea rdx, [0x1401718b0]
lea rcx, [rsp + 0xc0]
call fcn.1400f6054
test rax, rax
je 0x140033634
mov word [rax + 2], 0
xor eax, eax
lea r9, [rsp + 0x80]
mov dword [r9], eax
mov dword [rsp + 0x38], eax
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], 0
lea rcx, [rsp + 0xc0]
xor edx, edx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x14003369a
mov eax, dword [rsp + 0x80]
mov dword [rsi], eax
mov rcx, qword [rsp + 0x2d8]
xor rcx, rsp
call fcn.1400d2660
mov al, 1
add rsp, 0x2e0
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov ecx, 3
call fcn.14008f360
mov dword [rsi], 0
jmp 0x140033676
mov rcx, qword [rdi]
call fcn.1400d0be4
jmp 0x1400335c7
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor ebp, ebp
cmp eax, 0x7a
jne 0x1400334dd
cmp dword [rsp + 0x48], 0x44
ja 0x1400334dd
mov ecx, dword [rsp + 0x80]
cmp rcx, 0x81
jb 0x1400336ff
add rcx, rcx
call fcn.1400d0c2c
mov r14, rax
test rbx, rbx
je 0x140033702
mov rcx, rbx
call fcn.1400d0c34
jmp 0x140033702
mov r14, rbx
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r14
lea rdx, [rsp + 0xa0]
lea r8, [rsp + 0xc0]
lea r9, [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
test eax, eax
setne bpl
mov rbx, r14
jmp 0x1400334dd
lea rax, str.string::assign_received_nullptr
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude_string
lea r9, str.__s___nullptr
mov r8d, 0x9f3
call fcn.14010d520
lea rax, str.string_view::string_view__CharT___size_t_:_length_does_not_fit_in_difference_type
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude_string_view
lea r9, str.__len___static_cast_size_type__numeric_limits_difference_type_::max___
mov r8d, 0x13a
call fcn.14010d520
lea rax, str.string_view::string_view__CharT___size_t_:_received_nullptr
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude_string_view
lea r9, str.__len__0____s___nullptr
mov r8d, 0x13c
call fcn.14010d520
int3