Function at 0x14013b9e0
Capabilities:
Get common file path

Disassembly:
sub rsp, 0x168
mov byte [rsp + 0x32], 0x46
mov dword [rsp + 0x3c], 0x3acf
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x90], eax
cmp dword [rsp + 0x90], 0xdbfc
je 0x14013ba16
jmp 0x14013ba6c
mov eax, dword [rsp + 0x3c]
add eax, 0x3162
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x98], eax
cmp dword [rsp + 0x98], 0xb15a
je 0x14013ba3d
jmp 0x14013ba5a
mov rcx, qword [rsp + 0xb8]
call qword [sym.imp.USER32.dll_GetMenu]
mov qword [rsp + 0xd8], rax
call fcn.14013a9d0
jmp 0x14013ba67
mov eax, dword [rsp + 0x40]
and eax, 0x3ad8
mov dword [rsp + 0x3c], eax
jmp 0x14013c068
movabs rax, 0x794625d6410b65
mov qword [rsp + 0x50], rax
mov byte [rsp + 0x30], 0x4b
movzx eax, byte [rsp + 0x30]
mov byte [rsp + 0x31], al
mov eax, 0x301
mov word [rsp + 0x34], ax
imul eax, dword [rsp + 0x3c], 0x4bbe
cmp eax, dword [rsp + 0x40]
jbe 0x14013bb81
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0xa8], rax
movabs rax, 0x794625d6410b65
cmp qword [rsp + 0xa8], rax
je 0x14013bad5
jmp 0x14013bb6a
movzx eax, byte [rsp + 0x30]
mov byte [rsp + 0x7c], al
cmp byte [rsp + 0x7c], 0x6e
je 0x14013baee
cmp byte [rsp + 0x7c], 0xc0
je 0x14013bb5a
jmp 0x14013bb68
mov r8d, 0x1d
mov rdx, qword [rsp + 0x50]
mov ecx, 0x73
call fcn.14013a170
mov rax, qword [rsp + 0x70]
shl rax, 0x20
mov qword [rsp + 0x50], rax
movzx eax, byte [rsp + 0x30]
or eax, 0x88
mov byte [rsp + 0x31], al
mov edx, 0xc4
mov rcx, qword [rsp + 0xe0]
call qword [sym.imp.USER32.dll_ShowWindow]
mov dword [rsp + 0x78], eax
mov dword [rsp + 0x20], 3
mov r9d, 0x7d
movzx r8d, byte [rsp + 0x31]
mov dx, 0xdb
movzx ecx, word [rsp + 0x34]
call fcn.14013b420
jmp 0x14013bb68
movzx eax, byte [rsp + 0x31]
xor eax, 0xac
mov byte [rsp + 0x30], al
jmp 0x14013bb81
mov edx, 0xa6
mov rcx, qword [rsp + 0xe8]
call qword [sym.imp.USER32.dll_WaitForInputIdle]
mov dword [rsp + 0x4c], eax
movsx eax, byte [rsp + 0x32]
cmp eax, 0x77
jle 0x14013bc3a
movsx eax, word [rsp + 0x34]
mov dword [rsp + 0x80], eax
cmp dword [rsp + 0x80], 0
je 0x14013bbb7
cmp dword [rsp + 0x80], 0x4bf
je 0x14013bc29
jmp 0x14013bc38
mov r8d, 0xe1
mov edx, dword [rsp + 0x3c]
mov cx, 2
call fcn.14013a390
movzx eax, byte [rsp + 0x30]
sub eax, 0x86
mov byte [rsp + 0x31], al
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 0xd9
mov r8, qword [rsp + 0x50]
mov edx, 0x56
movzx ecx, byte [rsp + 0x32]
call fcn.14013a3c0
movsx eax, word [rsp + 0x34]
add eax, 0x551
mov word [rsp + 0x34], ax
lea rdx, [rsp + 0x120]
lea rcx, str.Victimise_Depicted
call qword [sym.imp.USER32.dll_CharToOemW]
mov dword [rsp + 0x9c], eax
jmp 0x14013bc38
movsx eax, word [rsp + 0x34]
and eax, 0x610
mov word [rsp + 0x34], ax
jmp 0x14013bca5
movsx eax, byte [rsp + 0x32]
sar eax, 0x46
cmp eax, 0x6c
jne 0x14013bca5
mov r8d, 0xee
mov rdx, qword [rsp + 0x50]
mov ecx, 0x52
call fcn.14013a170
movsx eax, byte [rsp + 0x32]
imul eax, eax, 0x1e
cmp eax, 0x6c
jg 0x14013bca5
mov rcx, qword [rsp + 0xf0]
call qword [sym.imp.USER32.dll_GetParent]
mov qword [rsp + 0xf8], rax
movabs rax, 0x79c82d4e8d67e0
mov rcx, qword [rsp + 0x70]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
movzx eax, byte [rsp + 0x30]
add eax, 0x4a
mov byte [rsp + 0x31], al
lea rax, [rsp + 0x4c]
mov qword [rsp + 0x60], rax
movzx eax, byte [rsp + 0x31]
mov byte [rsp + 0x38], al
lea rax, [rsp + 0x34]
mov qword [rsp + 0x68], rax
movzx eax, byte [rsp + 0x32]
mov byte [rsp + 0x44], al
mov eax, 0x26e
mov word [rsp + 0x48], ax
lea rax, [rsp + 0x4c]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x60]
mov ecx, dword [rsp + 0x4c]
mov eax, dword [rax]
sub eax, ecx
mov rcx, qword [rsp + 0x58]
mov ecx, dword [rcx]
add ecx, dword [rsp + 0x40]
cmp eax, ecx
jne 0x14013bd83
mov rax, qword [rsp + 0x60]
mov ecx, dword [rsp + 0x3c]
mov eax, dword [rax]
or eax, ecx
mov rcx, qword [rsp + 0x58]
mov dword [rcx], eax
mov r8d, 0x99
mov rdx, qword [rsp + 0x50]
mov ecx, 0x61
call fcn.14013a170
mov rax, qword [rsp + 0x68]
movsx eax, word [rax]
xor eax, 0x570
mov word [rsp + 0x34], ax
lea rdx, [rsp + 0x88]
mov rcx, qword [rsp + 0x100]
call qword [sym.imp.USERENV.dll_GetProfilesDirectoryW]
mov dword [rsp + 0x9c], eax
mov rax, qword [rsp + 0x58]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0xb0], rcx
movzx ecx, al
mov rax, qword [rsp + 0xb0]
mov eax, dword [rax]
shr eax, cl
mov rcx, qword [rsp + 0x60]
mov dword [rcx], eax
jmp 0x14013bde9
mov rax, qword [rsp + 0x68]
movsx eax, word [rax]
shl eax, 0x26
movsx ecx, word [rsp + 0x34]
cmp eax, ecx
jne 0x14013bde9
call fcn.14013b9e0
movzx eax, byte [rsp + 0x30]
movzx ecx, byte [rsp + 0x38]
and eax, ecx
mov byte [rsp + 0x31], al
mov r8d, 0x36
mov rdx, qword [rsp + 0x50]
mov ecx, 0x18
call fcn.14013a170
mov rax, qword [rsp + 0x60]
mov eax, dword [rax]
mov ecx, dword [rsp + 0x3c]
sub ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x58]
mov dword [rcx], eax
mov rcx, qword [rsp + 0xb8]
call qword [sym.imp.USER32.dll_ShowCaret]
mov dword [rsp + 0x78], eax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0xc0], rax
movabs rax, 0x777464f483d613
cmp qword [rsp + 0xc0], rax
je 0x14013be0f
jmp 0x14013bec7
mov rax, qword [rsp + 0x68]
movsx eax, word [rax]
movsx ecx, word [rsp + 0x34]
add eax, ecx
mov rcx, qword [rsp + 0x68]
mov word [rcx], ax
mov dword [rsp + 0x20], 0x25
lea r9, [rsp + 0x40]
mov r8d, 0xf7
lea rdx, str.Cures_Pickpockets_95g_Folded
mov rcx, qword [rsp + 0x108]
call qword [sym.imp.USER32.dll_DrawTextW]
mov dword [rsp + 0x8c], eax
movzx eax, byte [rsp + 0x30]
movzx ecx, byte [rsp + 0x38]
sub eax, ecx
movzx ecx, byte [rsp + 0x31]
cmp eax, ecx
je 0x14013be8b
movzx eax, word [rsp + 0x48]
add eax, 0x2a
mov word [rsp + 0x48], ax
mov eax, dword [rsp + 0x4c]
movzx ecx, al
mov eax, dword [rsp + 0x3c]
shr eax, cl
mov rcx, qword [rsp + 0x60]
mov dword [rcx], eax
mov rax, qword [rsp + 0x68]
movsx eax, word [rax]
or eax, 0x1e0
mov word [rsp + 0x34], ax
lea r9, [rsp + 0x50]
mov r8d, 0x40
mov rdx, qword [rsp + 0x110]
mov rcx, qword [rsp + 0xd0]
call qword [sym.imp.USER32.dll_GetMenuItemRect]
mov dword [rsp + 0x78], eax
jmp 0x14013bfb2
movzx eax, word [rsp + 0x48]
mov word [rsp + 0x94], ax
movabs rax, 0x781a758adb1c8d
mov qword [rsp + 0x118], rax
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0xa0], eax
cmp dword [rsp + 0xa0], 0xf53c
je 0x14013bf00
jmp 0x14013bf0c
movsx eax, byte [rsp + 0x32]
sub eax, 0x6a
mov byte [rsp + 0x44], al
mov eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0xc8], rcx
movzx ecx, al
mov rax, qword [rsp + 0xc8]
mov eax, dword [rax]
shl eax, cl
mov rcx, qword [rsp + 0x60]
mov dword [rcx], eax
mov eax, dword [rsp + 0x4c]
mov ecx, dword [rsp + 0x3c]
xor ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x58]
mov edx, dword [rsp + 0x40]
mov ecx, dword [rcx]
and ecx, edx
cmp eax, ecx
jb 0x14013bf84
mov dword [rsp + 0x8c], 0x3ce1
movabs rax, 0x7b62096153f4ad
mov rcx, qword [rsp + 0x50]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x70], rax
call qword [sym.imp.USER32.dll_GetInputState]
mov dword [rsp + 0x88], eax
jmp 0x14013bfb2
movabs rax, 0x771262c54a05cf
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
cmp rax, qword [rsp + 0x70]
jae 0x14013bfb2
mov rax, qword [rsp + 0x58]
mov eax, dword [rax]
add eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x58]
mov dword [rcx], eax
mov rax, qword [rsp + 0x68]
movsx eax, word [rax]
mov dword [rsp + 0x84], eax
cmp dword [rsp + 0x84], 0x251
je 0x14013bff6
cmp dword [rsp + 0x84], 0x310
je 0x14013bfdd
jmp 0x14013c015
call fcn.14013b9e0
mov rax, qword [rsp + 0x68]
movsx eax, word [rax]
add eax, 0x442
mov word [rsp + 0x34], ax
jmp 0x14013c015
mov rax, qword [rsp + 0x60]
mov ecx, dword [rsp + 0x3c]
mov eax, dword [rax]
sub eax, ecx
mov rcx, qword [rsp + 0x58]
mov dword [rcx], eax
mov rax, qword [rsp + 0x60]
mov eax, dword [rax]
mov dword [rsp + 0x4c], eax
mov rcx, qword [rsp + 0xd0]
call qword [sym.imp.USER32.dll_IsWindowVisible]
mov dword [rsp + 0x78], eax
mov rax, qword [rsp + 0x68]
movsx eax, word [rax]
movsx ecx, word [rsp + 0x34]
add eax, ecx
mov rcx, qword [rsp + 0x68]
mov word [rcx], ax
movabs rax, 0x71c6204eb3b42f
mov rcx, qword [rsp + 0x70]
and rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
movzx eax, byte [rsp + 0x30]
movzx ecx, byte [rsp + 0x38]
sub eax, ecx
mov byte [rsp + 0x31], al
mov r8d, 0x35
mov edx, 0x8d
mov ecx, 0xd4
call fcn.14013a170
movsx eax, byte [rsp + 0x32]
sub eax, 0x42
mov byte [rsp + 0x32], al
lea r8, [rsp + 0x3c]
lea rdx, [rsp + 0x40]
mov ecx, 0x5b
call qword [sym.imp.USER32.dll_SetSysColors]
mov dword [rsp + 0x88], eax
mov r8w, 0x64
mov edx, 0x7c
mov ecx, dword [rsp + 0x3c]
call fcn.14013b010
mov eax, 0x4d
add rsp, 0x168
ret