Function at 0x1400b92d0
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x2a8
mov rsi, rcx
test r8, r8
je 0x1400b9425
mov rdi, r8
js 0x1400b95bd
mov rbx, rdx
movzx eax, byte [0x140120b70]
mov r14d, 1
mov edx, 1
mov rcx, rdi
call fcn.14004bac0
test rax, rax
je 0x1400b95c0
mov r15, rax
mov rcx, rax
mov rdx, rbx
mov r8, rdi
call fcn.1400ea9f0
movzx eax, byte [0x140120b70]
mov edx, 1
mov rcx, rdi
call fcn.14004bac0
test rax, rax
je 0x1400b95cb
mov r14, rax
movabs rbp, 0x8000000000000000
mov rcx, rax
mov rdx, rbx
mov r8, rdi
call fcn.1400ea9f0
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], rdi
mov byte [rsp + 0x70], 0
lea rdx, [0x1401073e0]
lea rcx, [rsp + 0x58]
mov r8d, 1
call fcn.1400c04d0
mov rbx, qword [rsp + 0x58]
mov r14, qword [rsp + 0x60]
mov r8, qword [rsp + 0x68]
lea rcx, [rsp + 0x28]
mov rdx, r14
call fcn.1400b1fe0
mov rax, qword [rsp + 0x28]
mov r12, qword [rsp + 0x30]
cmp rax, rbp
je 0x1400b93f2
mov rcx, qword [rsp + 0x38]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], rcx
lea rcx, [rsp + 0x40]
lea rdx, [rsp + 0x58]
mov r8b, 1
call fcn.1400c5420
mov r13, qword [rsp + 0x40]
mov r12, qword [rsp + 0x48]
cmp r13, rbp
jne 0x1400b9450
mov qword [rsi], r12
mov dword [rsi + 0x10], 2
test rbx, rbx
je 0x1400b9412
mov r8d, 1
mov rcx, r14
mov rdx, rbx
call fcn.14004bad0
mov r8d, 1
mov rcx, r15
mov rdx, rdi
call fcn.14004bad0
jmp 0x1400b9439
movabs rax, 0x300000002
mov qword [rsi], rax
mov dword [rsi + 0x10], 2
mov rax, rsi
add rsp, 0x2a8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rbp, [rsp + 0x58]
mov r8d, 0x250
mov rcx, rbp
xor edx, edx
call fcn.1400eb170
mov rcx, r12
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp rax, 0xffffffffffffffff
je 0x1400b9520
mov qword [rsp + 0x20], rax
movzx eax, byte [0x140120b70]
mov ecx, 0x30
mov edx, 8
call fcn.14004bac0
test rax, rax
je 0x1400b95d8
mov rbp, rax
mov qword [rax], 1
mov qword [rax + 8], 1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], r15
mov qword [rax + 0x20], rdi
mov byte [rax + 0x28], 0
lea rcx, [rsi + 0x14]
lea rdx, [rsp + 0x58]
mov r8d, 0x250
call fcn.1400ea9f0
mov qword [rsi], rbp
mov rax, qword [rsp + 0x20]
mov qword [rsi + 8], rax
mov dword [rsi + 0x10], 1
test r13, r13
je 0x1400b9501
add r13, r13
mov r8d, 2
mov rcx, r12
mov rdx, r13
call fcn.14004bad0
test rbx, rbx
je 0x1400b9439
mov r8d, 1
mov rcx, r14
mov rdx, rbx
call fcn.14004bad0
jmp 0x1400b9439
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x1400b9589
movzx eax, byte [0x140120b70]
mov ecx, 0x30
mov edx, 8
call fcn.14004bac0
test rax, rax
je 0x1400b95d8
mov qword [rax], 1
mov qword [rax + 8], 1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], r15
mov qword [rax + 0x20], rdi
mov byte [rax + 0x28], 0
mov qword [rsi], rax
mov qword [rsi + 8], 0xffffffffffffffff
mov dword [rsi + 0x10], 0
test r13, r13
jne 0x1400b94ed
jmp 0x1400b9501
shl rax, 0x20
or rax, 2
mov qword [rsi], rax
mov dword [rsi + 0x10], 2
test r13, r13
je 0x1400b93fc
add r13, r13
mov r8d, 2
mov rcx, r12
mov rdx, r13
call fcn.14004bad0
jmp 0x1400b93fc
xor r14d, r14d
mov rcx, r14
mov rdx, rdi
call fcn.14006d9c0
mov ecx, 1
mov rdx, rdi
call fcn.14006d9c0
mov ecx, 8
mov edx, 0x30
call fcn.14006d9c0
int3