Function at 0x140033d50
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 rbp
push rbx
push rsi
push rdi
lea rbp, [rsp - 0x5d8]
sub rsp, 0x6d8
mov rbx, qword [rbp + 0x638]
lea rcx, [rbp + 0x1b0]
mov rdx, rbx
mov r8d, 0x103
call fcn.1400b2114
xor edi, edi
lea rcx, [rbp + 0x1b0]
mov word [rbp + 0x3b6], di
lea edx, [rdi + 0x5c]
call fcn.1400a786c
test rax, rax
je 0x140033dfb
lea r8, [rax + 2]
lea rdx, [rbp + 0x3c0]
mov rcx, r8
sub rdx, r8
nop dword [rax]
nop word [rax + rax]
movzx eax, word [rcx]
mov word [rdx + rcx], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x140033dd0
mov word [r8], di
lea rax, [rbp + 0x1b0]
or rsi, 0xffffffffffffffff
nop
inc rsi
cmp word [rax + rsi*2], di
jne 0x140033df0
jmp 0x140033e23
mov rdx, rdi
nop
movzx eax, word [rbp + rdx + 0x1b0]
mov word [rbp + rdx + 0x3c0], ax
lea rdx, [rdx + 2]
test ax, ax
jne 0x140033e00
mov word [rbp + 0x1b0], di
mov rsi, rdi
lea rdx, [rsp + 0x60]
mov qword [rsp + 0x48], rsi
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_FindFirstFileW]
cmp rax, 0xffffffffffffffff
mov qword [rsp + 0x40], rax
mov rcx, rax
setne dil
test edi, edi
je 0x140033f00
mov ebx, dword [rbp + 0x628]
test byte [rsp + 0x60], 0x10
je 0x140033e7d
cmp ebx, 1
je 0x140033eb9
cmp word [rbp - 0x74], 0x2e
jne 0x140033e82
movzx eax, word [rbp - 0x72]
test ax, ax
je 0x140033eb9
cmp ax, 0x2e
jne 0x140033e82
cmp word [rbp - 0x70], 0
jmp 0x140033e80
cmp ebx, 2
je 0x140033eb9
cmp word [rbp + 0x1b0], 0
je 0x140033f00
lea rax, [rbp - 0x74]
or r8, 0xffffffffffffffff
nop dword [rax]
nop dword [rax + rax]
cmp word [rax + r8*2 + 2], 0
lea r8, [r8 + 1]
jne 0x140033ea0
lea rax, [r8 + rsi]
cmp rax, 0x104
jb 0x140033ed1
lea rdx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.DLL_FindNextFileW]
mov edi, eax
test eax, eax
je 0x140033f00
mov rcx, qword [rsp + 0x40]
jmp 0x140033e54
lea rbx, [rsi + rsi]
lea rcx, [rbp - 0x74]
add rcx, rbx
lea r8, [r8*2 + 2]
lea rdx, [rbp - 0x74]
call fcn.1400a71a0
mov r8, rbx
lea rdx, [rbp + 0x1b0]
lea rcx, [rbp - 0x74]
call fcn.1400a71a0
mov rax, qword [0x1400fda58]
mov qword [rsp + 0x58], rax
test edi, edi
je 0x140034129
nop dword [rax]
nop dword [rax + rax]
mov rdi, qword [rbp + 0x600]
lea rcx, [rsp + 0x60]
mov qword [rax + 0x10], rcx
mov rcx, qword [rdi + 0x20]
cmp byte [rcx], 0x73
jne 0x140033f6d
mov rsi, qword [rbp + 0x608]
mov rcx, qword [rcx + 0x20]
lea r9, [rsp + 0x50]
mov r8, rsi
mov edx, 2
call fcn.14002a910
mov rcx, qword [rdi + 0x20]
mov ebx, eax
mov rax, qword [rsp + 0x50]
cmp rax, rcx
je 0x140033f40
mov rsi, qword [rsp + 0x48]
jmp 0x140033f8a
mov r8, qword [rbp + 0x608]
lea r9, [rsp + 0x50]
mov edx, 3
call fcn.14002a910
mov ebx, eax
mov rax, qword [rsp + 0x50]
test rax, rax
je 0x140033fc0
cmp ebx, 6
jne 0x1400342b6
cmp rax, rdi
je 0x140033fca
mov r9, qword [rbp + 0x618]
mov qword [r9], rax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.DLL_FindClose]
mov eax, ebx
add rsp, 0x6d8
pop rdi
pop rsi
pop rbx
pop rbp
ret
cmp ebx, 1
je 0x140033fca
cmp ebx, 6
jne 0x140033fa7
mov rbx, qword [rbp + 0x620]
test rbx, rbx
je 0x140034064
mov rax, qword [0x1400fda58]
mov qword [0x140106a48], rbx
cmp byte [rax + 0x139], 0
je 0x140034031
movsxd rax, dword [0x140104e5c]
lea rdi, [0x140000000]
mov qword [rdi + rax*8 + 0x1054b0], rbx
call qword [sym.imp.KERNEL32.DLL_GetTickCount]
movsxd rdx, dword [0x140104e5c]
mov dword [rdi + rdx*4 + 0x104e70], eax
inc edx
cmp edx, 0x190
mov eax, 0
cmovge edx, eax
mov dword [0x140104e5c], edx
xor r9d, r9d
or r8, 0xffffffffffffffff
xor edx, edx
mov rcx, rbx
call fcn.140069a70
mov ebx, eax
cmp eax, 1
jne 0x140033fa7
mov rcx, qword [0x1401061e0]
lea ebx, [rax + 4]
call fcn.14005c4f0
test eax, eax
jne 0x140033fa7
mov ebx, dword [rbp + 0x628]
nop word [rax + rax]
mov rcx, qword [rsp + 0x40]
lea rdx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.DLL_FindNextFileW]
mov edi, eax
test eax, eax
je 0x140034118
test byte [rsp + 0x60], 0x10
je 0x1400340b3
cmp ebx, 1
je 0x140034070
cmp word [rbp - 0x74], 0x2e
jne 0x1400340b8
movzx ecx, word [rbp - 0x72]
test cx, cx
je 0x140034070
cmp cx, 0x2e
jne 0x1400340b8
cmp word [rbp - 0x70], 0
jmp 0x1400340b6
cmp ebx, 2
je 0x140034070
cmp word [rbp + 0x1b0], 0
je 0x140034118
lea rax, [rbp - 0x74]
or r8, 0xffffffffffffffff
nop word [rax + rax]
cmp word [rax + r8*2 + 2], 0
lea r8, [r8 + 1]
jne 0x1400340d0
lea rax, [r8 + rsi]
cmp rax, 0x104
jae 0x140034070
lea rbx, [rsi + rsi]
lea rcx, [rbp - 0x74]
add rcx, rbx
lea r8, [r8*2 + 2]
lea rdx, [rbp - 0x74]
call fcn.1400a71a0
mov r8, rbx
lea rdx, [rbp + 0x1b0]
lea rcx, [rbp - 0x74]
call fcn.1400a71a0
mov rax, qword [rsp + 0x58]
inc qword [rax + 8]
test edi, edi
jne 0x140033f20
mov rax, qword [rsp + 0x40]
cmp rax, 0xffffffffffffffff
je 0x14003413d
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_FindClose]
movzx edi, byte [rbp + 0x630]
test dil, dil
je 0x1400342ef
cmp rsi, 0x100
ja 0x1400342ef
movabs rcx, 0x2a002e002a
lea rax, [rbp + 0x1b0]
lea rax, [rax + rsi*2]
mov qword [rax], rcx
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x1b0]
call qword [sym.imp.KERNEL32.DLL_FindFirstFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x1400342ef
lea rax, [rbp + 0x3c0]
or rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1400341a0
mov rcx, qword [rsp + 0x48]
add rbx, rcx
test byte [rsp + 0x60], 0x10
je 0x14003429a
cmp word [rbp - 0x74], 0x2e
jne 0x1400341e2
movzx eax, word [rbp - 0x72]
test ax, ax
je 0x14003429a
cmp ax, 0x2e
jne 0x1400341e2
cmp word [rbp - 0x70], 0
je 0x14003429a
lea rdx, [rbp - 0x74]
or rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x1400341f0
add rax, rbx
cmp rax, 0x102
ja 0x14003429a
lea rax, [rbp + 0x1b0]
lea rcx, [rax + rcx*2]
lea r9, [rbp + 0x3c0]
lea r8, [rbp - 0x74]
lea rdx, [0x1400e2838]
call fcn.140004b20
mov r9, qword [rbp + 0x618]
lea rax, [rbp + 0x1b0]
mov r8, qword [rbp + 0x610]
mov rdx, qword [rbp + 0x608]
mov rcx, qword [rbp + 0x600]
mov qword [rsp + 0x38], rax
mov eax, dword [rbp + 0x628]
mov byte [rsp + 0x30], dil
mov dword [rsp + 0x28], eax
mov rax, qword [rbp + 0x620]
mov qword [rsp + 0x20], rax
call fcn.140033d50
mov edi, eax
cmp eax, 1
jne 0x1400342cf
mov rax, qword [rbp + 0x610]
cmp byte [rax], 0
jne 0x1400342e6
mov rax, qword [rbp + 0x618]
cmp qword [rax], 0
jne 0x1400342e6
movzx edi, byte [rbp + 0x630]
lea rdx, [rsp + 0x60]
mov rcx, rsi
call qword [sym.imp.KERNEL32.DLL_FindNextFileW]
test eax, eax
je 0x1400342e6
mov rcx, qword [rsp + 0x48]
jmp 0x1400341b2
cmp rax, rdi
jne 0x140033f9d
mov r8, qword [rbp + 0x610]
mov byte [r8], 1
jmp 0x140033fa7
mov rcx, rsi
call qword [sym.imp.KERNEL32.DLL_FindClose]
mov eax, edi
add rsp, 0x6d8
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov rcx, rsi
call qword [sym.imp.KERNEL32.DLL_FindClose]
mov eax, 1
add rsp, 0x6d8
pop rdi
pop rsi
pop rbx
pop rbp
ret