Function at 0x14002e680
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 [0x140307f80]
xor rax, rsp
mov qword [rsp + 0x5b0], rax
cmp qword [rsp + 0x5e8], 0
jne 0x14002e6da
mov qword [rsp + 0x20], 0
mov r9d, 0x107
lea r8, str.C:OdinLangOdin_dev_2024_08_srcpath.cpp
lea rdx, str.fi___nullptr
lea rcx, str.Assertion_Failure
call fcn.140017c40
int3
xor eax, eax
test eax, eax
jne 0x14002e6a5
mov rax, qword [rsp + 0x5e0]
cmp qword [rax + 8], 0
jle 0x14002e764
mov rax, qword [rsp + 0x5e0]
mov rax, qword [rax + 8]
dec rax
mov rdx, rax
mov rcx, qword [rsp + 0x5e0]
call fcn.140247b20
movzx eax, byte [rax]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0x2f
jne 0x14002e739
mov rax, qword [rsp + 0x5e0]
mov rax, qword [rax + 8]
dec rax
mov rcx, qword [rsp + 0x5e0]
mov qword [rcx + 8], rax
jmp 0x14002e75f
cmp dword [rsp + 0x30], 0x5c
jne 0x14002e75d
mov rax, qword [rsp + 0x5e0]
mov rax, qword [rax + 8]
dec rax
mov rcx, qword [rsp + 0x5e0]
mov qword [rcx + 8], rax
jmp 0x14002e75f
jmp 0x14002e764
jmp 0x14002e6e0
mov rax, qword [rsp + 0x5e0]
cmp qword [rax + 8], 0
jne 0x14002e77d
mov eax, 1
jmp 0x14002efaa
lea rcx, [rsp + 0x310]
call fcn.140025080
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.140025760
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.14001b810
mov dword [rsp + 0x68], eax
lea rdx, [rsp + 0x320]
lea rcx, [rsp + 0xf0]
call fcn.14002f000
mov rdx, rax
lea rcx, [rsp + 0x80]
call fcn.140244370
nop
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 1
je 0x14002e85e
cmp dword [rsp + 0x34], 4
je 0x14002e87c
jmp 0x14002e89a
mov dword [rsp + 0x6c], 1
lea rcx, [rsp + 0x80]
call fcn.14002f070
mov eax, dword [rsp + 0x6c]
jmp 0x14002efaa
mov dword [rsp + 0x70], 2
lea rcx, [rsp + 0x80]
call fcn.14002f070
mov eax, dword [rsp + 0x70]
jmp 0x14002efaa
lea rcx, [rsp + 0x80]
call fcn.14002f070
nop
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.14002cbb0
movzx eax, al
test eax, eax
jne 0x14002e8e0
mov eax, 4
jmp 0x14002efaa
lea rcx, [rsp + 0x280]
call fcn.14001d7a0
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.140248f60
mov qword [rsp + 0x40], rax
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x290]
call fcn.14002f0f0
mov rdx, rax
lea rcx, [rsp + 0xc0]
call fcn.140243740
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.140249d70
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, [0x1402ab270]
mov rcx, rax
call fcn.140249d70
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.140025440
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.140027630
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.14002f1f0
mov rdx, rax
lea rcx, [rsp + 0xd0]
call fcn.140246120
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 0x14002eb57
mov dword [rsp + 0x74], 6
lea rcx, [rsp + 0xd0]
call fcn.14002f270
nop
lea rcx, [rsp + 0xc0]
call fcn.14002f170
mov eax, dword [rsp + 0x74]
jmp 0x14002efaa
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0xf8]
call fcn.14002f2d0
mov rdx, rax
lea rcx, [rsp + 0xa8]
call fcn.1402456d0
nop
mov r9d, 0x64
xor r8d, r8d
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0x5e8]
call fcn.14002f370
nop
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.1400255d0
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.140027860
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, [0x1402a9fb8]
lea rcx, [rsp + 0x98]
call fcn.14002f410
movzx eax, al
test eax, eax
jne 0x14002ecbf
lea rdx, [0x1402a9fbc]
lea rcx, [rsp + 0x98]
call fcn.14002f470
movzx eax, al
test eax, eax
je 0x14002ecf4
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.140249a60
nop
jmp 0x14002ef11
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.140248f60
mov qword [rsp + 0x58], rax
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x2f0]
call fcn.14002f520
mov rdx, rax
lea rcx, [rsp + 0x240]
call fcn.140242020
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.140249d70
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, [0x1402a9fb4]
mov rcx, rax
call fcn.140249d70
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.140249d70
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.14002cf80
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 0x14002eed9
mov dword [rsp + 0x38], 1
jmp 0x14002eee1
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.14002f5d0
nop
lea rcx, [rsp + 0x240]
call fcn.14002f5a0
nop
lea rdx, [rsp + 0x360]
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14002eb99
mov rax, qword [rsp + 0x5e8]
cmp qword [rax + 0x18], 0
jne 0x14002ef75
mov dword [rsp + 0x78], 5
lea rcx, [rsp + 0xa8]
call fcn.14002f340
nop
lea rcx, [rsp + 0xd0]
call fcn.14002f270
nop
lea rcx, [rsp + 0xc0]
call fcn.14002f170
mov eax, dword [rsp + 0x78]
jmp 0x14002efaa
mov dword [rsp + 0x7c], 0
lea rcx, [rsp + 0xa8]
call fcn.14002f340
nop
lea rcx, [rsp + 0xd0]
call fcn.14002f270
nop
lea rcx, [rsp + 0xc0]
call fcn.14002f170
mov eax, dword [rsp + 0x7c]
mov rcx, qword [rsp + 0x5b0]
xor rcx, rsp
call fcn.140257e70
add rsp, 0x5c8
pop rdi
pop rsi
ret