Function at 0x425430
Capabilities:
Check if file exists
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4b3417
mov eax, dword fs:[0]
push eax
sub esp, 0x2f0
mov eax, dword [0x4ff1a0]
xor eax, esp
mov dword [esp + 0x2e8], eax
push ebx
push esi
push edi
mov eax, dword [0x4ff1a0]
xor eax, esp
push eax
lea eax, [esp + 0x300]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
cmp dword [esi + 0x10], 0
mov edi, dword [ebp + 0xc]
je 0x42549d
mov ebx, 8
cmp dword [esi + 0x14], ebx
jb 0x42548a
mov eax, dword [esi]
jmp 0x42548c
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
sete al
test al, al
jne 0x4254a4
xor eax, eax
jmp 0x42572b
push str..
lea eax, [esp + 0x1c]
push esi
push eax
call fcn.00410b20
add esp, 0xc
mov dword [esp + 0x308], 0
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x2c], ebx
jae 0x4254d0
lea eax, [esp + 0x18]
lea ecx, [esp + 0xa4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [esp + 0x14], eax
cmp eax, 0xffffffff
je 0x4256dc
lea esp, [esp]
lea ecx, [esp + 0xd0]
push ecx
push 0x4c5a44
call fcn.00493482
add esp, 8
test eax, eax
je 0x4256b6
lea edx, [esp + 0xd0]
push edx
push 0x4c5a48
call fcn.00493482
add esp, 8
test eax, eax
je 0x4256b6
push 0x4c4f30
lea eax, [esp + 0x54]
push esi
push eax
call fcn.00410b20
mov byte [esp + 0x314], 1
lea ecx, [esp + 0xdc]
push ecx
push eax
lea edx, [esp + 0x48]
push edx
call fcn.00427210
add esp, 0x18
mov byte [esp + 0x308], 3
cmp dword [esp + 0x64], ebx
jb 0x425573
mov eax, dword [esp + 0x50]
push eax
call fcn.00490458
add esp, 4
xor ecx, ecx
test byte [esp + 0xa4], 0x10
mov dword [esp + 0x64], 7
mov dword [esp + 0x60], 0
mov word [esp + 0x50], cx
je 0x425676
cmp byte [ebp + 0x10], cl
je 0x42565a
push 0x4c4f30
lea edx, [esp + 0x70]
push esi
push edx
call fcn.00410b20
mov byte [esp + 0x314], 4
lea ecx, [esp + 0xdc]
push ecx
push eax
lea edx, [esp + 0x9c]
push edx
call fcn.00427210
add esp, 0x18
mov byte [esp + 0x308], 5
mov ecx, eax
call fcn.00425930
mov byte [esp + 0x308], 4
cmp dword [esp + 0x9c], ebx
jb 0x425602
mov eax, dword [esp + 0x88]
push eax
call fcn.00490458
add esp, 4
xor ecx, ecx
mov dword [esp + 0x9c], 7
mov dword [esp + 0x98], 0
mov word [esp + 0x88], cx
mov byte [esp + 0x308], 3
cmp dword [esp + 0x80], ebx
jb 0x425640
mov edx, dword [esp + 0x6c]
push edx
call fcn.00490458
add esp, 4
xor eax, eax
mov dword [esp + 0x80], 7
mov dword [esp + 0x7c], 0
mov word [esp + 0x6c], ax
cmp byte [ebp + 0x14], 0
je 0x425684
mov ecx, dword [ebp + 0x10]
push 1
push ecx
lea edx, [esp + 0x3c]
push edi
push edx
call fcn.00425430
add esp, 0x10
jmp 0x425684
cmp byte [ebp + 0x10], cl
jne 0x425684
lea ecx, [esp + 0x34]
call fcn.00419ee0
mov byte [esp + 0x308], 0
cmp dword [esp + 0x48], ebx
jb 0x42569f
mov eax, dword [esp + 0x34]
push eax
call fcn.00490458
add esp, 4
xor ecx, ecx
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], 0
mov word [esp + 0x34], cx
mov eax, dword [esp + 0x14]
lea edx, [esp + 0xa4]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4254f0
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [edi + 4]
sub ecx, dword [edi]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov esi, edx
shr esi, 0x1f
add esi, edx
mov dword [esp + 0x308], 0xffffffff
cmp dword [esp + 0x2c], ebx
jb 0x425712
mov edx, dword [esp + 0x18]
push edx
call fcn.00490458
add esp, 4
xor eax, eax
mov word [esp + 0x18], ax
mov eax, esi
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 7
mov ecx, dword [esp + 0x300]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2e8]
xor ecx, esp
call fcn.004911d1
mov esp, ebp
pop ebp
ret