Function at 0x14004a200
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 rdi
sub rsp, 0x98
mov rbx, qword [rsp + 0xe8]
xor edi, edi
mov rdx, qword [rbx + 0x20470]
mov rax, qword [rbx + 0x20480]
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x60], rax
mov qword [rbx + 0x20498], rdx
cmp qword [rbx + 0x20478], rdi
jne 0x14004a283
cmp qword [rbx + 0x20488], 2
jne 0x14004a283
mov rax, qword [rbx + 0x20460]
cmp word [rax + 2], 0x3a
jne 0x14004a283
mov dword [rbx + 0x10250], 0x2e
mov qword [rbx + 0x20478], 1
mov byte [rsp + 0x40], dil
jmp 0x14004a28f
movzx eax, byte [rsp + 0xe0]
mov byte [rsp + 0x40], al
mov r8, qword [rbx + 0x20478]
mov eax, 0x8000
lea rcx, [rbx + rdx*2 + 0x250]
sub rax, rdx
mov qword [rsp + 0x68], rax
cmp r8, rax
jb 0x14004a2bf
mov eax, 1
add rsp, 0x98
pop rdi
pop rbx
ret
lea r8, [r8 + r8 + 2]
lea rdx, [rbx + 0x10250]
mov qword [rsp + 0x90], rbp
mov qword [rsp + 0x88], rsi
call fcn.1400d78b0
lea rcx, [rbx + 0x250]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp rax, 0xffffffffffffffff
mov rsi, rax
setne dil
test edi, edi
je 0x14004a326
mov ebp, dword [rsp + 0xd8]
mov edx, ebp
mov rcx, rbx
call fcn.140074e70
test al, al
je 0x14004a326
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
mov edi, eax
test eax, eax
jne 0x14004a306
mov rbp, qword [0x1401255c8]
mov qword [rsp + 0x58], rbp
mov qword [rbp + 0x10], rbx
test edi, edi
je 0x14004a4e1
nop
mov rax, qword [rsp + 0xb0]
mov rcx, qword [rax + 0x20]
cmp byte [rcx], 0x75
jne 0x14004a390
mov rbp, qword [rsp + 0xb8]
mov rbx, rax
nop dword [rax]
mov rcx, qword [rcx + 0x20]
lea r9, [rsp + 0x48]
mov r8, rbp
mov edx, 2
call fcn.14003ffa0
mov rcx, qword [rbx + 0x20]
mov edi, eax
mov rax, qword [rsp + 0x48]
cmp rax, rcx
je 0x14004a360
mov rbx, qword [rsp + 0xe8]
jmp 0x14004a3ae
mov r8, qword [rsp + 0xb8]
lea r9, [rsp + 0x48]
mov edx, 3
call fcn.14003ffa0
mov edi, eax
mov rax, qword [rsp + 0x48]
test rax, rax
je 0x14004a3e1
cmp edi, 6
jne 0x14004a6f6
cmp rax, qword [rsp + 0xb0]
je 0x14004a3eb
mov rcx, qword [rsp + 0xc8]
mov qword [rcx], rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov eax, edi
jmp 0x14004a6dc
cmp edi, 1
je 0x14004a3eb
cmp edi, 6
jne 0x14004a3d1
mov rdi, qword [rsp + 0xd0]
test rdi, rdi
je 0x14004a4a5
mov rax, qword [0x1401255c8]
mov qword [0x14012cc60], rdi
cmp byte [rax + 0x139], 0
je 0x14004a45b
movsxd rax, dword [0x14012b788]
lea rcx, [0x140000000]
mov qword [rcx + rax*8 + 0x12b790], rdi
call qword [sym.imp.KERNEL32.dll_GetTickCount]
movsxd rdx, dword [0x14012b788]
lea r8, [0x140000000]
mov dword [r8 + rdx*4 + 0x12a300], eax
inc edx
mov eax, 0
cmp edx, 0x190
cmovge edx, eax
mov dword [0x14012b788], edx
cmp qword [0x14012c500], 0xffffffffffffffff
je 0x14004a46d
mov rcx, rdi
call fcn.1400082c0
xor r9d, r9d
or r8, 0xffffffffffffffff
xor edx, edx
mov rcx, rdi
call fcn.140096a70
mov edi, eax
cmp eax, 1
jne 0x14004a3d1
mov rcx, qword [0x14012a9e0]
lea edi, [rax + 4]
call fcn.140085050
test eax, eax
setne al
test al, al
jne 0x14004a3d1
mov ebp, dword [rsp + 0xd8]
nop dword [rax]
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
mov edi, eax
test eax, eax
je 0x14004a4d0
mov edx, ebp
mov rcx, rbx
call fcn.140074e70
test al, al
jne 0x14004a4b0
mov rbp, qword [rsp + 0x58]
inc qword [rbp + 8]
test edi, edi
jne 0x14004a340
cmp rsi, 0xffffffffffffffff
je 0x14004a4f0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
cmp byte [rsp + 0x40], 0
je 0x14004a6d7
mov rcx, qword [rsp + 0x50]
mov rdx, rbx
lea rax, [rbx + rcx*2 + 0x250]
lea rcx, [rbx + 0x250]
mov dword [rax], 0x2a
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rsp + 0xe8], rax
cmp rax, 0xffffffffffffffff
je 0x14004a6d7
mov eax, 0x8000
sub rax, qword [rsp + 0x60]
mov qword [rsp + 0x70], rax
nop
test byte [rbx], 0x10
je 0x14004a6b0
cmp word [rbx + 0x2c], 0x2e
jne 0x14004a56e
movzx eax, word [rbx + 0x2e]
test ax, ax
je 0x14004a6b0
cmp ax, 0x2e
jne 0x14004a56e
cmp word [rbx + 0x30], 0
je 0x14004a6b0
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rbx + 0x2c]
repne scasw ax, word [rdi]
not rcx
lea rbp, [rcx - 1]
cmp rcx, qword [rsp + 0x68]
jae 0x14004a6b0
mov rax, qword [rsp + 0x50]
lea rdi, [rcx + rcx - 2]
lea rdx, [rbx + 0x2c]
lea rcx, [rbx + rax*2 + 0x250]
mov r8, rdi
call fcn.1400d78b0
mov rcx, qword [rsp + 0x50]
mov edx, 0x5c
lea rax, [rbx + rcx*2 + 0x250]
mov word [rdi + rax], dx
xor edx, edx
mov word [rdi + rax + 2], dx
lea rax, [rcx + rbp + 1]
or rcx, 0xffffffffffffffff
mov qword [rbx + 0x20470], rax
xor eax, eax
lea rdx, [rbx + 0x234]
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
dec rcx
mov qword [rsp + 0x58], rcx
jne 0x14004a600
mov rcx, rbp
lea rdx, [rbx + 0x2c]
mov qword [rsp + 0x58], rcx
lea rax, [rcx + 1]
cmp rax, qword [rsp + 0x70]
jae 0x14004a6b0
mov rbp, qword [rsp + 0x60]
lea rdi, [rcx + rcx]
lea rsi, [rbx + rbp*2 + 0x10458]
mov r8, rdi
mov rcx, rsi
call fcn.1400d78b0
mov rdx, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0xb0]
mov eax, 0x5c
mov qword [rsp + 0x38], rbx
mov word [rdi + rsi], ax
xor eax, eax
mov word [rdi + rsi + 2], ax
mov rax, qword [rsp + 0x58]
mov rsi, qword [rsp + 0xc0]
lea rax, [rax + rbp + 1]
mov rbp, qword [rsp + 0xc8]
mov r8, rsi
mov qword [rbx + 0x20480], rax
movzx eax, byte [rsp + 0x40]
mov r9, rbp
mov byte [rsp + 0x30], al
mov eax, dword [rsp + 0xd8]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x20], rax
call fcn.14004a200
mov edi, eax
cmp eax, 1
jne 0x14004a71c
cmp byte [rsi], 0
jne 0x14004a6c9
cmp qword [rbp], 0
jne 0x14004a6c9
mov rcx, qword [rsp + 0xe8]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14004a540
mov rcx, qword [rsp + 0xe8]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov eax, 1
mov rbp, qword [rsp + 0x90]
mov rsi, qword [rsp + 0x88]
add rsp, 0x98
pop rdi
pop rbx
ret
cmp rax, qword [rsp + 0xb0]
jne 0x14004a3c6
mov rax, qword [rsp + 0xc0]
mov rcx, rsi
mov byte [rax], 1
call qword [sym.imp.KERNEL32.dll_FindClose]
mov eax, edi
jmp 0x14004a6dc
mov rcx, qword [rsp + 0xe8]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov eax, edi
jmp 0x14004a6dc