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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x628ae2
mov eax, dword fs:[0]
push eax
sub esp, 0x8f4
mov eax, dword [0x6b278c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x238]
call fcn.0040e4f0
mov dword [ebp - 4], 0
mov ecx, dword [0x63f3a0]
push ecx
push 0x5c
lea ecx, [ebp - 0x238]
call fcn.00431b40
mov esi, eax
lea ecx, [ebp - 0x238]
call fcn.0040ee50
sub eax, 1
cmp esi, eax
je 0x42f4aa
push 0x642468
lea ecx, [ebp - 0x238]
call fcn.0040e5b0
lea ecx, [ebp - 0x238]
call fcn.0040e5d0
push eax
push 0x64246c
lea edx, [ebp - 0x21c]
push edx
call fcn.005b50ec
add esp, 0xc
lea eax, [ebp - 0x694]
push eax
lea ecx, [ebp - 0x21c]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x698], eax
cmp dword [ebp - 0x698], 0xffffffff
je 0x42f6a0
lea edx, [ebp - 0x694]
push edx
mov eax, dword [ebp - 0x698]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov dword [ebp - 0x23c], eax
cmp dword [ebp - 0x23c], 0
jne 0x42f519
jmp 0x42f6a0
movzx ecx, word [ebp - 0x668]
cmp ecx, 0x2e
jne 0x42f527
jmp 0x42f4e4
movzx edx, word [ebp - 0x666]
test edx, edx
jne 0x42f534
jmp 0x42f4e4
movzx eax, word [ebp - 0x666]
cmp eax, 0x2e
jne 0x42f54d
movzx ecx, word [ebp - 0x664]
test ecx, ecx
jne 0x42f54d
jmp 0x42f4e4
mov edx, dword [ebp - 0x694]
and edx, 0x10
je 0x42f628
xor eax, eax
mov word [ebp - 0x8a4], ax
push 0x206
push 0
lea ecx, [ebp - 0x8a2]
push ecx
call fcn.005b4de0
add esp, 0xc
lea edx, [ebp - 0x668]
push edx
lea ecx, [ebp - 0x238]
call fcn.0040e5d0
push eax
push 0x642478
lea eax, [ebp - 0x8a4]
push eax
call fcn.005b50ec
add esp, 0x10
cmp dword [ebp + 0x14], 0
je 0x42f5dc
lea ecx, [ebp - 0x8a4]
push ecx
lea ecx, [ebp - 0x8c0]
call fcn.0040e4b0
mov byte [ebp - 4], 1
lea edx, [ebp - 0x8c0]
push edx
mov ecx, dword [ebp + 0x10]
call fcn.004161f0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x8c0]
call fcn.0040e530
cmp dword [ebp + 0x18], 0
je 0x42f626
lea eax, [ebp - 0x8a4]
push eax
lea ecx, [ebp - 0x8dc]
call fcn.0040e4b0
mov byte [ebp - 4], 2
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x8dc]
push edx
call fcn.0042f430
add esp, 0x14
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x8dc]
call fcn.0040e530
jmp 0x42f69b
mov ecx, dword [ebp + 0xc]
call fcn.0040e5d0
push eax
lea eax, [ebp - 0x668]
push eax
call fcn.0041c6e0
add esp, 8
test eax, eax
je 0x42f69b
cmp dword [ebp + 0x14], 0
jne 0x42f69b
lea ecx, [ebp - 0x668]
push ecx
lea edx, [ebp - 0x238]
push edx
lea eax, [ebp - 0x8f8]
push eax
call fcn.00432150
add esp, 0xc
mov dword [ebp - 0x8fc], eax
mov ecx, dword [ebp - 0x8fc]
mov dword [ebp - 0x900], ecx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x900]
push edx
mov ecx, dword [ebp + 0x10]
call fcn.004161f0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x8f8]
call fcn.0040e530
jmp 0x42f4e4
mov eax, dword [ebp - 0x698]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x238]
call fcn.0040e530
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005b4b30
mov esp, ebp
pop ebp
ret