Function at 0x14002c380
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 [0x1402efec0]
xor rax, rsp
mov qword [rsp + 0x5b0], rax
cmp qword [rsp + 0x5e8], 0
jne 0x14002c3da
mov qword [rsp + 0x20], 0
mov r9d, pe_nt_image_headers64
lea r8, str.C:UsersdimitOdin_srcpath.cpp
lea rdx, str.fi___nullptr
lea rcx, str.Assertion_Failure
call fcn.140017a30
int3
xor eax, eax
test eax, eax
jne 0x14002c3a5
mov rax, qword [rsp + 0x5e0]
cmp qword [rax + 8], 0
jle 0x14002c464
mov rax, qword [rsp + 0x5e0]
mov rax, qword [rax + 8]
dec rax
mov rdx, rax
mov rcx, qword [rsp + 0x5e0]
call fcn.1402380b0
movzx eax, byte [rax]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0x2f
jne 0x14002c439
mov rax, qword [rsp + 0x5e0]
mov rax, qword [rax + 8]
dec rax
mov rcx, qword [rsp + 0x5e0]
mov qword [rcx + 8], rax
jmp 0x14002c45f
cmp dword [rsp + 0x30], 0x5c
jne 0x14002c45d
mov rax, qword [rsp + 0x5e0]
mov rax, qword [rax + 8]
dec rax
mov rcx, qword [rsp + 0x5e0]
mov qword [rcx + 8], rax
jmp 0x14002c45f
jmp 0x14002c464
jmp 0x14002c3e0
mov rax, qword [rsp + 0x5e0]
cmp qword [rax + 8], 0
jne 0x14002c47d
mov eax, 1
jmp 0x14002ccaa
lea rcx, [rsp + 0x310]
call fcn.1400236d0
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.140023dd0
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.14001b600
mov dword [rsp + 0x68], eax
lea rdx, [rsp + 0x320]
lea rcx, [rsp + 0xf0]
call fcn.14002cd00
mov rdx, rax
lea rcx, [rsp + 0x80]
call fcn.140235b80
nop
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 1
je 0x14002c55e
cmp dword [rsp + 0x34], 4
je 0x14002c57c
jmp 0x14002c59a
mov dword [rsp + 0x6c], 1
lea rcx, [rsp + 0x80]
call fcn.14002cd70
mov eax, dword [rsp + 0x6c]
jmp 0x14002ccaa
mov dword [rsp + 0x70], 2
lea rcx, [rsp + 0x80]
call fcn.14002cd70
mov eax, dword [rsp + 0x70]
jmp 0x14002ccaa
lea rcx, [rsp + 0x80]
call fcn.14002cd70
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.14002aa40
movzx eax, al
test eax, eax
jne 0x14002c5e0
mov eax, 4
jmp 0x14002ccaa
lea rcx, [rsp + 0x280]
call fcn.14001d590
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.140239440
mov qword [rsp + 0x40], rax
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x290]
call fcn.14002cdf0
mov rdx, rax
lea rcx, [rsp + 0xc0]
call fcn.140236490
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.14023a200
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, [0x140296468]
mov rcx, rax
call fcn.14023a200
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.140023ab0
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.140025ba0
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.14002cef0
mov rdx, rax
lea rcx, [rsp + 0xd0]
call fcn.140234190
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 0x14002c857
mov dword [rsp + 0x74], 6
lea rcx, [rsp + 0xd0]
call fcn.14002cf70
nop
lea rcx, [rsp + 0xc0]
call fcn.14002ce70
mov eax, dword [rsp + 0x74]
jmp 0x14002ccaa
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0xf8]
call fcn.14002cfd0
mov rdx, rax
lea rcx, [rsp + 0xa8]
call fcn.140236260
nop
mov r9d, 0x64
xor r8d, r8d
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0x5e8]
call fcn.14002d070
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.140023c40
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.140025dd0
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, [0x140294bc0]
lea rcx, [rsp + 0x98]
call fcn.14002d110
movzx eax, al
test eax, eax
jne 0x14002c9bf
lea rdx, [0x140294bc4]
lea rcx, [rsp + 0x98]
call fcn.14002d170
movzx eax, al
test eax, eax
je 0x14002c9f4
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.140239ef0
nop
jmp 0x14002cc11
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.140239440
mov qword [rsp + 0x58], rax
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x2f0]
call fcn.14002d220
mov rdx, rax
lea rcx, [rsp + 0x240]
call fcn.1402306d0
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.14023a200
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, [0x140294bbc]
mov rcx, rax
call fcn.14023a200
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.14023a200
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.14002ae10
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 0x14002cbd9
mov dword [rsp + 0x38], 1
jmp 0x14002cbe1
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.14002d2d0
nop
lea rcx, [rsp + 0x240]
call fcn.14002d2a0
nop
lea rdx, [rsp + 0x360]
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14002c899
mov rax, qword [rsp + 0x5e8]
cmp qword [rax + 0x18], 0
jne 0x14002cc75
mov dword [rsp + 0x78], 5
lea rcx, [rsp + 0xa8]
call fcn.14002d040
nop
lea rcx, [rsp + 0xd0]
call fcn.14002cf70
nop
lea rcx, [rsp + 0xc0]
call fcn.14002ce70
mov eax, dword [rsp + 0x78]
jmp 0x14002ccaa
mov dword [rsp + 0x7c], 0
lea rcx, [rsp + 0xa8]
call fcn.14002d040
nop
lea rcx, [rsp + 0xd0]
call fcn.14002cf70
nop
lea rcx, [rsp + 0xc0]
call fcn.14002ce70
mov eax, dword [rsp + 0x7c]
mov rcx, qword [rsp + 0x5b0]
xor rcx, rsp
call fcn.140248280
add rsp, 0x5c8
pop rdi
pop rsi
ret