Function at 0x140005470
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x260]
sub rsp, 0x360
lea rcx, str.____Context_initialize..._n
call fcn.140001db0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateJobObjectW]
mov qword [0x140069518], rax
xor r14d, r14d
test rax, rax
je 0x14000551e
mov dword [rbp - 0x40], r14d
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [rbp - 0x3c], xmm0
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
mov qword [rbp + 0x44], rcx
mov dword [rbp + 0x4c], ecx
mov dword [rbp - 0x30], 0x2000
mov r9d, 0x90
lea r8, [rbp - 0x40]
lea edx, [rcx + 9]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetInformationJobObject]
test eax, eax
jne 0x14000552a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____SetInformationJobObject_failed_0x_X_n
call fcn.140001db0
xor al, al
jmp 0x140005c46
lea rcx, str.____Job_object_not_created_n
call fcn.140001db0
call fcn.1400038f0
test al, al
je 0x140005517
mov edx, 0x104
lea rcx, [rbp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
jne 0x140005559
lea rcx, str.____Can_t_get_windows_directory_n
call fcn.140001db0
xor al, al
jmp 0x140005c46
call fcn.140004e40
lea rax, str.ALLUSERSPROFILE
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], 0xf
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm0
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x60]
call fcn.140021dc0
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.1400210d0
mov rbx, rax
lea rsi, [0x140061ce0]
cmp rsi, rax
je 0x14000562f
mov rdx, qword [0x140061cf8]
cmp rdx, 8
jb 0x1400055f2
mov rcx, qword [0x140061ce0]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x1400055ed
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140005c64
mov rcx, r8
call fcn.140024d94
movdqa xmm0, xmmword [0x140056dc0]
movdqu xmmword [0x140061cf0], xmm0
mov word [0x140061ce0], r14w
movups xmm0, xmmword [rbx]
movups xmmword [0x140061ce0], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [0x140061cf0], xmm1
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], 7
mov word [rbx], r14w
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x140005671
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000566c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005c64
call fcn.140024d94
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], r14
lea rax, [rbp + 0x50]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rax + r8*2], r14w
jne 0x140005690
lea rdx, [rbp + 0x50]
lea rcx, [rsp + 0x20]
call fcn.140001ef0
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x60]
call fcn.1400210d0
mov rbx, rax
lea rdi, [0x140061c70]
cmp rdi, rax
je 0x14000574d
mov rdx, qword [0x140061c88]
cmp rdx, 8
jb 0x140005710
mov rcx, qword [0x140061c70]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x14000570b
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140005c6a
mov rcx, r8
call fcn.140024d94
movdqa xmm0, xmmword [0x140056dc0]
movdqu xmmword [0x140061c80], xmm0
mov word [0x140061c70], r14w
movups xmm0, xmmword [rbx]
movups xmmword [0x140061c70], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [0x140061c80], xmm1
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], 7
mov word [rbx], r14w
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x14000578f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000578a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005c6a
call fcn.140024d94
cmp qword [0x140061cf8], 8
cmovae rsi, qword [0x140061ce0]
mov rdx, rsi
lea rcx, str.____sALLUSERSPROFILE:__s_n
call fcn.140001db0
cmp qword [0x140061c88], 8
cmovae rdi, qword [0x140061c70]
mov rdx, rdi
lea rcx, str.____sWindowsDirectory:__s_n
call fcn.140001db0
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], r14
mov qword [rbp - 0x68], 7
mov word [rbp - 0x80], r14w
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], r14w
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x80]
call fcn.140003540
test al, al
je 0x1400058a1
lea rax, [rbp - 0x80]
cmp qword [rbp - 0x68], 8
cmovae rax, qword [rbp - 0x80]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp - 0x70]
mov qword [rsp + 0x28], rax
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm0
lea rdx, [0x140061da8]
lea rcx, [rsp + 0x20]
call fcn.140014610
test eax, eax
je 0x140005baf
lea rax, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rax, qword [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x28], rax
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm0
lea rdx, [0x140061c58]
lea rcx, [rsp + 0x20]
call fcn.140014610
test eax, eax
je 0x140005baf
lea rcx, str.___Keys_retrieved_from_registry_n
jmp 0x140005917
call fcn.140014750
test eax, eax
je 0x140005baf
lea rdx, [0x140061c58]
lea rcx, [0x140061c40]
call fcn.140014970
test eax, eax
je 0x140005baf
lea rdx, [rbp - 0x80]
lea rcx, [0x140061da8]
call fcn.140014490
test eax, eax
je 0x140005baf
lea rdx, [rsp + 0x40]
lea rcx, [0x140061c58]
call fcn.140014490
test eax, eax
je 0x140005baf
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x80]
call fcn.140003230
test al, al
je 0x140005baf
lea rcx, str.___Keys_saved_to_registry_n
call fcn.140001db0
mov rax, qword [0x140061db0]
sub rax, qword [0x140061da8]
cmp rax, 0x114
jne 0x140005baf
mov rax, qword [0x140061c60]
sub rax, qword [0x140061c58]
cmp rax, 0x500
jne 0x140005baf
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x30], xmm1
mov r8d, 0xc
lea rdx, str._IDENTIFIER_
lea rcx, [rsp + 0x20]
call fcn.140001ef0
nop
lea rdi, [0x140061d50]
mov rdx, rdi
lea rcx, [rbp - 0x60]
call fcn.140002140
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x20]
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.140021bf0
mov rbx, rax
cmp rdi, rax
je 0x140005a32
mov rdx, qword [0x140061d68]
cmp rdx, 8
jb 0x1400059f5
mov rcx, qword [0x140061d50]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x1400059f0
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140005c70
mov rcx, r8
call fcn.140024d94
movdqa xmm0, xmmword [0x140056dc0]
movdqu xmmword [0x140061d60], xmm0
mov word [0x140061d50], r14w
movups xmm0, xmmword [rbx]
movups xmmword [0x140061d50], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [0x140061d60], xmm1
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], 7
mov word [rbx], r14w
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x140005a74
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005a6f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005c70
call fcn.140024d94
movdqa xmm0, xmmword [0x140056dc0]
movdqu xmmword [rsp + 0x70], xmm0
mov word [rsp + 0x60], r14w
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x140005aca
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005ac5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005c76
call fcn.140024d94
mov rdx, rdi
lea rcx, [rsp + 0x60]
call fcn.140021900
mov rbx, rax
lea rax, [0x140061d18]
cmp rax, rbx
je 0x140005b62
mov rdx, qword [0x140061d30]
cmp rdx, 0x10
jb 0x140005b27
mov rcx, qword [0x140061d18]
inc rdx
cmp rdx, 0x1000
jb 0x140005b22
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140005c7c
mov rcx, r8
call fcn.140024d94
movdqa xmm0, xmmword [0x140056dd0]
movdqu xmmword [0x140061d28], xmm0
mov byte [0x140061d18], 0
movups xmm0, xmmword [rbx]
movups xmmword [0x140061d18], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [0x140061d28], xmm1
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
mov rdx, qword [rsp + 0x78]
cmp rdx, 0x10
jb 0x140005b9f
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005b9a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005c7c
call fcn.140024d94
lea rcx, str.___Context_initialized_n
call fcn.140001db0
mov bl, 1
jmp 0x140005bb1
xor bl, bl
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x140005bf3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005bee
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005c82
call fcn.140024d94
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], r14w
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
jb 0x140005c43
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005c3e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005c5e
call fcn.140024d94
movzx eax, bl
lea r11, [rsp + 0x360]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.140035ab4
int3
call fcn.140035ab4
int3
call fcn.140035ab4
nop
call fcn.140035ab4
nop
call fcn.140035ab4
int3
call fcn.140035ab4
nop
call fcn.140035ab4
int3