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

Disassembly:
push 0xffffffffffffffff
push 0x43bfb7
mov eax, dword fs:[0]
push eax
sub esp, 0x4c4
mov eax, dword [0x44a120]
xor eax, esp
mov dword [esp + 0x4bc], eax
push ebx
push esi
push edi
mov eax, dword [0x44a120]
xor eax, esp
push eax
lea eax, [esp + 0x4d4]
mov dword fs:[0], eax
mov esi, dword [esp + 0x4e4]
test esi, esi
mov eax, dword [esp + 0x4e8]
mov dword [esp + 0x10], eax
je 0x415b30
test eax, eax
je 0x415b30
push 0x208
lea eax, [esp + 0x2c2]
push 0
push eax
mov word [esp + 0x2c8], 0
call fcn.00420090
add esp, 0xc
push 0x104
lea ecx, [esp + 0x2c0]
push esi
push ecx
call fcn.0041f3cd
add esp, 0xc
test eax, eax
je 0x415b30
lea edx, [esp + 0x2bc]
lea eax, [esp + 0x34]
call fcn.00407680
mov dword [esp + 0x4dc], 0
mov eax, dword [esp + 0x38]
mov esi, 8
cmp dword [esp + 0x4c], esi
jae 0x415ab9
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x415b27
lea edx, [esp + 0x2bc]
lea eax, [esp + 0x50]
call fcn.00407680
lea edi, [esp + 0x50]
mov byte [esp + 0x4dc], 1
call fcn.00413fb0
mov ecx, 0x443ee4
mov edx, edi
call fcn.00414280
cmp dword [esp + 0x68], esi
mov eax, dword [esp + 0x54]
jae 0x415aff
lea eax, [esp + 0x54]
lea edx, [esp + 0x6c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
mov dword [esp + 0x14], ebx
cmp ebx, 0xffffffff
mov byte [esp + 0x4dc], 2
jne 0x415b59
lea esi, [esp + 0x50]
call fcn.004052b0
lea esi, [esp + 0x34]
call fcn.004052b0
xor eax, eax
mov ecx, dword [esp + 0x4d4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x4bc]
xor ecx, esp
call fcn.0041cb94
add esp, 0x4d0
ret
mov ecx, 0x443e80
lea eax, [esp + 0x98]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x415b8b
test dx, dx
je 0x415b87
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x415b8b
add eax, 4
add ecx, 4
test dx, dx
jne 0x415b65
xor eax, eax
jmp 0x415b90
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x415ca0
mov ecx, 0x443e84
lea eax, [esp + 0x98]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x415bca
test dx, dx
je 0x415bc6
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x415bca
add eax, 4
add ecx, 4
test dx, dx
jne 0x415ba4
xor eax, eax
jmp 0x415bcf
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x415ca0
test byte [esp + 0x6c], 0x10
je 0x415c52
mov esi, dword [esp + 0x4ec]
test esi, esi
je 0x415c99
lea edx, [esp + 0x2bc]
lea eax, [esp + 0x18]
call fcn.00407680
lea edi, [esp + 0x18]
mov byte [esp + 0x4dc], 3
call fcn.00413fb0
lea ecx, [esp + 0x98]
mov edx, edi
call fcn.00414280
cmp dword [esp + 0x30], 8
mov eax, dword [esp + 0x1c]
jae 0x415c2b
lea eax, [esp + 0x1c]
mov ecx, dword [esp + 0x10]
push esi
push ecx
push eax
call fcn.004159f0
add esp, 0xc
lea esi, [esp + 0x18]
mov byte [esp + 0x4dc], 2
call fcn.004052b0
lea eax, [esp + 0x6c]
push eax
jmp 0x415ca5
lea edx, [esp + 0x34]
push edx
lea esi, [esp + 0x1c]
call fcn.004076c0
mov edi, esi
mov byte [esp + 0x4dc], 4
call fcn.00413fb0
lea ecx, [esp + 0x98]
mov edx, esi
call fcn.00414280
mov ebx, dword [esp + 0x10]
mov eax, esi
call fcn.00414a60
mov byte [esp + 0x4dc], 2
call fcn.004052b0
mov ebx, dword [esp + 0x14]
lea eax, [esp + 0x6c]
push eax
jmp 0x415ca5
lea ecx, [esp + 0x6c]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x415b59
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
lea esi, [esp + 0x50]
call fcn.004052b0
lea esi, [esp + 0x34]
call fcn.004052b0
mov eax, 1
jmp 0x415b32