Function at 0x1400367c0
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
push rsi
sub rsp, 0x88
mov rsi, qword [rsp + 0xd8]
xor ebx, ebx
mov rdx, qword [rsi + 0x20470]
mov rax, qword [rsi + 0x20480]
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x58], rax
mov qword [rsi + 0x20498], rdx
cmp qword [rsi + 0x20478], rbx
jne 0x140036842
cmp qword [rsi + 0x20488], 2
jne 0x140036842
mov rax, qword [rsi + 0x20460]
cmp word [rax + 2], 0x3a
jne 0x140036842
mov dword [rsi + 0x10250], 0x2e
mov qword [rsi + 0x20478], 1
mov byte [rsp + 0x40], bl
jmp 0x14003684e
movzx eax, byte [rsp + 0xd0]
mov byte [rsp + 0x40], al
mov r8, qword [rsi + 0x20478]
lea rcx, [rsi + 0x250]
mov eax, 0x8000
lea rcx, [rcx + rdx*2]
sub rax, rdx
mov qword [rsp + 0x68], rax
cmp r8, rax
jb 0x140036881
mov eax, 1
add rsp, 0x88
pop rsi
pop rbx
ret
mov qword [rsp + 0x80], rbp
lea r8, [r8*2 + 2]
lea rdx, [rsi + 0x10250]
mov qword [rsp + 0x78], rdi
call fcn.1400a9ee0
lea rcx, [rsi + 0x250]
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp rax, 0xffffffffffffffff
mov rdi, rax
setne bl
test ebx, ebx
je 0x1400368f0
mov ebp, dword [rsp + 0xc8]
nop word [rax + rax]
mov edx, ebp
mov rcx, rsi
call fcn.1400512d0
test al, al
je 0x1400368f0
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
mov ebx, eax
test eax, eax
jne 0x1400368d0
mov rbp, qword [0x140101a58]
mov qword [rsp + 0x60], rbp
mov qword [rbp + 0x10], rsi
test ebx, ebx
je 0x140036aa1
nop dword [rax + rax]
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rax + 0x20]
cmp byte [rcx], 0x75
jne 0x140036960
mov rbp, qword [rsp + 0xa8]
mov rsi, rax
nop dword [rax]
mov rcx, qword [rcx + 0x20]
lea r9, [rsp + 0x48]
mov r8, rbp
mov edx, 2
call fcn.14002cda0
mov rcx, qword [rsi + 0x20]
mov ebx, eax
mov rax, qword [rsp + 0x48]
cmp rax, rcx
je 0x140036930
mov rsi, qword [rsp + 0xd8]
jmp 0x14003697e
mov r8, qword [rsp + 0xa8]
lea r9, [rsp + 0x48]
mov edx, 3
call fcn.14002cda0
mov ebx, eax
mov rax, qword [rsp + 0x48]
test rax, rax
je 0x1400369b1
cmp ebx, 6
jne 0x140036ca5
cmp rax, qword [rsp + 0xa0]
je 0x1400369bb
mov rcx, qword [rsp + 0xb8]
mov qword [rcx], rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov eax, ebx
jmp 0x140036c8e
cmp ebx, 1
je 0x1400369bb
cmp ebx, 6
jne 0x1400369a1
mov rbx, qword [rsp + 0xc0]
test rbx, rbx
je 0x140036a5e
mov rax, qword [0x140101a58]
mov qword [0x1401089b0], rbx
cmp byte [rax + 0x139], 0
je 0x140036a2b
movsxd rax, dword [0x140106e38]
lea rcx, [0x140000000]
mov qword [rcx + rax*8 + 0x107480], rbx
call qword [sym.imp.KERNEL32.dll_GetTickCount]
movsxd rdx, dword [0x140106e38]
lea r8, [0x140000000]
mov dword [r8 + rdx*4 + 0x106e40], eax
inc edx
cmp edx, 0x190
mov eax, 0
cmovge edx, eax
mov dword [0x140106e38], edx
xor r9d, r9d
or r8, 0xffffffffffffffff
xor edx, edx
mov rcx, rbx
call fcn.14006c460
mov ebx, eax
cmp eax, 1
jne 0x1400369a1
mov rcx, qword [0x1401081b0]
lea ebx, [rax + 4]
call fcn.14005ead0
test eax, eax
jne 0x1400369a1
mov ebp, dword [rsp + 0xc8]
nop word [rax + rax]
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
mov ebx, eax
test eax, eax
je 0x140036a90
mov edx, ebp
mov rcx, rsi
call fcn.1400512d0
test al, al
jne 0x140036a70
mov rbp, qword [rsp + 0x60]
inc qword [rbp + 8]
test ebx, ebx
jne 0x140036910
cmp rdi, 0xffffffffffffffff
je 0x140036ab0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
cmp byte [rsp + 0x40], 0
je 0x140036c89
mov rcx, qword [rsp + 0x50]
mov rdx, rsi
lea rax, [rsi + rcx*2]
lea rcx, [rsi + 0x250]
mov dword [rax + 0x250], 0x2a
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rsp + 0xd8], rax
cmp rax, 0xffffffffffffffff
je 0x140036c89
mov eax, 0x8000
sub rax, qword [rsp + 0x58]
mov qword [rsp + 0x60], rax
nop
test byte [rsi], 0x10
je 0x140036c62
cmp word [rsi + 0x2c], 0x2e
jne 0x140036b2e
movzx eax, word [rsi + 0x2e]
test ax, ax
je 0x140036c62
cmp ax, 0x2e
jne 0x140036b2e
cmp word [rsi + 0x30], 0
je 0x140036c62
or rdi, 0xffffffffffffffff
inc rdi
cmp word [rsi + rdi*2 + 0x2c], 0
jne 0x140036b32
lea rax, [rdi + 1]
cmp rax, qword [rsp + 0x68]
jae 0x140036c62
mov rax, qword [rsp + 0x50]
lea rbx, [rdi + rdi]
add rax, 0x128
lea rdx, [rsi + 0x2c]
mov r8, rbx
lea rcx, [rsi + rax*2]
call fcn.1400a9ee0
mov rcx, qword [rsp + 0x50]
lea rdx, [rsi + 0x234]
lea rax, [rsi + rcx*2]
mov dword [rbx + rax + 0x250], 0x5c
lea rax, [rcx + 1]
add rax, rdi
mov qword [rsi + 0x20470], rax
or rbx, 0xffffffffffffffff
nop dword [rax + rax]
inc rbx
cmp word [rdx + rbx*2], 0
jne 0x140036ba0
test rbx, rbx
jne 0x140036bb6
lea rdx, [rsi + 0x2c]
mov rbx, rdi
lea rax, [rbx + 1]
cmp rax, qword [rsp + 0x60]
jae 0x140036c62
mov rcx, qword [rsp + 0x58]
lea rdi, [rbx + rbx]
mov r8, rdi
lea rbp, [rsi + rcx*2]
lea rcx, [rbp + 0x10458]
call fcn.1400a9ee0
mov rax, qword [rsp + 0x58]
mov rdx, qword [rsp + 0xa8]
inc rax
mov rcx, qword [rsp + 0xa0]
add rax, rbx
mov dword [rdi + rbp + 0x10458], 0x5c
mov rbp, qword [rsp + 0xb8]
mov rdi, qword [rsp + 0xb0]
mov r9, rbp
mov qword [rsi + 0x20480], rax
mov r8, rdi
movzx eax, byte [rsp + 0x40]
mov qword [rsp + 0x38], rsi
mov byte [rsp + 0x30], al
mov eax, dword [rsp + 0xc8]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x20], rax
call fcn.1400367c0
mov ebx, eax
cmp eax, 1
jne 0x140036ccb
cmp byte [rdi], 0
jne 0x140036c7b
cmp qword [rbp], 0
jne 0x140036c7b
mov rcx, qword [rsp + 0xd8]
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140036b00
mov rcx, qword [rsp + 0xd8]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov eax, 1
mov rbp, qword [rsp + 0x80]
mov rdi, qword [rsp + 0x78]
add rsp, 0x88
pop rsi
pop rbx
ret
cmp rax, qword [rsp + 0xa0]
jne 0x140036996
mov rax, qword [rsp + 0xb0]
mov rcx, rdi
mov byte [rax], 1
call qword [sym.imp.KERNEL32.dll_FindClose]
mov eax, ebx
jmp 0x140036c8e
mov rcx, qword [rsp + 0xd8]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov eax, ebx
jmp 0x140036c8e