Function at 0x140113fd0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x190]
sub rsp, 0x290
mov rax, qword [0x1402fa010]
xor rax, rsp
mov qword [rbp + 0x180], rax
mov r12, r9
mov r13d, r8d
mov r14, rcx
mov rax, qword [rbp + 0x1f0]
mov qword [rsp + 0x40], rax
mov r15, qword [rbp + 0x1f8]
xor esi, esi
mov dword [rsp + 0x48], esi
cmp dword [rbp + 0x200], esi
jne 0x140114656
lea ebx, [rsi + 1]
cmp r8d, 0x110
jne 0x14011405e
mov dword [rsp + 0x4c], ebx
lea rcx, [rsp + 0x4c]
mov qword [rsp + 0x20], rcx
mov r9, rax
mov r8, r12
mov edx, r13d
mov rcx, r14
call fcn.140114a10
mov qword [r15], rax
jmp 0x1401140af
cmp r13d, 0x111
jne 0x1401140be
cmp bx, r12w
jne 0x140114087
mov rax, r12
shr rax, 0x10
cmp si, ax
jne 0x1401140b9
mov dword [rsp + 0x4c], ebx
call fcn.140115d10
mov qword [r15], rax
jmp 0x1401140af
mov edx, 2
cmp dx, r12w
jne 0x1401140be
mov rax, r12
shr rax, 0x10
cmp si, ax
jne 0x1401140b9
mov dword [rsp + 0x4c], ebx
mov rcx, qword [rcx + 8]
call qword [sym.imp.USER32.dll_EndDialog]
mov qword [r15], rsi
cmp dword [rsp + 0x4c], esi
jne 0x140114617
mov rax, qword [rsp + 0x40]
mov ecx, 0x3fd
mov rdi, 0xffffffffffffffff
cmp r13d, dword [0x1402fb730]
jne 0x1401141a5
mov dword [rsp + 0x4c], ebx
cmp rax, rcx
jne 0x140114197
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x50], rsi
call fcn.1400195b0
mov rcx, rax
test rax, rax
je 0x14011468d
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x140038716.0]
add rax, 0x18
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x48], ebx
lea rcx, [r14 + 0x3b0]
lea rdx, [rsp + 0x50]
call fcn.14001e850
mov rbx, qword [rsp + 0x50]
mov rcx, rbx
call fcn.1400246b0
test eax, eax
je 0x14011415c
mov dword [r14 + 0xb10], 1
lea rcx, [r14 + 0x178]
mov rdx, rbx
call fcn.14007afc0
mov dword [r14 + 0xb10], esi
mov eax, 1
and eax, 0xfffffffe
mov dword [rsp + 0x48], eax
lea rdx, [rbx - 0x18]
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140114188
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038716.0]
mov ecx, 0x3fd
mov ebx, 1
mov rax, qword [rsp + 0x40]
mov qword [r15], rsi
cmp dword [rsp + 0x4c], 0
jne 0x140114617
cmp r13d, 0x111
jne 0x140114572
mov dword [rsp + 0x4c], ebx
cmp r12w, cx
jne 0x140114207
lea rcx, [r14 + 0x3a8]
cmp qword [rcx + 8], 0
jne 0x1401141d6
mov eax, esi
mov qword [r15], rsi
test eax, eax
jmp 0x14011432b
cmp dword [rcx + 0x760], 0
jne 0x1401141fb
mov rax, r12
shr rax, 0x10
mov edx, 0x300
cmp ax, dx
je 0x1401141f6
cmp ax, 5
jne 0x1401141fb
call fcn.14001d0e0
mov eax, ebx
mov qword [r15], rsi
test ebx, ebx
jmp 0x14011432b
mov qword [r15], rsi
mov eax, 0x801e
cmp ax, r12w
jne 0x1401142bb
mov dword [rsp + 0x4c], ebx
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x70]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x58], rax
call fcn.1400195b0
mov rcx, rax
test rax, rax
je 0x140114698
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x140038716.0]
add rax, 0x18
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.140018bd0
test al, al
jne 0x14011429d
lea rax, [rsp + 0x70]
nop dword [rax]
inc rdi
cmp word [rax + rdi*2], 0
jne 0x140114280
mov r8d, edi
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.140018f70
nop
lea rdx, [rsp + 0x50]
mov rcx, r14
call fcn.140116210
mov qword [r15], rsi
cmp dword [rsp + 0x4c], 0
je 0x140114331
mov eax, ebx
jmp 0x140114658
mov eax, 0x8022
cmp ax, r12w
jne 0x1401143ff
mov dword [rsp + 0x4c], ebx
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x11]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderLocation]
test eax, eax
js 0x140114323
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x50], rax
lea rcx, [r14 + 0x178]
lea rdx, [rsp + 0x50]
call fcn.14007b060
mov qword [rsp + 0x50], rsi
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.SHELL32.dll_ILFree]
mov qword [r15], rsi
cmp dword [rsp + 0x4c], 0
jne 0x140114617
mov ebx, 1
cmp r13d, dword [0x140306120]
jne 0x140114359
mov dword [rsp + 0x4c], ebx
mov rcx, r14
call fcn.140116680
mov qword [r15], rax
cmp dword [rsp + 0x4c], 0
jne 0x1401142b4
cmp r13d, 0x2e0
jne 0x14011461e
mov dword [rsp + 0x4c], ebx
call fcn.140044940
mov rcx, rax
mov rdx, qword [r14 + 8]
call fcn.140047d90
mov rax, r12
shr rax, 0x10
movzx edi, ax
lea rcx, [r14 + 0x40]
mov edx, edi
call fcn.14002fc20
mov rbx, qword [rsp + 0x40]
test rbx, rbx
je 0x1401143c9
mov r9d, dword [rbx + 4]
mov r8d, dword [rbx]
mov ecx, dword [rbx + 0xc]
sub ecx, r9d
mov eax, dword [rbx + 8]
sub eax, r8d
mov dword [rsp + 0x30], ILIsEqual
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], eax
xor edx, edx
mov rcx, qword [r14 + 8]
call qword [sym.imp.USER32.dll_SetWindowPos]
lea rcx, [r14 + 0x178]
mov edx, edi
call fcn.14007c2a0
mov edx, edi
mov rcx, qword [r14 + 0xb68]
call fcn.1400c74f0
mov qword [r15], rsi
cmp dword [rsp + 0x4c], 0
je 0x140114623
mov ebx, 1
mov eax, ebx
jmp 0x140114658
mov eax, 0x8024
cmp ax, r12w
jne 0x140114492
mov dword [rsp + 0x4c], ebx
xor r9d, r9d
lea r8d, [r9 + 5]
lea rdx, [rsp + 0x70]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x58], rax
call fcn.1400195b0
mov rcx, rax
test rax, rax
je 0x1401146a3
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x140038716.0]
add rax, 0x18
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.140018bd0
test al, al
jne 0x14011448d
lea rax, [rsp + 0x70]
nop
inc rdi
cmp word [rax + rdi*2], 0
jne 0x140114470
mov r8d, edi
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.140018f70
nop
jmp 0x14011429d
mov eax, 0x8023
cmp ax, r12w
jne 0x14011453f
mov dword [rsp + 0x4c], ebx
xor r9d, r9d
lea r8d, [r9 + 0x27]
lea rdx, [rsp + 0x70]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x58], rax
call fcn.1400195b0
mov rcx, rax
test rax, rax
je 0x140114682
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x140038716.0]
add rax, 0x18
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.140018bd0
test al, al
jne 0x14011451f
lea rax, [rsp + 0x70]
inc rdi
cmp word [rax + rdi*2], 0
jne 0x140114502
mov r8d, edi
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.140018f70
nop
lea rdx, [rsp + 0x50]
mov rcx, r14
call fcn.140116210
mov qword [r15], rsi
cmp dword [rsp + 0x4c], 0
jne 0x1401142b4
jmp 0x140114331
mov eax, 9
cmp ax, r12w
jne 0x140114331
mov rax, r12
shr rax, 0x10
cmp si, ax
jne 0x140114331
mov dword [rsp + 0x4c], ebx
mov rcx, r14
call fcn.1401163d0
mov qword [r15], rax
jmp 0x140114326
cmp r13d, 5
jne 0x1401145c8
mov dword [rsp + 0x4c], esi
lea rcx, [r14 + 0x40]
call fcn.14002f4e0
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x58], xmm0
lea rdx, [rsp + 0x58]
mov rcx, qword [r14 + 8]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov ebx, dword [rsp + 0x64]
sub ebx, dword [rsp + 0x5c]
call fcn.140163500
mov dword [rax + 0xf8], ebx
mov ebx, dword [rsp + 0x60]
sub ebx, dword [rsp + 0x58]
call fcn.140163500
mov dword [rax + 0xf4], ebx
jmp 0x140114323
cmp r13d, 0x24
jne 0x1401145e3
mov dword [rax + 0x18], 0x1fe
mov dword [rax + 0x1c], 0x1fe
mov qword [r15], rsi
mov eax, ebx
jmp 0x140114658
cmp r13d, 0x113
jne 0x140114331
mov dword [rsp + 0x4c], ebx
mov rdx, r12
mov rcx, qword [r14 + 8]
call qword [sym.imp.USER32.dll_KillTimer]
mov rcx, r14
call fcn.1401159e0
mov qword [r15], rsi
cmp dword [rsp + 0x4c], 0
je 0x140114331
mov eax, 1
jmp 0x140114658
mov rbx, qword [rsp + 0x40]
mov dword [rsp + 0x4c], 1
lea rax, [rsp + 0x4c]
mov qword [rsp + 0x20], rax
mov r9, rbx
mov r8, r12
mov edx, r13d
mov rcx, r14
call fcn.1401076a0
mov qword [r15], rax
cmp dword [rsp + 0x4c], 0
setne sil
mov eax, esi
jmp 0x140114658
xor eax, eax
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.1401f3bf0
mov rbx, qword [rsp + 0x2d8]
add rsp, 0x290
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x80004005
call fcn.140019320
nop
mov ecx, 0x80004005
call fcn.140019320
nop
mov ecx, 0x80004005
call fcn.140019320
int3
mov ecx, 0x80004005
call fcn.140019320
int3