Function at 0x404305
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x3cc
mov dword [esp], 0x8003
lea edi, [ebp - 0x35c]
call sub.KERNEL32.dll_SetErrorMode
mov eax, dword [ebp + 8]
push ebx
mov dword [esp + 4], edi
mov dword [esp], eax
call sub.KERNEL32.dll_FindFirstFileA
cmp eax, 0xffffffff
push esi
push esi
mov esi, eax
jne 0x40436d
mov eax, dword [ebp + 8]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
movzx edx, byte [eax + 0x205]
mov dword [esp + 4], edx
mov eax, dword [eax + 0x208]
mov dword [esp], eax
call fcn.00403f73
jmp 0x40458d
lea ebx, [ebp - 0x3a4]
mov dword [esp + 4], 0x8000
mov dword [esp], ebx
call fcn.00411ee0
test al, al
je 0x40458d
lea eax, [ebp - 0x398]
mov dword [esp + 4], 0x8000
mov dword [esp], eax
call fcn.00411ee0
test al, al
je 0x40458d
lea eax, [ebp - 0x38c]
mov dword [esp + 4], eax
lea eax, [ebp - 0x348]
mov dword [esp], eax
call sub.KERNEL32.dll_FileTimeToSystemTime
movzx eax, word [ebp - 0x380]
lea edx, [ebp - 0x37c]
mov dword [ebp - 0x3ac], edx
push ecx
push ecx
mov dword [esp + 0x20], eax
movzx eax, word [ebp - 0x382]
mov dword [esp], edx
mov dword [esp + 8], 0x41396c
mov dword [esp + 4], 0x20
mov dword [esp + 0x1c], eax
movzx eax, word [ebp - 0x384]
mov dword [esp + 0x18], eax
movzx eax, word [ebp - 0x38c]
mov dword [esp + 0x14], eax
movzx eax, word [ebp - 0x38a]
mov dword [esp + 0x10], eax
movzx eax, word [ebp - 0x386]
mov dword [esp + 0xc], eax
call fcn.0040afa3
mov eax, dword [ebp - 0x35c]
mov edx, dword [ebp - 0x3ac]
test al, 0x10
je 0x40448c
mov dword [esp + 0x14], edx
lea edx, [ebp - 0x330]
mov dword [esp + 0x10], edx
lea edx, [ebp - 0x21c]
mov dword [esp + 0xc], eax
mov dword [esp + 8], str._d_a_s_a_s_a
mov dword [esp + 4], 0x204
mov dword [esp], edx
mov dword [ebp - 0x3ac], edx
call fcn.0040afa3
test eax, eax
jle 0x4044f0
mov edx, dword [ebp - 0x3ac]
mov dword [esp + 8], eax
lea eax, [ebp - 0x398]
mov dword [esp], eax
mov dword [esp + 4], edx
jmp 0x4044eb
mov dword [esp + 0x1c], edx
mov edx, dword [ebp - 0x33c]
mov dword [esp + 0xc], eax
mov dword [esp + 8], str._d_a_s_a_I64u_a_s_a
mov dword [esp + 4], 0x204
mov dword [esp + 0x14], edx
mov edx, dword [ebp - 0x340]
mov dword [esp + 0x18], edx
lea edx, [ebp - 0x330]
mov dword [esp + 0x10], edx
lea edx, [ebp - 0x21c]
mov dword [esp], edx
mov dword [ebp - 0x3ac], edx
call fcn.0040afa3
test eax, eax
jle 0x4044f0
mov edx, dword [ebp - 0x3ac]
mov dword [esp + 8], eax
mov dword [esp], ebx
mov dword [esp + 4], edx
call fcn.00411fcc
mov dword [esp + 4], edi
mov dword [esp], esi
call sub.KERNEL32.dll_FindNextFileA
test eax, eax
push edx
push edx
jne 0x4043a9
mov dword [esp], esi
call sub.KERNEL32.dll_FindClose
push esi
lea esi, [ebp - 0x398]
mov dword [esp + 4], ebx
mov dword [esp], esi
call fcn.0041202d
test al, al
je 0x404551
mov dword [esp], esi
call fcn.004120b4
mov edx, dword [ebp + 8]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x398]
mov dword [esp + 8], eax
movzx eax, byte [edx + 0x204]
mov dword [esp + 4], eax
mov eax, dword [edx + 0x208]
jmp 0x404575
mov eax, dword [ebp + 8]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
movzx edx, byte [eax + 0x205]
mov dword [esp + 4], edx
mov eax, dword [eax + 0x208]
mov dword [esp], eax
call fcn.00403f73
mov dword [esp], ebx
call fcn.00411f25
mov dword [esp], esi
call fcn.00411f25
mov eax, dword [ebp + 8]
cmp byte [eax + 0x20c], 0
je 0x4045a4
lea eax, [ebp + 8]
mov dword [esp], eax
call fcn.00405434
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret