Function at 0x140005470
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x480]
sub rsp, 0x580
lea rcx, str.____Context_initialize..._n
call fcn.140001dd0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateJobObjectW]
mov qword [0x14006af98], rax
xor r15d, r15d
test rax, rax
je 0x140005524
mov dword [rbp - 0x30], r15d
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [rbp - 0x2c], xmm0
movups xmmword [rbp - 0x1c], xmm0
movups xmmword [rbp - 0xc], xmm0
movups xmmword [rbp + 4], xmm0
movups xmmword [rbp + 0x14], xmm0
movups xmmword [rbp + 0x24], xmm0
movups xmmword [rbp + 0x34], xmm0
movups xmmword [rbp + 0x44], xmm0
mov qword [rbp + 0x54], rcx
mov dword [rbp + 0x5c], ecx
mov dword [rbp - 0x20], 0x2000
mov r9d, 0x90
lea r8, [rbp - 0x30]
lea edx, [rcx + 9]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetInformationJobObject]
test eax, eax
jne 0x140005530
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____SetInformationJobObject_failed_0x_X_n
call fcn.140001dd0
xor al, al
jmp 0x140005da7
lea rcx, str.____Job_object_not_created_n
call fcn.140001dd0
call fcn.140003980
test al, al
je 0x14000551d
mov edx, 0x104
lea rcx, [rbp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
jne 0x14000555f
lea rcx, str.____Can_t_get_windows_directory_n
call fcn.140001dd0
xor al, al
jmp 0x140005da7
lea rax, [rbp + 0x270]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x19]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
call fcn.140004f10
lea rax, str.ALLUSERSPROFILE
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 0xf
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x50]
call fcn.1400228f0
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.140021ba0
mov rbx, rax
lea r14, [0x140063d68]
cmp r14, rax
je 0x140005653
mov rdx, qword [0x140063d80]
cmp rdx, 7
jbe 0x140005616
mov rcx, qword [0x140063d68]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x140005611
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140005dca
mov rcx, r8
call fcn.1400256e4
movdqa xmm0, xmmword [0x1400590d0]
movdqu xmmword [0x140063d78], xmm0
mov word [0x140063d68], r15w
movups xmm0, xmmword [rbx]
movups xmmword [0x140063d68], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [0x140063d78], xmm1
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 7
mov word [rbx], r15w
mov rdx, qword [rbp - 0x78]
cmp rdx, 7
jbe 0x140005694
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000568f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005dca
call fcn.1400256e4
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x48], r15
lea rax, [rbp + 0x60]
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp word [rax + r8*2], r15w
jne 0x1400056b4
lea rdx, [rbp + 0x60]
lea rcx, [rsp + 0x30]
call fcn.140001f70
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x70]
call fcn.140021ba0
mov rdi, rax
lea rsi, [0x140063cf8]
cmp rsi, rax
je 0x140005771
mov rdx, qword [0x140063d10]
cmp rdx, 7
jbe 0x140005734
mov rcx, qword [0x140063cf8]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x14000572f
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140005dd0
mov rcx, r8
call fcn.1400256e4
movdqa xmm0, xmmword [0x1400590d0]
movdqu xmmword [0x140063d08], xmm0
mov word [0x140063cf8], r15w
movups xmm0, xmmword [rdi]
movups xmmword [0x140063cf8], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [0x140063d08], xmm1
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], 7
mov word [rdi], r15w
mov rdx, qword [rbp - 0x78]
cmp rdx, 7
jbe 0x1400057b2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400057ad
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005dd0
call fcn.1400256e4
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x48], r15
lea rax, [rbp + 0x270]
nop dword [rax + rax]
inc rbx
cmp word [rax + rbx*2], r15w
jne 0x1400057d0
mov r8, rbx
lea rdx, [rbp + 0x270]
lea rcx, [rsp + 0x30]
call fcn.140001f70
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x70]
call fcn.140021ba0
mov rbx, rax
lea rdi, [0x140063e18]
cmp rdi, rax
je 0x140005893
mov rdx, qword [0x140063e30]
cmp rdx, 7
jbe 0x140005856
mov rcx, qword [0x140063e18]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x140005851
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140005dd6
mov rcx, r8
call fcn.1400256e4
movdqa xmm0, xmmword [0x1400590d0]
movdqu xmmword [0x140063e28], xmm0
mov word [0x140063e18], r15w
movups xmm0, xmmword [rbx]
movups xmmword [0x140063e18], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [0x140063e28], xmm1
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 7
mov word [rbx], r15w
mov rdx, qword [rbp - 0x78]
cmp rdx, 7
jbe 0x1400058d4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400058cf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005dd6
call fcn.1400256e4
cmp qword [0x140063d80], 7
cmova r14, qword [0x140063d68]
mov rdx, r14
lea rcx, str.____sALLUSERSPROFILE:__s_n
call fcn.140001dd0
cmp qword [0x140063d10], 7
cmova rsi, qword [0x140063cf8]
mov rdx, rsi
lea rcx, str.____sWindowsDirectory:__s_n
call fcn.140001dd0
cmp qword [0x140063e30], 7
cmova rdi, qword [0x140063e18]
mov rdx, rdi
lea rcx, str.____sPublicDesktop:__s_n
call fcn.140001dd0
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], r15
mov qword [rbp - 0x58], 7
mov word [rbp - 0x70], r15w
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x68], 7
mov word [rsp + 0x50], r15w
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x70]
call fcn.1400035d0
test al, al
je 0x140005a05
lea rax, [rbp - 0x70]
cmp qword [rbp - 0x58], 7
cmova rax, qword [rbp - 0x70]
mov qword [rsp + 0x30], rax
mov rax, qword [rbp - 0x60]
mov qword [rsp + 0x38], rax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
lea rdx, [0x140063e50]
lea rcx, [rsp + 0x30]
call fcn.140014ae0
test eax, eax
je 0x140005d10
lea rax, [rsp + 0x50]
cmp qword [rsp + 0x68], 7
cmova rax, qword [rsp + 0x50]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x38], rax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
lea rdx, [0x140063ce0]
lea rcx, [rsp + 0x30]
call fcn.140014ae0
test eax, eax
je 0x140005d10
lea rcx, str.___Keys_retrieved_from_registry_n
jmp 0x140005a7b
call fcn.140014c20
test eax, eax
je 0x140005d10
lea rdx, [0x140063ce0]
lea rcx, [0x140063cb0]
call fcn.140014e40
test eax, eax
je 0x140005d10
lea rdx, [rbp - 0x70]
lea rcx, [0x140063e50]
call fcn.140014960
test eax, eax
je 0x140005d10
lea rdx, [rsp + 0x50]
lea rcx, [0x140063ce0]
call fcn.140014960
test eax, eax
je 0x140005d10
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x70]
call fcn.1400032c0
test al, al
je 0x140005d10
lea rcx, str.___Keys_saved_to_registry_n
call fcn.140001dd0
mov rax, qword [0x140063e58]
sub rax, qword [0x140063e50]
cmp rax, 0x114
jne 0x140005d10
mov rax, qword [0x140063ce8]
sub rax, qword [0x140063ce0]
cmp rax, 0x500
jne 0x140005d10
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov r8d, 0xc
lea rdx, str._IDENTIFIER_
lea rcx, [rsp + 0x30]
call fcn.140001f70
nop
lea rdi, [0x140063dd8]
mov rdx, rdi
lea rcx, [rbp - 0x50]
call fcn.1400021c0
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x30]
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.140022720
mov rbx, rax
cmp rdi, rax
je 0x140005b96
mov rdx, qword [0x140063df0]
cmp rdx, 7
jbe 0x140005b59
mov rcx, qword [0x140063dd8]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x140005b54
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140005ddc
mov rcx, r8
call fcn.1400256e4
movdqa xmm0, xmmword [0x1400590d0]
movdqu xmmword [0x140063de8], xmm0
mov word [0x140063dd8], r15w
movups xmm0, xmmword [rbx]
movups xmmword [0x140063dd8], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [0x140063de8], xmm1
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 7
mov word [rbx], r15w
mov rdx, qword [rbp - 0x78]
cmp rdx, 7
jbe 0x140005bd7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005bd2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005ddc
call fcn.1400256e4
movdqa xmm0, xmmword [0x1400590d0]
movdqu xmmword [rbp - 0x80], xmm0
mov word [rsp + 0x70], r15w
mov rdx, qword [rsp + 0x48]
cmp rdx, 7
jbe 0x140005c2c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005c27
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005de2
call fcn.1400256e4
mov rdx, rdi
lea rcx, [rsp + 0x70]
call fcn.140022430
mov rbx, rax
lea rax, [0x140063da0]
cmp rax, rbx
je 0x140005cc4
mov rdx, qword [0x140063db8]
cmp rdx, 0xf
jbe 0x140005c89
mov rcx, qword [0x140063da0]
inc rdx
cmp rdx, 0x1000
jb 0x140005c84
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140005de8
mov rcx, r8
call fcn.1400256e4
movdqa xmm0, xmmword [0x1400590e0]
movdqu xmmword [0x140063db0], xmm0
mov byte [0x140063da0], 0
movups xmm0, xmmword [rbx]
movups xmmword [0x140063da0], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [0x140063db0], xmm1
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x140005d00
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005cfb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005de8
call fcn.1400256e4
lea rcx, str.___Context_initialized_n
call fcn.140001dd0
mov bl, 1
jmp 0x140005d12
xor bl, bl
mov rdx, qword [rsp + 0x68]
cmp rdx, 7
jbe 0x140005d54
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005d4f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005dee
call fcn.1400256e4
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x68], 7
mov word [rsp + 0x50], r15w
mov rdx, qword [rbp - 0x58]
cmp rdx, 7
jbe 0x140005da4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005d9f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005dc4
call fcn.1400256e4
movzx eax, bl
lea r11, [rsp + 0x580]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.140036a34
int3
call fcn.140036a34
int3
call fcn.140036a34
int3
call fcn.140036a34
nop
call fcn.140036a34
nop
call fcn.140036a34
int3
call fcn.140036a34
nop
call fcn.140036a34
int3