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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41c2e7
mov eax, dword fs:[0]
push eax
sub esp, 0x874
mov eax, dword [0x425040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov ebx, ecx
push edi
mov esi, 1
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x403da6
push ecx
mov esi, esp
mov dword [ebp - 0x87c], esp
mov dword [ebp - 0x880], esi
call fcn.00401ec0
mov ecx, eax
test ecx, ecx
je 0x40406f
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov dword [ebp - 4], 0
test edi, edi
je 0x403d14
test edi, 0xffff0000
jne 0x403cfe
movzx eax, di
mov ecx, esi
push eax
call fcn.004033f0
jmp 0x403d1f
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x403d03
sub ecx, edx
sar ecx, 1
jmp 0x403d16
xor ecx, ecx
push ecx
push edi
mov ecx, esi
call fcn.00402600
push ecx
mov dword [ebp - 4], 1
mov esi, esp
mov dword [ebp - 0x880], esi
call fcn.00401ec0
mov ecx, eax
test ecx, ecx
je 0x404079
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 2
test ebx, ebx
je 0x403d81
test ebx, 0xffff0000
jne 0x403d65
movzx eax, bx
mov ecx, esi
push eax
call fcn.004033f0
jmp 0x403d8c
mov ecx, ebx
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x403d70
sub ecx, edx
sar ecx, 1
jmp 0x403d83
xor ecx, ecx
push ecx
push ebx
mov ecx, esi
call fcn.00402600
mov byte [ebp - 4], 1
mov dword [ebp - 4], 0xffffffff
call fcn.004023d0
add esp, 8
mov esi, eax
jmp 0x404051
push 0x208
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.0040b8f0
add esp, 0xc
lea eax, [ebp - 0x878]
push 0x250
push 0
push eax
call fcn.0040b8f0
add esp, 0xc
lea eax, [ebp - 0x628]
push ebx
push str._s.
push 0x104
push eax
call fcn.00403730
add esp, 0x10
lea eax, [ebp - 0x878]
push eax
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x87c], eax
cmp eax, 0xffffffff
jne 0x403f10
push ecx
mov esi, esp
mov dword [ebp - 0x880], esp
mov dword [ebp - 0x87c], esi
call fcn.00401ec0
mov ecx, eax
test ecx, ecx
je 0x404083
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov dword [ebp - 4], 3
test edi, edi
je 0x403e71
test edi, 0xffff0000
jne 0x403e57
movzx eax, di
mov ecx, esi
push eax
call fcn.004033f0
jmp 0x403e7c
mov ecx, edi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x403e60
sub ecx, edx
sar ecx, 1
jmp 0x403e73
xor ecx, ecx
push ecx
push edi
mov ecx, esi
call fcn.00402600
push ecx
mov dword [ebp - 4], 4
mov esi, esp
mov dword [ebp - 0x87c], esi
call fcn.00401ec0
mov ecx, eax
test ecx, ecx
je 0x40408d
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 5
test ebx, ebx
je 0x403ef1
test ebx, 0xffff0000
jne 0x403ec9
movzx eax, bx
mov ecx, esi
push eax
call fcn.004033f0
mov byte [ebp - 4], 4
jmp 0x403d90
mov ecx, ebx
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x403ed0
sub ecx, edx
sar ecx, 1
push ecx
push ebx
mov ecx, esi
call fcn.00402600
mov byte [ebp - 4], 4
jmp 0x403d90
xor ecx, ecx
push ecx
push ebx
mov ecx, esi
call fcn.00402600
mov byte [ebp - 4], 4
jmp 0x403d90
mov ecx, 0x422ba4
lea eax, [ebp - 0x84c]
nop dword [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x403f46
test dx, dx
je 0x403f42
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x403f46
add eax, 4
add ecx, 4
test dx, dx
jne 0x403f20
xor eax, eax
jmp 0x403f4b
sbb eax, eax
or eax, 1
test eax, eax
je 0x404026
mov ecx, 0x422ba8
lea eax, [ebp - 0x84c]
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x403f86
test dx, dx
je 0x403f82
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x403f86
add eax, 4
add ecx, 4
test dx, dx
jne 0x403f60
xor eax, eax
jmp 0x403f8b
sbb eax, eax
or eax, 1
test eax, eax
je 0x404026
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.0040b8f0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x208
push 0
push eax
call fcn.0040b8f0
add esp, 0xc
lea eax, [ebp - 0x84c]
push eax
push ebx
push str._s_s
lea eax, [ebp - 0x420]
push 0x104
push eax
call fcn.00403730
add esp, 0x14
lea eax, [ebp - 0x84c]
push eax
push edi
push str._s_s
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.00403730
add esp, 0x14
lea edx, [ebp - 0x218]
test byte [ebp - 0x878], 0x10
lea ecx, [ebp - 0x420]
je 0x40401d
call fcn.00403c70
jmp 0x404022
call fcn.00403750
test eax, eax
je 0x404043
lea eax, [ebp - 0x878]
push eax
push dword [ebp - 0x87c]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x403f10
jmp 0x404045
xor esi, esi
push dword [ebp - 0x87c]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040a26b
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00401d90
push 0x80004005
call fcn.00401d90
push 0x80004005
call fcn.00401d90
push 0x80004005
call fcn.00401d90
int3