Function at 0x140050620
Capabilities:
Check if file exists

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x1f8]
sub rsp, 0x2e0
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
mov rax, qword [0x14029e8b8]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
mov r15, rcx
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x40]
call fcn.1401afc90
lea rax, [0x1401f5368]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], SafeArrayDestroy
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x40], xmm0
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x50]
call fcn.140032a50
cmp qword [rax + 0x18], 8
jb 0x1400506ad
mov rax, qword [rax]
lea r8, str.tabxhotkey.set
mov rdx, rax
lea rcx, [rbp - 0x40]
call qword [sym.imp.SHLWAPI.dll_PathCombineW]
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x140050703
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400506fe
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140050909
call fcn.1401606e8
lea rcx, [rbp - 0x40]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1400508d1
movdqa xmm0, xmmword [0x1401f5810]
movdqu xmmword [rbp - 0x80], xmm0
mov byte [rsp + 0x70], 0
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x40]
call fcn.14009f100
test eax, eax
je 0x140050899
lea rcx, [rsp + 0x70]
cmp qword [rbp - 0x78], 0x10
cmovae rcx, qword [rsp + 0x70]
call fcn.1400c1d00
mov r12, rax
test rax, rax
je 0x140050899
lea rdx, str.hotkey
mov rcx, rax
call fcn.1400c1c30
mov r14, rax
test rax, rax
je 0x140050890
mov rcx, rax
call fcn.1400c1c10
mov esi, eax
xor edi, edi
test eax, eax
jle 0x140050890
nop dword [rax]
mov edx, edi
mov rcx, r14
call fcn.1400c1bf0
mov rbx, rax
test rax, rax
je 0x140050886
lea rcx, [rbp - 0x70]
call fcn.14004f4e0
nop
lea r8, [rbp - 0x70]
mov rdx, rbx
mov rcx, r15
call fcn.1400510e0
test al, al
je 0x140050826
mov rdx, qword [r15]
mov rbx, rdx
mov rax, qword [rdx + 8]
cmp byte [rax + 0x19], 0
jne 0x1400507f7
mov ecx, dword [rbp - 0x50]
cmp dword [rax + 0x20], ecx
jge 0x1400507e1
mov rax, qword [rax + 0x10]
jmp 0x1400507e7
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x1400507d6
cmp rbx, rdx
je 0x1400507f7
cmp ecx, dword [rbx + 0x20]
jge 0x1400507fa
mov rbx, rdx
cmp rbx, rdx
je 0x140050826
lea rcx, [rbx + 0x30]
lea rdx, [rbp - 0x68]
call fcn.140024260
mov eax, dword [rbp - 0x50]
mov dword [rbx + 0x48], eax
mov eax, dword [rbp - 0x60]
mov dword [rbx + 0x38], eax
lea rcx, [rbx + 0x40]
lea rdx, [rbp - 0x58]
call fcn.140024260
nop
mov rdx, qword [rbp - 0x58]
add rdx, 0xffffffffffffffe8
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140050846
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdx, qword [rbp - 0x68]
add rdx, 0xffffffffffffffe8
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140050866
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdx, qword [rbp - 0x70]
add rdx, 0xffffffffffffffe8
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140050886
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
inc edi
cmp edi, esi
jl 0x140050790
mov rcx, r12
call fcn.1400c1b80
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x1400508d1
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400508cc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140050903
call fcn.1401606e8
xor eax, eax
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.140160a40
lea r11, [rsp + 0x2e0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.1401b3260
int3
call fcn.1401b3260
int3