Function at 0x140028870
Capabilities:
Check if file exists
Enumerate files on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x21b0]
mov eax, 0x22b0
call fcn.140216080
sub rsp, rax
mov rax, qword [0x14033e810]
xor rax, rsp
mov qword [rbp + 0x21a0], rax
mov r12, r8
mov r15, rdx
mov rdi, rcx
mov qword [rsp + 0x40], rcx
mov rcx, qword [rcx]
add rcx, 0xffffffffffffffe8
cmp dword [rcx + 8], 0
je 0x140028bf1
call fcn.14000de80
add rax, 0x18
mov qword [rsp + 0x30], rax
lea rsi, [0x1402ed690]
mov r14, 0xffffffffffffffff
mov rax, r14
inc rax
cmp word [rsi + rax*2], 0
jne 0x1400288e4
mov r8d, eax
mov rdx, rsi
lea rcx, [rsp + 0x30]
call fcn.1400157c0
lea rdx, [0x1402ed968]
mov rax, r14
nop dword [rax + rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x140028910
mov r8d, eax
lea rcx, [rsp + 0x30]
call fcn.1400157c0
lea rdx, [rsp + 0x50]
mov rbx, qword [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov r13, rax
cmp rax, r14
je 0x140028bce
nop word [rax + rax]
test dword [rsp + 0x50], 0x410
jne 0x140028bb3
mov rcx, qword [rdi]
sub rcx, 0x18
call fcn.14000de80
add rax, 0x18
mov qword [rsp + 0x28], rax
mov r8d, 1
mov rdx, rsi
lea rcx, [rsp + 0x28]
call fcn.1400157c0
lea rcx, [rsp + 0x7c]
mov rax, r14
nop
inc rax
cmp word [rcx + rax*2], 0
jne 0x140028990
mov r8d, eax
lea rdx, [rsp + 0x7c]
lea rcx, [rsp + 0x28]
call fcn.1400157c0
xor edx, edx
mov r8d, 0x2000
lea rcx, [rbp + 0x1a0]
call fcn.140241ba0
mov r9d, 0x3e8
mov r8d, 0x1000
lea rdx, [rbp + 0x1a0]
mov rcx, qword [rsp + 0x28]
call fcn.14002bd50
lea rcx, [rbp + 0x1a0]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x140028b94
call fcn.1400a2364
nop
test rax, rax
je 0x140028c1b
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x18]
add rax, 0x18
mov qword [rsp + 0x20], rax
lea rax, [rbp + 0x1a0]
cmp rax, 0x10000
jae 0x140028a38
lea rax, [rbp + 0x1a0]
movzx edx, ax
lea rcx, [rsp + 0x20]
call fcn.14000d610
jmp 0x140028a61
lea rcx, [rbp + 0x1a0]
mov rax, r14
inc rax
cmp word [rcx + rax*2], 0
jne 0x140028a42
mov r8d, eax
lea rdx, [rbp + 0x1a0]
lea rcx, [rsp + 0x20]
call fcn.14000df90
nop
mov rbx, qword [rsp + 0x20]
lea rdi, [rbx - 0x18]
movsxd rsi, dword [rdi + 8]
cmp esi, 4
jg 0x140028a86
mov rcx, rdi
call fcn.14000de80
lea rbx, [rax + 0x18]
mov qword [rsp + 0x38], rbx
jmp 0x140028ac8
mov rcx, qword [rdi]
test rcx, rcx
je 0x140028a99
mov rax, qword [rcx]
call qword [rax + 0x20]
test rax, rax
jne 0x140028aa8
call fcn.1400a2364
nop
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x20]
add rbx, 0xfffffffffffffff8
lea rdx, [rbx + rsi*2]
mov r9, rax
mov r8d, 4
lea rcx, [rsp + 0x38]
call fcn.140015720
mov rbx, qword [rsp + 0x38]
lea rdx, str..exe
mov rcx, rbx
call fcn.14024bf20
test eax, eax
sete sil
lea rdx, [rbx - 0x18]
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140028af7
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test sil, sil
je 0x140028b6f
mov rbx, qword [rsp + 0x20]
mov rcx, rbx
call fcn.14002f280
cmp qword [r12], rax
jge 0x140028b6f
mov qword [r12], rax
mov rsi, qword [r15]
sub rsi, 0x18
cmp rdi, rsi
je 0x140028b6f
mov eax, dword [rsi + 0x10]
shr eax, 0x1f
test al, al
jne 0x140028b5f
mov rax, qword [rsi]
cmp qword [rdi], rax
jne 0x140028b5f
mov rcx, rdi
call fcn.14000de80
mov rbx, rax
mov ecx, r14d
lock xadd dword [rsi + 0x10], ecx
sub ecx, 1
jg 0x140028b56
mov rcx, qword [rsi]
mov r8, qword [rcx]
mov rdx, rsi
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
lea rax, [rbx + 0x18]
mov qword [r15], rax
jmp 0x140028b6f
mov r8d, dword [rdi + 8]
mov rdx, rbx
mov rcx, r15
call fcn.14000df90
nop
mov eax, r14d
lock xadd dword [rdi + 0x10], eax
sub eax, 1
jg 0x140028b88
mov rcx, qword [rdi]
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rsi, [0x1402ed690]
mov rdi, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x28]
add rdx, 0xffffffffffffffe8
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140028bb3
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rdx, [rsp + 0x50]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140028950
mov rbx, qword [rsp + 0x30]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], r14d
sub r14d, 1
jg 0x140028bf1
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rbp + 0x21a0]
xor rcx, rsp
call fcn.1402155d0
mov rbx, qword [rsp + 0x2308]
add rsp, 0x22b0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x80004005
call fcn.1400080b0
int3