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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54f5e8
mov eax, dword fs:[0]
push eax
sub esp, 0x690
mov eax, dword [0x599680]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x68c], ecx
mov dword [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00402070
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x45e47f
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00401f60
jmp 0x45e694
push 0x208
push 0
lea eax, [ebp - 0x420]
push eax
call fcn.0050c560
add esp, 0xc
push 0x55628c
lea ecx, [ebp + 8]
call fcn.00402070
push eax
lea ecx, [ebp - 0x420]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea edx, [ebp - 0x688]
push edx
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x690], eax
cmp dword [ebp - 0x690], 0xffffffff
jne 0x45e4e7
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00401f60
jmp 0x45e694
lea ecx, [ebp - 0x688]
push ecx
mov edx, dword [ebp - 0x690]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x45e678
mov eax, 2
imul ecx, eax, 0
movzx edx, word [ebp + ecx - 0x65c]
cmp edx, 0x2e
jne 0x45e51a
jmp 0x45e4e7
push 0x208
push 0
lea eax, [ebp - 0x218]
push eax
call fcn.0050c560
add esp, 0xc
lea ecx, [ebp - 0x65c]
push ecx
lea ecx, [ebp + 8]
call fcn.00402070
push eax
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov eax, dword [ebp - 0x688]
and eax, 0x10
je 0x45e5b9
mov ecx, dword [ebp - 0x68c]
add ecx, 0x18
call fcn.0045e300
movzx ecx, al
test ecx, ecx
je 0x45e592
mov edx, dword [ebp - 0x68c]
mov eax, dword [edx + 0x40]
push eax
push 1
push 0
push 0
lea ecx, [ebp - 0x218]
push ecx
mov ecx, dword [ebp - 0x68c]
add ecx, 0x18
call fcn.0045e330
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x69c], esp
lea edx, [ebp - 0x218]
push edx
call fcn.00402000
mov ecx, dword [ebp - 0x68c]
call fcn.0045e420
jmp 0x45e673
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x438]
call fcn.00402000
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x438]
push ecx
mov ecx, dword [ebp - 0x68c]
call fcn.0045e880
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x438]
call fcn.00401f60
imul edx, dword [ebp - 0x66c], 0
add edx, dword [ebp - 0x668]
xor eax, eax
mov dword [ebp - 0x698], edx
mov dword [ebp - 0x694], eax
mov ecx, dword [ebp - 0x68c]
mov edx, dword [ecx + 0x10]
add edx, dword [ebp - 0x698]
mov eax, dword [ecx + 0x14]
adc eax, dword [ebp - 0x694]
mov ecx, dword [ebp - 0x68c]
mov dword [ecx + 0x10], edx
mov dword [ecx + 0x14], eax
mov ecx, dword [ebp - 0x68c]
add ecx, 0x18
call fcn.0045e300
movzx edx, al
test edx, edx
je 0x45e673
mov eax, dword [ebp - 0x68c]
mov ecx, dword [eax + 0x40]
push ecx
push 0
mov edx, dword [ebp - 0x694]
push edx
mov eax, dword [ebp - 0x698]
push eax
lea ecx, [ebp - 0x218]
push ecx
mov ecx, dword [ebp - 0x68c]
add ecx, 0x18
call fcn.0045e330
jmp 0x45e4e7
mov edx, dword [ebp - 0x690]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00401f60
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00509f60
mov esp, ebp
pop ebp
ret 0x18