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

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f8]
sub rsp, 0x6d0
mov rax, qword [0x14009b940]
xor rax, rsp
mov qword [rbp + 0x5c0], rax
mov r13d, r8d
mov esi, edx
mov r14, rcx
mov qword [rsp + 0x48], rcx
mov rcx, qword [0x14009b028]
lea rdi, [0x14009b028]
cmp rcx, rdi
je 0x140007824
test byte [rcx + 0x1c], 4
je 0x140007824
cmp byte [rcx + 0x19], 5
jb 0x140007824
mov rcx, qword [rcx + 0x10]
lea r8, [0x140088520]
mov edx, 0x89
call fcn.140001024
xor ebx, ebx
lea rdx, [rsp + 0x50]
mov rcx, r14
mov r12d, ebx
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
nop dword [rax + rax]
mov r15, rax
cmp rax, 0xffffffffffffffff
jne 0x1400078b0
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 2
je 0x1400078a6
mov rax, qword [0x14009b028]
cmp rax, rdi
je 0x14000789f
test byte [rax + 0x1c], 4
je 0x14000789f
cmp byte [rax + 0x19], 3
jb 0x14000789f
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [0x14009b028]
lea r8, [0x140088520]
mov r9d, eax
mov qword [rsp + 0x20], r14
mov edx, 0x8a
mov rcx, qword [rcx + 0x10]
call fcn.140001094
xor eax, eax
jmp 0x140007ccf
mov eax, 1
jmp 0x140007ccf
lea rdx, [rbp + 0x3b0]
mov rcx, r14
call fcn.14006a5c0
mov edi, eax
test eax, eax
je 0x14000790c
mov rcx, qword [0x14009b028]
lea rax, [0x14009b028]
cmp rcx, rax
je 0x1400078fc
test byte [rcx + 0x1c], 4
je 0x1400078fc
cmp byte [rcx + 0x19], 2
jb 0x1400078fc
mov rcx, qword [rcx + 0x10]
lea r8, [0x140088520]
mov edx, 0x8b
mov r9d, edi
call fcn.140001050
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop dword [rax + rax]
jmp 0x14000789f
movabs rax, 0xc92a69c000
lea r14, [0x14009b028]
imul rsi, rax
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
nop dword [rax + rax]
mov eax, dword [rsp + 0x54]
mov edx, dword [rsp + 0x58]
mov ecx, dword [rsp + 0x34]
shl rcx, 0x20
shl rdx, 0x20
or rdx, rax
mov eax, dword [rsp + 0x30]
or rcx, rax
sub rcx, rdx
cmp rcx, rsi
jbe 0x140007b70
lea rax, [rsp + 0x7c]
mov edx, 0x104
lea r9, [rbp + 0x3b0]
mov qword [rsp + 0x20], rax
lea r8, [0x140088010]
lea rcx, [rbp + 0x1a0]
call fcn.140002ac0
test eax, eax
jns 0x1400079ca
mov rcx, qword [0x14009b028]
cmp rcx, r14
je 0x140007b70
test byte [rcx + 0x1c], 4
je 0x140007b70
cmp byte [rcx + 0x19], 2
jb 0x140007b70
mov rcx, qword [rcx + 0x10]
lea r8, [0x140088520]
mov edx, 0x8c
mov r9d, eax
call fcn.140001050
jmp 0x140007b70
lea rcx, [rbp + 0x1a0]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop dword [rax + rax]
test eax, eax
jne 0x140007a3d
mov rax, qword [0x14009b028]
cmp rax, r14
je 0x140007b70
test byte [rax + 0x1c], 4
je 0x140007b70
cmp byte [rax + 0x19], 2
jb 0x140007b70
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [0x14009b028]
lea r9, [rbp + 0x1a0]
mov edx, 0x8d
mov dword [rsp + 0x20], eax
lea r8, [0x140088520]
mov rcx, qword [rcx + 0x10]
call fcn.140001328
jmp 0x140007b70
mov edx, 0x5c
mov qword [rsp + 0x38], rbx
lea rcx, [rbp + 0x1a0]
lea r12d, [rdx - 0x5b]
call qword [sym.imp.msvcrt.dll_wcsrchr]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
je 0x140007b3c
add rdi, 2
je 0x140007b3c
lea r9, [rsp + 0x38]
mov rdx, rdi
lea r8, [rsp + 0x40]
call fcn.140009018
test eax, eax
je 0x140007acf
mov rcx, qword [0x14009b028]
cmp rcx, r14
je 0x140007b70
test byte [rcx + 0x1c], 4
je 0x140007b70
cmp byte [rcx + 0x19], 2
jb 0x140007b70
mov rcx, qword [rcx + 0x10]
lea r8, [0x140088520]
mov edx, 0x8f
mov dword [rsp + 0x20], eax
mov r9, rdi
call fcn.140001328
jmp 0x140007b70
mov rdi, qword [rsp + 0x38]
mov eax, r13d
mov rcx, qword [rsp + 0x40]
neg eax
mov r9, rdi
mov r8d, r12d
sbb edx, edx
and edx, 0x20
add edx, 0x20
call fcn.1400581cc
test eax, eax
je 0x140007b26
mov rcx, qword [0x14009b028]
cmp rcx, r14
je 0x140007b26
test byte [rcx + 0x1c], 4
je 0x140007b26
cmp byte [rcx + 0x19], 2
jb 0x140007b26
mov rcx, qword [rcx + 0x10]
lea r8, [0x140088520]
mov edx, 0x90
movzx r9d, ax
call fcn.140002c70
test rdi, rdi
je 0x140007b70
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop dword [rax + rax]
jmp 0x140007b70
mov rcx, qword [0x14009b028]
cmp rcx, r14
je 0x140007b70
test byte [rcx + 0x1c], 4
je 0x140007b70
cmp byte [rcx + 0x19], 2
jb 0x140007b70
mov rcx, qword [rcx + 0x10]
lea r9, [rbp + 0x1a0]
mov edx, 0x8e
lea r8, [0x140088520]
call fcn.1400011fc
lea rdx, [rsp + 0x50]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
nop dword [rax + rax]
test eax, eax
jne 0x140007921
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov r14, qword [rsp + 0x48]
mov edi, eax
cmp eax, 0x12
je 0x140007be2
mov rcx, qword [0x14009b028]
lea rsi, [0x14009b028]
cmp rcx, rsi
je 0x140007be9
test byte [rcx + 0x1c], 4
je 0x140007be9
cmp byte [rcx + 0x19], 2
jb 0x140007be9
mov rcx, qword [rcx + 0x10]
lea r8, [0x140088520]
mov edx, SysAllocStringByteLen
mov qword [rsp + 0x20], r14
mov r9d, eax
call fcn.140001094
jmp 0x140007be9
lea rsi, [0x14009b028]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_FindClose]
nop dword [rax + rax]
test eax, eax
jne 0x140007c31
mov rcx, qword [0x14009b028]
cmp rcx, rsi
je 0x140007c31
test byte [rcx + 0x1c], 4
je 0x140007c31
cmp byte [rcx + 0x19], 2
jb 0x140007c31
mov rcx, qword [rcx + 0x10]
lea r8, [0x140088520]
mov edx, DllRegisterServer
mov qword [rsp + 0x20], r14
mov r9d, edi
call fcn.140001094
cmp r12d, 1
jne 0x140007cc7
lea rcx, [0x14009f240]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop dword [rax + rax]
mov rax, qword [0x14009f428]
lea rcx, [0x14009f240]
or qword [rax + 0x38], 0xffffffffffffffff
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop dword [rax + rax]
mov rcx, qword [0x14009efe8]
call qword [sym.imp.KERNEL32.dll_SetEvent]
nop dword [rax + rax]
test eax, eax
jne 0x140007cc7
mov rax, qword [0x14009b028]
cmp rax, rsi
je 0x140007cc7
test byte [rax + 0x1c], 4
je 0x140007cc7
cmp byte [rax + 0x19], 2
jb 0x140007cc7
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [0x14009b028]
lea r8, [0x140088520]
mov r9d, eax
mov edx, DllRegisterServer
mov rcx, qword [rcx + 0x10]
call fcn.140002c70
cmp edi, 0x12
sete bl
mov eax, ebx
mov rcx, qword [rbp + 0x5c0]
xor rcx, rsp
call fcn.14007ec50
lea r11, [rsp + 0x6d0]
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