Function at 0x14013c300
Capabilities:
Get common file path

Disassembly:
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
sub rsp, 0x118
movabs rax, 0x7413fa4be951af
mov qword [rsp + 0x48], rax
mov byte [rsp + 0x30], 0x39
movzx eax, byte [rsp + 0x30]
mov byte [rsp + 0x58], al
cmp byte [rsp + 0x58], 0x39
je 0x14013c33f
cmp byte [rsp + 0x58], 0x4b
je 0x14013c363
jmp 0x14013c3ce
mov eax, dword [rsp + 0x128]
mov dword [rsp + 0x3c], eax
mov dword [rsp + 0x34], 0x7171
cmp dword [rsp + 0x34], 0x3992
jge 0x14013c361
call fcn.14013c0d0
jmp 0x14013c3ce
movabs rax, 0x746a48efc05693
cmp qword [rsp + 0x48], rax
jl 0x14013c3a1
mov eax, dword [rsp + 0x34]
add eax, 0x6870
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x34]
movzx r8d, byte [rsp + 0x30]
mov dx, 0x54
mov cx, 0x23
call fcn.14013b420
lea r8, [rsp + 0x98]
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0xa8]
call qword [sym.imp.USERENV.dll_GetUserProfileDirectoryW]
mov dword [rsp + 0x6c], eax
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x128], eax
movzx eax, byte [rsp + 0x30]
cmp eax, 0x95
jne 0x14013c428
movabs rax, 0x74d32b5621e23c
mov rcx, qword [rsp + 0x48]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x128]
mov ecx, dword [rsp + 0x120]
and ecx, eax
mov eax, ecx
mov dword [rsp + 0x3c], eax
mov rdx, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0xb8]
call qword [sym.imp.USER32.dll_ChildWindowFromPoint]
mov qword [rsp + 0xc0], rax
movzx eax, byte [rsp + 0x30]
imul eax, eax, 0x98
cmp eax, 0x17
jge 0x14013c4a4
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x5c], eax
cmp dword [rsp + 0x5c], 0x2278
je 0x14013c45d
cmp dword [rsp + 0x5c], 0x52a2
je 0x14013c456
jmp 0x14013c4a4
call fcn.14013a9d0
jmp 0x14013c4a4
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x128], eax
lea r8, [rsp + 0x6c]
mov rdx, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0xd0]
call qword [sym.imp.USERENV.dll_GetUserProfileDirectoryW]
mov dword [rsp + 0x88], eax
movabs rax, 0x7a3c203c63cfd3
mov rcx, qword [rsp + 0x48]
xor rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
movabs rax, 0x74458a7a3054f7
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x80], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x48]
cqo
movabs rcx, 0x78a66b856073e9
idiv rcx
mov rcx, qword [rsp + 0x60]
cmp rax, qword [rcx]
je 0x14013c68d
lea rax, [rsp + 0x34]
mov qword [rsp + 0xa0], rax
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x78], eax
mov rax, qword [rsp + 0xa0]
mov eax, dword [rax]
mov dword [rsp + 0x70], eax
cmp dword [rsp + 0x70], 0x5b50
je 0x14013c51e
jmp 0x14013c5db
mov rax, qword [rsp + 0x80]
movabs rcx, 0x7e63c3a92b4cc2
mov rax, qword [rax]
or rax, rcx
mov qword [rsp + 0x50], rax
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x74], eax
cmp dword [rsp + 0x74], 0x58c5
je 0x14013c54f
jmp 0x14013c56c
mov edx, 2
mov rcx, qword [rsp + 0xd8]
call qword [sym.imp.USER32.dll_GetSubMenu]
mov qword [rsp + 0xe0], rax
jmp 0x14013c57d
mov rax, qword [rsp + 0x48]
shl rax, 0x3b
mov rcx, qword [rsp + 0x60]
mov qword [rcx], rax
movabs rax, 0x7b0a83b07d3080
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x80]
cmp rax, qword [rcx]
je 0x14013c5d9
movabs rax, 0x788f2c1d3f8b62
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x60]
mov qword [rcx], rax
movzx eax, byte [rsp + 0x30]
and eax, 0x77
mov byte [rsp + 0x30], al
mov cx, 0x93
call qword [sym.imp.USER32.dll_IsCharAlphaNumericW]
mov dword [rsp + 0x8c], eax
jmp 0x14013c5ff
mov eax, 0x6f4
mov word [rsp + 0x40], ax
mov eax, 0x811
mov word [rsp + 0x38], ax
mov rax, qword [rsp + 0x60]
mov rax, qword [rax]
mov qword [rsp + 0xe8], rax
movzx eax, word [rsp + 0x38]
cmp eax, 0x3cd
je 0x14013c63f
lea rax, [rsp + 0x34]
mov qword [rsp + 0xf0], rax
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x90], eax
lea rax, [rsp + 0x50]
mov qword [rsp + 0xf8], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x100], rax
jmp 0x14013c683
movabs rax, 0x76d5d3c3b24444
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x80]
cmp rax, qword [rcx]
jae 0x14013c683
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x34]
movzx r8d, byte [rsp + 0x30]
movzx edx, word [rsp + 0x38]
movzx ecx, word [rsp + 0x40]
call fcn.14013b420
movzx eax, word [rsp + 0x38]
mov word [rsp + 0x68], ax
movzx eax, byte [rsp + 0x30]
sar eax, 1
mov byte [rsp + 0x30], al
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x34]
movzx r8d, byte [rsp + 0x30]
mov dx, 0xaf
mov cx, 0x83
call fcn.14013b420
mov eax, 0x32
add rsp, 0x118
ret