Function at 0x140003870
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov rax, qword [0x1417380a0]
xor rax, rsp
mov qword [rbp + 0x70], rax
xor ebx, ebx
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x78], rbx
mov qword [rbp - 0x80], 7
mov word [rsp + 0x68], bx
lea r8d, [rbx + 0x18]
lea rdx, [0x1400b0b90]
lea rcx, [rsp + 0x68]
call fcn.140006d50
nop
mov qword [rbp - 0x30], rbx
movdqa xmm0, xmmword [0x141726880]
movdqa xmmword [rbp - 0x20], xmm0
mov word [rbp - 0x30], bx
lea r8d, [rbx + 2]
lea rdx, [0x1400b0bc4]
lea rcx, [rbp - 0x30]
call fcn.140006d50
nop
mov qword [rbp - 0x10], rbx
movdqa xmm0, xmmword [0x141726880]
movdqa xmmword [rbp], xmm0
mov word [rbp - 0x10], bx
lea r8d, [rbx + 4]
lea rdx, [0x1400b0bd0]
lea rcx, [rbp - 0x10]
call fcn.140006d50
nop
mov qword [rbp + 0x10], rbx
movdqa xmm0, xmmword [0x141726880]
movdqa xmmword [rbp + 0x20], xmm0
mov word [rbp + 0x10], bx
lea r8d, [rbx + 2]
lea rdx, [0x1400b0bdc]
lea rcx, [rbp + 0x10]
call fcn.140006d50
nop
mov qword [rbp + 0x30], rbx
movdqa xmm0, xmmword [0x141726880]
movdqa xmmword [rbp + 0x40], xmm0
mov word [rbp + 0x30], bx
lea r8d, [rbx + 4]
lea rdx, [0x1400b0be8]
lea rcx, [rbp + 0x30]
call fcn.140006d50
nop
mov qword [rbp + 0x50], rbx
movdqa xmm0, xmmword [0x141726880]
movdqa xmmword [rbp + 0x60], xmm0
mov word [rbp + 0x50], bx
lea r8d, [rbx + 2]
lea rdx, [0x1400b0bf4]
lea rcx, [rbp + 0x50]
call fcn.140006d50
nop
mov qword [rbp - 0x78], rbx
mov qword [rbp - 0x68], rbx
mov qword [rbp - 0x60], 7
mov word [rbp - 0x78], bx
lea r8d, [rbx + 4]
lea rdx, [0x1400b0c00]
lea rcx, [rbp - 0x78]
call fcn.140006d50
nop
mov dword [rsp + 0x30], ebx
movabs r8, 0x7ffffffffffffffe
mov rcx, r8
mov rdx, qword [rsp + 0x78]
sub rcx, rdx
mov qword [rsp + 0x60], rcx
lea rsi, [rbp - 0x30]
mov r12, qword [rbp - 0x68]
mov rax, qword [rsp + 0x68]
movabs r10, 0x7fffffffffffffff
mov r9d, 0xa
mov r15, qword [rsi + 0x10]
cmp rcx, r15
jb 0x140003d8e
lea r13, [rsp + 0x68]
cmp qword [rbp - 0x80], 8
cmovae r13, rax
mov qword [rsp + 0x58], rsi
cmp qword [rsi + 0x18], 8
jb 0x140003a36
mov rax, qword [rsi]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rbx
lea r14, [rdx + r15]
mov edi, 7
lea rbx, [rsp + 0x38]
cmp r14, rdi
jbe 0x140003ae1
mov rdi, r14
or rdi, 7
cmp rdi, r8
jbe 0x140003a74
mov rdi, r8
mov rcx, 0xfffffffffffffffe
jmp 0x140003a95
cmp rdi, 0xa
cmovb rdi, r9
lea rcx, [rdi + 1]
cmp rcx, r10
ja 0x140003d9a
add rcx, rcx
cmp rcx, 0x1000
jb 0x140003ac6
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140003d9a
mov rcx, rax
call fcn.14003aa88
test rax, rax
je 0x140003d94
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
mov rdx, qword [rsp + 0x78]
jmp 0x140003adc
test rcx, rcx
je 0x140003ada
call fcn.14003aa88
mov rbx, rax
mov rdx, qword [rsp + 0x78]
jmp 0x140003adc
xor ebx, ebx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x50], rdi
lea rdi, [rdx + rdx]
mov r8, rdi
mov rdx, r13
mov rcx, rbx
call fcn.14003d5e0
lea rcx, [rdi + rbx]
lea r8, [r15 + r15]
mov rdx, qword [rsp + 0x58]
call fcn.14003d5e0
xor r15d, r15d
mov word [rbx + r14*2], r15w
lea r9, [rbp - 0x78]
mov r14, qword [rbp - 0x60]
cmp r14, 8
cmovae r9, qword [rbp - 0x78]
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x50]
mov rax, rdx
sub rax, rcx
cmp r12, rax
ja 0x140003b71
lea rdi, [rcx + r12]
mov qword [rsp + 0x48], rdi
lea rbx, [rsp + 0x38]
cmp rdx, 8
cmovae rbx, qword [rsp + 0x38]
lea rcx, [rbx + rcx*2]
lea r8, [r12 + r12]
mov rdx, r9
call fcn.14003d5e0
mov word [rbx + rdi*2], r15w
lea rax, [rsp + 0x38]
jmp 0x140003b8b
mov qword [rsp + 0x20], r12
mov rdx, r12
lea rcx, [rsp + 0x38]
call fcn.140009910
mov r12, qword [rbp - 0x68]
mov r14, qword [rbp - 0x60]
mov rdi, qword [rbp - 0x78]
xor ebx, ebx
mov qword [rbp - 0x58], rbx
mov qword [rbp - 0x48], rbx
mov qword [rbp - 0x40], rbx
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x58], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x48], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 7
mov word [rax], bx
mov rdx, qword [rsp + 0x50]
cmp rdx, 8
jb 0x140003bfd
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003bf8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003da0
call fcn.14003abdc
lea rcx, [rbp - 0x58]
cmp qword [rbp - 0x40], 8
cmovae rcx, qword [rbp - 0x58]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
nop
mov rdx, qword [rbp - 0x40]
cmp eax, 0xffffffff
jne 0x140003c87
cmp rdx, 8
jb 0x140003c57
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003c52
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003da6
call fcn.14003abdc
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
add rsi, 0x20
cmp eax, 5
jae 0x140003c83
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x60]
movabs r8, 0x7ffffffffffffffe
jmp 0x1400039f2
xor bl, bl
jmp 0x140003cc5
cmp rdx, 8
jb 0x140003cc3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003cbe
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003da6
call fcn.14003abdc
mov bl, 1
cmp r14, 8
jb 0x140003d01
lea rdx, [r14*2 + 2]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140003cf8
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003dac
mov rcx, rdi
call fcn.14003abdc
nop
lea r9, [fcn.140005b50]
mov edx, 0x20
lea r8d, [rdx - 0x1b]
lea rcx, [rbp - 0x30]
call fcn.14003aac4
nop
mov rax, qword [rbp - 0x80]
cmp rax, 8
jb 0x140003d58
lea rdx, [rax*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003d53
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003d88
call fcn.14003abdc
movzx eax, bl
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.14003aa60
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140065218
nop
call fcn.1400015d0
nop
call fcn.140065218
int3
call fcn.1400014a0
nop
call fcn.140065218
nop
call fcn.140065218
nop
call fcn.140065218
int3