Function at 0x140039d08
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 r13
push r14
lea rbp, [rax - 0xb78]
sub rsp, 0xc60
mov rax, qword [0x140072040]
xor rax, rsp
mov qword [rbp + 0xb50], rax
call fcn.140042720
lea r13, [0x140075a50]
mov qword [rsp + 0x40], r13
mov rcx, r13
call fcn.140009e54
xor r14d, r14d
test eax, eax
jne 0x14003a0f1
cmp dword [0x140075a9c], 0x7fffffff
je 0x14003a0fc
lea rcx, [rsp + 0x20]
call fcn.140039a30
mov rbx, rax
lea rcx, [0x140072cc8]
cmp rcx, rax
je 0x140039db6
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
lea rdx, [rbp + 0x350]
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea rdx, [rbp + 0x350]
lea rcx, [0x140072ca8]
call fcn.14000374c
lea rcx, [rsp + 0x50]
call fcn.140049bd8
test eax, eax
jne 0x14003a0ad
lea rax, [rsp + 0x50]
or rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], r14b
jne 0x140039e00
mov rax, qword [reloc.OLEAUT32.dll_SafeArrayDestroy]
cmp rbx, rax
ja 0x140039e45
lea rdi, [0x140072ce8]
cmp rax, 0xf
cmova rdi, qword [0x140072ce8]
mov qword [0x140072cf8], rbx
mov r8, rbx
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.140051c00
mov byte [rdi + rbx], r14b
jmp 0x140039e59
lea r9, [rsp + 0x50]
mov rdx, rbx
lea rcx, [0x140072ce8]
call fcn.140003978
lea rcx, [rsp + 0x50]
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 0x14003a0ad
mov ebx, r14d
mov rax, qword [rax + 0x18]
cmp qword [rax], r14
je 0x14003a0ad
mov rcx, r14
mov rdi, qword [rax + rcx]
test ebx, ebx
je 0x140039ec3
mov r8d, 1
lea rdx, [0x140062dec]
mov rcx, r12
call fcn.140002860
movzx edx, byte [rdi]
lea rcx, [rsp + 0x20]
call fcn.14000369c
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x140039edf
mov rax, qword [rax]
mov rdx, rax
mov rcx, r12
call fcn.140002860
nop
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x140039f28
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140039f23
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003a111
call fcn.14000c2e4
mov r8d, 1
lea rdx, [0x140062df4]
mov rcx, r12
call fcn.140002860
movzx edx, byte [rdi + 1]
lea rcx, [rsp + 0x20]
call fcn.14000369c
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x140039f5a
mov rax, qword [rax]
mov rdx, rax
mov rcx, r12
call fcn.140002860
nop
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x140039fa3
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140039f9e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003a117
call fcn.14000c2e4
mov r8d, 1
lea rdx, [0x140062df0]
mov rcx, r12
call fcn.140002860
movzx edx, byte [rdi + 2]
lea rcx, [rsp + 0x20]
call fcn.14000369c
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x140039fd5
mov rax, qword [rax]
mov rdx, rax
mov rcx, r12
call fcn.140002860
nop
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x14003a01e
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003a019
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003a0e5
call fcn.14000c2e4
mov r8d, 1
lea rdx, [0x140062dfc]
mov rcx, r12
call fcn.140002860
movzx edx, byte [rdi + 3]
lea rcx, [rsp + 0x20]
call fcn.14000369c
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x14003a050
mov rax, qword [rax]
mov rdx, rax
mov rcx, r12
call fcn.140002860
nop
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x14003a095
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003a090
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003a0eb
call fcn.14000c2e4
inc ebx
lea rcx, [rbx*8]
mov rax, qword [rsi + 0x18]
cmp qword [rcx + rax], r14
jne 0x140039ea6
mov rcx, r13
call fcn.140009e7c
mov rcx, qword [rbp + 0xb50]
xor rcx, rsp
call fcn.14000c280
lea r11, [rsp + 0xc60]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop r13
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