Function at 0x140048c00
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x4c0
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rax, qword [0x14024f530]
xor rax, rsp
mov qword [rsp + 0x4b0], rax
mov rbp, rcx
mov rax, qword [rcx]
call qword [rax + 0x338]
mov rsi, rax
mov rcx, qword [rbp + 0x1508]
xor ebx, ebx
cmp rcx, rbx
je 0x140048d0d
call qword [sym.imp.USER32.dll_IsMenu]
mov ecx, ebx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x140048c72
call fcn.1400124d4
int3
cmp qword [rbp + 0x1e0], rbx
jne 0x140048c95
mov r8, rsi
mov rdx, qword [rbp + 0x1508]
lea rcx, vtable.CMenuHash.0
call fcn.1400be6a4
cmp eax, ebx
jne 0x140048d0d
cmp dword [0x140255d00], ebx
jne 0x140048ce9
cmp dword [0x14024a588], ebx
je 0x140048ce9
lea rcx, [0x140255c40]
call fcn.1400e685c
cmp eax, ebx
je 0x140048ce9
mov eax, ebx
cmp qword [rbp + 0x1e0], rbx
setne al
mov r9, qword [rsi]
mov r8d, ebx
cmp eax, ebx
sete r8b
mov rdx, qword [rbp + 0x1508]
mov rcx, rsi
call qword [r9 + 0x820]
cmp eax, ebx
jne 0x140048d0d
xor eax, eax
jmp 0x140049274
mov rax, qword [rsi]
mov r8d, 1
mov rdx, qword [rbp + 0x1508]
mov rcx, rsi
call qword [rax + 0x820]
cmp eax, ebx
jne 0x140048d0d
xor eax, eax
jmp 0x140049274
call fcn.140058530
mov rcx, qword [rax + 8]
mov r14, qword [rcx + 0x110]
xor r8d, r8d
cmp r14, r8
je 0x140048fff
cmp dword [0x140254ef8], r8d
jne 0x140048fff
mov edi, r8d
mov dword [rsp + 0x34], r8d
mov r13d, r8d
mov r12, qword [rsi + 0x1088]
cmp r12, r8
je 0x140048fff
mov r15, r12
mov rbx, r12
cmp r12, r8
je 0x140048ff9
mov r12, qword [r12]
mov rbx, qword [rbx + 0x10]
mov eax, r8d
cmp rbx, r8
setne al
cmp eax, r8d
je 0x140048ff3
cmp dword [rbx + 0x24], 0xe110
jne 0x140048da1
lea rdx, str.Recent_File
mov rcx, qword [rbx + 0x30]
call fcn.14018458c
xor r8d, r8d
cmp eax, r8d
sete al
cmp al, r8b
jne 0x140048dba
mov r13d, dword [rbx + 0x28]
and r13d, 1
inc edi
mov dword [rsp + 0x34], edi
cmp r12, r8
je 0x140048fff
jmp 0x140048d51
mov rdx, r15
lea rcx, [rsi + 0x1080]
call fcn.1400be0a8
mov r11, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [r11 + reloc.OLEAUT32.dll_VariantClear]
lea rdx, [rsp + 0x2a0]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea rcx, [rsp + 0x2a0]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd rbx, eax
mov eax, 0x5c
mov word [rsp + rbx*2 + 0x2a0], ax
inc ebx
mov dword [rsp + 0x38], ebx
movsxd rcx, ebx
xor r8d, r8d
mov word [rsp + rcx*2 + 0x2a0], r8w
mov dword [rsp + 0x30], r8d
mov r15d, r8d
cmp dword [r14 + 8], r8d
jle 0x140048fa7
call fcn.140011418
xor edx, edx
mov ecx, edx
cmp rax, rdx
setne cl
cmp ecx, edx
je 0x140048f9c
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x18]
add rax, 0x18
mov qword [rsp + 0x40], rax
mov rax, qword [r14]
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], ebx
lea r9, [rsp + 0x2a0]
mov r8d, r15d
lea rdx, [rsp + 0x40]
mov rcx, r14
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
xor r8d, r8d
cmp eax, r8d
je 0x140048f54
call fcn.140011418
xor ebx, ebx
mov ecx, ebx
cmp rax, rbx
setne cl
cmp ecx, ebx
je 0x140048f86
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x18]
add rax, 0x18
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov r9, qword [rsp + 0x40]
mov r8d, eax
lea rdx, str._d__s
lea rcx, [rsp + 0x48]
call fcn.140005de0
movsxd rdi, edi
lea edx, [r15 + 0xe110]
mov dword [rsp + 0x28], ebx
mov rbx, qword [rsp + 0x48]
mov qword [rsp + 0x20], rbx
or r9d, 0xffffffff
xor r8d, r8d
lea rcx, [rsp + 0x58]
call fcn.1400e4b34
nop
mov r9, qword [rsi]
mov r8, rdi
mov rdx, rax
mov rcx, rsi
call qword [r9 + 0x640]
mov edi, dword [rsp + 0x34]
inc edi
mov dword [rsp + 0x34], edi
lea rcx, [rsp + 0x58]
call fcn.1400e31cc
nop
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
xor r8d, r8d
cmp eax, r8d
jg 0x140048f50
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov ebx, dword [rsp + 0x38]
xor r8d, r8d
jmp 0x140048f54
mov ebx, dword [rsp + 0x38]
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
cmp eax, r8d
jg 0x140048f78
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor r8d, r8d
inc r15d
cmp r15d, dword [r14 + 8]
jge 0x140048f91
jmp 0x140048e30
mov ecx, 0x80004005
call fcn.140001f40
nop
mov eax, dword [rsp + 0x30]
cmp eax, r8d
jne 0x140048fff
jmp 0x140048fa7
mov ecx, 0x80004005
call fcn.140001f40
int3
cmp r13d, r8d
je 0x140048fff
cmp r12, r8
je 0x140048fff
mov rbx, qword [r12 + 0x10]
mov eax, r8d
cmp rbx, r8
setne al
cmp eax, r8d
jne 0x140048fca
call fcn.1400124d4
int3
test byte [rbx + 0x28], 1
je 0x140048fff
mov rdx, r12
lea rcx, [rsi + 0x1080]
call fcn.1400be0a8
mov r11, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [r11 + reloc.OLEAUT32.dll_VariantClear]
xor r8d, r8d
jmp 0x140048fff
call fcn.1400124d4
int3
call fcn.1400124d4
int3
cmp qword [0x1402569c0], r8
je 0x1400491ee
cmp dword [0x140254ef8], r8d
jne 0x1400491ee
mov r15d, r8d
mov r12d, r8d
mov r14d, r8d
mov r13, qword [rsi + 0x1088]
cmp r13, r8
je 0x1400491ee
mov rdx, r13
mov rbx, r13
cmp r13, r8
je 0x1400491e8
mov r13, qword [r13]
mov rbx, qword [rbx + 0x10]
mov eax, r8d
cmp rbx, r8
setne al
cmp eax, r8d
je 0x1400491e2
mov rdi, qword [0x1402569c0]
mov eax, dword [rdi + 0x40]
cmp eax, dword [rbx + 0x24]
jne 0x14004919b
cmp dword [0x140255ec4], r8d
je 0x14004907d
cmp qword [rdi + 0x20], r8
je 0x14004909b
lea rcx, [rsi + 0x1080]
call fcn.1400be0a8
mov r11, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [r11 + reloc.OLEAUT32.dll_VariantClear]
xor r8d, r8d
cmp r15d, r8d
jne 0x1400491cf
cmp r14d, r8d
jne 0x1400490cd
cmp qword [rdi + 0x20], r8
je 0x1400490cd
cmp qword [rsi + 0x1098], r8
je 0x1400490cd
movsxd rdx, r12d
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x648]
inc r12d
xor r8d, r8d
mov r15, qword [rdi + 0x10]
cmp r15, r8
je 0x14004916b
mov rdi, r15
cmp r15, r8
je 0x1400491dc
mov r15, qword [r15]
mov rdi, qword [rdi + 0x10]
mov ebx, dword [rdi + 0x20]
call fcn.1400a0664
mov rcx, rax
mov r8d, 1
mov edx, ebx
call fcn.1400a0920
movsxd rbx, r12d
mov r9, qword [rdi + 8]
xor edx, edx
mov ecx, edx
cmp eax, 0xffffffff
setne cl
cmp eax, 0xffffffff
cmove eax, edx
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], r9
mov r9d, eax
xor r8d, r8d
mov edx, dword [rdi + 0x20]
lea rcx, [rsp + 0x178]
call fcn.1400e4b34
nop
mov r9, qword [rsi]
mov r8, rbx
mov rdx, rax
mov rcx, rsi
call qword [r9 + 0x640]
inc r12d
lea rcx, [rsp + 0x178]
call fcn.1400e31cc
xor r8d, r8d
cmp r15, r8
jne 0x1400490da
cmp r13, r8
je 0x140049193
movsxd rdx, r12d
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x648]
inc r12d
xor r8d, r8d
cmp eax, r8d
jl 0x140049190
lea r14d, [r8 + 1]
jmp 0x140049193
mov r14d, r8d
mov r15d, 1
jmp 0x1400491cf
test byte [rbx + 0x28], 1
je 0x1400491cc
cmp r14d, r8d
je 0x1400491c4
lea rcx, [rsi + 0x1080]
call fcn.1400be0a8
mov r11, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [r11 + reloc.OLEAUT32.dll_VariantClear]
xor r8d, r8d
mov r14d, 1
jmp 0x1400491cf
mov r14d, r8d
inc r12d
cmp r13, r8
je 0x1400491ee
jmp 0x140049032
call fcn.1400124d4
int3
call fcn.1400124d4
int3
call fcn.1400124d4
int3
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x740]
mov rbx, rax
xor edi, edi
cmp rax, rdi
je 0x140049214
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x250]
cmp eax, edi
jne 0x14004921f
mov rcx, rbp
call fcn.140094734
mov rbx, rax
cmp rbx, rdi
je 0x140049236
mov rax, qword [rsi]
xor r8d, r8d
mov rdx, rbx
mov rcx, rsi
call qword [rax + 0x438]
mov rax, qword [0x1402564b0]
cmp rax, rdi
jne 0x14004924a
mov rcx, rbp
call fcn.14001a84c
mov rdx, rbp
mov rcx, rax
call fcn.140045780
cmp eax, edi
jne 0x14004925d
xor eax, eax
jmp 0x140049274
mov r8, qword [rbp]
mov ebx, 1
mov edx, ebx
mov rcx, rbp
call qword [r8 + 0x2a0]
mov eax, ebx
mov rcx, qword [rsp + 0x4b0]
xor rcx, rsp
call fcn.140182230
lea r11, [rsp + 0x4c0]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret