Function at 0x1800bad30
Capabilities:
Check if file exists
Enumerate processes
Get file attributes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x260]
sub rsp, 0x360
mov rax, qword [0x180128010]
xor rax, rsp
mov qword [rbp + 0x250], rax
mov rdi, rcx
lea rdx, [0x18012b6d8]
lea rcx, [rsp + 0x40]
call fcn.1800bfad0
mov rdx, rax
lea rcx, [rbp - 0x18]
call fcn.180089770
xor edx, edx
mov dword [rbp + 0x10], 0x238
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rcx, rax
lea rdx, [rbp + 0x10]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
xor r14d, r14d
cmp eax, 1
jne 0x1800bb03a
lea rdx, [rbp + 0x10]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
cmp eax, 1
jne 0x1800bb03a
nop dword [rax]
nop word [rax + rax]
mov ebx, dword [rbp + 0x18]
lea rdx, [rbp - 0x40]
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
test eax, eax
je 0x1800bb020
mov edx, ebx
lea rcx, [rbp - 0x38]
call fcn.1800a1500
lea rdx, [rbp - 0x38]
lea rcx, [rbp - 0x80]
call fcn.1800bfad0
lea rdx, [rbp - 0x18]
mov rbx, rax
lea rcx, [rsp + 0x60]
call fcn.1800bfad0
mov rcx, rax
mov rdx, rbx
call fcn.18008b390
test eax, eax
jle 0x1800bafe5
lea rdx, [0x18012b0f8]
lea rcx, [rbp - 0x60]
call fcn.1800bfad0
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.180089770
lea rdx, [rbp - 0x38]
mov rbx, rax
lea rcx, [rsp + 0x20]
call fcn.18008c480
mov r8, qword [rbx + 0x10]
mov rcx, rax
mov rdx, qword [rax + 0x18]
mov r9, qword [rax + 0x10]
mov rax, rdx
sub rax, r9
cmp r8, rax
jbe 0x1800bae8d
mov rax, qword [rbx + 0x18]
sub rax, r8
cmp rax, r9
jb 0x1800bae8d
cmp rdx, 0x10
jb 0x1800bae80
mov rcx, qword [rcx]
mov r8, rcx
mov rcx, rbx
call fcn.1800c47f0
jmp 0x1800bae9f
cmp qword [rbx + 0x18], 0x10
jb 0x1800bae97
mov rbx, qword [rbx]
mov rdx, rbx
call fcn.1800bf920
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x60], xmm0
movups xmm0, xmmword [rax + 0x10]
mov byte [rax], r14b
mov qword [rax + 0x18], 0xf
mov qword [rax + 0x10], r14
mov rdx, qword [rbp - 0x20]
movups xmmword [rbp - 0x80], xmm0
cmp rdx, 0x10
jb 0x1800baef9
mov rcx, qword [rbp - 0x38]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800baef4
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800bb0f2
call fcn.1800cd020
movups xmm0, xmmword [rsp + 0x60]
mov rdx, qword [rsp + 0x38]
movups xmm1, xmmword [rbp - 0x80]
movups xmmword [rbp - 0x38], xmm0
movups xmmword [rbp - 0x28], xmm1
cmp rdx, 0x10
jb 0x1800baf47
mov rcx, qword [rsp + 0x20]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800baf42
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800bb0f2
call fcn.1800cd020
mov rdx, qword [rsp + 0x58]
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], 0xf
mov byte [rsp + 0x20], r14b
cmp rdx, 0x10
jb 0x1800baf97
mov rcx, qword [rsp + 0x40]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800baf92
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800bb0f2
call fcn.1800cd020
cmp qword [rbp - 0x20], 0x10
lea rcx, [rbp - 0x38]
cmovae rcx, qword [rbp - 0x38]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x1800bafb4
xor al, al
jmp 0x1800bafb9
shr al, 4
and al, 1
test al, al
je 0x1800bafe5
mov rdx, rdi
lea rcx, [rbp - 0x60]
call fcn.1800bfad0
lea rdx, [rbp - 0x38]
mov rbx, rax
lea rcx, [rsp + 0x40]
call fcn.1800bfad0
mov rcx, rax
mov rdx, rbx
call fcn.1800b9c70
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x1800bb020
mov rcx, qword [rbp - 0x38]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800bb01b
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800bb0e6
call fcn.1800cd020
lea rdx, [rbp + 0x10]
mov dword [rbp - 0x40], r14d
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
cmp eax, 1
je 0x1800badd0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rbp]
cmp rdx, 0x10
jb 0x1800bb07a
mov rcx, qword [rbp - 0x18]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800bb075
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800bb0ec
call fcn.1800cd020
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x1800bb0b0
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x1800bb0ab
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1800bb0ec
mov rcx, r8
call fcn.1800cd020
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], 0xf
mov byte [rdi], r14b
mov rcx, qword [rbp + 0x250]
xor rcx, rsp
call fcn.1800ccd60
lea r11, [rsp + 0x360]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.1800dce48
int3
call fcn.1800dce48
int3
call fcn.1800dce48
int3