Function at 0x10234f8
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbp
mov qword [rax + 0x18], r8
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x50
mov r13, rdx
lea rcx, [rax + 0x10]
mov rdx, r8
mov r14, r9
call fcn.0101074c
mov rcx, qword [0x01046880]
mov rbp, qword [rsp + 0x88]
mov qword [r13], rcx
cmp qword [rbp - 0x10], 0
je 0x102388a
mov rax, qword [r14]
cmp qword [rax - 0x10], 0
je 0x102388a
cmp qword [rsp + 0xa0], 0
je 0x102388a
mov r12, qword [0x01046880]
mov ecx, 0x82
mov qword [rsp + 0x30], r12
call fcn.010278c0
mov rdi, rax
test rax, rax
je 0x10235ea
mov edx, 0x40
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov esi, eax
test eax, eax
jne 0x1023598
mov rcx, rdi
call fcn.0102990c
jmp 0x10235ea
cmp eax, 0x40
jb 0x10235cb
inc eax
movsxd rcx, eax
add rcx, rcx
call fcn.010278c0
mov rdi, rax
test rax, rax
je 0x10235ea
mov edx, esi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x10235cb
mov rcx, rdi
call fcn.0102990c
xor edi, edi
test rdi, rdi
je 0x10235ea
lea rcx, [rsp + 0x30]
mov rdx, rdi
call fcn.01010b60
mov rcx, rdi
call fcn.0102990c
mov r12, qword [rsp + 0x30]
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0x28]
call fcn.0101074c
lea rcx, [rsp + 0x28]
call fcn.010108f0
mov rcx, qword [rsp + 0x28]
call fcn.0102aab4
mov rsi, qword [rsp + 0x28]
mov eax, 0xa
lea rdi, [0x0100a978]
mov rcx, rax
repe cmpsw word [rsi], word [rdi]
jne 0x102362e
mov rdx, r14
jmp 0x1023647
mov rsi, qword [rsp + 0x28]
lea rdi, [0x0100a990]
mov rcx, rax
repe cmpsw word [rsi], word [rdi]
jne 0x102364f
lea rdx, [rsp + 0x30]
mov rcx, r13
call fcn.01010aec
mov rax, qword [r13]
xor edi, edi
cmp qword [rax - 0x10], rdi
jne 0x1023876
mov rax, qword [0x01046880]
lea rdx, [0x0100a978]
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], rax
call fcn.01010b60
mov rsi, qword [rsp + 0x20]
mov rdx, rsi
mov rcx, rbp
call fcn.0102a7a4
cmp rax, rdi
jne 0x1023696
or eax, 0xffffffff
jmp 0x102369c
sub rax, rbp
sar rax, 1
movsxd r8, eax
cmp r8, 0xffffffffffffffff
jne 0x102374b
lea rdx, [0x0100a990]
lea rcx, [rsp + 0x20]
call fcn.01010b60
mov rsi, qword [rsp + 0x20]
mov rcx, rbp
mov rdx, rsi
call fcn.0102a7a4
cmp rax, rdi
jne 0x10236d4
or eax, 0xffffffff
jmp 0x10236da
sub rax, rbp
sar rax, 1
movsxd r8, eax
cmp r8, 0xffffffffffffffff
jne 0x102374b
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0x40]
call fcn.0101074c
mov rcx, qword [rsp + 0xa0]
lea rdx, [rsp + 0x38]
mov r8, rax
call fcn.01026e08
lea rcx, [rsp + 0x88]
mov rdx, rax
call fcn.01010aec
lea rcx, [rsp + 0x38]
call fcn.01010940
mov rdx, qword [rsp + 0x88]
cmp qword [rdx - 0x10], rdi
je 0x102386c
lea rdx, [rsp + 0x88]
mov rcx, r13
call fcn.01010aec
jmp 0x102386c
add r8, qword [rsi - 0x10]
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x88]
call fcn.01011050
lea rcx, [rsp + 0x88]
mov rdx, rax
call fcn.01010aec
lea rcx, [rsp + 0x38]
call fcn.01010940
mov rdx, qword [rsp + 0x88]
cmp qword [rdx - 0x10], rdi
je 0x102386c
cmp word [rdx], 0x2b
jne 0x102386c
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x88]
mov r8d, 1
call fcn.01011050
lea rcx, [rsp + 0x88]
mov rdx, rax
call fcn.01010aec
lea rcx, [rsp + 0x38]
call fcn.01010940
mov rdx, qword [rsp + 0x88]
cmp qword [rdx - 0x10], rdi
je 0x102386c
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0x40]
call fcn.0101074c
mov rcx, qword [rsp + 0xa0]
lea rdx, [rsp + 0x38]
mov r8, rax
call fcn.01026e08
lea rcx, [rsp + 0x88]
mov rdx, rax
call fcn.01010aec
lea rcx, [rsp + 0x38]
call fcn.01010940
lea rcx, [rsp + 0x88]
call fcn.010111ac
lea rcx, [rsp + 0x88]
call fcn.0101112c
mov r9, qword [rsp + 0x88]
cmp qword [r9 - 0x10], rdi
je 0x102386c
lea rdi, [0x0100a978]
mov ecx, 0xa
lea rdx, [0x01006408]
repe cmpsw word [rsi], word [rdi]
mov rcx, r13
jne 0x1023864
mov r8, qword [r14]
jmp 0x1023867
mov r8, r12
call fcn.01011648
lea rcx, [rsp + 0x20]
call fcn.01010940
lea rcx, [rsp + 0x28]
call fcn.01010940
lea rcx, [rsp + 0x30]
call fcn.01010940
lea rcx, [rsp + 0x88]
call fcn.01010940
mov rcx, qword [rsp + 0x90]
call fcn.01010940
mov rcx, r14
call fcn.01010940
mov rbp, qword [rsp + 0x80]
mov rax, r13
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret