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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57dc9d
mov eax, dword fs:[0]
push eax
sub esp, 0x280
mov eax, dword [0x5ef220]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x28c], edx
mov eax, ecx
mov dword [ebp - 0x288], eax
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x270]
push eax
mov dword [ebp - 0x284], esi
call fcn.0040f690
push 2
push 0x5cbc30
lea ecx, [ebp - 0x270]
mov dword [ebp - 4], 0
call fcn.0040ef00
lea eax, [ebp - 0x264]
push eax
push dword [ebp - 0x270]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
or edi, 0xffffffff
cmp ebx, edi
je 0x42a361
lea ebx, [ebx]
lea eax, [ebp - 0x238]
push eax
push 0x5cbc38
call fcn.005594af
add esp, 8
test eax, eax
je 0x42a30a
lea eax, [ebp - 0x238]
push eax
push 0x5cbc3c
call fcn.005594af
add esp, 8
test eax, eax
je 0x42a30a
lea eax, [ebp - 0x238]
push eax
push str.RunGame.exe
call fcn.005594af
add esp, 8
test eax, eax
je 0x42a30a
push dword [ebp - 0x288]
lea ecx, [ebp - 0x268]
call fcn.0040f690
push dword [ebp - 0x28c]
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 1
call fcn.0040f690
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x268]
mov ecx, dword [eax - 0xc]
lea ecx, [eax + ecx*2]
cmp eax, ecx
jb 0x42a132
xor eax, eax
jmp 0x42a135
lea eax, [ecx - 2]
movzx eax, word [eax]
cmp eax, 0x5c
je 0x42a14f
cmp eax, 0x2f
je 0x42a14f
push 0x5c
lea ecx, [ebp - 0x268]
call fcn.0042ca30
lea eax, [ebp - 0x238]
lea edx, [eax + 2]
jmp 0x42a160
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42a160
sub eax, edx
lea ecx, [ebp - 0x268]
sar eax, 1
push eax
lea eax, [ebp - 0x238]
push eax
call fcn.0040ef00
test byte [ebp - 0x264], 0x10
lea eax, [ebp - 0x26c]
push 0x5c52e8
push eax
je 0x42a235
lea eax, [ebp - 0x280]
push eax
call fcn.0040f190
add esp, 0xc
lea ecx, [ebp - 0x238]
mov byte [ebp - 4], 3
push ecx
push eax
lea eax, [ebp - 0x274]
push eax
call fcn.0040f190
add esp, 0xc
push eax
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 4
call fcn.0040f0a0
mov byte [ebp - 4], 3
mov ecx, edi
mov edx, dword [ebp - 0x274]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42a1f8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
mov ecx, edi
mov edx, dword [ebp - 0x280]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42a21b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x26c]
mov ecx, dword [ebp - 0x268]
push esi
call fcn.0042a010
add esp, 4
jmp 0x42a2bc
lea eax, [ebp - 0x27c]
push eax
call fcn.0040f190
add esp, 0xc
lea ecx, [ebp - 0x238]
mov byte [ebp - 4], 5
push ecx
push eax
lea eax, [ebp - 0x278]
push eax
call fcn.0040f190
add esp, 0xc
push eax
mov ecx, esi
mov byte [ebp - 4], 6
call fcn.0040c690
mov byte [ebp - 4], 5
mov ecx, edi
mov edx, dword [ebp - 0x278]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42a28e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
mov ecx, edi
mov edx, dword [ebp - 0x27c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42a2b1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x268]
call fcn.00429f00
mov byte [ebp - 4], 1
mov esi, eax
mov edx, dword [ebp - 0x26c]
mov ecx, edi
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test esi, esi
jne 0x42a329
test ecx, ecx
jg 0x42a2e5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov ecx, edi
mov edx, dword [ebp - 0x268]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42a30c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x42a30c
xor esi, esi
lea eax, [ebp - 0x264]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x42a358
mov esi, dword [ebp - 0x284]
jmp 0x42a0a0
test ecx, ecx
jg 0x42a335
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov ecx, edi
mov edx, dword [ebp - 0x268]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42a358
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x42a363
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x270]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x42a387
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00557f7f
mov esp, ebp
pop ebp
ret