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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42a826
mov eax, dword fs:[0]
push eax
sub esp, 0x498
mov eax, dword [0x439080]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov dword [ebp - 0x48c], esi
mov edi, ecx
mov eax, dword [ebp + 8]
mov ecx, dword [edi + 0x10]
mov dword [ebp - 0x488], eax
mov eax, 0x7ffffffe
sub eax, ecx
cmp eax, 2
jb 0x402d3e
cmp dword [edi + 0x14], 7
mov eax, edi
jbe 0x402a6d
mov eax, dword [edi]
push 2
push 0x433d64
push ecx
push eax
push ecx
push dword [ebp - 0x484]
lea ecx, [ebp - 0x230]
call fcn.00409dd0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x480]
cmp dword [ebp - 0x21c], 7
lea eax, [ebp - 0x230]
push ecx
cmova eax, dword [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x484], eax
cmp eax, 0xffffffff
je 0x402ce7
mov eax, dword [ebp - 0x480]
test al, 0x16
jne 0x402bd6
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0040f5e0
add esp, 0xc
mov eax, edi
cmp dword [edi + 0x14], 7
jbe 0x402aee
mov eax, dword [edi]
lea ecx, [ebp - 0x454]
push ecx
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
test eax, eax
je 0x402cbd
cmp dword [esi + 0x10], 0
je 0x402b63
mov eax, dword [ebp - 0x48c]
cmp dword [eax + 0x14], 7
jbe 0x402b1f
mov esi, dword [eax]
lea eax, [ebp - 0x454]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
nop dword [eax]
mov cx, word [eax]
cmp cx, word [esi]
jne 0x402b56
test cx, cx
je 0x402b52
mov cx, word [eax + 2]
cmp cx, word [esi + 2]
jne 0x402b56
add eax, 4
add esi, 4
test cx, cx
jne 0x402b30
xor eax, eax
jmp 0x402b5b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x402cbd
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x4a4]
call fcn.00405af0
mov edx, dword [ebp - 0x488]
mov byte [ebp - 4], 1
mov eax, dword [edx + 4]
cmp eax, dword [edx + 8]
je 0x402bb8
movups xmm0, xmmword [ebp - 0x4a4]
mov ecx, 7
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x494]
movq qword [eax + 0x10], xmm0
xor eax, eax
add dword [edx + 4], 0x18
mov word [ebp - 0x4a4], ax
mov byte [ebp - 4], al
jmp 0x402c83
lea ecx, [ebp - 0x4a4]
push ecx
push eax
mov ecx, edx
call fcn.0040a160
mov ecx, dword [ebp - 0x490]
mov byte [ebp - 4], 0
jmp 0x402c83
cmp word [ebp - 0x454], 0x2e
jne 0x402c04
mov cx, word [ebp - 0x452]
test cx, cx
je 0x402cbd
cmp cx, 0x2e
jne 0x402c04
cmp word [ebp - 0x450], 0
je 0x402cbd
test al, 0x10
je 0x402cbd
test al, 6
jne 0x402cbd
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0040f5e0
add esp, 0xc
mov eax, edi
cmp dword [edi + 0x14], 7
jbe 0x402c34
mov eax, dword [edi]
lea ecx, [ebp - 0x454]
push ecx
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
test eax, eax
je 0x402cbd
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x4a4]
call fcn.00405af0
push dword [ebp - 0x488]
mov edx, esi
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x4a4]
call fcn.00402a10
mov byte [ebp - 4], 0
add esp, 4
mov ecx, dword [ebp - 0x490]
cmp ecx, 7
jbe 0x402cbd
mov edx, dword [ebp - 0x4a4]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x402cb3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402d43
push ecx
push edx
call fcn.0040da29
add esp, 8
mov esi, dword [ebp - 0x484]
lea eax, [ebp - 0x480]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x402ce0
mov esi, dword [ebp - 0x48c]
jmp 0x402ac0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 0x21c]
cmp ecx, 7
jbe 0x402d23
mov edx, dword [ebp - 0x230]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x402d19
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402d43
push ecx
push edx
call fcn.0040da29
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040da1b
mov esp, ebp
pop ebp
ret
call fcn.00401310
call fcn.00414476
int3