Function at 0x14003a124
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], r12
push rbp
push r14
push r15
lea rbp, [rax - 0xc98]
sub rsp, 0xd80
mov rax, qword [0x140072040]
xor rax, rsp
mov qword [rbp + 0xc70], rax
lea rax, [0x140075a50]
mov qword [rsp + 0x40], rax
mov rcx, rax
call fcn.140009e54
xor r14d, r14d
test eax, eax
jne 0x14003a65e
cmp dword [0x140075a9c], 0x7fffffff
je 0x14003a669
lea rcx, [0x1400759b8]
call qword [sym.imp.ole32.dll_CoCreateGuid]
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rsp + 0x20]
call fcn.140039a30
mov rbx, rax
lea rcx, [0x140072cc8]
cmp rcx, rax
je 0x14003a1e5
call fcn.1400016f0
movups xmm0, xmmword [rbx]
movups xmmword [0x140072cc8], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [0x140072cd8], xmm1
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], 7
mov word [rbx], r14w
lea rcx, [rsp + 0x20]
call fcn.1400016f0
mov word [rbp + 0x470], r14w
mov ebx, 0x400
mov r8d, ebx
lea rdx, [rbp + 0x470]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rdx, [rbp + 0x470]
lea rcx, [0x140072d48]
call fcn.14000374c
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [0x1400759c8], eax
lea rcx, [rsp + 0x20]
call fcn.140038e1c
mov rdx, rax
lea rcx, [0x140072d28]
call fcn.1400037c8
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x14003a283
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003a27e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003a67e
call fcn.14000c2e4
mov word [rbp + 0x470], r14w
lea rdx, [rbp + 0x470]
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea rdx, [rbp + 0x470]
lea rcx, [0x140072ca8]
call fcn.14000374c
mov r15d, 1
mov byte [0x1400759b2], r15b
xor edx, edx
mov r8d, pe_nt_image_headers64
lea rcx, [rsp + 0x54]
call fcn.1400522a0
mov dword [rsp + 0x50], 0x114
lea rcx, [0x140062db0]
call fcn.140046294
mov rcx, rax
call fcn.14004aaf8
mov rbx, rax
test rax, rax
je 0x14003a341
lea rcx, [0x140062dd0]
call fcn.14004619c
mov rdx, rax
mov rcx, rbx
call fcn.14004aa34
test rax, rax
je 0x14003a341
lea rcx, [rsp + 0x50]
call rax
test eax, eax
jne 0x14003a341
mov cl, byte [rsp + 0x54]
mov byte [0x1400759b1], cl
mov al, byte [rsp + 0x58]
mov byte [0x1400759b3], al
cmp cl, 0xa
jne 0x14003a341
cmp dword [rsp + 0x5c], 0x55f0
jb 0x14003a341
mov byte [0x1400759b1], 0xb
lea rcx, [rbp + 0x70]
call fcn.140049bd8
test eax, eax
jne 0x14003a5f9
lea rax, [rbp + 0x70]
or rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], r14b
jne 0x14003a35a
mov rax, qword [reloc.OLEAUT32.dll_SafeArrayDestroy]
cmp rbx, rax
ja 0x14003a39e
lea rdi, [0x140072ce8]
cmp rax, 0xf
cmova rdi, qword [0x140072ce8]
mov qword [0x140072cf8], rbx
mov r8, rbx
lea rdx, [rbp + 0x70]
mov rcx, rdi
call fcn.140051c00
mov byte [rdi + rbx], r14b
jmp 0x14003a3b1
lea r9, [rbp + 0x70]
mov rdx, rbx
lea rcx, [0x140072ce8]
call fcn.140003978
lea rcx, [rbp + 0x70]
call fcn.140049b28
mov rsi, rax
lea r12, [0x140072d08]
mov rcx, r12
cmp qword [reloc.OLEAUT32.dll_SafeArrayDestroy], 0xf
cmova rcx, qword [0x140072d08]
mov qword [0x140072d18], r14
mov byte [rcx], r14b
test rax, rax
je 0x14003a5f9
mov edi, r14d
mov rax, qword [rax + 0x18]
cmp qword [rax], r14
je 0x14003a5f9
mov rcx, r14
mov rbx, qword [rax + rcx]
test edi, edi
je 0x14003a417
mov r8, r15
lea rdx, [0x140062c54]
mov rcx, r12
call fcn.140002860
movzx edx, byte [rbx]
lea rcx, [rsp + 0x20]
call fcn.14000369c
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x14003a433
mov rax, qword [rax]
mov rdx, rax
mov rcx, r12
call fcn.140002860
nop
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x14003a47c
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003a477
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003a684
call fcn.14000c2e4
mov r8, r15
lea rdx, [0x140062bfc]
mov rcx, r12
call fcn.140002860
movzx edx, byte [rbx + 1]
lea rcx, [rsp + 0x20]
call fcn.14000369c
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x14003a4ab
mov rax, qword [rax]
mov rdx, rax
mov rcx, r12
call fcn.140002860
nop
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x14003a4f4
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003a4ef
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003a68a
call fcn.14000c2e4
mov r8, r15
lea rdx, [0x140062de8]
mov rcx, r12
call fcn.140002860
movzx edx, byte [rbx + 2]
lea rcx, [rsp + 0x20]
call fcn.14000369c
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x14003a523
mov rax, qword [rax]
mov rdx, rax
mov rcx, r12
call fcn.140002860
nop
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x14003a56c
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003a567
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003a652
call fcn.14000c2e4
mov r8, r15
lea rdx, str..._..
mov rcx, r12
call fcn.140002860
movzx edx, byte [rbx + 3]
lea rcx, [rsp + 0x20]
call fcn.14000369c
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x14003a59b
mov rax, qword [rax]
mov rdx, rax
mov rcx, r12
call fcn.140002860
nop
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x14003a5e0
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003a5db
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003a658
call fcn.14000c2e4
add edi, r15d
lea rcx, [rdi*8]
mov rax, qword [rsi + 0x18]
cmp qword [rcx + rax], r14
jne 0x14003a3fd
call qword [sym.imp.KERNEL32.dll_GetACP]
mov dword [0x1400759cc], eax
mov byte [0x1400759b4], r15b
mov byte [0x1400759b0], r15b
lea rcx, [0x140075a50]
call fcn.140009e7c
mov al, r15b
mov rcx, qword [rbp + 0xc70]
xor rcx, rsp
call fcn.14000c280
lea r11, [rsp + 0xd80]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.140013644
nop
call fcn.140013644
nop
mov ecx, 5
call fcn.140009c6c
int3
mov dword [0x140075a9c], 0x7ffffffe
mov ecx, 6
call fcn.140009c6c
nop
call fcn.140013644
int3
call fcn.140013644
int3
call fcn.140013644
int3