Function at 0x1401e4020
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov rax, qword [0x1404af540]
xor rax, rsp
mov qword [rbp], rax
mov rdi, rdx
xor esi, esi
mov rdx, rcx
lea rcx, [rbp - 0x20]
call fcn.140005e80
nop
cmp qword [rbp - 0x10], rsi
jne 0x1401e4069
mov edi, esi
jmp 0x1401e4b3c
mov rdx, rdi
lea rcx, [rbp - 0x40]
call fcn.140005e80
nop
mov rcx, rdi
cmp qword [rdi + 0x18], 7
jbe 0x1401e4083
mov rcx, qword [rdi]
call qword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
test eax, eax
je 0x1401e4143
lea rdx, [0x1404b02f0]
lea rcx, [rbp - 0x60]
call fcn.140005e80
nop
mov rdx, rdi
cmp qword [rdi + 0x18], 7
jbe 0x1401e40af
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
lea rcx, [rbp - 0x60]
call fcn.140003f40
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x38], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x48], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 7
mov word [rax], si
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x40]
call fcn.140004930
mov rdx, qword [rsp + 0x50]
cmp rdx, 7
jbe 0x1401e4130
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401e412a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1401e412a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1403ca488
nop
mov r8, qword [rbp - 0x48]
cmp r8, 7
jbe 0x1401e4143
mov rdx, qword [rbp - 0x60]
call fcn.140006010
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], rsi
mov r8d, 1
lea rdx, [0x14043f8d8]
lea rcx, [rsp + 0x38]
call fcn.140006340
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], rsi
mov r8d, 1
lea rdx, [0x1404438f8]
lea rcx, [rsp + 0x60]
call fcn.140006340
nop
mov rbx, qword [rsp + 0x38]
mov r11, qword [rsp + 0x60]
mov r13, qword [rbp - 0x30]
test r13, r13
je 0x1401e4578
mov rcx, rsi
mov qword [rbp - 0x60], rsi
mov r8, rsi
mov qword [rsp + 0x30], rsi
mov r12, qword [rsp + 0x70]
test r12, r12
je 0x1401e4578
cmp r12, qword [rsp + 0x48]
jae 0x1401e4365
mov rsi, qword [rbp - 0x28]
mov r14, qword [rbp - 0x40]
mov rbx, qword [rsp + 0x78]
lea r9, [rsp + 0x60]
cmp rbx, 7
cmova r9, r11
lea r11, [rbp - 0x40]
cmp rsi, 7
cmova r11, r14
cmp r12, r13
ja 0x1401e4244
mov rax, r13
sub rax, r12
cmp rcx, rax
ja 0x1401e4244
lea r10, [rax + 1]
lea r10, [r11 + r10*2]
lea rcx, [r11 + rcx*2]
nop dword [rax + rax]
mov rax, r10
sub rax, rcx
sar rax, 1
je 0x1401e423f
movzx edx, word [r9]
nop
cmp word [rcx], dx
je 0x1401e4288
add rcx, 2
sub rax, 1
jne 0x1401e4230
mov r8, qword [rsp + 0x30]
test r8, r8
je 0x1401e456c
mov r15, qword [rsp + 0x48]
sub r15, r12
imul r15, r8
add r15, r13
mov rbx, r15
sub rbx, r13
cmp r15, r13
ja 0x1401e42e7
mov qword [rbp - 0x30], r15
lea rax, [rbp - 0x40]
cmp rsi, 7
cmova rax, r14
xor r8d, r8d
mov word [rax + r15*2], r8w
jmp 0x1401e4332
test rcx, rcx
je 0x1401e423f
mov rdi, r12
mov rdx, r9
test r12, r12
je 0x1401e42b4
mov r8, rcx
sub r8, r9
nop
movzx eax, word [rdx]
cmp word [rdx + r8], ax
jne 0x1401e42de
add rdx, 2
sub rdi, 1
jne 0x1401e42a0
sub rcx, r11
sar rcx, 1
mov r8, qword [rsp + 0x30]
cmp rcx, 0xffffffffffffffff
je 0x1401e4244
inc r8
mov qword [rsp + 0x30], r8
add rcx, r12
mov r11, qword [rsp + 0x60]
jmp 0x1401e41e3
add rcx, 2
jmp 0x1401e4220
mov rax, rsi
sub rax, r13
cmp rbx, rax
ja 0x1401e4323
mov qword [rbp - 0x30], r15
lea rdx, [rbp - 0x40]
cmp rsi, 7
cmova rdx, r14
lea rdi, [rdx + r13*2]
xor r8d, r8d
test rbx, rbx
je 0x1401e4318
movzx eax, r8w
mov rcx, rbx
rep stosw word [rdi], ax
lea rax, [rbx + r13]
mov word [rdx + rax*2], r8w
jmp 0x1401e4332
mov r9, rbx
mov rdx, rbx
lea rcx, [rbp - 0x40]
call fcn.1401aa0a0
lea r14, [rbp - 0x40]
cmp qword [rbp - 0x28], 7
cmova r14, qword [rbp - 0x40]
mov r8, qword [rbp - 0x30]
sub r8, rbx
add r8, r8
lea rcx, [r14 + rbx*2]
mov rdx, r14
call sub.VCRUNTIME140.dll_memmove
mov rsi, qword [rbp - 0x28]
mov r13, qword [rbp - 0x30]
mov r11, qword [rsp + 0x60]
jmp 0x1401e437c
mov r15, r13
mov rbx, rsi
lea r14, [rbp - 0x40]
mov rsi, qword [rbp - 0x28]
cmp rsi, 7
cmova r14, qword [rbp - 0x40]
cmp rbx, r15
jae 0x1401e4414
nop word [rax + rax]
lea r9, [rsp + 0x60]
cmp qword [rsp + 0x78], 7
cmova r9, r11
lea r11, [rbp - 0x40]
cmp rsi, 7
cmova r11, qword [rbp - 0x40]
cmp r12, r13
ja 0x1401e43ef
mov rax, r13
sub rax, r12
cmp rbx, rax
ja 0x1401e43ef
lea r10, [rax + 1]
lea r10, [r11 + r10*2]
lea rdi, [r11 + rbx*2]
nop dword [rax + rax]
mov rax, r10
sub rax, rdi
sar rax, 1
je 0x1401e43ef
movzx ecx, word [r9]
nop
cmp word [rdi], cx
je 0x1401e4459
add rdi, 2
sub rax, 1
jne 0x1401e43e0
mov rax, qword [rbp - 0x60]
cmp rax, rbx
je 0x1401e4414
sub r15, rbx
lea r8, [r15 + r15]
lea rdx, [r14 + rbx*2]
lea rcx, [r14 + rax*2]
call sub.VCRUNTIME140.dll_memcpy
mov rsi, qword [rbp - 0x28]
mov r13, qword [rbp - 0x30]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x48]
cmp rcx, r12
jae 0x1401e456c
sub r12, rcx
imul r12, rax
mov rcx, r13
sub rcx, r12
cmp rcx, r13
ja 0x1401e451f
mov qword [rbp - 0x30], rcx
lea rax, [rbp - 0x40]
cmp rsi, 7
cmova rax, qword [rbp - 0x40]
xor esi, esi
mov word [rax + rcx*2], si
jmp 0x1401e456e
test rdi, rdi
je 0x1401e43ef
mov rdx, r12
mov rcx, r9
test r12, r12
je 0x1401e4488
mov r8, rdi
sub r8, r9
nop
movzx eax, word [rcx]
cmp word [rcx + r8], ax
jne 0x1401e4516
add rcx, 2
sub rdx, 1
jne 0x1401e4470
sub rdi, r11
sar rdi, 1
cmp rdi, 0xffffffffffffffff
je 0x1401e43ef
mov rsi, qword [rbp - 0x60]
cmp rsi, rdi
je 0x1401e44b7
mov r8, rdi
sub r8, rbx
add r8, r8
lea rdx, [r14 + rbx*2]
lea rcx, [r14 + rsi*2]
call sub.VCRUNTIME140.dll_memmove
mov rax, rdi
sub rax, rbx
add rsi, rax
lea rdx, [rsp + 0x38]
cmp qword [rsp + 0x50], 7
cmova rdx, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x48]
lea r8, [rbx + rbx]
lea rcx, [r14 + rsi*2]
call sub.VCRUNTIME140.dll_memcpy
add rsi, rbx
mov qword [rbp - 0x60], rsi
lea rbx, [r12 + rdi]
mov rax, qword [rsp + 0x30]
inc rax
mov qword [rsp + 0x30], rax
mov rsi, qword [rbp - 0x28]
mov r13, qword [rbp - 0x30]
cmp rbx, r15
jae 0x1401e4419
mov r11, qword [rsp + 0x60]
jmp 0x1401e4390
add rdi, 2
jmp 0x1401e43d0
mov rdx, rcx
sub rdx, r13
mov rax, rsi
sub rax, r13
cmp rdx, rax
ja 0x1401e4560
mov qword [rbp - 0x30], rcx
lea r8, [rbp - 0x40]
cmp rsi, 7
cmova r8, qword [rbp - 0x40]
lea rdi, [r8 + r13*2]
xor esi, esi
test rdx, rdx
je 0x1401e4555
movzx eax, si
mov rcx, rdx
rep stosw word [rdi], ax
lea rax, [rdx + r13]
mov word [r8 + rax*2], si
jmp 0x1401e456e
mov r9, rdx
lea rcx, [rbp - 0x40]
call fcn.1401aa0a0
xor esi, esi
mov r11, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x78]
cmp rax, 7
jbe 0x1401e45bc
lea rdx, [rax*2 + 2]
mov rax, r11
cmp rdx, 0x1000
jb 0x1401e45b3
add rdx, 0x27
mov r11, qword [r11 - 8]
sub rax, r11
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1401e45b3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r11
call fcn.1403ca488
nop
mov rax, qword [rsp + 0x50]
cmp rax, 7
jbe 0x1401e45fc
lea rdx, [rax*2 + 2]
mov rax, rbx
cmp rdx, 0x1000
jb 0x1401e45f4
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401e4a75
mov rcx, rbx
call fcn.1403ca488
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], rsi
mov r8d, 1
lea rdx, [0x14043f8d8]
lea rcx, [rsp + 0x38]
call fcn.140006340
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], rsi
mov qword [rbp - 0x68], rsi
mov r8d, 2
lea rdx, [0x140439aec]
lea rcx, [rbp - 0x80]
call fcn.140006340
nop
mov rbx, qword [rsp + 0x38]
mov rdi, qword [rbp - 0x80]
mov r12, qword [rbp - 0x30]
test r12, r12
je 0x1401e49fe
mov rcx, rsi
mov r13, rsi
mov qword [rbp - 0x60], rsi
mov r8, rsi
mov qword [rsp + 0x30], rsi
mov r15, qword [rbp - 0x70]
test r15, r15
je 0x1401e49fe
cmp r15, qword [rsp + 0x48]
jae 0x1401e4809
mov r13, rdi
mov rbx, qword [rbp - 0x68]
nop dword [rax]
nop word [rax + rax]
lea r9, [rbp - 0x80]
cmp rbx, 7
cmova r9, r13
lea r11, [rbp - 0x40]
cmp qword [rbp - 0x28], 7
cmova r11, qword [rbp - 0x40]
cmp r15, r12
ja 0x1401e46f8
mov rax, r12
sub rax, r15
cmp rcx, rax
ja 0x1401e46f8
inc rax
lea r10, [r11 + rax*2]
lea rax, [r11 + rcx*2]
mov rcx, r10
sub rcx, rax
sar rcx, 1
je 0x1401e46f3
movzx edx, word [r9]
cmp word [rax], dx
je 0x1401e473b
add rax, 2
sub rcx, 1
jne 0x1401e46e4
mov r8, qword [rsp + 0x30]
test r8, r8
mov r13, qword [rbp - 0x60]
je 0x1401e49f5
mov r14, qword [rsp + 0x48]
sub r14, r15
imul r14, r8
add r14, r12
mov rbx, r14
sub rbx, r12
cmp r14, r12
ja 0x1401e4790
mov qword [rbp - 0x30], r14
lea rax, [rbp - 0x40]
cmp qword [rbp - 0x28], 7
cmova rax, qword [rbp - 0x40]
mov word [rax + r14*2], si
jmp 0x1401e47db
test rax, rax
je 0x1401e46f3
mov rdi, r15
mov rdx, r9
test r15, r15
je 0x1401e4765
mov r8, rax
sub r8, r9
movzx ecx, word [rdx]
cmp word [rdx + r8], cx
jne 0x1401e4787
add rdx, 2
sub rdi, 1
jne 0x1401e4751
sub rax, r11
sar rax, 1
mov r8, qword [rsp + 0x30]
cmp rax, 0xffffffffffffffff
je 0x1401e46f8
inc r8
mov qword [rsp + 0x30], r8
lea rcx, [r15 + rax]
jmp 0x1401e46a0
add rax, 2
jmp 0x1401e46d5
mov rdi, qword [rbp - 0x28]
mov rax, rdi
sub rax, r12
cmp rbx, rax
ja 0x1401e47cc
mov qword [rbp - 0x30], r14
lea rdx, [rbp - 0x40]
cmp rdi, 7
cmova rdx, qword [rbp - 0x40]
lea rdi, [rdx + r12*2]
test rbx, rbx
je 0x1401e47c2
movzx eax, si
mov rcx, rbx
rep stosw word [rdi], ax
lea rax, [rbx + r12]
mov word [rdx + rax*2], si
jmp 0x1401e47db
mov r9, rbx
mov rdx, rbx
lea rcx, [rbp - 0x40]
call fcn.1401aa0a0
lea rsi, [rbp - 0x40]
cmp qword [rbp - 0x28], 7
cmova rsi, qword [rbp - 0x40]
mov r8, qword [rbp - 0x30]
sub r8, rbx
add r8, r8
lea rcx, [rsi + rbx*2]
mov rdx, rsi
call sub.VCRUNTIME140.dll_memmove
mov r12, qword [rbp - 0x30]
mov rdi, qword [rbp - 0x80]
jmp 0x1401e481d
mov r14, r12
mov rbx, rsi
lea rsi, [rbp - 0x40]
cmp qword [rbp - 0x28], 7
cmova rsi, qword [rbp - 0x40]
cmp rbx, r14
jae 0x1401e489c
lea r9, [rbp - 0x80]
cmp qword [rbp - 0x68], 7
cmova r9, rdi
lea r11, [rbp - 0x40]
cmp qword [rbp - 0x28], 7
cmova r11, qword [rbp - 0x40]
cmp r15, r12
ja 0x1401e487f
mov rax, r12
sub rax, r15
cmp rbx, rax
ja 0x1401e487f
lea r10, [r11 + 2]
lea r10, [r10 + rax*2]
lea rdi, [r11 + rbx*2]
nop dword [rax]
mov rax, r10
sub rax, rdi
sar rax, 1
je 0x1401e487f
movzx ecx, word [r9]
nop
cmp word [rdi], cx
je 0x1401e48e2
add rdi, 2
sub rax, 1
jne 0x1401e4870
cmp r13, rbx
je 0x1401e489c
sub r14, rbx
lea r8, [r14 + r14]
lea rdx, [rsi + rbx*2]
lea rcx, [rsi + r13*2]
call sub.VCRUNTIME140.dll_memcpy
mov r12, qword [rbp - 0x30]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x48]
cmp rcx, r15
jae 0x1401e49f3
sub r15, rcx
imul r15, rax
mov rcx, r12
sub rcx, r15
cmp rcx, r12
ja 0x1401e49a2
mov qword [rbp - 0x30], rcx
lea rax, [rbp - 0x40]
cmp qword [rbp - 0x28], 7
cmova rax, qword [rbp - 0x40]
xor esi, esi
mov word [rax + rcx*2], si
jmp 0x1401e49f5
test rdi, rdi
je 0x1401e487f
mov rdx, r15
mov rcx, r9
test r15, r15
je 0x1401e4918
mov r8, rdi
sub r8, r9
nop dword [rax + rax]
movzx eax, word [rcx]
cmp word [rcx + r8], ax
jne 0x1401e4999
add rcx, 2
sub rdx, 1
jne 0x1401e4900
sub rdi, r11
sar rdi, 1
cmp rdi, 0xffffffffffffffff
je 0x1401e487f
cmp r13, rdi
je 0x1401e4943
mov r8, rdi
sub r8, rbx
add r8, r8
lea rdx, [rsi + rbx*2]
lea rcx, [rsi + r13*2]
call sub.VCRUNTIME140.dll_memmove
mov rax, rdi
sub rax, rbx
add r13, rax
lea rdx, [rsp + 0x38]
cmp qword [rsp + 0x50], 7
cmova rdx, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x48]
lea r8, [rbx + rbx]
lea rcx, [rsi + r13*2]
call sub.VCRUNTIME140.dll_memcpy
add r13, rbx
lea rbx, [r15 + rdi]
mov rax, qword [rsp + 0x30]
inc rax
mov qword [rsp + 0x30], rax
mov r12, qword [rbp - 0x30]
cmp rbx, r14
jae 0x1401e48a1
mov rdi, qword [rbp - 0x80]
jmp 0x1401e4822
add rdi, 2
jmp 0x1401e4860
mov rdx, rcx
sub rdx, r12
mov rdi, qword [rbp - 0x28]
mov rax, rdi
sub rax, r12
cmp rdx, rax
ja 0x1401e49e7
mov qword [rbp - 0x30], rcx
lea r8, [rbp - 0x40]
cmp rdi, 7
cmova r8, qword [rbp - 0x40]
lea rdi, [r8 + r12*2]
xor esi, esi
test rdx, rdx
je 0x1401e49dc
movzx eax, si
mov rcx, rdx
rep stosw word [rdi], ax
lea rax, [rdx + r12]
mov word [r8 + rax*2], si
jmp 0x1401e49f5
mov r9, rdx
lea rcx, [rbp - 0x40]
call fcn.1401aa0a0
xor esi, esi
mov rdi, qword [rbp - 0x80]
mov rbx, qword [rsp + 0x38]
mov rax, qword [rbp - 0x68]
cmp rax, 7
jbe 0x1401e4a41
lea rdx, [rax*2 + 2]
mov rax, rdi
cmp rdx, 0x1000
jb 0x1401e4a38
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1401e4a38
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.1403ca488
nop
mov rax, qword [rsp + 0x50]
cmp rax, 7
jbe 0x1401e4a84
lea rdx, [rax*2 + 2]
mov rax, rbx
cmp rdx, 0x1000
jb 0x1401e4a7c
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1401e4a7c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.1403ca488
lea rcx, [rbp - 0x40]
cmp qword [rbp - 0x28], 7
cmova rcx, qword [rbp - 0x40]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1401e4ae6
lea rcx, [rbp - 0x40]
cmp qword [rbp - 0x28], 7
cmova rcx, qword [rbp - 0x40]
call qword [sym.imp.USER32.dll_LoadCursorFromFileW]
mov rdi, rax
test rax, rax
je 0x1401e4ae9
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x38]
call fcn.140005e80
mov qword [rsp + 0x58], rdi
lea r8, [rsp + 0x38]
lea rdx, [rbp - 0x60]
call fcn.1401e8180
nop
lea rcx, [rsp + 0x38]
call fcn.140006060
jmp 0x1401e4ae9
mov rdi, rsi
mov rdx, qword [rbp - 0x28]
cmp rdx, 7
jbe 0x1401e4b2c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401e4b27
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1401e4b27
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1403ca488
mov qword [rbp - 0x30], rsi
mov qword [rbp - 0x28], 7
mov word [rbp - 0x40], si
mov rdx, qword [rbp - 8]
cmp rdx, 7
jbe 0x1401e4b7f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401e4b7a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1401e4b7a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1403ca488
mov rax, rdi
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.1403ca460
mov rbx, qword [rsp + 0x160]
add rsp, 0x110
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret