Function at 0x1400ce670
Capabilities:
Check for time delay via gettickcount
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x6e8
mov qword [rsp + reloc.mfc110u.dll_Ordinal_296], 0xfffffffffffffffe
mov rax, qword [0x1403542a0]
xor rax, rsp
mov qword [rsp + 0x6d0], rax
mov dword [rsp + 0x24], 0
mov byte [rsp + 0x20], 1
mov rax, qword [rsp + 0x6f0]
cmp qword [rax + 0x18], 8
jb 0x1400ce6d5
mov rax, qword [rsp + 0x168]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x6f0]
mov rax, qword [rax]
mov qword [rsp + 0x70], rax
jmp 0x1400ce6e2
mov rax, qword [rsp + 0x6f0]
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + 0x70]
call fcn.1400cd5a0
movzx eax, al
test eax, eax
jne 0x1400ce6fa
xor al, al
jmp 0x1400cef20
mov rax, qword [rsp + 0x6f0]
cmp qword [rax + 0x18], 8
jb 0x1400ce72e
mov rax, qword [rsp + 0x138]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0x6f0]
mov rax, qword [rax]
mov qword [rsp + 0xa0], rax
jmp 0x1400ce73e
mov rax, qword [rsp + 0x6f0]
mov qword [rsp + 0xa0], rax
mov rcx, qword [rsp + 0xa0]
call fcn.1400cbf60
movzx eax, al
test eax, eax
jne 0x1400ce759
mov al, 1
jmp 0x1400cef20
mov r8d, 1
mov edx, 3
lea rcx, [rsp + 0x280]
call fcn.1400034f0
nop
lea rax, [rsp + 0x280]
test rax, rax
je 0x1400ce795
lea rax, [rsp + 0x280]
add rax, 0x10
mov qword [rsp + 0xd0], rax
jmp 0x1400ce7a1
mov qword [rsp + 0xd0], 0
mov rax, qword [rsp + 0x6f0]
cmp qword [rax + 0x18], 8
jb 0x1400ce7d5
mov rax, qword [rsp + 0x158]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x6f0]
mov rax, qword [rax]
mov qword [rsp + 0x80], rax
jmp 0x1400ce7e5
mov rax, qword [rsp + 0x6f0]
mov qword [rsp + 0x80], rax
mov rcx, qword [rsp + 0x80]
call fcn.1400d02d0
mov qword [rsp + 0x100], rax
mov rdx, qword [rsp + 0x6f0]
mov rcx, qword [rsp + 0xd0]
call fcn.140002f10
mov rcx, qword [rsp + 0x100]
mov rdx, rcx
mov rcx, rax
call fcn.14000f7c0
lea rdx, [0x1402a5fb8]
mov rcx, rax
call fcn.14000f7c0
lea rdx, [rsp + 0x440]
lea rcx, [rsp + 0x280]
call fcn.140005c20
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0xc0]
cmp qword [rax + 0x18], 8
jb 0x1400ce882
mov rax, qword [rsp + 0x148]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax]
mov qword [rsp + 0x90], rax
jmp 0x1400ce892
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x90], rax
lea rdx, [rsp + 0x480]
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x440]
call fcn.140004620
cmp qword [rsp + 0x50], 0xffffffffffffffff
jne 0x1400ce8f7
mov byte [rsp + 0x2b], 0
lea rax, [rsp + 0x318]
mov rcx, rax
call fcn.1400038d0
lea rax, [rsp + 0x318]
mov rcx, rax
call qword [sym.imp.MSVCP110.dll_public_virtual:_void___cdecl_std::basic_ios_unsigned_short_int__struct_std::char_traits_unsigned_short_int__::destructor_void____ptr64]
movzx eax, byte [rsp + 0x2b]
jmp 0x1400cef20
mov r8d, 1
mov edx, 3
lea rcx, [rsp + 0x180]
call fcn.1400034f0
nop
cmp qword [rsp + 0x50], 0
je 0x1400ced7d
lea rdx, [rsp + 0x480]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x1400ced7d
lea rax, [rsp + 0x180]
test rax, rax
je 0x1400ce95a
lea rax, [rsp + 0x180]
add rax, 0x10
mov qword [rsp + 0xd8], rax
jmp 0x1400ce966
mov qword [rsp + 0xd8], 0
mov rax, qword [rsp + 0x6f0]
cmp qword [rax + 0x18], 8
jb 0x1400ce994
mov rax, qword [rsp + 0x160]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x6f0]
mov rax, qword [rax]
mov qword [rsp + 0x60], rax
jmp 0x1400ce9a1
mov rax, qword [rsp + 0x6f0]
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x60]
call fcn.1400d02d0
mov qword [rsp + 0xf0], rax
mov rdx, qword [rsp + 0x6f0]
mov rcx, qword [rsp + 0xd8]
call fcn.140002f10
mov rcx, qword [rsp + 0xf0]
mov rdx, rcx
mov rcx, rax
call fcn.14000f7c0
lea rdx, [rsp + 0x4ac]
mov rcx, rax
call fcn.14000f7c0
lea rdx, [rsp + 0x420]
lea rcx, [rsp + 0x180]
call fcn.140005c20
mov qword [rsp + 0x110], rax
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
cmp qword [rax + 0x18], 8
jb 0x1400cea3d
mov rax, qword [rsp + 0x120]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x68]
mov rax, qword [rax]
mov qword [rsp + 0x78], rax
jmp 0x1400cea47
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x78], rax
mov dl, 1
mov rcx, qword [rsp + 0x78]
call fcn.1400ce1d0
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x420]
call fcn.140004620
mov eax, dword [rsp + 0x480]
and eax, 0x10
test eax, eax
je 0x1400cec8a
lea rdx, [rsp + 0x4ac]
lea rcx, [rsp + reloc.mfc110u.dll_Ordinal_896]
call fcn.140003390
nop
lea rdx, [0x1401858bc]
lea rcx, [rsp + 0x460]
call fcn.140003390
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0xe8], rax
mov eax, dword [rsp + 0x24]
or eax, 1
mov dword [rsp + 0x24], eax
mov rdx, qword [rsp + 0xe8]
lea rcx, [rsp + reloc.mfc110u.dll_Ordinal_896]
call fcn.140028450
test eax, eax
jne 0x1400ceae8
mov dword [rsp + 0x30], 1
jmp 0x1400ceaf0
mov dword [rsp + 0x30], 0
movzx eax, byte [rsp + 0x30]
test eax, eax
jne 0x1400ceb03
mov dword [rsp + 0x38], 1
jmp 0x1400ceb0b
mov dword [rsp + 0x38], 0
movzx eax, byte [rsp + 0x38]
test eax, eax
je 0x1400ceb98
lea rdx, [0x1402a5fc0]
lea rcx, [rsp + 0x400]
call fcn.140003390
mov qword [rsp + 0xf8], rax
mov eax, dword [rsp + 0x24]
or eax, 2
mov dword [rsp + 0x24], eax
mov rdx, qword [rsp + 0xf8]
lea rcx, [rsp + reloc.mfc110u.dll_Ordinal_896]
call fcn.140028450
test eax, eax
jne 0x1400ceb62
mov dword [rsp + 0x48], 1
jmp 0x1400ceb6a
mov dword [rsp + 0x48], 0
movzx eax, byte [rsp + 0x48]
test eax, eax
jne 0x1400ceb7d
mov dword [rsp + 0x40], 1
jmp 0x1400ceb85
mov dword [rsp + 0x40], 0
movzx eax, byte [rsp + 0x40]
test eax, eax
je 0x1400ceb98
mov dword [rsp + 0x34], 1
jmp 0x1400ceba0
mov dword [rsp + 0x34], 0
movzx eax, byte [rsp + 0x34]
mov byte [rsp + 0x2c], al
mov eax, dword [rsp + 0x24]
and eax, 2
test eax, eax
je 0x1400cebcc
and dword [rsp + 0x24], 0xfffffffd
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x400]
call fcn.140004620
nop
mov eax, dword [rsp + 0x24]
and eax, 1
test eax, eax
je 0x1400cebee
and dword [rsp + 0x24], 0xfffffffe
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x460]
call fcn.140004620
movzx eax, byte [rsp + 0x2c]
test eax, eax
je 0x1400cec73
lea rdx, [rsp + 0x3c0]
lea rcx, [rsp + 0x180]
call fcn.140005c20
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x108]
mov qword [rsp + reloc.mfc110u.dll_Ordinal_280], rax
mov rcx, qword [rsp + reloc.mfc110u.dll_Ordinal_280]
call fcn.1400ce670
movzx eax, al
test eax, eax
jne 0x1400cec42
mov dword [rsp + 0x3c], 1
jmp 0x1400cec4a
mov dword [rsp + 0x3c], 0
movzx eax, byte [rsp + 0x3c]
mov byte [rsp + 0x28], al
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x3c0]
call fcn.140004620
movzx eax, byte [rsp + 0x28]
test eax, eax
je 0x1400cec73
mov byte [rsp + 0x20], 0
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + reloc.mfc110u.dll_Ordinal_896]
call fcn.140004620
jmp 0x1400ced38
lea rdx, [rsp + 0x3e0]
lea rcx, [rsp + 0x180]
call fcn.140005c20
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
cmp qword [rax + 0x18], 8
jb 0x1400cecdb
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x88]
mov rax, qword [rax]
mov qword [rsp + 0x98], rax
jmp 0x1400ceceb
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x98], rax
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1400ced07
mov dword [rsp + 0x44], 1
jmp 0x1400ced0f
mov dword [rsp + 0x44], 0
movzx eax, byte [rsp + 0x44]
mov byte [rsp + 0x29], al
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x3e0]
call fcn.140004620
movzx eax, byte [rsp + 0x29]
test eax, eax
je 0x1400ced38
mov byte [rsp + 0x20], 0
lea rdx, [0x1401a5458]
lea rcx, [rsp + 0x3a0]
call fcn.140003390
nop
lea rax, [rsp + 0x198]
lea rdx, [rsp + 0x3a0]
mov rcx, rax
call fcn.1400cef40
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x3a0]
call fcn.140004620
jmp 0x1400ce910
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rax, qword [rsp + 0x6f0]
cmp qword [rax + 0x18], 8
jb 0x1400cedbc
mov rax, qword [rsp + 0x140]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0x6f0]
mov rax, qword [rax]
mov qword [rsp + 0xa8], rax
jmp 0x1400cedcc
mov rax, qword [rsp + 0x6f0]
mov qword [rsp + 0xa8], rax
mov dl, 1
mov rcx, qword [rsp + 0xa8]
call fcn.1400ce1d0
mov dword [rsp + 0xb0], 0x1f4
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rsp + 0x58], eax
mov byte [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x1400ceecf
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [rsp + 0x58]
cmp eax, dword [rsp + 0xb0]
ja 0x1400ceecf
mov rax, qword [rsp + 0x6f0]
cmp qword [rax + 0x18], 8
jb 0x1400cee4d
mov rax, qword [rsp + 0x150]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0x6f0]
mov rax, qword [rax]
mov qword [rsp + 0xb8], rax
jmp 0x1400cee5d
mov rax, qword [rsp + 0x6f0]
mov qword [rsp + 0xb8], rax
mov rcx, qword [rsp + 0xb8]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov rax, qword [rsp + 0x6f0]
cmp qword [rax + 0x18], 8
jb 0x1400cee9f
mov rax, qword [rsp + 0x170]
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0x6f0]
mov rax, qword [rax]
mov qword [rsp + 0xc8], rax
jmp 0x1400ceeaf
mov rax, qword [rsp + 0x6f0]
mov qword [rsp + 0xc8], rax
mov rcx, qword [rsp + 0xc8]
call fcn.1400cbf60
movzx eax, al
test eax, eax
jne 0x1400ceeca
mov byte [rsp + 0x20], 1
jmp 0x1400ceecf
jmp 0x1400cedf5
movzx eax, byte [rsp + 0x20]
mov byte [rsp + 0x2a], al
lea rax, [rsp + 0x218]
mov rcx, rax
call fcn.1400038d0
lea rax, [rsp + 0x218]
mov rcx, rax
call qword [sym.imp.MSVCP110.dll_public_virtual:_void___cdecl_std::basic_ios_unsigned_short_int__struct_std::char_traits_unsigned_short_int__::destructor_void____ptr64]
nop
lea rax, [rsp + 0x318]
mov rcx, rax
call fcn.1400038d0
lea rax, [rsp + 0x318]
mov rcx, rax
call qword [sym.imp.MSVCP110.dll_public_virtual:_void___cdecl_std::basic_ios_unsigned_short_int__struct_std::char_traits_unsigned_short_int__::destructor_void____ptr64]
movzx eax, byte [rsp + 0x2a]
mov rcx, qword [rsp + 0x6d0]
xor rcx, rsp
call fcn.1400f3d50
add rsp, 0x6e8
ret