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

Disassembly:
push rbp
push rbx
push r12
push r13
push r15
lea rbp, [rsp - 0x280]
sub rsp, 0x380
mov rax, qword [0x140100258]
xor rax, rsp
mov qword [rbp + 0x270], rax
xor r12d, r12d
mov qword [rsp + 0x30], rcx
mov r15, rdx
mov dword [rsp + 0x20], r12d
mov r13d, r12d
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x60], r12
lea rdx, str.reports
mov rbx, rcx
mov qword [rsp + 0x68], 7
mov r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], r12w
jne 0x140048cd0
lea rcx, [rsp + 0x50]
call fcn.1400225c0
lea rcx, [rbx + 8]
lea r8, [rsp + 0x50]
lea rdx, [rbp - 0x30]
call fcn.140026e60
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x140048d38
mov rcx, qword [rsp + 0x50]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140048d33
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140049035
call fcn.14008df80
lea rcx, [rbp + 0x10]
call fcn.140039730
lea rdx, [rbp - 0x30]
lea rcx, [rbp + 0x10]
call fcn.140039960
test al, al
je 0x140049001
mov qword [rsp + 0x3b8], rsi
lea rcx, [rbp - 0x60]
mov qword [rsp + 0x3c0], rdi
mov qword [rsp + 0x3c8], r14
call fcn.140026db0
xor ecx, ecx
call fcn.14009a8d0
lea r8, [rsp + 0x28]
mov dword [rsp + 0x28], r12d
lea rdx, [rsp + 0x38]
mov rcx, rbx
mov rsi, rax
call fcn.1400482c0
lea rcx, [rsp + 0x38]
mov r14, qword [rax]
mov qword [rsp + 0x28], r14
mov qword [rax], r12
call fcn.140047ee0
lea rdx, [rbp - 0x60]
lea rcx, [rbp + 0x10]
call fcn.1400397a0
test eax, eax
jne 0x140048ef1
lea r8, [rbp - 0x60]
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x30]
call fcn.140026e40
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x80]
call fcn.14002e920
test al, al
je 0x140048ece
mov rax, rsi
sub rax, r15
cmp qword [rbp - 0x40], rax
jg 0x140048ece
lea rdx, [rbp - 0x10]
lea rcx, [rbp - 0x80]
call fcn.140027c90
mov rcx, rax
lea rdx, [rsp + 0x50]
call fcn.1400270c0
mov rcx, rax
cmp qword [rax + 0x18], 8
jb 0x140048e1f
mov rcx, qword [rax]
mov qword [rsp + 0x38], rcx
lea rdx, [rsp + 0x38]
mov rax, qword [rax + 0x10]
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x40], rax
call fcn.140032e50
lea rcx, [rsp + 0x50]
movzx ebx, al
call fcn.140026dd0
lea rcx, [rbp - 0x10]
call fcn.140026dd0
test bl, bl
je 0x140048ece
mov rbx, qword [r14 + 0x30]
mov rdi, qword [r14 + 0x38]
movaps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rsp + 0x50], xmm0
cmp rbx, rdi
je 0x140048e90
lea rcx, [rbx + 4]
lea rdx, [rsp + 0x50]
call fcn.140032e30
test al, al
jne 0x140048e90
add rbx, 0xc8
cmp rbx, rdi
jne 0x140048e72
cmp rbx, qword [r14 + 0x38]
je 0x140048eaf
cmp qword [rbx + 0x30], 8
lea rcx, [rbx + 0x18]
jb 0x140048ea4
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x140048ece
lea rcx, [rbp - 0x80]
call fcn.14002f820
test al, al
je 0x140048ece
mov rcx, qword [rsp + 0x30]
lea rdx, [rsp + 0x70]
inc r13d
call fcn.14004de50
lea rcx, [rbp - 0x80]
call fcn.140026dd0
lea rdx, [rbp - 0x60]
lea rcx, [rbp + 0x10]
call fcn.1400397a0
test eax, eax
je 0x140048dc2
mov dword [rsp + 0x20], r13d
mov rbx, qword [r14 + 0x30]
cmp rbx, qword [r14 + 0x38]
je 0x140048fc9
lea r13, [rbx + 0xc8]
nop word [rax + rax]
lea rdi, [r13 - 0xb0]
mov rcx, rdi
call fcn.14002f0c0
test al, al
jne 0x140048fa9
mov r15, qword [r14 + 0x38]
mov rsi, r13
cmp r13, r15
je 0x140048f7e
add rdi, 0x70
nop word [rax + rax]
lea rcx, [rdi - 0x88]
mov rdx, rsi
call fcn.140048130
mov eax, dword [rdi + 0xc0]
lea rdx, [rdi + 0xc8]
mov rcx, rdi
mov dword [rdi - 8], eax
call fcn.140048090
add rsi, 0xc8
add rdi, 0xc8
cmp rsi, r15
jne 0x140048f40
mov r15, qword [r14 + 0x38]
lea rcx, [r15 - 0x40]
call fcn.1400140a0
lea rcx, [r15 - 0xc8]
call fcn.14001a4a0
add qword [r14 + 0x38], 0xffffffffffffff38
mov rax, qword [r14 + 0x38]
inc r12d
mov byte [r14 + 0x28], 1
jmp 0x140048fbb
mov rax, qword [r14 + 0x38]
add rbx, 0xc8
add r13, 0xc8
cmp rbx, rax
jne 0x140048f10
mov r13d, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x30]
call fcn.140049040
lea rcx, [rsp + 0x28]
add r12d, r13d
call fcn.140047ee0
lea rcx, [rbp - 0x60]
call fcn.140026dd0
mov r14, qword [rsp + 0x3c8]
mov rdi, qword [rsp + 0x3c0]
mov rsi, qword [rsp + 0x3b8]
lea rcx, [rbp + 0x10]
call fcn.140039770
lea rcx, [rbp - 0x30]
call fcn.140026dd0
mov eax, r12d
mov rcx, qword [rbp + 0x270]
xor rcx, rsp
call fcn.14008e050
add rsp, 0x380
pop r15
pop r13
pop r12
pop rbx
pop rbp
ret
call fcn.14009464c
int3