Function at 0x180020de0
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
sub rsp, 0x338
mov rax, qword [0x1800810b0]
xor rax, rsp
mov qword [rsp + 0x328], rax
call fcn.18002cca0
mov qword [rsp + 0x308], rax
mov rdx, qword [rsp + 0x348]
mov rcx, qword [rsp + 0x340]
call sym.JkDefrag.dll_public:_void___cdecl_JKDefragLib::SlowDown_struct_DefragDataStruct____ptr64____ptr64
mov rcx, qword [rsp + 0x350]
call fcn.180005178
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x180020e4e
jmp 0x180021b4c
mov dx, 0x5c
mov rcx, qword [rsp + 0x40]
call fcn.1800031a0
mov qword [rsp + 0x2e0], rax
cmp qword [rsp + 0x2e0], 0
je 0x180020e7c
xor eax, eax
mov rcx, qword [rsp + 0x2e0]
mov word [rcx], ax
mov rax, qword [rsp + 0x348]
mov rax, qword [rax + 0x240]
mov rcx, qword [rsp + 0x350]
mov qword [rsp + 0x20], rcx
mov r9, qword [rax + 0xb8]
xor r8d, r8d
mov edx, 3
mov rcx, qword [rsp + 0x308]
call fcn.18002bd00
lea rcx, [rsp + 0x2c0]
call qword [sym.imp.KERNEL32.dll_GetSystemTime]
lea rdx, [rsp + 0x2b8]
lea rcx, [rsp + 0x2c0]
call qword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
test eax, eax
jne 0x180020eea
mov qword [rsp + 0x2e8], 0
jmp 0x180020f16
mov eax, dword [rsp + 0x2b8]
mov dword [rsp + 0x2f8], eax
mov eax, dword [rsp + 0x2bc]
mov dword [rsp + 0x2fc], eax
mov rax, qword [rsp + 0x2f8]
mov qword [rsp + 0x2e8], rax
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x350]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rsp + 0x300], rax
cmp qword [rsp + 0x300], 0xffffffffffffffff
jne 0x180020f4b
mov rcx, qword [rsp + 0x40]
call fcn.180004b4c
jmp 0x180021b4c
mov qword [rsp + 0x2d8], 0
mov rax, qword [rsp + 0x348]
mov rax, qword [rax + 8]
cmp dword [rax], 0
je 0x180020f6d
jmp 0x180021a4a
lea rdx, [0x18003c444]
lea rcx, [rsp + 0x7c]
call fcn.18000348c
test eax, eax
jne 0x180020f87
jmp 0x180021a2f
lea rdx, [0x18003cd54]
lea rcx, [rsp + 0x7c]
call fcn.18000348c
test eax, eax
jne 0x180020fa1
jmp 0x180021a2f
mov eax, dword [rsp + 0x50]
and eax, 0x400
test eax, eax
je 0x180020fb3
jmp 0x180021a2f
cmp qword [rsp + 0x2d8], 0
je 0x1800210a9
mov rax, qword [rsp + 0x2d8]
cmp qword [rax + 0x30], 0
je 0x180020fe2
mov rax, qword [rsp + 0x2d8]
mov rcx, qword [rax + 0x30]
call fcn.180004b4c
mov rax, qword [rsp + 0x2d8]
cmp qword [rax + 0x28], 0
je 0x180021002
mov rax, qword [rsp + 0x2d8]
mov rcx, qword [rax + 0x28]
call fcn.180004b4c
mov rax, qword [rsp + 0x2d8]
cmp qword [rax + 0x20], 0
je 0x180021022
mov rax, qword [rsp + 0x2d8]
mov rcx, qword [rax + 0x20]
call fcn.180004b4c
mov rax, qword [rsp + 0x2d8]
cmp qword [rax + 0x18], 0
je 0x180021042
mov rax, qword [rsp + 0x2d8]
mov rcx, qword [rax + 0x18]
call fcn.180004b4c
mov rax, qword [rsp + 0x2d8]
cmp qword [rax + 0x60], 0
je 0x180021090
mov rax, qword [rsp + 0x2d8]
mov rax, qword [rax + 0x60]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x2f0], rax
mov rax, qword [rsp + 0x2d8]
mov rcx, qword [rax + 0x60]
call fcn.180004b4c
mov rax, qword [rsp + 0x2d8]
mov rcx, qword [rsp + 0x2f0]
mov qword [rax + 0x60], rcx
jmp 0x180021042
mov rcx, qword [rsp + 0x2d8]
call fcn.180004b4c
mov qword [rsp + 0x2d8], 0
mov ecx, 0x88
call fcn.180004750
mov qword [rsp + 0x2d8], rax
cmp qword [rsp + 0x2d8], 0
jne 0x1800210cb
jmp 0x180021a4a
mov rax, qword [rsp + 0x2d8]
mov qword [rax + 0x30], 0
mov rax, qword [rsp + 0x2d8]
mov qword [rax + 0x28], 0
mov rax, qword [rsp + 0x2d8]
mov qword [rax + 0x20], 0
mov rax, qword [rsp + 0x2d8]
mov qword [rax + 0x18], 0
mov rax, qword [rsp + 0x2d8]
mov qword [rax + 0x60], 0
mov rcx, qword [rsp + 0x40]
call fcn.1800034f4
mov qword [rsp + 0x310], rax
lea rcx, [rsp + 0x7c]
call fcn.1800034f4
mov rcx, qword [rsp + 0x310]
lea rax, [rcx + rax + 2]
mov qword [rsp + 0x2a8], rax
mov rax, qword [rsp + 0x2a8]
shl rax, 1
mov rcx, rax
call fcn.180004750
mov rcx, qword [rsp + 0x2d8]
mov qword [rcx + 0x20], rax
mov rax, qword [rsp + 0x2d8]
cmp qword [rax + 0x20], 0
jne 0x18002117f
jmp 0x180021a4a
lea rax, [rsp + 0x7c]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x40]
lea r8, [0x18003dfa8]
mov rdx, qword [rsp + 0x2a8]
mov rax, qword [rsp + 0x2d8]
mov rcx, qword [rax + 0x20]
call fcn.180003e98
lea rcx, [rsp + 0x7c]
call fcn.180005178
mov rcx, qword [rsp + 0x2d8]
mov qword [rcx + 0x18], rax
mov rax, qword [rsp + 0x2d8]
cmp qword [rax + 0x18], 0
jne 0x1800211d8
jmp 0x180021a4a
mov rcx, qword [rsp + 0x40]
call fcn.1800034f4
mov qword [rsp + 0x318], rax
lea rcx, [rsp + 0x284]
call fcn.1800034f4
mov rcx, qword [rsp + 0x318]
lea rax, [rcx + rax + 2]
mov qword [rsp + 0x2a8], rax
mov rax, qword [rsp + 0x2a8]
shl rax, 1
mov rcx, rax
call fcn.180004750
mov rcx, qword [rsp + 0x2d8]
mov qword [rcx + 0x30], rax
mov rax, qword [rsp + 0x2d8]
cmp qword [rax + 0x30], 0
jne 0x18002123f
jmp 0x180021a4a
lea rax, [rsp + 0x284]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x40]
lea r8, [0x18003e148]
mov rdx, qword [rsp + 0x2a8]
mov rax, qword [rsp + 0x2d8]
mov rcx, qword [rax + 0x30]
call fcn.180003e98
lea rcx, [rsp + 0x284]
call fcn.180005178
mov rcx, qword [rsp + 0x2d8]
mov qword [rcx + 0x28], rax
mov rax, qword [rsp + 0x2d8]
cmp qword [rax + 0x28], 0
jne 0x18002129e
jmp 0x180021a4a
mov eax, dword [rsp + 0x6c]
movabs rcx, 0x100000000
imul rax, rcx
mov ecx, dword [rsp + 0x70]
add rax, rcx
mov rcx, qword [rsp + 0x2d8]
mov qword [rcx + 0x38], rax
mov rax, qword [rsp + 0x2d8]
mov qword [rax + 0x40], 0
mov rax, qword [rsp + 0x2d8]
mov qword [rax + 0x48], 0
mov rax, qword [rsp + 0x2d8]
mov qword [rax + 0x58], 0
mov rax, qword [rsp + 0x2d8]
mov qword [rax + 0x50], 0
mov rax, qword [rsp + 0x2d8]
mov rcx, qword [rsp + 0x358]
mov qword [rax + 0x70], rcx
mov rax, qword [rsp + 0x2d8]
mov dword [rax + 0x78], 0
mov eax, dword [rsp + 0x50]
and eax, 0x10
test eax, eax
je 0x180021340
mov rax, qword [rsp + 0x2d8]
mov dword [rax + 0x78], 1
mov rax, qword [rsp + 0x2d8]
mov dword [rax + 0x7c], 0
mov rax, qword [rsp + 0x2d8]
mov dword [rax + 0x80], 0
mov rax, qword [rsp + 0x2d8]
mov dword [rax + 0x84], 0
mov r8, qword [rsp + 0x2d8]
mov rdx, qword [rsp + 0x348]
mov rcx, qword [rsp + 0x340]
call fcn.180020950
mov qword [rsp + 0x2a0], rax
cmp qword [rsp + 0x2a0], 0
jne 0x1800213a8
jmp 0x180021a2f
mov r9, qword [rsp + 0x2a0]
mov r8, qword [rsp + 0x2d8]
mov rdx, qword [rsp + 0x348]
mov rcx, qword [rsp + 0x340]
call fcn.1800203b0
mov dword [rsp + 0x2b0], eax
mov rcx, qword [rsp + 0x2a0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rsp + 0x2b0], 0
jne 0x1800213f1
jmp 0x180021a2f
mov rax, qword [rsp + 0x348]
mov rax, qword [rax + 0x1d8]
inc rax
mov rcx, qword [rsp + 0x348]
mov qword [rcx + 0x1d8], rax
mov rax, qword [rsp + 0x348]
mov rax, qword [rax + 0x1e8]
mov rcx, qword [rsp + 0x2d8]
add rax, qword [rcx + 0x38]
mov rcx, qword [rsp + 0x348]
mov qword [rcx + 0x1e8], rax
mov rax, qword [rsp + 0x348]
mov rax, qword [rax + 0x1f8]
mov rcx, qword [rsp + 0x2d8]
add rax, qword [rcx + 0x40]
mov rcx, qword [rsp + 0x348]
mov qword [rcx + 0x1f8], rax
mov rax, qword [rsp + 0x2d8]
mov r9, qword [rax + 0x40]
xor r8d, r8d
mov rdx, qword [rsp + 0x2d8]
mov rcx, qword [rsp + 0x340]
call sym.JkDefrag.dll_public:_int___cdecl_JKDefragLib::IsFragmented_struct_ItemStruct____ptr64__unsigned_long_long_unsigned___int64___unsigned_long_long_unsigned___int64_____ptr64
cmp eax, 1
jne 0x180021504
mov rax, qword [rsp + 0x348]
mov rax, qword [rax + 0x1e0]
inc rax
mov rcx, qword [rsp + 0x348]
mov qword [rcx + 0x1e0], rax
mov rax, qword [rsp + 0x348]
mov rax, qword [rax + 0x1f0]
mov rcx, qword [rsp + 0x2d8]
add rax, qword [rcx + 0x38]
mov rcx, qword [rsp + 0x348]
mov qword [rcx + 0x1f0], rax
mov rax, qword [rsp + 0x348]
mov rax, qword [rax + 0x200]
mov rcx, qword [rsp + 0x2d8]
add rax, qword [rcx + 0x40]
mov rcx, qword [rsp + 0x348]
mov qword [rcx + 0x200], rax
mov rax, qword [rsp + 0x348]
mov rax, qword [rax + 0x218]
mov rcx, qword [rsp + 0x2d8]
add rax, qword [rcx + 0x40]
mov rcx, qword [rsp + 0x348]
mov qword [rcx + 0x218], rax
mov r8, qword [rsp + 0x2d8]
mov rdx, qword [rsp + 0x348]
mov rcx, qword [rsp + 0x308]
call fcn.18002bdf0
mov rax, qword [rsp + 0x2d8]
cmp dword [rax + 0x78], 1
jne 0x180021632
mov rax, qword [rsp + 0x348]
mov rax, qword [rax + 0x1d0]
inc rax
mov rcx, qword [rsp + 0x348]
mov qword [rcx + 0x1d0], rax
mov rcx, qword [rsp + 0x40]
call fcn.1800034f4
mov qword [rsp + 0x320], rax
lea rcx, [rsp + 0x7c]
call fcn.1800034f4
mov rcx, qword [rsp + 0x320]
lea rax, [rcx + rax + 4]
mov qword [rsp + 0x2a8], rax
mov rax, qword [rsp + 0x2a8]
shl rax, 1
mov rcx, rax
call fcn.180004750
mov qword [rsp + 0x2d0], rax
cmp qword [rsp + 0x2d0], 0
je 0x180021632
lea rax, [rsp + 0x7c]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x40]
lea r8, [0x18003e158]
mov rdx, qword [rsp + 0x2a8]
mov rcx, qword [rsp + 0x2d0]
call fcn.180003e98
mov r9, qword [rsp + 0x2d8]
mov r8, qword [rsp + 0x2d0]
mov rdx, qword [rsp + 0x348]
mov rcx, qword [rsp + 0x340]
call fcn.180020de0
mov rcx, qword [rsp + 0x2d0]
call fcn.180004b4c
mov rax, qword [rsp + 0x2d8]
cmp qword [rax + 0x40], 0
je 0x180021650
mov rax, qword [rsp + 0x2d8]
cmp qword [rax + 0x60], 0
jne 0x180021655
jmp 0x180021a2f
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [rsp + 0x2d8]
mov rdx, qword [rsp + 0x348]
mov rcx, qword [rsp + 0x340]
call sym.JkDefrag.dll_public:_void___cdecl_JKDefragLib::ColorizeItem_struct_DefragDataStruct____ptr64__struct_ItemStruct____ptr64__unsigned_long_long_unsigned___int64___unsigned_long_long_unsigned___int64___int____ptr64
mov rdx, qword [rsp + 0x2d8]
mov rcx, qword [rsp + 0x340]
call sym.JkDefrag.dll_public:_unsigned_long_long_unsigned___int64____cdecl_JKDefragLib::GetItemLcn_struct_ItemStruct____ptr64____ptr64
mov rcx, qword [rsp + 0x348]
mov rcx, qword [rcx + 0x240]
mov rdx, qword [rsp + 0x2d8]
mov rdx, qword [rdx + 0x38]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x2d8]
mov rax, qword [rax + 0x40]
mov qword [rsp + 0x20], rax
mov r9, qword [rcx + 0x80]
mov r8, qword [rsp + 0x2d8]
mov edx, 4
mov rcx, qword [rsp + 0x308]
call fcn.18002bd00
mov eax, dword [rsp + 0x50]
and eax, 0x800
test eax, eax
je 0x18002172f
mov rax, qword [rsp + 0x348]
mov rax, qword [rax + 0x240]
mov r9, qword [rax + 0x88]
mov r8, qword [rsp + 0x2d8]
mov edx, 4
mov rcx, qword [rsp + 0x308]
call fcn.18002bd00
mov eax, dword [rsp + 0x50]
and eax, 0x4000
test eax, eax
je 0x18002176c
mov rax, qword [rsp + 0x348]
mov rax, qword [rax + 0x240]
mov r9, qword [rax + 0x90]
mov r8, qword [rsp + 0x2d8]
mov edx, 4
mov rcx, qword [rsp + 0x308]
call fcn.18002bd00
mov eax, dword [rsp + 0x50]
and eax, 0x1000
test eax, eax
je 0x1800217a9
mov rax, qword [rsp + 0x348]
mov rax, qword [rax + 0x240]
mov r9, qword [rax + 0x98]
mov r8, qword [rsp + 0x2d8]
mov edx, 4
mov rcx, qword [rsp + 0x308]
call fcn.18002bd00
mov eax, dword [rsp + 0x50]
and eax, 1
test eax, eax
je 0x1800217e4
mov rax, qword [rsp + 0x348]
mov rax, qword [rax + 0x240]
mov r9, qword [rax + 0xa0]
mov r8, qword [rsp + 0x2d8]
mov edx, 4
mov rcx, qword [rsp + 0x308]
call fcn.18002bd00
mov eax, dword [rsp + 0x50]
and eax, 0x200
test eax, eax
je 0x180021821
mov rax, qword [rsp + 0x348]
mov rax, qword [rax + 0x240]
mov r9, qword [rax + 0xa8]
mov r8, qword [rsp + 0x2d8]
mov edx, 4
mov rcx, qword [rsp + 0x308]
call fcn.18002bd00
mov eax, dword [rsp + 0x50]
and eax, 0x100
test eax, eax
je 0x18002185e
mov rax, qword [rsp + 0x348]
mov rax, qword [rax + 0x240]
mov r9, qword [rax + 0xb0]
mov r8, qword [rsp + 0x2d8]
mov edx, 4
mov rcx, qword [rsp + 0x308]
call fcn.18002bd00
mov rax, qword [rsp + 0x2d8]
cmp qword [rax + 0x18], 0
je 0x1800218c6
mov rax, qword [rsp + 0x2d8]
cmp qword [rax + 0x28], 0
je 0x1800218c6
mov rax, qword [rsp + 0x2d8]
mov rdx, qword [rax + 0x28]
mov rax, qword [rsp + 0x2d8]
mov rcx, qword [rax + 0x18]
call fcn.180004cfc
test eax, eax
jne 0x1800218c6
mov rax, qword [rsp + 0x2d8]
mov rcx, qword [rax + 0x28]
call fcn.180004b4c
mov rax, qword [rsp + 0x2d8]
mov rcx, qword [rsp + 0x2d8]
mov rcx, qword [rcx + 0x18]
mov qword [rax + 0x28], rcx
mov rax, qword [rsp + 0x2d8]
cmp qword [rax + 0x18], 0
jne 0x1800218fc
mov rax, qword [rsp + 0x2d8]
cmp qword [rax + 0x28], 0
je 0x1800218fc
mov rax, qword [rsp + 0x2d8]
mov rcx, qword [rsp + 0x2d8]
mov rcx, qword [rcx + 0x28]
mov qword [rax + 0x18], rcx
mov rax, qword [rsp + 0x2d8]
cmp qword [rax + 0x18], 0
je 0x180021932
mov rax, qword [rsp + 0x2d8]
cmp qword [rax + 0x28], 0
jne 0x180021932
mov rax, qword [rsp + 0x2d8]
mov rcx, qword [rsp + 0x2d8]
mov rcx, qword [rcx + 0x18]
mov qword [rax + 0x28], rcx
mov rax, qword [rsp + 0x2d8]
cmp qword [rax + 0x20], 0
je 0x18002199a
mov rax, qword [rsp + 0x2d8]
cmp qword [rax + 0x30], 0
je 0x18002199a
mov rax, qword [rsp + 0x2d8]
mov rdx, qword [rax + 0x30]
mov rax, qword [rsp + 0x2d8]
mov rcx, qword [rax + 0x20]
call fcn.180004cfc
test eax, eax
jne 0x18002199a
mov rax, qword [rsp + 0x2d8]
mov rcx, qword [rax + 0x30]
call fcn.180004b4c
mov rax, qword [rsp + 0x2d8]
mov rcx, qword [rsp + 0x2d8]
mov rcx, qword [rcx + 0x20]
mov qword [rax + 0x30], rcx
mov rax, qword [rsp + 0x2d8]
cmp qword [rax + 0x20], 0
jne 0x1800219d0
mov rax, qword [rsp + 0x2d8]
cmp qword [rax + 0x30], 0
je 0x1800219d0
mov rax, qword [rsp + 0x2d8]
mov rcx, qword [rsp + 0x2d8]
mov rcx, qword [rcx + 0x30]
mov qword [rax + 0x20], rcx
mov rax, qword [rsp + 0x2d8]
cmp qword [rax + 0x20], 0
je 0x180021a06
mov rax, qword [rsp + 0x2d8]
cmp qword [rax + 0x30], 0
jne 0x180021a06
mov rax, qword [rsp + 0x2d8]
mov rcx, qword [rsp + 0x2d8]
mov rcx, qword [rcx + 0x20]
mov qword [rax + 0x30], rcx
mov r8, qword [rsp + 0x2d8]
mov rdx, qword [rsp + 0x348]
mov rcx, qword [rsp + 0x340]
call sym.JkDefrag.dll_public:_void___cdecl_JKDefragLib::TreeInsert_struct_DefragDataStruct____ptr64__struct_ItemStruct____ptr64____ptr64
mov qword [rsp + 0x2d8], 0
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x300]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x180020f57
mov rcx, qword [rsp + 0x300]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, qword [rsp + 0x40]
call fcn.180004b4c
cmp qword [rsp + 0x2d8], 0
je 0x180021b4c
mov rax, qword [rsp + 0x2d8]
cmp qword [rax + 0x30], 0
je 0x180021a91
mov rax, qword [rsp + 0x2d8]
mov rcx, qword [rax + 0x30]
call fcn.180004b4c
mov rax, qword [rsp + 0x2d8]
cmp qword [rax + 0x28], 0
je 0x180021ab1
mov rax, qword [rsp + 0x2d8]
mov rcx, qword [rax + 0x28]
call fcn.180004b4c
mov rax, qword [rsp + 0x2d8]
cmp qword [rax + 0x20], 0
je 0x180021ad1
mov rax, qword [rsp + 0x2d8]
mov rcx, qword [rax + 0x20]
call fcn.180004b4c
mov rax, qword [rsp + 0x2d8]
cmp qword [rax + 0x18], 0
je 0x180021af1
mov rax, qword [rsp + 0x2d8]
mov rcx, qword [rax + 0x18]
call fcn.180004b4c
mov rax, qword [rsp + 0x2d8]
cmp qword [rax + 0x60], 0
je 0x180021b3f
mov rax, qword [rsp + 0x2d8]
mov rax, qword [rax + 0x60]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x2f0], rax
mov rax, qword [rsp + 0x2d8]
mov rcx, qword [rax + 0x60]
call fcn.180004b4c
mov rax, qword [rsp + 0x2d8]
mov rcx, qword [rsp + 0x2f0]
mov qword [rax + 0x60], rcx
jmp 0x180021af1
mov rcx, qword [rsp + 0x2d8]
call fcn.180004b4c
mov rcx, qword [rsp + 0x328]
xor rcx, rsp
call fcn.1800033c0
add rsp, 0x338
ret