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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x437e40
mov eax, dword fs:[0]
push eax
sub esp, 0x68c
mov eax, dword [0x4493b4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x68c], ecx
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x688], 0xffffffff
mov dword [ebp - 4], 0
test esi, esi
je 0x403c29
test edi, edi
je 0x403c29
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x403983
sub eax, edx
je 0x403c29
mov eax, edi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4039a0
sub eax, edx
je 0x403c29
push 0x104
push 0
lea eax, [ebp - 0x120]
push eax
call fcn.00423cc0
add esp, 0xc
push 0x104
push 0
lea ecx, [ebp - 0x228]
push ecx
call fcn.00423cc0
add esp, 0xc
push esi
push 0x104
lea edx, [ebp - 0x120]
push edx
call fcn.00422999
add esp, 0xc
push edi
push 0x104
lea eax, [ebp - 0x228]
push eax
call fcn.00422999
add esp, 0xc
push 0x43e9c4
lea ecx, [ebp - 0x120]
call fcn.00406420
add esp, 4
mov ecx, 0x43f198
lea edx, [ebp - 0x120]
call fcn.004065b0
push 0x43e9c4
lea ecx, [ebp - 0x228]
call fcn.00406420
add esp, 4
mov ecx, 0x43f198
lea edx, [ebp - 0x228]
call fcn.004065b0
lea edx, [ebp - 0x228]
call fcn.00404000
mov esi, eax
mov dword [ebp - 0x684], esi
test esi, esi
je 0x403a7b
mov dword [ebp - 0x694], esi
push 0x444850
lea ecx, [ebp - 0x694]
push ecx
call fcn.004244c5
push 0x104
push 0
lea edx, [ebp - 0x540]
push edx
call fcn.00423cc0
add esp, 0xc
lea eax, [ebp - 0x120]
push eax
push str._s.
lea edx, [ebp - 0x540]
call fcn.004048d0
add esp, 8
lea ecx, [ebp - 0x680]
push ecx
lea edx, [ebp - 0x540]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
mov dword [ebp - 0x688], edi
mov ebx, dword [ebp + 0x14]
lea ebx, [ebx]
cmp edi, 0xffffffff
je 0x403c20
lea eax, [ebp - 0x654]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x403ae2
sub eax, edx
cmp eax, 2
jne 0x403b08
cmp byte [ebp - 0x654], 0x2e
jne 0x403b08
cmp byte [ebp - 0x653], 0x2e
je 0x403bef
lea eax, [ebp - 0x654]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x403b11
sub eax, edx
cmp eax, 1
jne 0x403b2e
cmp byte [ebp - 0x654], 0x2e
je 0x403bef
push 0x104
push 0
lea eax, [ebp - 0x438]
push eax
call fcn.00423cc0
add esp, 0xc
push 0x104
push 0
lea ecx, [ebp - 0x330]
push ecx
call fcn.00423cc0
add esp, 0xc
lea edx, [ebp - 0x654]
push edx
lea eax, [ebp - 0x120]
push eax
push str._s_s
lea edx, [ebp - 0x438]
call fcn.004048d0
add esp, 0xc
lea ecx, [ebp - 0x654]
push ecx
lea edx, [ebp - 0x228]
push edx
push str._s_s
lea edx, [ebp - 0x330]
call fcn.004048d0
add esp, 0xc
test byte [ebp - 0x680], 0x10
je 0x403bd1
mov eax, dword [ebp + 0x10]
test al, al
je 0x403bd1
push ebx
push eax
lea eax, [ebp - 0x330]
push eax
lea ecx, [ebp - 0x438]
push ecx
mov ecx, dword [ebp - 0x68c]
call fcn.00403920
mov esi, eax
mov dword [ebp - 0x684], esi
jmp 0x403bef
push 0
push 1
push ebx
lea edx, [ebp - 0x330]
push edx
lea eax, [ebp - 0x438]
push eax
mov ecx, dword [ebp - 0x68c]
call fcn.00403560
lea ecx, [ebp - 0x680]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x403ad0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov dword [ebp - 0x684], esi
cmp esi, 0x12
jne 0x403c20
xor esi, esi
mov dword [ebp - 0x684], esi
mov dword [ebp - 4], 0xffffffff
jmp 0x403c6c
mov eax, 0x57
jmp 0x403c7a
cmp edi, 0xffffffff
je 0x403c78
push edi
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 - 0x14]
xor ecx, ebp
call fcn.00422383
mov esp, ebp
pop ebp
ret 0x10