Function at 0x1401e04c0
Capabilities:
Enumerate files on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x2208]
mov eax, 0x2308
call fcn.1402a90d0
sub rsp, rax
mov qword [rbp - 0x80], 0xfffffffffffffffe
mov rax, qword [0x1403eaa10]
xor rax, rsp
mov qword [rbp + 0x21f0], rax
movzx r13d, r9b
mov r12, r8
mov r14, rdx
mov qword [rsp + 0x58], rdx
mov rsi, rcx
mov qword [rsp + 0x78], rcx
mov rdi, qword [rbp + 0x2270]
mov qword [rsp + 0x60], rdi
mov r15, qword [rbp + 0x2278]
mov r8, qword [rdx]
mov edx, 0x800
lea rcx, [rbp + 0x11f0]
call fcn.1402980d8
lea r8, [0x140342280]
mov edx, 0x800
lea rcx, [rbp + 0x11f0]
call fcn.14029a500
lea rdx, [rbp - 0x60]
lea rcx, [rbp + 0x11f0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rbx, rax
mov qword [rsp + 0x30], rax
cmp rax, 0xffffffffffffffff
je 0x1401e0854
test byte [rbp - 0x60], 0x10
je 0x1401e06a2
test r13b, r13b
je 0x1401e0831
movzx ecx, word [rbp - 0x34]
movzx eax, word [rbp - 0x32]
cmp cx, word [0x140322fd0]
jne 0x1401e05a5
cmp ax, word [0x140322fd2]
je 0x1401e0831
cmp cx, word [0x14032968c]
jne 0x1401e05c8
cmp ax, word [0x14032968e]
jne 0x1401e05c8
movzx eax, word [rbp - 0x30]
cmp ax, word [0x140329690]
je 0x1401e0831
mov r8, qword [r14]
mov edx, 0x800
lea rcx, [rbp + 0x1f0]
call fcn.1402980d8
lea r8, [0x1403232c8]
mov edx, 0x800
lea rcx, [rbp + 0x1f0]
call fcn.14029a500
lea r8, [rbp - 0x34]
mov edx, 0x800
lea rcx, [rbp + 0x1f0]
call fcn.14029a500
lea rax, [rbp + 0x1f0]
or rbx, 0xffffffffffffffff
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1401e0614
xor eax, eax
mov qword [rsp + 0x50], rax
test ebx, ebx
jne 0x1401e0637
lea rax, [0x140323de0]
mov qword [rsp + 0x48], rax
jmp 0x1401e0660
mov edx, ebx
lea rcx, [rsp + 0x48]
call fcn.1401e9030
movsxd r9, ebx
mov eax, dword [rsp + 0x50]
inc eax
movsxd rdx, eax
lea r8, [rbp + 0x1f0]
mov rcx, qword [rsp + 0x48]
call fcn.14029b4d8
mov edx, ebx
lea rcx, [rsp + 0x48]
call fcn.1401ea290
nop
mov rax, qword [rsi]
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], rdi
movzx r9d, r13b
mov r8, r12
lea rdx, [rsp + 0x48]
mov rcx, rsi
call qword [rax + 0x18]
nop
cmp dword [rsp + 0x50], 0
jle 0x1401e082c
mov rcx, qword [rsp + 0x48]
jmp 0x1401e0827
mov edx, 0x2e
lea rcx, [rbp - 0x34]
call fcn.14029aea8
mov r14, rax
test rax, rax
je 0x1401e0813
mov rbx, qword [r12]
mov rdi, qword [rbx + 8]
mov rsi, rbx
cmp byte [rdi + 0x19], 0
jne 0x1401e06f2
nop dword [rax]
mov rdx, r14
mov rcx, qword [rdi + 0x20]
call fcn.14029848c
test eax, eax
jns 0x1401e06e6
mov rdi, qword [rdi + 0x10]
jmp 0x1401e06ec
mov rsi, rdi
mov rdi, qword [rdi]
cmp byte [rdi + 0x19], 0
je 0x1401e06d0
cmp rsi, qword [r12]
je 0x1401e0714
mov rdx, qword [rsi + 0x20]
mov rcx, r14
call fcn.14029848c
test eax, eax
js 0x1401e0714
mov qword [rsp + 0x68], rsi
lea rax, [rsp + 0x68]
jmp 0x1401e0722
mov rax, qword [r12]
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x70]
cmp qword [rax], rbx
je 0x1401e0809
mov r14, qword [rsp + 0x58]
mov r8, qword [r14]
mov edx, 0x800
lea rcx, [rbp + 0x1f0]
call fcn.1402980d8
lea r8, [0x1403232c8]
mov edx, 0x800
lea rcx, [rbp + 0x1f0]
call fcn.14029a500
lea r8, [rbp - 0x34]
mov edx, 0x800
lea rcx, [rbp + 0x1f0]
call fcn.14029a500
lea rax, [rbp + 0x1f0]
or rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1401e0780
xor eax, eax
mov qword [rsp + 0x40], rax
test ebx, ebx
jne 0x1401e07a3
lea rax, [0x140323de0]
mov qword [rsp + 0x38], rax
jmp 0x1401e07cc
mov edx, ebx
lea rcx, [rsp + 0x38]
call fcn.1401e9030
movsxd r9, ebx
mov eax, dword [rsp + 0x40]
inc eax
movsxd rdx, eax
lea r8, [rbp + 0x1f0]
mov rcx, qword [rsp + 0x38]
call fcn.14029b4d8
mov edx, ebx
lea rcx, [rsp + 0x38]
call fcn.1401ea290
nop
movzx eax, byte [0x1403fdd77]
mov byte [rsp + 0x20], al
lea r9, [rsp + 0x38]
lea rdx, [rbp - 0x78]
mov rdi, qword [rsp + 0x60]
mov rcx, rdi
call fcn.1400e9d70
nop
cmp dword [rsp + 0x40], 0
jle 0x1401e082c
mov rcx, qword [rsp + 0x38]
jmp 0x1401e0827
mov rdi, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x30]
mov r14, qword [rsp + 0x58]
test r15, r15
je 0x1401e0831
lock inc dword [r15 + 0x728]
jmp 0x1401e0831
call fcn.140298600
mov rbx, qword [rsp + 0x30]
lea rdx, [rbp - 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
mov rsi, qword [rsp + 0x78]
jne 0x1401e0574
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
mov al, 1
mov rcx, qword [rbp + 0x21f0]
xor rcx, rsp
call fcn.140297ff0
add rsp, 0x2308
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret