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

Disassembly:
push rbx
push rbp
push rdi
sub rsp, 0x950
mov rax, qword [0x1401f7280]
xor rax, rsp
mov qword [rsp + 0x930], rax
cmp dword [0x14020bda8], 0
mov rax, qword [rsp + 0x998]
mov rdi, r9
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x9a0]
mov qword [rsp + 0x78], r8
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x9a8]
mov rbp, rdx
mov qword [rsp + 0x80], rdx
mov rbx, rcx
mov qword [rsp + 0x70], rax
jne 0x1400444f3
or rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp word [r9 + rax*2], 0
jne 0x1400442a0
test rax, rax
je 0x1400444f3
mov rcx, r9
mov qword [rsp + 0x948], rsi
call fcn.1400e47e0
mov r8, rdi
mov edx, 0xc59
mov rcx, rbx
call qword [sym.imp.USER32.dll_SetDlgItemTextW]
mov edx, 0x7f8a
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorW]
mov rcx, rax
call qword [sym.imp.USER32.dll_SetCursor]
mov eax, dword [rsp + 0x9c0]
mov esi, dword [rsp + 0x9c8]
mov r9, qword [rsp + 0x78]
mov dword [rsp + 0x50], esi
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x9b8]
mov r8, rdi
mov rdx, rbp
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x9b0]
mov rcx, rbx
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x20], rax
call fcn.140043c10
cmp dword [rsp + 0x990], 0
je 0x1400444eb
lea rdx, [0x140186bd0]
lea rcx, [rsp + 0x520]
mov r8, rdi
call fcn.1400f98c8
lea rdx, [rsp + 0xc0]
lea rcx, [rsp + 0x520]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rbp, rax
cmp rax, 0xffffffffffffffff
je 0x1400444eb
lea rcx, [rsp + 0x88]
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
mov dword [rsp + 0x20], 1
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x1400443ff
nop dword [rax]
nop word [rax + rax]
lea rcx, [rsp + 0x88]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x88]
call qword [sym.imp.USER32.dll_DispatchMessageW]
lea rcx, [rsp + 0x88]
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
mov dword [rsp + 0x20], 1
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x1400443c0
cmp dword [0x14020bda8], 0
jne 0x1400444e2
mov eax, dword [rsp + 0xc0]
cmp eax, 0xffffffff
je 0x1400444c9
test al, 0x10
je 0x1400444c9
test al, 2
je 0x140044430
test esi, esi
je 0x1400444c9
cmp word [rsp + 0xec], 0x2e
je 0x1400444c9
lea r9, [rsp + 0xec]
lea rdx, str._s_s
lea rcx, [rsp + 0x310]
mov r8, rdi
call fcn.1400f98c8
mov eax, dword [rsp + 0x9c0]
mov r8, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x80]
mov dword [rsp + 0x58], esi
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x9b8]
lea r9, [rsp + 0x310]
mov rcx, rbx
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x9b0]
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x990]
mov dword [rsp + 0x20], eax
call fcn.140044230
lea rdx, [rsp + 0xc0]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140044390
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rsi, qword [rsp + 0x948]
mov rcx, qword [rsp + 0x930]
xor rcx, rsp
call fcn.1400f9a80
add rsp, 0x950
pop rdi
pop rbp
pop rbx
ret