Function at 0x14000a350
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
sub rsp, 0x70
mov rdi, rcx
mov rbx, rdx
lea rcx, [rsp + 0x60]
add rdx, 0x28
call qword [sym.imp.USER32.dll_CopyRect]
mov rcx, qword [rbx + 0x20]
call fcn.140017fcc
mov rcx, rax
mov rsi, rax
mov r8, qword [rax]
call qword [r8 + 0x38]
mov ecx, dword [rbx + 0x10]
xor r13d, r13d
mov r12d, eax
test cl, 0x10
jne 0x14000a3aa
mov dword [rdi + 0xb4], r13d
mov dword [rdi + 0xb0], r13d
test cl, 4
je 0x14000a3d0
mov dword [rdi + 0xb8], 1
mov dword [rdi + 0xb4], r13d
mov dword [rdi + 0xb0], r13d
mov dword [rdi + 0xa8], r13d
jmp 0x14000a3d7
mov dword [rdi + 0xb8], r13d
mov eax, dword [rdi + 0xb18]
mov qword [rsp + 0x90], rbp
cmp eax, 1
jne 0x14000a6ab
mov eax, dword [rdi + 0xb4]
test eax, eax
je 0x14000a4b9
cmp dword [rdi + 0xb0], r13d
je 0x14000a4b9
cmp dword [rdi + 0xbc], r13d
je 0x14000a45b
mov r9d, dword [rsp + 0x68]
sub r9d, dword [rsp + 0x60]
lea ecx, [r9 + r9]
lea rcx, [rdi + 0xc8]
call fcn.14001840c
lea rcx, [rdi + 0x2f8]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x14000a88d
call fcn.140019784
lea rdx, [rdi + 0x2f8]
xor r9d, r9d
mov rcx, qword [rax + 0x10]
xor r8d, r8d
mov dword [rsp + 0x28], 0x2010
mov dword [rsp + 0x20], r13d
call qword [sym.imp.USER32.dll_LoadImageW]
lea rcx, [rdi + 0xc8]
mov rdx, rax
call fcn.14001838c
jmp 0x14000a82e
test eax, eax
je 0x14000a53a
cmp dword [rdi + 0xb0], r13d
jne 0x14000a53a
cmp dword [rdi + 0xa8], r13d
jne 0x14000a53a
cmp dword [rdi + 0xbc], r13d
jne 0x14000a7dc
lea rcx, [rdi + 0xc8]
call fcn.14001840c
lea rcx, [rdi + 0x708]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x14000a88d
call fcn.140019784
lea rdx, [rdi + 0x708]
xor r9d, r9d
mov rcx, qword [rax + 0x10]
xor r8d, r8d
mov dword [rsp + 0x28], 0x2010
mov dword [rsp + 0x20], r13d
call qword [sym.imp.USER32.dll_LoadImageW]
lea rcx, [rdi + 0xc8]
mov rdx, rax
call fcn.14001838c
jmp 0x14000a82e
cmp dword [rdi + 0xa8], r13d
je 0x14000a5b7
cmp dword [rdi + 0xb0], r13d
jne 0x14000a5b7
cmp dword [rdi + 0xbc], r13d
jne 0x14000a740
lea rcx, [rdi + 0xc8]
call fcn.14001840c
lea rcx, [rdi + 0x500]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x14000a88d
call fcn.140019784
lea rdx, [rdi + 0x500]
xor r9d, r9d
mov rcx, qword [rax + 0x10]
xor r8d, r8d
mov dword [rsp + 0x28], 0x2010
mov dword [rsp + 0x20], r13d
call qword [sym.imp.USER32.dll_LoadImageW]
lea rcx, [rdi + 0xc8]
mov rdx, rax
call fcn.14001838c
jmp 0x14000a82e
cmp dword [rdi + 0xb8], r13d
je 0x14000a63a
cmp dword [rdi + 0xbc], r13d
je 0x14000a5dc
mov r9d, dword [rsp + 0x68]
sub r9d, dword [rsp + 0x60]
lea ecx, [r9 + r9*2]
jmp 0x14000a420
lea rcx, [rdi + 0xc8]
call fcn.14001840c
lea rcx, [rdi + 0x910]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x14000a88d
call fcn.140019784
lea rdx, [rdi + 0x910]
xor r9d, r9d
mov rcx, qword [rax + 0x10]
xor r8d, r8d
mov dword [rsp + 0x28], 0x2010
and byte [rax], al
add byte [rcx + rcx*4 + 0x6c], al
and al, 0x20
cmp dword [rdi + 0xbc], r13d
jne 0x14000a7dc
lea rcx, [rdi + 0xc8]
call fcn.14001840c
lea rcx, [rdi + 0xf0]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x14000a88d
call fcn.140019784
lea rdx, [rdi + 0xf0]
xor r9d, r9d
mov rcx, qword [rax + 0x10]
xor r8d, r8d
mov dword [rsp + 0x28], 0x2010
mov dword [rsp + 0x20], r13d
insb byte [rdi], dx
and al, 0x20
cmp eax, 2
jne 0x14000a88d
mov eax, dword [rdi + 0xb4]
test eax, eax
je 0x14000a6eb
cmp dword [rdi + 0xb0], r13d
je 0x14000a6eb
cmp dword [rdi + 0xbc], r13d
jne 0x14000a412
lea rcx, [rdi + 0xc8]
call fcn.14001840c
mov edx, dword [rdi + 0xdc]
jmp 0x14000a822
test eax, eax
je 0x14000a725
cmp dword [rdi + 0xb0], r13d
jne 0x14000a725
cmp dword [rdi + 0xa8], r13d
jne 0x14000a725
cmp dword [rdi + 0xbc], r13d
jne 0x14000a7dc
lea rcx, [rdi + 0xc8]
call fcn.14001840c
mov edx, dword [rdi + 0xe4]
jmp 0x14000a822
cmp dword [rdi + 0xa8], r13d
je 0x14000a79a
cmp dword [rdi + 0xb0], r13d
jne 0x14000a79a
cmp dword [rdi + 0xbc], r13d
je 0x14000a783
mov eax, dword [rdi + 0xc0]
mov r8d, dword [rsp + 0x68]
mov ecx, dword [rsp + 0x6c]
sub r8d, dword [rsp + 0x60]
sub ecx, dword [rsp + 0x64]
mov dword [rsp + 0x50], eax
mov eax, dword [rdi + 0xc4]
mov dword [rsp + 0x48], eax
mov qword [rsp + 0x40], rsi
mov dword [rsp + 0x38], r13d
mov dword [rsp + 0x30], r8d
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], r8d
jmp 0x14000a86c
lea rcx, [rdi + 0xc8]
call fcn.14001840c
fadd qword [rax]
add byte [rbx + 0xe097], cl
add cl, ch
mov byte [rax], al
add byte [rax], al