Function at 0x14002d860
Capabilities:
Enumerate files on windows

Disassembly:
mov r11, rsp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x330
mov qword [rsp + 0x90], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov rax, qword [0x1400d2478]
xor rax, rsp
mov qword [rsp + 0x320], rax
mov rbp, rcx
mov qword [r11 - 0x298], rcx
cmp qword [rcx + 0x20], 8
jb 0x14002d8b2
lea rsi, [rcx + 8]
mov rcx, qword [rsi]
jmp 0x14002d8b9
lea rsi, [rcx + 8]
mov rcx, rsi
lea rdx, [rsp + 0xd0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov r13, rax
xor r14d, r14d
cmp rax, 0xffffffffffffffff
je 0x14002db84
movzx ebx, byte [rsp + 0x20]
nop dword [rax]
test byte [rsp + 0xd0], 0x10
je 0x14002db61
mov edx, 0x5c
or r8, 0xffffffffffffffff
mov rcx, rbp
call fcn.140008de0
mov r12, rax
mov qword [rsp + 0xb8], 7
mov qword [rsp + 0xb0], r14
mov word [rsp + 0xa0], r14w
mov rcx, qword [rbp + 0x20]
cmp rcx, 8
jb 0x14002d92e
mov rdi, qword [rsi]
jmp 0x14002d931
mov rdi, rsi
test rdi, rdi
je 0x14002d964
cmp rcx, 8
jb 0x14002d941
mov rax, qword [rsi]
jmp 0x14002d944
mov rax, rsi
cmp rax, rdi
ja 0x14002d964
cmp rcx, 8
jb 0x14002d954
mov rcx, qword [rsi]
jmp 0x14002d957
mov rcx, rsi
mov rax, qword [rbp + 0x18]
lea rcx, [rcx + rax*2]
cmp rdi, rcx
jbe 0x14002d969
call fcn.1400679f0
mov qword [rsp + 0x60], rbp
mov qword [rsp + 0x68], rdi
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x30], xmm0
cmp rbp, 0xfffffffffffffffc
je 0x14002d9c0
mov r8, qword [rbp + 0x20]
cmp r8, 8
jb 0x14002d996
mov rdx, rsi
mov rcx, qword [rsi]
jmp 0x14002d99c
mov rdx, rsi
mov rcx, rsi
lea r9, [rdi + r12*2]
mov rax, qword [rbp + 0x18]
lea rcx, [rcx + rax*2]
cmp r9, rcx
ja 0x14002d9bb
cmp r8, 8
jb 0x14002d9b6
mov rdx, qword [rdx]
cmp r9, rdx
jae 0x14002d9c0
call fcn.1400679f0
lea r12, [rdi + r12*2]
mov qword [rsp + 0x38], r12
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
mov rdi, qword [rsp + 0x30]
cmp rdi, 0xfffffffffffffffc
je 0x14002da28
test rdi, rdi
jne 0x14002d9e9
call fcn.1400679f0
mov r8, qword [rdi + 0x20]
cmp r8, 8
jb 0x14002d9fc
lea rdx, [rdi + 8]
mov rcx, qword [rdx]
jmp 0x14002da03
lea rdx, [rdi + 8]
mov rcx, rdx
lea r9, [r12 + 2]
mov rax, qword [rdi + 0x18]
lea rcx, [rcx + rax*2]
cmp r9, rcx
ja 0x14002da23
cmp r8, 8
jb 0x14002da1e
mov rdx, qword [rdx]
cmp r9, rdx
jae 0x14002da28
call fcn.1400679f0
lea rax, [r12 + 2]
mov qword [rsp + 0x48], rax
mov rax, qword [rbp + 0x20]
cmp rax, 8
jb 0x14002da41
mov rdi, qword [rsi]
jmp 0x14002da44
mov rdi, rsi
test rdi, rdi
je 0x14002da77
cmp rax, 8
jb 0x14002da54
mov rcx, qword [rsi]
jmp 0x14002da57
mov rcx, rsi
cmp rcx, rdi
ja 0x14002da77
cmp rax, 8
jb 0x14002da67
mov rcx, qword [rsi]
jmp 0x14002da6a
mov rcx, rsi
mov rax, qword [rbp + 0x18]
lea rcx, [rcx + rax*2]
cmp rdi, rcx
jbe 0x14002da7c
call fcn.1400679f0
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0x58], rdi
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x70], xmm0
movaps xmm1, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x80], xmm1
movzx r9d, bl
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x98]
call fcn.140012930
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0xfc]
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rsp + 0xfc]
lea rcx, [rsp + 0x98]
call fcn.14000a130
lea rcx, str.Kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.RemoveDirectoryW
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
lea rcx, str.Kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.RemoveDirectoryA
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rdi, rdi
je 0x14002db49
lea rcx, [rsp + 0xa0]
cmp qword [rsp + 0xb8], 8
cmovae rcx, qword [rsp + 0xa0]
call rdi
nop
cmp qword [rsp + 0xb8], 8
jb 0x14002db61
mov rcx, qword [rsp + 0xa0]
call fcn.140065920
lea rdx, [rsp + 0xd0]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14002d8e0
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
cmp qword [rbp + 0x20], 8
jb 0x14002db93
mov rcx, qword [rsi]
call fcn.140065920
mov qword [rbp + 0x20], 7
mov qword [rbp + 0x18], r14
mov word [rsi], r14w
mov rcx, qword [rsp + 0x320]
xor rcx, rsp
call fcn.140064b70
lea r11, [rsp + 0x330]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret