Function at 0x100064194
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x4d0
mov rax, qword [0x1000a1108]
xor rax, rsp
mov qword [rsp + 0x4c0], rax
mov r15, r8
mov r14, rdx
mov r12, rcx
call fcn.1000602fc
xor r13d, r13d
cmp eax, r13d
jl 0x100064748
cmp qword [r12], r13
jne 0x1000641e7
mov eax, 0x80004003
jmp 0x100064748
or rsi, 0xffffffffffffffff
lea rbp, [0x1000a1170]
cmp r14, r13
je 0x100064329
mov rax, qword [0x1000a1180]
lea rcx, [rsp + 0x38]
mov edx, 0xf761
mov qword [rsp + 0x38], rax
call fcn.1000167ac
cmp eax, r13d
jne 0x10006424f
mov rcx, qword [rsp + 0x38]
lea rbp, [0x1000a1170]
add rcx, 0xfffffffffffffff4
cmp rcx, rbp
je 0x100064245
or rsi, rsi
mov eax, esi
lock xadd dword [rcx], eax
add eax, esi
cmp eax, r13d
jg 0x100064245
call fcn.10007a490
mov eax, 0x80004005
jmp 0x100064748
mov rbx, qword [rsp + 0x38]
cmp rbx, r13
jne 0x1000642a8
mov rdi, r13
mov rax, qword [r14]
mov r8, rdi
xor edx, edx
mov rcx, r14
call qword [rax + 0x18]
mov rcx, rdi
mov r13d, eax
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
test r13d, r13d
jns 0x1000642c4
lea rcx, [rbx - 0xc]
lea rbp, [0x1000a1170]
cmp rcx, rbp
je 0x1000642a0
or rsi, 0xffffffffffffffff
mov eax, esi
lock xadd dword [rcx], eax
add eax, esi
test eax, eax
jg 0x1000642a0
call fcn.10007a490
mov eax, r13d
jmp 0x100064748
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rdi, rax
cmp rax, r13
jne 0x10006425c
mov ecx, 0x8007000e
call fcn.100016990
int3
mov rax, qword [r14]
xorpd xmm1, xmm1
xor r8d, r8d
mov rcx, r14
call qword [rax + 0x20]
xor r13d, r13d
cmp eax, r13d
mov edi, eax
jge 0x10006430e
lea rbp, [0x1000a1170]
add rbx, 0xfffffffffffffff4
cmp rbx, rbp
je 0x100064307
or rsi, 0xffffffffffffffff
mov ecx, esi
lock xadd dword [rbx], ecx
add ecx, esi
cmp ecx, r13d
jg 0x100064307
mov rcx, rbx
call fcn.10007a490
mov eax, edi
jmp 0x100064748
lea rcx, [rbx - 0xc]
cmp rcx, rbp
je 0x100064329
mov eax, esi
lock xadd dword [rcx], eax
add eax, esi
cmp eax, r13d
jg 0x100064329
call fcn.10007a490
cmp byte [r12 + 0x38], r13b
je 0x10006434e
mov rcx, qword [r12 + 0x40]
mov byte [r12 + 0x48], r13b
call qword [sym.imp.KERNEL32.dll_SetEvent]
cmp eax, r13d
jne 0x100064746
jmp 0x100064245
mov rcx, r12
call fcn.100063984
cmp eax, r13d
jl 0x100064748
mov rcx, qword [r12 + 8]
mov qword [rsp + 0x20], r13
lea r8, [rsp + 0x20]
mov rax, qword [rcx]
lea rdx, [0x100005ff8]
call qword [rax]
mov rcx, qword [rsp + 0x20]
cmp eax, r13d
mov ebx, eax
jge 0x100064398
cmp rcx, r13
je 0x100064391
mov rdx, qword [rcx]
call qword [rdx + 0x10]
mov eax, ebx
jmp 0x100064748
cmp rcx, r13
je 0x1000641dd
mov rax, qword [rcx]
mov rdx, r14
call qword [rax + 0x58]
mov rcx, qword [rsp + 0x20]
cmp eax, r13d
mov ebx, eax
jl 0x100064386
mov rax, qword [rcx]
mov rdx, r15
call qword [rax + 0x60]
cmp eax, r13d
mov ebx, eax
jge 0x1000643cd
mov rcx, qword [rsp + 0x20]
jmp 0x100064386
mov rcx, qword [r12 + 8]
mov edx, 0x2710
mov rax, qword [rcx]
call qword [rax + 0xb0]
cmp eax, r13d
mov ebx, eax
jl 0x1000643c6
cmp byte [r12 + 0x49], r13b
je 0x10006447b
mov rcx, qword [r12]
add rcx, 0x1f0
call fcn.10005fffc
mov rbx, rax
cmp rax, r13
je 0x100064461
mov rcx, qword [rax]
cmp rcx, r13
je 0x100064443
mov rdx, qword [r12]
mov r8, qword [rcx]
mov edx, dword [rdx + 0x260]
call qword [r8 + 0x70]
cmp eax, r13d
mov edi, eax
jge 0x100064443
mov rcx, qword [rsp + 0x20]
cmp rcx, r13
je 0x100064307
mov rdx, qword [rcx]
call qword [rdx + 0x10]
jmp 0x100064307
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rbx]
mov rax, qword [rcx]
call qword [rax + 0x40]
cmp eax, r13d
mov ebx, eax
jge 0x100064736
jmp 0x1000643c6
mov rcx, qword [rsp + 0x20]
cmp rcx, r13
je 0x100064471
mov rax, qword [rcx]
call qword [rax + 0x10]
mov eax, 0x80070057
jmp 0x100064748
mov rax, qword [0x1000a1180]
mov ebx, 0x104
lea rcx, [rsp + 0x28]
mov edx, ebx
mov qword [rsp + 0x28], rax
call fcn.100016600
mov edx, ebx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
cmp eax, r13d
jne 0x1000644e1
mov rcx, qword [rsp + 0x28]
add rcx, 0xfffffffffffffff4
cmp rcx, rbp
je 0x1000644c8
mov eax, esi
lock xadd dword [rcx], eax
add eax, esi
cmp eax, r13d
jg 0x1000644c8
call fcn.10007a490
mov rcx, qword [rsp + 0x20]
cmp rcx, r13
je 0x100064245
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x100064245
lea rcx, [rsp + 0x28]
call fcn.1000166e4
mov rbx, qword [rsp + 0x28]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov rdx, rbx
mov dword [rbx - 8], eax
movsxd rcx, eax
mov eax, 0x5c
mov word [rbx + rcx*2], r13w
lea rcx, [rsp + 0x50]
mov word [rsp + 0x4a8], ax
mov qword [rsp + 0x4b0], r13
mov dword [rsp + 0x4b8], r13d
call fcn.100017cc4
cmp eax, r13d
jne 0x100064568
mov rcx, qword [rsp + 0x4b0]
mov dword [rsp + 0x4b8], r13d
cmp rcx, r13
je 0x1000644a8
cmp rcx, rsi
je 0x1000644a8
call qword [sym.imp.KERNEL32.dll_FindClose]
mov qword [rsp + 0x4b0], r13
jmp 0x1000644a8
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.100017ac8
lea rdx, [0x100005f78]
lea rcx, [rsp + 0x40]
call fcn.10001ea80
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x48]
call fcn.10003aa58
mov rcx, qword [rax]
cmp rcx, r13
jne 0x1000646a1
mov rbx, r13
mov rcx, qword [rsp + 0x48]
add rcx, 0xfffffffffffffff4
cmp rcx, rbp
je 0x1000645d4
mov eax, esi
lock xadd dword [rcx], eax
add eax, esi
cmp eax, r13d
jg 0x1000645d4
mov rcx, qword [rsp + 0x48]
add rcx, 0xfffffffffffffff4
call fcn.10007a490
mov rcx, qword [rsp + 0x40]
add rcx, 0xfffffffffffffff4
cmp rcx, rbp
je 0x1000645f4
mov eax, esi
lock xadd dword [rcx], eax
add eax, esi
cmp eax, r13d
jg 0x1000645f4
call fcn.10007a490
mov rcx, qword [rsp + 0x20]
mov rdx, rbx
mov rax, qword [rcx]
call qword [rax + 0x30]
mov rcx, rbx
cmp eax, r13d
mov edi, eax
jge 0x1000646be
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov r11, qword [rsp + 0x30]
add r11, 0xfffffffffffffff4
cmp r11, rbp
je 0x100064640
mov ecx, esi
lock xadd dword [r11], ecx
add ecx, esi
cmp ecx, r13d
jg 0x100064640
mov rcx, qword [rsp + 0x30]
add rcx, 0xfffffffffffffff4
call fcn.10007a490
mov rcx, qword [rsp + 0x4b0]
mov dword [rsp + 0x4b8], r13d
cmp rcx, r13
je 0x100064668
cmp rcx, rsi
je 0x100064668
call qword [sym.imp.KERNEL32.dll_FindClose]
mov qword [rsp + 0x4b0], r13
mov rcx, qword [rsp + 0x28]
add rcx, 0xfffffffffffffff4
cmp rcx, rbp
je 0x100064688
mov eax, esi
lock xadd dword [rcx], eax
add eax, esi
cmp eax, r13d
jg 0x100064688
call fcn.10007a490
mov rcx, qword [rsp + 0x20]
cmp rcx, r13
je 0x100064307
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x100064307
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rbx, rax
cmp rax, r13
jne 0x1000645ab
mov ecx, 0x8007000e
call fcn.100016990
int3
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov r11, qword [rsp + 0x30]
add r11, 0xfffffffffffffff4
cmp r11, rbp
je 0x1000646ee
mov eax, esi
lock xadd dword [r11], eax
add eax, esi
cmp eax, r13d
jg 0x1000646ee
mov rcx, qword [rsp + 0x30]
add rcx, 0xfffffffffffffff4
call fcn.10007a490
mov rcx, qword [rsp + 0x4b0]
mov dword [rsp + 0x4b8], r13d
cmp rcx, r13
je 0x100064716
cmp rcx, rsi
je 0x100064716
call qword [sym.imp.KERNEL32.dll_FindClose]
mov qword [rsp + 0x4b0], r13
mov rcx, qword [rsp + 0x28]
add rcx, 0xfffffffffffffff4
cmp rcx, rbp
je 0x100064736
mov eax, esi
lock xadd dword [rcx], eax
add eax, esi
cmp eax, r13d
jg 0x100064736
call fcn.10007a490
mov rcx, qword [rsp + 0x20]
cmp rcx, r13
je 0x100064746
mov rax, qword [rcx]
call qword [rax + 0x10]
xor eax, eax
mov rcx, qword [rsp + 0x4c0]
xor rcx, rsp
call fcn.10007a3b0
mov rbx, qword [rsp + 0x528]
add rsp, 0x4d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret