Function at 0x140001090
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0xfb0
mov qword [rsp + 0x378], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x14001b090]
xor rax, rsp
mov qword [rsp + 0xfa0], rax
mov rbx, rcx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetWindow]
mov edx, 0x6d
mov rcx, rbx
call qword [sym.imp.USER32.dll_LoadAcceleratorsW]
mov rsi, rax
mov qword [rsp + 0xa0], rax
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetWindow]
lea r11, [rsp + 0x178]
mov qword [rsp + 0x3f0], r11
lea rax, [rsp + 0x268]
mov qword [rsp + 0x358], rax
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x388], rax
lea rax, [rsp + 0xd8]
mov qword [rsp + 0x368], rax
lea rax, [rsp + 0x100]
mov qword [rsp + 0x400], rax
lea rax, [rsp + 0x1c8]
mov qword [rsp + 0x3e0], rax
lea rax, [rsp + 0x308]
mov qword [rsp + 0x398], rax
lea rax, [rsp + 0x218]
mov qword [rsp + 0x3e8], rax
lea rax, [rsp + 0x128]
mov qword [rsp + 0x3a8], rax
lea rax, [rsp + 0x150]
mov qword [rsp + 0x3f8], rax
lea rax, [rsp + 0x1a0]
mov qword [rsp + 0x3d8], rax
lea rax, [rsp + 0x1f0]
mov qword [rsp + 0x408], rax
lea rax, [rsp + 0x240]
mov qword [rsp + 0x360], rax
lea rax, [rsp + 0x290]
mov qword [rsp + 0x370], rax
lea rax, [rsp + 0x2e0]
mov qword [rsp + 0x380], rax
lea rax, [rsp + 0x330]
mov qword [rsp + 0x390], rax
lea rax, [rsp + 0x2b8]
mov qword [rsp + 0x3a0], rax
mov qword [rsp + 0x190], 0xf
xor edi, edi
mov qword [rsp + 0x188], rdi
mov byte [rsp + 0x178], dil
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [0x14001cb00]
lea rcx, [rsp + 0x178]
call fcn.140003480
nop
mov qword [rsp + 0x280], 0xf
mov qword [rsp + 0x278], rdi
mov byte [rsp + 0x268], dil
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [0x14001cad8]
lea rcx, [rsp + 0x268]
call fcn.140003480
nop
mov qword [rsp + 0xc8], 0xf
mov qword [rsp + 0xc0], rdi
mov byte [rsp + 0xb0], dil
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [0x14001cab0]
lea rcx, [rsp + 0xb0]
call fcn.140003480
nop
mov qword [rsp + 0xf0], 0xf
mov qword [rsp + 0xe8], rdi
mov byte [rsp + 0xd8], dil
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [0x14001ca88]
lea rcx, [rsp + 0xd8]
call fcn.140003480
nop
mov qword [rsp + 0x118], 0xf
mov qword [rsp + 0x110], rdi
mov byte [rsp + 0x100], dil
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [0x14001ca60]
lea rcx, [rsp + 0x100]
call fcn.140003480
nop
mov qword [rsp + 0x1e0], 0xf
mov qword [rsp + 0x1d8], rdi
mov byte [rsp + 0x1c8], dil
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [0x14001ca38]
lea rcx, [rsp + 0x1c8]
call fcn.140003480
nop
mov qword [rsp + 0x320], 0xf
mov qword [rsp + 0x318], rdi
mov byte [rsp + 0x308], dil
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [0x14001ca10]
lea rcx, [rsp + 0x308]
call fcn.140003480
nop
mov qword [rsp + 0x230], 0xf
mov qword [rsp + 0x228], rdi
mov byte [rsp + 0x218], dil
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [0x14001c9e8]
lea rcx, [rsp + 0x218]
call fcn.140003480
nop
mov qword [rsp + 0x140], 0xf
mov qword [rsp + 0x138], rdi
mov byte [rsp + 0x128], dil
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [0x14001c9c0]
lea rcx, [rsp + 0x128]
call fcn.140003480
nop
mov qword [rsp + 0x168], 0xf
mov qword [rsp + 0x160], rdi
mov byte [rsp + 0x150], dil
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [0x14001c998]
lea rcx, [rsp + 0x150]
call fcn.140003480
nop
mov qword [rsp + 0x1b8], 0xf
mov qword [rsp + 0x1b0], rdi
mov byte [rsp + 0x1a0], dil
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [0x14001c970]
lea rcx, [rsp + 0x1a0]
call fcn.140003480
nop
mov qword [rsp + 0x208], 0xf
mov qword [rsp + 0x200], rdi
mov byte [rsp + 0x1f0], dil
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [0x14001c948]
lea rcx, [rsp + 0x1f0]
call fcn.140003480
nop
mov qword [rsp + 0x258], 0xf
mov qword [rsp + 0x250], rdi
mov byte [rsp + 0x240], dil
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [0x14001c920]
lea rcx, [rsp + 0x240]
call fcn.140003480
nop
mov qword [rsp + 0x2a8], 0xf
mov qword [rsp + 0x2a0], rdi
mov byte [rsp + 0x290], dil
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [0x14001c8f8]
lea rcx, [rsp + 0x290]
call fcn.140003480
nop
mov qword [rsp + 0x2f8], 0xf
mov qword [rsp + 0x2f0], rdi
mov byte [rsp + 0x2e0], dil
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [0x14001c8d0]
lea rcx, [rsp + 0x2e0]
call fcn.140003480
nop
mov qword [rsp + 0x348], 0xf
mov qword [rsp + 0x340], rdi
mov byte [rsp + 0x330], dil
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [0x14001c8a8]
lea rcx, [rsp + 0x330]
call fcn.140003480
nop
mov qword [rsp + 0x2d0], 0xf
mov qword [rsp + 0x2c8], rdi
mov byte [rsp + 0x2b8], dil
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [0x14001c880]
lea rcx, [rsp + 0x2b8]
call fcn.140003480
nop
mov qword [rsp + 0x3c8], 0xf
mov qword [rsp + 0x3c0], rdi
mov byte [rsp + 0x3b0], dil
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [0x14001c858]
lea rcx, [rsp + 0x3b0]
call fcn.140003480
nop
lea rax, [rsp + 0x178]
mov qword [rsp + 0x90], rax
lea rax, [rsp + 0x268]
mov qword [rsp + 0x88], rax
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x80], rax
lea rax, [rsp + 0xd8]
mov qword [rsp + 0x78], rax
lea rax, [rsp + 0x100]
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x1c8]
mov qword [rsp + 0x68], rax
lea rax, [rsp + 0x308]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x218]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x128]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x150]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x1a0]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x1f0]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x240]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x290]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x2e0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x330]
lea r8, [rsp + 0x2b8]
lea rdx, [rsp + 0x3b0]
lea rcx, [rsp + 0xa8]
call fcn.140004800
nop
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetParent]
xor ecx, ecx
call qword [sym.imp.USER32.dll_IsWindow]
lea ebx, [rdi + 0x64]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetWindow]
nop word [rax + rax]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x410]
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x140001aed
mov eax, 0x51eb851f
imul ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0x64
cmp ebx, edx
jne 0x140001a8f
mov word [rsp + 0x550], di
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x552]
call fcn.14000a4a0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_ShowWindow]
xor ecx, ecx
call qword [sym.imp.USER32.dll_CloseWindow]
lea rdx, [rsp + 0x970]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowW]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetWindow]
lea rdx, [0x14001c808]
cmp qword [0x14001c820], 0x10
cmovae rdx, qword [0x14001c808]
lea rax, [rsp + 0x448]
mov qword [rsp + 0x440], rax
mov r8d, 3
lea rcx, [rsp + 0x440]
call fcn.140003670
mov r8, qword [rsp + 0x440]
mov edx, 0x104
lea rcx, [rsp + 0xb80]
call fcn.140006074
lea r11, [rsp + 0x448]
mov rcx, qword [rsp + 0x440]
cmp rcx, r11
je 0x14000180e
call fcn.140005d30
call qword [sym.imp.USER32.dll_GetForegroundWindow]
lea r8, [rsp + 0x970]
mov edx, 0x104
lea rcx, [rsp + 0x550]
call fcn.140005fec
xor ecx, ecx
call qword [sym.imp.USER32.dll_IsWindow]
lea r8, [0x140017968]
mov edx, 0x104
lea rcx, [rsp + 0x550]
call fcn.140005fec
xor ecx, ecx
call qword [sym.imp.USER32.dll_SetForegroundWindow]
lea r8, [rsp + 0xb80]
mov edx, 0x104
lea rcx, [rsp + 0x550]
call fcn.140005fec
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_AnimateWindow]
lea r8, [0x140017970]
mov edx, 0x104
lea rcx, [rsp + 0x550]
call fcn.140005fec
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetWindow]
mov ecx, 0x104
call fcn.140005f34
mov rbx, rax
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov r8d, 0x104
lea rdx, [rsp + 0x550]
mov rcx, rbx
call fcn.140006518
call qword [sym.imp.USER32.dll_GetDesktopWindow]
lea rdx, str.r_
mov rcx, rbx
call fcn.1400065f8
test rax, rax
je 0x140001a6e
mov rcx, rax
call fcn.140006680
xor ecx, ecx
call qword [sym.imp.USER32.dll_IsWindow]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetWindow]
lea rdx, [0x14001c858]
cmp qword [0x14001c870], 0x10
cmovae rdx, qword [0x14001c858]
lea rax, [rsp + 0x448]
mov qword [rsp + 0x440], rax
mov r8d, 3
lea rcx, [rsp + 0x440]
call fcn.140003670
mov r8, qword [rsp + 0x440]
mov edx, 0x104
lea rcx, [rsp + 0xd90]
call fcn.140006074
lea r11, [rsp + 0x448]
mov rcx, qword [rsp + 0x440]
cmp rcx, r11
je 0x140001970
call fcn.140005d30
xor ecx, ecx
call qword [sym.imp.USER32.dll_CloseWindow]
mov word [rsp + 0x760], di
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x762]
call fcn.14000a4a0
call qword [sym.imp.USER32.dll_GetForegroundWindow]
lea r8, [rsp + 0x970]
mov edx, 0x104
lea rcx, [rsp + 0x760]
call fcn.140005fec
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_FlashWindow]
lea r8, [0x140017968]
mov edx, 0x104
lea rcx, [rsp + 0x760]
call fcn.140005fec
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_AnimateWindow]
lea r8, [rsp + 0xd90]
mov edx, 0x104
lea rcx, [rsp + 0x760]
call fcn.140005fec
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov ecx, 0x104
call fcn.140005f34
mov rbx, rax
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetWindow]
mov r8d, 0x104
lea rdx, [rsp + 0x760]
mov rcx, rbx
call fcn.140006518
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowW]
lea rdx, str.r_
mov rcx, rbx
call fcn.1400065f8
test rax, rax
je 0x140001a63
mov rcx, rax
call fcn.140006680
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetPriorityClass]
nop
jmp 0x140001a83
mov ecx, 2
call fcn.140006a48
int3
mov ecx, 2
call fcn.140006a48
nop
xor edi, edi
mov rsi, qword [rsp + 0xa0]
mov ebx, edi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetWindow]
inc ebx
xor ecx, ecx
call qword [sym.imp.USER32.dll_SetForegroundWindow]
lea r8, [rsp + 0x410]
mov rdx, rsi
mov rcx, qword [rsp + 0x410]
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x140001710
lea rcx, [rsp + 0x410]
call qword [sym.imp.USER32.dll_TranslateMessage]
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetParent]
lea rcx, [rsp + 0x410]
call qword [sym.imp.USER32.dll_DispatchMessageW]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowW]
jmp 0x140001710
mov rcx, qword [rsp + 0xa8]
test rcx, rcx
je 0x140001b00
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0xfa0]
xor rcx, rsp
call fcn.140005760
lea r11, [rsp + 0xfb0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret