Function at 0x140001190
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xcc0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0xcb0], rax
xor r13d, r13d
mov rbx, rcx
mov word [rcx], r13w
mov rbp, r8
movzx ecx, word [rdx]
mov r12, rdx
mov eax, r13d
test cx, cx
je 0x14000154c
nop dword [rax + rax]
cmp cx, 0x25
jne 0x140001517
test rax, rax
jne 0x140001205
lea rax, [rsp + 0xb0]
mov word [rsp + 0xb0], r13w
jmp 0x140001539
lea rdx, str.TEMP
mov word [rax], r13w
lea rcx, [rsp + 0xb0]
xor r15b, r15b
call fcn.14000af6c
test eax, eax
jne 0x140001237
mov rdx, rbx
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov r15b, 1
jmp 0x1400014d5
lea rdx, str.PROGRAM
lea rcx, [rsp + 0xb0]
call fcn.14000af6c
test eax, eax
jne 0x1400012ae
mov rdi, rbp
call fcn.140006ccc
mov rcx, qword [rax]
mov rax, rbx
mov rdx, qword [rcx]
cmp word [rbx], r13w
je 0x14000127d
nop word [rax + rax]
add rax, 2
dec rdi
cmp word [rax], r13w
jne 0x140001270
movzx ecx, word [rdx]
test cx, cx
je 0x1400012a5
cmp rdi, 1
jb 0x140001581
add rdx, 2
mov word [rax], cx
add rax, 2
dec rdi
movzx ecx, word [rdx]
test cx, cx
jne 0x140001285
mov word [rax], r13w
jmp 0x1400014d5
lea rdx, str.PROGRAM_BASE
lea rcx, [rsp + 0xb0]
call fcn.14000af6c
test eax, eax
jne 0x14000133a
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rbx + rax*2], r13w
jne 0x1400012d0
mov r8, rbp
lea rdx, str._PROGRAM_
sub r8, rax
mov rcx, rbx
call fcn.140001190
test al, al
je 0x14000157d
mov rax, 0xffffffffffffffff
nop
inc rax
cmp word [rbx + rax*2], r13w
jne 0x140001300
cmp rax, 4
jb 0x1400014d5
lea rdi, [rbx + rax*2]
lea rcx, [rdi - 8]
lea rdx, str..exe
call fcn.14000af6c
test eax, eax
jne 0x1400014d5
mov word [rdi - 8], r13w
jmp 0x1400014d5
lea rdx, [0x140020738]
lea rcx, [rsp + 0xb0]
call fcn.14000af6c
test eax, eax
jne 0x140001428
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea r8, [0x140020740]
mov edx, 0x80
mov r9d, eax
lea rcx, [rsp + 0x30]
call fcn.140001060
lea r14, [rsp + 0x30]
mov rsi, rbp
mov rdi, rbx
cmp word [rbx], r13w
je 0x14000139d
nop word [rax + rax]
add rdi, 2
dec rsi
cmp word [rdi], r13w
jne 0x140001390
movzx edx, byte [rsp + 0x30]
test dl, dl
je 0x1400014d5
nop word [rax + rax]
mov rcx, rsi
mov rax, rdi
cmp word [rdi], r13w
je 0x1400013cd
nop dword [rax]
add rax, 2
dec rcx
cmp word [rax], r13w
jne 0x1400013c0
cmp rcx, 1
jb 0x140001587
mov byte [rsp + 0x20], dl
mov rcx, 0xffffffffffffffff
mov byte [rsp + 0x21], r13b
nop word [rax + rax]
cmp word [rax + rcx*2 + 2], r13w
lea rcx, [rcx + 1]
jne 0x1400013f0
lea rcx, [rax + rcx*2]
mov r8d, 2
lea rdx, [rsp + 0x20]
call fcn.140006a58
movzx edx, byte [r14 + 1]
inc r14
add rdi, 2
dec rsi
test dl, dl
jne 0x1400013b0
jmp 0x1400014d5
lea rdx, str.HOME
lea rcx, [rsp + 0xb0]
call fcn.14000af6c
test eax, eax
jne 0x140001445
lea edx, [rax + 0x28]
jmp 0x140001460
lea rdx, str.CACHE_DIR
lea rcx, [rsp + 0xb0]
call fcn.14000af6c
test eax, eax
jne 0x140001478
lea edx, [rax + 0x1c]
mov r8, rbp
mov rcx, rbx
call fcn.1400010d0
test al, al
je 0x14000157d
mov r15b, 1
jmp 0x1400014d5
lea rdx, str.TIME
lea rcx, [rsp + 0xb0]
call fcn.14000af6c
test eax, eax
jne 0x14000157d
lea rcx, [rsp + 0x28]
mov qword [rsp + 0x28], r13
call qword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov r9, qword [rsp + 0x28]
lea r8, str._lld
mov edx, 0x400
lea rcx, [rsp + 0x8b0]
call fcn.140001060
mov r8, rbp
lea rdx, [rsp + 0x8b0]
mov rcx, rbx
call fcn.140001590
cmp word [rbx], r13w
je 0x1400014ed
nop dword [rax + rax]
add rbx, 2
dec rbp
cmp word [rbx], r13w
jne 0x1400014e0
test r15b, r15b
je 0x140001512
cmp word [rbx - 2], 0x5c
jne 0x140001512
nop dword [rax]
sub rbx, 2
inc rbp
mov word [rbx], r13w
cmp word [rbx - 2], 0x5c
je 0x140001500
mov rax, r13
jmp 0x140001539
test rax, rax
je 0x140001525
mov word [rax], cx
add rax, 2
jmp 0x140001539
cmp rbp, 1
jb 0x14000157d
mov word [rbx], cx
add rbx, 2
dec rbp
mov word [rbx], r13w
movzx ecx, word [r12 + 2]
add r12, 2
test cx, cx
jne 0x1400011e0
mov word [rbx], r13w
mov al, 1
mov rcx, qword [rsp + 0xcb0]
xor rcx, rsp
call fcn.1400020f0
mov rbx, qword [rsp + 0xd08]
add rsp, 0xcc0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
xor al, al
jmp 0x140001552
call fcn.140006724
int3
call fcn.140006724
int3