Function at 0x1400053b4
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
cmp qword [rcx], rdx
je 0x1400053f8
mov rsi, rdx
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, rdi
call fcn.1400074a0
lea rax, [rsi + 1]
cmp rax, 2
jb case.default.0x1400053f1
mov qword [rdi], rsi
call fcn.140010b70
mov ecx, ebx
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp qword [sym.imp.KERNEL32.dll_SetLastError]
nop
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
push rbx
invalid
imul r12d, dword [r8], 0x43
jnp str.q_Y.Eb
and byte [rbp + 0x48], al
outsd dx, dword cs:[rsi]
add byte [rsi + 0x20], dh
jbe 0x14013c1d2
imul ebp, dword [rsi], 0x47
pop rdx
add byte [rdx + 0x59], ah
invalid
pop rcx
push rbp
imul sp, word cs:[rax], 0x44
add byte [rbx + 0x20], dl
push rbx
and byte [rbp + 0x20], ah
js 0x14013c1eb
push rsp
cmp bpl, byte cs:[r14]
add byte [r8], r9b
invalid
jno str.W_b.oZS.s.Mo_Y
pop rcx
invalid
push rdi
and byte [rdx + 0x2e], ah
outsd dx, dword [rsi]
pop rdx
push rbx
jae 0x14013c272
and r13, qword [r15 + 0x20]
pop rcx
add byte [rbp + 0x66], dh
add byte [rax + rdi*2 + 0x20], al
js str.D0U.u.c
jns 0x14013c2b9
add byte [rdx + 0x2e], ah
invalid
outsd dx, dword cs:[rsi]
and byte [rbx + 0x2e], cl
pop rcx
push rsi
add byte [rax], dh
invalid
push rbp
jne 0x14013c2a4
invalid
imul esp, dword [rax], 0x2e61615a
invalid
push rbp
jbe 0x14013c2fa
jae str.ED_y.n_ru_Scl3
and byte [rcx + 0x2e], r15b
outsb dx, byte [rsi]
and byte [rdx + 0x75], dh
and byte [rbx + 0x63], dl
insb byte [rdi], dx
xor eax, dword [rax]
invalid
add byte [rsi + 0x2e], cl
push 0x20
and byte [r8 + 0x20], dil
push rdi
add byte [rbp + 0x20], dh
jne str.K.i.S
jb str.cH_m_n_Lhx_p.E.Y_c
add byte [rax + 0x2e], r11b
pop rax
invalid
and byte fs:[rdx], bl
pop rcx
add byte [rsi + 0x2e], ah
jge 0x14013c345
push rcx
and byte [rdx + 0x20], ch
jp 0x14013c34d
and byte [r14 + 0x5b], r8b
cmp byte [rsi], ch
invalid
invalid
pop rcx
and byte [rbx], ah
add byte [rbx + 0x2e], sil
jae 0x14013c37b
js 0x14013c3ac
and byte cs:[r10], r11b
push rax
and byte [rdx], bpl
push rsi
push rdi
push 0x6d2e5c26
add byte [rbp], cl
sub r8, qword [r8]
and byte [rsi + 0x2e], cl
ja 0x14013c3cd
and byte [rbp + 0x20], cl
and byte cs:[rdi], r9b
push rax
and byte [rdi + 0x20], bh
and byte [rdi + 0x20], al
jl 0x14013c3af
push rcx
and byte [rdi], bh
invalid
jnp 0x14013c3e4
add byte ds:[rbp], ch
insb byte [rdi], dx
push rdi
jbe str.b.w_
and byte [rax + 0x64], bh
push rcx
add byte [rdx + 0x2e], cl
insd dword [rdi], dx
and byte [rsi], cl
push 0x68717520
sub byte [rdi], ch
add byte [rdi + 0x21], cl
and qword [r8], r12
push rdi
and byte [rax], dh
and byte [rbp + 0x71], dh
push 0x662f28
and qword [r8], r12
push rdi
and byte [rax], dh
and byte [r8 + r8 + 0x46], sil
and byte [rcx + 0x2e], r9b
push rdx
push rdx
add byte [rdx + 0x2e], ch
push 0x2e
je 0x14013c419
jge 0x14013c434
add byte [rsi + 0x20], dh
jbe 0x14013c410
jp 0x14013c412
pop rax
jp 0x14013c46a
insb byte [rdi], dx
and eax, 0x7e2e4920
jae str.eo.L.VY.B
outsd dx, dword gs:[rsi]
push rsi
pop rcx
add byte cs:[rdi + 0x2e], al
jg 0x14013c42f
invalid
invalid
imul ebp, dword [rsi], 0x6f006b
and byte [r14], r12b
and byte [rsi], ah
push rax
insb byte [rdi], dx
invalid
add byte [rdx + 0x2e], ah
invalid
ja str.EA.g.h_O.a.I.f_w._n
invalid
jle 0x14013c436
add byte [r13 + 0x70], r8b
jo 0x14013c45b
push r12
insb byte [rdi], dx
invalid
push 0x612e4f20
and byte cs:[rdi + 0x2e], dh
jge 0x14013c487
outsb dx, byte [rsi]
add byte [rax + riz + 0x72], ch
insb byte [rdi], dx
and byte [rdx + 0x2e], dh
add byte [r8 + r8 + 0x59], r12b
pop rcx
and byte [rdx + 0x2e], dh
add byte [r8 + r8 + 0x59], r12b
pop rcx
and byte [rsi + 0x7b], cl
invalid
jp 0x14013c4a9
imul r13d, dword [r14], 0x46
and byte [rax], bl
invalid
pop rcx
sub eax, 0x337920
push rsi
add byte [rax + 0x2e], cl
jle str.h_3
push 0x26335b
add byte fs:[rcx + 0x2e], dh
jno 0x14013c4ed
jp str.Y.Hz
pop rcx
jp str.R_1T_I.dS.
push rdx
and byte [rbp + rdi + 0x31], bh
push rsp
and byte [rcx + 0x2e], cl
push rbx
jg str.nT.tgj.gn.z_pf_nT
outsb dx, byte [rsi]
pop rsp
push rsp
je 0x14013c542
push 0x2e
outsb dx, byte [esi]
jp 0x14013c502
jo 0x14013c54a
or bh, byte [rbp + 0x7e]
push rsp
add byte [rdi + 0x3a], al
add byte [rsi + rdi + 0xa], dh
je 0x14013c52c
or ch, byte [rsi]
push rsp
add byte [rbx + rbp*2 + 0x2e], dh
je 0x14013c55f
push rcx
imul eax, dword cs:[rax], 0x6b203e53
push rbx
and byte ds:[rbx + 0x2e], ch
jbe 0x14013c520
js 0x14013c551
jbe 0x14013c524
and byte [rsi + 0x68], r10b
add byte cs:[r15 + 0x20], dl
push rsp
add byte [rdx + 0x3a], al
cmp sil, byte [0x181341044]
and eax, 0x4e206620
sub eax, dword [rax]
push rsi
and byte [rdi], bh
push rsi
and byte [rsi + 0x2e], dl
push 0
add byte [rsi + 0x20], dl
push rsi
invalid
push rsi
push 0
pop rbp
add byte [rsi + 0x20], dh
jbe 0x14013c54c
invalid
or ch, byte [rsi]
push rcx
and byte [rax + 0x2e], dl
push rbp
and byte cs:[r13 + 0x51], r9b
and byte [r13 + 0x51], r9b
add byte [rdx + 0x53], cl
push rbx
invalid