Function at 0x14000bd4c
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r13
push rbp
push r14
push r15
lea rbp, [rax - 0xc98]
sub rsp, 0xd80
mov rax, qword [0x14006f100]
xor rax, rsp
mov qword [rbp + 0xc70], rax
xor r14d, r14d
lea rax, [0x140070e80]
mov qword [rsp + 0x40], rax
mov rcx, rax
call fcn.14002b7c4
test eax, eax
jne 0x14000c25c
cmp dword [0x140070ecc], 0x7fffffff
je 0x14000c241
lea rcx, [0x140070e60]
call qword [sym.imp.ole32.dll_CoCreateGuid]
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rsp + 0x20]
call fcn.14000ba90
mov rbx, rax
lea rcx, [section..data]
cmp rcx, rax
je 0x14000be0d
call fcn.140002260
movups xmm0, xmmword [rbx]
movups xmmword [section..data], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [0x14006f010], xmm1
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], 7
mov word [rbx], r14w
lea rcx, [rsp + 0x20]
call fcn.140002260
mov word [rbp + 0x470], r14w
mov edi, 0x400
mov r8d, edi
lea rdx, [rbp + 0x470]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rdx, [rbp + 0x470]
lea rcx, [0x14006f020]
call fcn.14000af04
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [0x140070e70], eax
mov word [rbp + 0x470], r14w
lea rdx, [rbp + 0x470]
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea rdx, [rbp + 0x470]
lea rcx, [0x14006f040]
call fcn.14000af04
mov r15d, 1
mov byte [0x140070e74], r15b
xor edx, edx
mov r8d, 0x110
lea rcx, [rsp + 0x54]
call fcn.1400526b0
mov dword [rsp + 0x50], 0x114
lea rcx, [0x140056cb0]
call fcn.14001f868
mov rcx, rax
call fcn.140022f70
mov rbx, rax
test rax, rax
je 0x14000bf13
lea rcx, [0x140056db8]
call fcn.14001f74c
mov rdx, rax
mov rcx, rbx
call fcn.140022afc
test rax, rax
je 0x14000bf13
lea rcx, [rsp + 0x50]
call rax
test eax, eax
jne 0x14000bf13
mov cl, byte [rsp + 0x54]
mov byte [0x140070e75], cl
mov al, byte [rsp + 0x58]
mov byte [0x140070e76], al
cmp cl, 0xa
jne 0x14000bf13
cmp dword [rsp + 0x5c], 0x55f0
jb 0x14000bf13
mov byte [0x140070e75], 0xb
mov edx, edi
lea rcx, [rbp + 0x70]
call fcn.140024008
test eax, eax
jne 0x14000c1e8
lea rax, [rbp + 0x70]
or rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], r14b
jne 0x14000bf2e
mov rax, qword [0x14006f098]
cmp rbx, rax
ja 0x14000bf72
lea rdi, [0x14006f080]
cmp rax, 0xf
cmova rdi, qword [0x14006f080]
mov qword [0x14006f090], rbx
mov r8, rbx
lea rdx, [rbp + 0x70]
mov rcx, rdi
call fcn.140052a70
mov byte [rdi + rbx], r14b
jmp 0x14000bf88
lea r9, [rbp + 0x70]
mov r8b, r14b
mov rdx, rbx
lea rcx, [0x14006f080]
call fcn.14000ace4
lea rcx, [rbp + 0x70]
call fcn.140023f60
mov rdi, rax
lea r13, [0x14006f060]
mov rcx, r13
cmp qword [0x14006f078], 0xf
cmova rcx, qword [0x14006f060]
mov qword [0x14006f070], r14
mov byte [rcx], r14b
test rax, rax
je 0x14000c1e8
mov ebx, r14d
mov rax, qword [rax + 0x18]
cmp qword [rax], r14
je 0x14000c1e8
mov rcx, r14
mov rsi, qword [rcx + rax]
test ebx, ebx
je 0x14000bfee
mov r8, r15
lea rdx, [0x140056dcc]
mov rcx, r13
call fcn.1400078f8
movzx edx, byte [rsi]
lea rcx, [rsp + 0x20]
call fcn.14000ac54
nop
lea rdx, [rsp + 0x20]
cmp qword [rsp + 0x38], 0xf
cmova rdx, qword [rsp + 0x20]
mov r8, qword [rsp + 0x30]
mov rcx, r13
call fcn.1400078f8
nop
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x14000c058
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c053
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000c256
call fcn.14002dc14
mov r8, r15
lea rdx, [0x140056dd0]
mov rcx, r13
call fcn.1400078f8
movzx edx, byte [rsi + 1]
lea rcx, [rsp + 0x20]
call fcn.14000ac54
nop
lea rdx, [rsp + 0x20]
cmp qword [rsp + 0x38], 0xf
cmova rdx, qword [rsp + 0x20]
mov r8, qword [rsp + 0x30]
mov rcx, r13
call fcn.1400078f8
nop
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x14000c0d5
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c0d0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000c256
call fcn.14002dc14
mov r8, r15
lea rdx, [0x140056dd0]
mov rcx, r13
call fcn.1400078f8
movzx edx, byte [rsi + 2]
lea rcx, [rsp + 0x20]
call fcn.14000ac54
nop
lea rdx, [rsp + 0x20]
cmp qword [rsp + 0x38], 0xf
cmova rdx, qword [rsp + 0x20]
mov r8, qword [rsp + 0x30]
mov rcx, r13
call fcn.1400078f8
nop
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x14000c152
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c14d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000c256
call fcn.14002dc14
mov r8, r15
lea rdx, [0x140056dd0]
mov rcx, r13
call fcn.1400078f8
movzx edx, byte [rsi + 3]
lea rcx, [rsp + 0x20]
call fcn.14000ac54
nop
lea rdx, [rsp + 0x20]
cmp qword [rsp + 0x38], 0xf
cmova rdx, qword [rsp + 0x20]
mov r8, qword [rsp + 0x30]
mov rcx, r13
call fcn.1400078f8
nop
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x14000c1cf
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c1ca
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000c256
call fcn.14002dc14
add ebx, r15d
lea rcx, [rbx*8]
mov rax, qword [rdi + 0x18]
cmp qword [rcx + rax], r14
jne 0x14000bfd4
call qword [sym.imp.KERNEL32.dll_GetACP]
mov dword [0x140070e7c], eax
mov byte [0x140070e78], r15b
mov byte [0x140070e77], r15b
lea rcx, [0x140070e80]
call fcn.14002b7ec
mov al, r15b
mov rcx, qword [rbp + 0xc70]
xor rcx, rsp
call fcn.14002dcb0
lea r11, [rsp + 0xd80]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r13, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
mov dword [0x140070ecc], 0x7ffffffe
mov ecx, 6
call fcn.14002b648
nop
call fcn.140034e14
nop
mov ecx, 5
call fcn.14002b648
int3