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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x240]
sub rsp, 0x340
mov rax, qword [0x1400e0038]
xor rax, rsp
mov qword [rbp + 0x230], rax
xor edi, edi
lea rax, str.reports
xorps xmm0, xmm0
mov qword [rsp + 0x60], rdi
mov r12d, edi
mov r15, rdx
movups xmmword [rsp + 0x50], xmm0
mov r13, rcx
mov rbx, 0xffffffffffffffff
nop
inc rbx
cmp word [rax + rbx*2], di
jne 0x1400225f0
movabs rsi, 0x7ffffffffffffffe
cmp rbx, rsi
ja 0x1400229b4
mov qword [rsp + 0x68], 7
cmp rbx, 8
jae 0x14002263a
mov qword [rsp + 0x60], rbx
lea rcx, [rsp + 0x50]
add rbx, rbx
mov rdx, rax
mov r8, rbx
call fcn.140082e70
mov word [rsp + rbx + 0x50], di
jmp 0x140022692
mov rax, rbx
or rax, 7
cmp rax, rsi
ja 0x140022655
mov ecx, 0xa
mov rsi, rax
cmp rax, rcx
cmovb rsi, rcx
lea rdx, [rsi + 1]
lea rcx, [rsp + 0x50]
call fcn.14000dc20
mov qword [rsp + 0x60], rbx
lea rdx, str.reports
add rbx, rbx
mov qword [rsp + 0x50], rax
mov r8, rbx
mov qword [rsp + 0x68], rsi
mov rcx, rax
mov rdi, rax
call fcn.140082e70
xor eax, eax
mov word [rbx + rdi], ax
xor edi, edi
lea r8, [rsp + 0x50]
lea rdx, [rbp - 0x50]
lea rcx, [r13 + 8]
call fcn.140012120
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x1400226e6
mov rcx, qword [rsp + 0x50]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400226e1
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400229ba
call fcn.1400809f0
xor edx, edx
lea rcx, [rbp - 0x30]
mov r8d, 0x250
call fcn.140083680
lea rdx, [rbp - 0x50]
mov qword [rbp + 0x220], 0xffffffffffffffff
lea rcx, [rbp - 0x30]
mov byte [rbp + 0x228], r12b
call fcn.140073ab0
test al, al
jne 0x140022721
mov ebx, edi
jmp 0x140022967
movdqa xmm1, xmmword [0x1400cd300]
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xor ecx, ecx
mov word [rsp + 0x70], di
movdqu xmmword [rbp - 0x80], xmm1
call fcn.14009054c
lea rdx, [rsp + 0x20]
mov rcx, r13
mov rbx, rax
call fcn.140022160
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x30]
call fcn.140073d40
mov rdi, qword [rsp + 0x20]
test eax, eax
jne 0x140022860
nop dword [rax]
lea r8, [rsp + 0x70]
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0x50]
call fcn.140012120
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x70]
call fcn.140072770
test al, al
je 0x140022841
mov rax, rbx
sub rax, r15
cmp qword [rsp + 0x50], rax
jg 0x140022841
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x70]
call fcn.14001e830
test al, al
je 0x140022841
mov rax, qword [rdi + 0x50]
mov rcx, qword [rdi + 0x58]
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x30], xmm0
cmp rax, rcx
je 0x140022824
mov rdx, qword [rsp + 0x38]
mov r8, qword [rsp + 0x30]
cmp qword [rax], r8
jne 0x1400227ec
cmp qword [rax + 8], rdx
je 0x1400227f9
add rax, 0xa0
cmp rax, rcx
jne 0x1400227e1
jmp 0x140022824
cmp qword [rax + 0x28], 8
lea rcx, [rax + 0x10]
jb 0x140022807
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x140022819
mov eax, 1
jmp 0x14002281f
shr eax, 3
and eax, 2
cmp eax, 1
jne 0x140022841
lea rcx, [rbp - 0x70]
call fcn.140072fe0
test al, al
je 0x140022841
inc r12d
lea rdx, [rsp + 0x40]
mov rcx, r13
call fcn.140025830
lea rcx, [rbp - 0x70]
call fcn.140001910
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x30]
call fcn.140073d40
test eax, eax
je 0x140022770
mov rbx, qword [rdi + 0x50]
xor esi, esi
mov r15d, esi
cmp rbx, qword [rdi + 0x58]
je 0x140022902
nop dword [rax]
nop word [rax + rax]
lea rcx, [rbx + 0x10]
lea rsi, [rbx + 0xa0]
call fcn.140072cc0
test al, al
jne 0x1400228f7
mov r14, qword [rdi + 0x58]
cmp rsi, r14
je 0x1400228c4
nop dword [rax]
lea rcx, [rsi - 0xa0]
mov rdx, rsi
call fcn.140023380
mov eax, dword [rsi + 0x98]
mov dword [rsi - 8], eax
add rsi, 0xa0
cmp rsi, r14
jne 0x1400228a0
mov rsi, qword [rdi + 0x58]
lea rcx, [rsi - 0x28]
call fcn.140001980
lea rcx, [rsi - 0x70]
call fcn.140001980
lea rcx, [rsi - 0x90]
call fcn.140001910
add qword [rdi + 0x58], 0xffffffffffffff60
inc r15d
mov byte [rdi + 0x48], 1
jmp 0x1400228fa
mov rbx, rsi
cmp rbx, qword [rdi + 0x58]
jne 0x140022880
xor esi, esi
mov rcx, r13
call fcn.1400229c0
lea rcx, [rsp + 0x20]
lea ebx, [r15 + r12]
call fcn.140022e80
mov rdx, qword [rbp - 0x78]
cmp rdx, 8
jb 0x140022955
mov rcx, qword [rsp + 0x70]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140022950
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400229ae
call fcn.1400809f0
movdqa xmm0, xmmword [0x1400cd300]
movdqu xmmword [rbp - 0x80], xmm0
mov word [rsp + 0x70], si
lea rcx, [rbp + 0x220]
call fcn.140073440
lea rcx, [rbp - 0x50]
call fcn.140001910
mov eax, ebx
mov rcx, qword [rbp + 0x230]
xor rcx, rsp
call fcn.1400809d0
lea r11, [rsp + 0x340]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140087b78
int3
call fcn.140001c80
int3
call fcn.140087b78
int3