Function at 0x14001f9f0
Capabilities:
Enumerate files on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x5c8
mov rax, qword [0x1402bbe00]
xor rax, rsp
mov qword [rsp + 0x5b0], rax
cmp qword [rsp + 0x5e8], 0
jne 0x14001fa4a
mov qword [rsp + 0x20], 0
mov r9d, 0x100
lea r8, str.c:devtoolsOdin_srcpath.cpp
lea rdx, str.fi___nullptr
lea rcx, str.Assertion_Failure
call fcn.14000ba00
int3
xor eax, eax
test eax, eax
jne 0x14001fa15
mov rax, qword [rsp + 0x5e0]
cmp qword [rax + 8], 0
jle 0x14001fad4
mov rax, qword [rsp + 0x5e0]
mov rax, qword [rax + 8]
dec rax
mov rdx, rax
mov rcx, qword [rsp + 0x5e0]
call fcn.14021cea0
movzx eax, byte [rax]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0x2f
jne 0x14001faa9
mov rax, qword [rsp + 0x5e0]
mov rax, qword [rax + 8]
dec rax
mov rcx, qword [rsp + 0x5e0]
mov qword [rcx + 8], rax
jmp 0x14001facf
cmp dword [rsp + 0x30], 0x5c
jne 0x14001facd
mov rax, qword [rsp + 0x5e0]
mov rax, qword [rax + 8]
dec rax
mov rcx, qword [rsp + 0x5e0]
mov qword [rcx + 8], rax
jmp 0x14001facf
jmp 0x14001fad4
jmp 0x14001fa50
mov rax, qword [rsp + 0x5e0]
cmp qword [rax + 8], 0
jne 0x14001faed
mov eax, 1
jmp 0x140020315
lea rcx, [rsp + 0x310]
call fcn.1400174d0
lea rcx, [rsp + 0x100]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x110]
mov rdi, rax
mov rsi, qword [rsp + 0x5e0]
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x120]
lea rcx, [rsp + 0x100]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x110]
lea rcx, [rsp + 0x120]
call fcn.140017bd0
mov qword [rsp + 0xb0], rax
lea rax, [rsp + 0x320]
mov rdi, rax
xor eax, eax
mov ecx, 0x38
rep stosb byte [rdi], al
mov rdx, qword [rsp + 0xb0]
lea rcx, [rsp + 0x320]
call fcn.14000f4c0
mov dword [rsp + 0x68], eax
lea rdx, [rsp + 0x320]
lea rcx, [rsp + 0xf0]
call fcn.140020370
mov rdx, rax
lea rcx, [rsp + 0x80]
call fcn.14021a9f0
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 1
je 0x14001fbcd
cmp dword [rsp + 0x34], 4
je 0x14001fbeb
jmp 0x14001fc09
mov dword [rsp + 0x6c], 1
lea rcx, [rsp + 0x80]
call fcn.1400203e0
mov eax, dword [rsp + 0x6c]
jmp 0x140020315
mov dword [rsp + 0x70], 2
lea rcx, [rsp + 0x80]
call fcn.1400203e0
mov eax, dword [rsp + 0x70]
jmp 0x140020315
lea rcx, [rsp + 0x80]
call fcn.1400203e0
lea rax, [rsp + 0x130]
mov rdi, rax
mov rsi, qword [rsp + 0x5e0]
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rcx, [rsp + 0x130]
call fcn.14001e0f0
movzx eax, al
test eax, eax
jne 0x14001fc4e
mov eax, 4
jmp 0x140020315
lea rcx, [rsp + 0x280]
call fcn.140011450
lea rcx, [rsp + 0x140]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x48]
lea rcx, [rsp + 0x140]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x5e0]
mov rax, qword [rax + 8]
add rax, 3
lea rcx, [rsp + 0x150]
lea rdx, [rsp + 0x48]
mov rdi, rcx
mov rsi, rdx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rdx, rax
lea rcx, [rsp + 0x150]
call fcn.14021e140
mov qword [rsp + 0x40], rax
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x290]
call fcn.140020460
mov rdx, rax
lea rcx, [rsp + 0xc0]
call fcn.14021b260
nop
mov rax, qword [rsp + 0x5e0]
mov r8, qword [rax + 8]
mov rax, qword [rsp + 0x5e0]
mov rdx, qword [rax]
mov rcx, qword [rsp + 0x40]
call fcn.14021ef00
mov rax, qword [rsp + 0x5e0]
mov rax, qword [rax + 8]
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov r8d, 2
lea rdx, [0x14027a2d0]
mov rcx, rax
call fcn.14021ef00
mov rax, qword [rsp + 0x5e0]
mov rax, qword [rax + 8]
mov rcx, qword [rsp + 0x40]
mov byte [rcx + rax + 2], 0
mov rax, qword [rsp + 0x5e0]
mov rax, qword [rax + 8]
add rax, 2
mov r8, rax
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x2a0]
call fcn.1400178b0
lea rcx, [rsp + 0x160]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x170]
lea rcx, [rsp + 0x160]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x180]
lea rcx, [rsp + 0x170]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x190]
lea rcx, [rsp + 0x48]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea r8, [rsp + 0x180]
lea rdx, [rsp + 0x190]
lea rcx, [rsp + 0x2b0]
call fcn.1400193c0
lea rcx, [rsp + 0x1a0]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0xe0]
lea rcx, [rsp + 0x1a0]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea r8, [rsp + 0xe0]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x2c0]
call fcn.140020560
mov rdx, rax
lea rcx, [rsp + 0xd0]
call fcn.1402194b0
nop
lea rax, [rsp + 0x360]
mov rdi, rax
xor eax, eax
mov ecx, 0x250
rep stosb byte [rdi], al
lea rdx, [rsp + 0x360]
mov rcx, qword [rsp + 0xe0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rsp + 0x90], rax
cmp qword [rsp + 0x90], 0xffffffffffffffff
jne 0x14001fec5
mov dword [rsp + 0x74], 6
lea rcx, [rsp + 0xd0]
call fcn.1400205e0
nop
lea rcx, [rsp + 0xc0]
call fcn.1400204e0
mov eax, dword [rsp + 0x74]
jmp 0x140020315
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0xf8]
call fcn.140020640
mov rdx, rax
lea rcx, [rsp + 0xa8]
call fcn.14021b0d0
nop
mov r9d, 0x64
xor r8d, r8d
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0x5e8]
call fcn.1400206e0
lea rax, [rsp + 0x38c]
mov qword [rsp + 0xb8], rax
mov eax, dword [rsp + 0x380]
mov qword [rsp + 0x88], rax
mov eax, dword [rsp + 0x37c]
shl rax, 0x20
mov rcx, qword [rsp + 0x88]
or rcx, rax
mov rax, rcx
mov qword [rsp + 0x88], rax
mov rdx, qword [rsp + 0xb8]
lea rcx, [rsp + 0x2d0]
call fcn.140017a40
lea rcx, [rsp + 0x1b0]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x1c0]
lea rcx, [rsp + 0x1b0]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x1d0]
lea rcx, [rsp + 0x48]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea r8, [rsp + 0x1c0]
lea rdx, [rsp + 0x1d0]
lea rcx, [rsp + 0x2e0]
call fcn.1400195f0
lea rcx, [rsp + 0x1e0]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x98]
lea rcx, [rsp + 0x1e0]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rdx, [0x140278ad4]
lea rcx, [rsp + 0x98]
call fcn.140020780
movzx eax, al
test eax, eax
jne 0x14002002c
lea rdx, [0x140278ad8]
lea rcx, [rsp + 0x98]
call fcn.1400207e0
movzx eax, al
test eax, eax
je 0x140020060
lea rax, [rsp + 0x1f0]
lea rcx, [rsp + 0x48]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rdx, qword [rsp + 0x98]
lea rcx, [rsp + 0x1f0]
call fcn.14021ebf0
jmp 0x14002027c
lea rax, [rsp + 0x58]
mov rdi, rax
xor eax, eax
mov ecx, 0x10
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x5e0]
mov rax, qword [rax + 8]
mov rcx, qword [rsp + 0xa0]
lea rax, [rax + rcx + 1]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
inc rax
lea rcx, [rsp + 0x200]
lea rdx, [rsp + 0x48]
mov rdi, rcx
mov rsi, rdx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rdx, rax
lea rcx, [rsp + 0x200]
call fcn.14021e140
mov qword [rsp + 0x58], rax
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x2f0]
call fcn.140020890
mov rdx, rax
lea rcx, [rsp + 0x240]
call fcn.1402160d0
nop
mov rax, qword [rsp + 0x5e0]
mov r8, qword [rax + 8]
mov rax, qword [rsp + 0x5e0]
mov rdx, qword [rax]
mov rcx, qword [rsp + 0x58]
call fcn.14021ef00
mov rax, qword [rsp + 0x5e0]
mov rax, qword [rax + 8]
mov rcx, qword [rsp + 0x58]
add rcx, rax
mov rax, rcx
mov r8d, 1
lea rdx, [0x140278ad0]
mov rcx, rax
call fcn.14021ef00
mov rax, qword [rsp + 0x5e0]
mov rax, qword [rax + 8]
mov rcx, qword [rsp + 0x58]
lea rax, [rcx + rax + 1]
mov r8, qword [rsp + 0xa0]
mov rdx, qword [rsp + 0x98]
mov rcx, rax
call fcn.14021ef00
lea rax, [rsp + 0x250]
mov rdi, rax
xor eax, eax
mov ecx, 0x30
rep stosb byte [rdi], al
lea rax, [rsp + 0x250]
lea rcx, [rsp + 0x98]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x210]
lea rcx, [rsp + 0x58]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x220]
lea rcx, [rsp + 0x48]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea r8, [rsp + 0x210]
lea rdx, [rsp + 0x220]
lea rcx, [rsp + 0x300]
call fcn.14001e4c0
lea rcx, [rsp + 0x230]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x260]
lea rcx, [rsp + 0x230]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x270], rax
mov eax, dword [rsp + 0x360]
and eax, 0x10
test eax, eax
je 0x140020245
mov dword [rsp + 0x38], 1
jmp 0x14002024d
mov dword [rsp + 0x38], 0
movzx eax, byte [rsp + 0x38]
mov byte [rsp + 0x278], al
lea rdx, [rsp + 0x250]
mov rcx, qword [rsp + 0x5e8]
call fcn.140020940
nop
lea rcx, [rsp + 0x240]
call fcn.140020910
lea rdx, [rsp + 0x360]
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14001ff06
mov rax, qword [rsp + 0x5e8]
cmp qword [rax + 0x18], 0
jne 0x1400202e0
mov dword [rsp + 0x78], 5
lea rcx, [rsp + 0xa8]
call fcn.1400206b0
nop
lea rcx, [rsp + 0xd0]
call fcn.1400205e0
nop
lea rcx, [rsp + 0xc0]
call fcn.1400204e0
mov eax, dword [rsp + 0x78]
jmp 0x140020315
mov dword [rsp + 0x7c], 0
lea rcx, [rsp + 0xa8]
call fcn.1400206b0
nop
lea rcx, [rsp + 0xd0]
call fcn.1400205e0
nop
lea rcx, [rsp + 0xc0]
call fcn.1400204e0
mov eax, dword [rsp + 0x7c]
mov rcx, qword [rsp + 0x5b0]
xor rcx, rsp
call fcn.14022cfc0
add rsp, 0x5c8
pop rdi
pop rsi
ret