Function at 0x14000192c
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
cmp qword [rcx], rdx
je 0x140001970
mov rsi, rdx
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, rdi
call fcn.140003f40
lea rax, [rsi + 1]
cmp rax, 2
jb case.default.0x140001969
mov qword [rdi], rsi
call fcn.14000c0a0
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
jp 0x140105951
and byte [rax + 0x35], cl
add byte [rdi + 0x49], dh
ja 0x140105929
jo 0x140105902
jl 0x140105949
add byte [rsi + 0x2e], cl
jae 0x140105917
invalid
invalid
invalid
pop rax
add byte [rcx], cl
push 0x49
jle 0x140105920
add byte [r14 + r12*2 + 0x3f], r12b
invalid
add byte [rsi + 0x2e], dl
push rsi
jp 0x140105938
js 0x14010593a
jbe str.H.j_j.U_J.i_N.__v
add byte [rcx + 0x2e], ah
add byte [rcx + 0x7b], r13b
invalid
jnp 0x140105936
push rbx
pop rbx
pop rbx
invalid
push rsi
and byte [rax + riz + 0x5a], bh
and eax, 0x7d2e5820
and byte [rax + riz + 0x7e], bh
add byte [rcx + 0x2e], bh
jns 0x140105960
push rbx
imul esp, dword [rax], 0x702e4e6a
add byte [rax + 0x3f], cl
add byte [rax + rdi + 0x28], ch
insb byte [rdi], dx
cmp byte [rax], ch
sub dword [rax], eax
jo 0x14010593a
invalid
push 0x20
push 0x2e
push rbp
and byte [rdx + 0x2e], cl
imul esp, dword [rax], 0x297c2e4e
sub dword [rax], esp
jbe str.MlY_U.Www.WB.E
and byte [rsi], dh
insb byte [rdi], dx
pop rcx
and byte [rbp + 0x2e], dl
push rdi
ja 0x1401059d5
push rdi
add byte cs:[r9 + 0x2e], r12b
invalid
push 0x4e532e
jb 0x1401059e6
add byte [rbx + 0x20], dh
jae 0x140105990
invalid
add byte [rax + 0x20], cl
add byte [rdi + 0x2e], dl
push rdi
jne str.n_e.kq.t_p_Y
jno 0x140105a49
add byte [rbx], dl
js str.Rn.C
and byte [rdi], bh
jg str.S.Ft_
push rbx
je 0x140105a2c
add byte [rbp + rsi*2 + 0x2e], al
jne 0x140105a20
je 0x140105a6f
push rax
imul eax, dword [rax], 0x2e6a2069
imul esp, dword [rax], 0x20412e6a
and byte [rbp + 0x7b], cl
invalid
add byte [r10 + 0x6e], dl
push rdx
outsb dx, byte [rsi]
push rdx
outsb dx, byte [rsi]
add byte cs:[r14 + 0x20], bpl
outsb dx, byte [rsi]
and byte [rbp + 0x2e], ah
imul esi, dword [rcx + 0x2e], 0x74
outsb dx, byte [rsi]
and byte [rbp + 0x2e], ah
imul esi, dword [rcx + 0x2e], 0x74
and byte [rax + 0x7c], dh
and byte [rcx], bl
and rsp, qword [rax]
jbe 0x140105a4d
push rbp
and byte [rdx], ah
push rsp
add byte [rax + 0x78], ch
add byte [rdx + 0x2e], dl
push rdx
push rdi
sub byte cs:[rdx], 0x31
sub dh, byte [rcx]
sub byte [rdx], 0x31
sub dh, byte [rcx]
push rax
push rsp
jns 0x140105a97
push rbp
add byte [rdi + 0x47], dl
push rdi
push rsp
and byte [rax + 0x79], dl
invalid
and al, 0
pop rcx
imul eax, dword cs:[rax], 0x36772e62
invalid
ja 0x140105a89
imul eax, dword [rax], 0x36772e62
invalid
ja 0x140105a89
jge 0x140105ac0
sub byte [rax], ah
jae str.l8__L_y
insb byte [rdi], dx
cmp byte [rax], ch
and byte [rsi + rdi*2 + 0x20], cl
jns str.Ey.r
jns 0x140105a93
jb 0x140105a67
add byte cs:[r8], dil
add byte [r8], dil
push 0
pop rax
add byte [rbp + rdx*2 + 0x20], al
push rbp
and byte [rax + 0x2e], bh
push rsp
pop rdx
add byte [rbp + 0x2e], ah
push rbp
and byte [rbp + rcx*2 + 0x59], ah
and byte [rbp + rdi*2 + 0x20], dl
and byte [r9 + 0x4b], cl
jp 0x140105aab
insd dword [rdi], dx
and byte [rbx + 0x2e], al
and byte [r11 + 0x2e], r13b
push rsi
and byte cs:[r8], r11b
and byte [rax], bl
invalid
and byte [rcx + 0x6b], cl
push 0x50
push rbp
add byte [rcx + 0x20], bh
jns 0x140105acf
jp 0x140105ae7
add byte [rdi + 0x20], dh
ja 0x140105ad4
imul esp, dword cs:[rax], 0x5e772055
je 0x140105af0
add byte [rax + riz + 0x75], ch
insb byte [rdi], dx
and byte [rbp + 0x20], dh
jge 0x140105ae7
push rbp
add byte [rcx + 0x30], dh
jno 0x140105afb
jge 0x140105afc
jns str.v._qX_w8.t.m.w_
jbe 0x140105b00
jl 0x140105af4
jno 0x140105b2e
sub dword [rdi + 0x38], esi
je 0x140105b0a
insd dword [rdi], dx
ja 0x140105b0f
add byte [rbx + 0x30], al
invalid
invalid
je 0x140105b16
add byte cs:[r15 + 0x20], al
add byte [rdi + 0x20], al
jle str.H.gF_e_q.E.d
and byte cs:[ebp + 0x20], r12b
and byte [rbp + 0x20], ah
jno 0x140105b23
jnp 0x140105b26
jnp 0x140105b26
add byte fs:[rbx + 0x6c], al
xor dword [rax], eax
push rdx
and byte [rbx + 0x20], ch
push 0
jno 0x140105b26
imul esp, dword [rax], 0x6a
add byte [rcx + 0x20], dh
push rax
add byte [rcx + 0x20], bh
jns 0x140105b2a
insb byte [rdi], dx
imul ebp, dword [rsi], 0x54
and byte [rdx], cl
and byte [rax + 0x3f], r14b
add byte [rsi + 0x20], al
and byte [rax + 0x3f], r14b
add byte [rcx], dh
jno 0x140105b18
push rax
add byte [rcx], ah
and byte [r15 + 0x2e], dil
jp 0x140105b7b
insb byte [rdi], dx
add byte [rsi + rbp + 0x78], al
js 0x140105b64
jne 0x140105b4a
insd dword [rdi], dx
js 0x140105b64
jne 0x140105b4a
insd dword [rdi], dx
pop rdx
pop rdx
add byte [rcx + 0x2e], dl
push rcx
pop rcx
xor rax, 0x564220
add byte [rcx + 0x50], spl
invalid
push rax
and byte [rsi + 0x2e], cl
insd dword [rdi], dx
cmp eax, 0x77594c00
pop rcx
ja 0x140105b67
invalid
invalid
invalid
push 0x79
jnp 0x140105b4f
add byte [rax + 0x20], bpl
push 0x42206820
xor dword [rax], eax
jne 0x140105b7a
and byte [rdx + 0x31], al
add byte [rbp + 0x20], dh
jne 0x140105b7a
pop rax
jb 0x140105b8c
push rcx
and byte cs:[r14 + 0x2a], spl
and byte [rdx + 0x20], bh
invalid
cmp dword [rax], eax
and byte [rbx + rcx*2 + 0x73], bh
add byte [rax + 0x2e], bh
js 0x140105bb2
add byte [rsi + 0x20], ah
invalid
invalid
jl 0x140105bcb
jae str.x.wG
js 0x140105bb2
ja 0x140105bcd
add byte [rbx + 0x20], dl
push rbx
and byte [rbp + 0x2e], dl
xor al, 0x2e
xor al, 0x2e
jnp 0x140105bbe
outsd dx, dword [rsi]
add byte [rbx + 0x43], al
and ebp, dword [r14]
pop rcx
imul eax, dword cs:[rax], 0x4e
add byte [rcx + 0x60], al
invalid
invalid
and byte [rbp + rax*2 + 0x20], bh
add byte [r9], r9b
insb byte [rdi], dx
and byte [rsi + 0x20], cl
jns 0x140105c05
insd dword [rdi], dx
xor byte [r14], bpl
push rdi
jle 0x140105c17
jl str.Jx.V.w_F
js 0x140105be9
push rsi
ja 0x140105bdf
and byte [rsi], al
je 0x140105c28
add byte [rbp + r12*2 + 0x3b], r14b
je 0x140105c28
cmp ebp, dword [rbx + 0x20]
jle 0x140105bf6
push rdx
cmp ebp, dword [rbx + 0x20]
jle 0x140105bf6
push rdx
add byte [rax + rax + 0x6e], al
outsb dx, byte [rsi]
add byte [rsi + 0x2e], ch
outsb dx, byte [rsi]
jg str.C.S3Y_f
jg str.C.S3Y_f
push rbx
xor ebp, dword [rbx]
pop rcx
and byte [rsi], ah
js 0x140105c09
js 0x140105c00
and byte [rbp + 0x2b], ch
ja 0x140105c04
insd dword [rdi], dx
sub esi, dword [rdi + 0x20]
jge 0x140105c39
and byte [rbp], cl
add byte [r15 + 0x5b], r12b
pop rbx
je 0x140105c1e
jns 0x140105c12
insb byte [rdi], dx
add byte [rax + 0x2e], dh
jo 0x140105c24
push 0x24
jno 0x140105c1b
jae 0x140105c1d
push rbp
imul ebp, dword cs:[rsi], 0x5a700051
push rcx
add byte [rax + 0x5a], dh
pop rdx
jl str.B.seL_A_t_J
cmp eax, 0x4c65732e
and byte [rcx + 0x20], al
jae 0x140105c71
and byte [rcx + 0x20], r8b
je 0x140105c32
sub al, byte [rax]
push 0x2e673949
cmp qword [r15 + 0x2e], rsp
jle 0x140105c97
pop rdx
pop rdx
jge 0x140105c41
jbe 0x140105c44
push 0
invalid
jne 0x140105c2a
push rsi
add byte [rdi + 0x42], al
sub ebp, dword [rsi]
and byte [rax], 0x4a
and byte [rdx + 0x45], cl
pop rdx
pop rdx
and byte gs:[rax + 0x2e], dh
jg 0x140105c6a
invalid
jg 0x140105c6a
invalid
push rsp
insb byte [rdi], dx
and byte [rbp], dh
and byte [rdx + 0x2e], ch
add byte [rsi + 0x20], ah
invalid
invalid
push 0x2e
jle 0x140105c88
outsb dx, byte [rsi]
imul esp, dword cs:[rax], 0x62
jb 0x140105ca8
push rsp
and al, 0x64
and byte cs:[rax + 0x2e], dh
pop rdx
add byte [rdi + 0x77], dl
push rdi
ja 0x140105c90
je 0x140105cb5
add byte [r8 + r8 + 0x54], r14b
push rsp
invalid
push 0
jae 0x140105ce8
jp 0x140105ca6
and byte [r11 + 0x53], r9b
push rsp
and byte [rsi + 0x20], cl
invalid
invalid
add byte cs:[r9 + 0x20], r15b
jns 0x140105cc0
and byte gs:[rdx + 0x47], cl
insd dword [rdi], dx
and byte [rax + rax + 0x63], ch
add byte [rdi + 0x5a], ah
add byte [rbx], ah
pop rdx
add byte [rbx + 0x2e], ah
invalid
movsxd r8, dword cs:[r8]
push rax
and byte [rsi + 0x20], bh
jle 0x140105cd7
jns str.V.ZT36.k_o
jno 0x140105cdb
invalid
add byte [esi + 0x2e], dl
push rsi
invalid
push rsi
pop rdx
pop rdx
push rsp
xor esi, dword [rsi]
imul esp, dword cs:[rax], 0x6f
add byte [rax + riz + 0x7f], cl
invalid
invalid