Function at 0x4041c3
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x3dc
mov dword [esp], 0x8003
call sub.KERNEL32.dll_SetErrorMode
push ebx
lea eax, [ebp - 0x35c]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sub.KERNEL32.dll_FindFirstFileA
push esi
push esi
mov ebx, eax
cmp eax, 0xffffffff
jne 0x40422b
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.00403ace
jmp 0x404459
mov dword [esp + 4], 0x20000
lea eax, [ebp - 0x3a4]
mov dword [esp], eax
call fcn.0040eefc
test al, al
je 0x404459
mov dword [esp + 4], 0x20000
lea eax, [ebp - 0x398]
mov dword [esp], eax
call fcn.0040eefc
test al, al
je 0x404459
lea esi, [ebp - 0x38c]
lea edi, [ebp - 0x348]
mov dword [esp + 4], esi
mov dword [esp], edi
call sub.KERNEL32.dll_FileTimeToSystemTime
push ecx
push ecx
movzx eax, word [ebp - 0x380]
mov dword [esp + 0x20], eax
movzx eax, word [ebp - 0x382]
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
mov dword [esp + 8], 0x4108a8
mov dword [esp + 4], 0x20
lea edx, [ebp - 0x37c]
mov dword [esp], edx
mov dword [ebp - 0x3ac], edx
call fcn.004099d7
mov eax, dword [ebp - 0x35c]
test al, 0x10
mov edx, dword [ebp - 0x3ac]
je 0x404348
mov dword [esp + 0x14], edx
lea edx, [ebp - 0x330]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], eax
mov dword [esp + 8], str._d_a_s_a_s_a
mov dword [esp + 4], 0x204
lea edx, [ebp - 0x21c]
mov dword [esp], edx
mov dword [ebp - 0x3ac], edx
call fcn.004099d7
cmp eax, 0xffffffff
mov edx, dword [ebp - 0x3ac]
je 0x4043b3
mov dword [esp + 8], eax
mov dword [esp + 4], edx
lea eax, [ebp - 0x398]
jmp 0x4043ab
mov dword [esp + 0x1c], edx
mov edx, dword [ebp - 0x33c]
mov dword [esp + 0x14], edx
mov edx, dword [ebp - 0x340]
mov dword [esp + 0x18], edx
lea edx, [ebp - 0x330]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], eax
mov dword [esp + 8], str._d_a_s_a_I64u_a_s_a
mov dword [esp + 4], 0x204
lea edx, [ebp - 0x21c]
mov dword [esp], edx
mov dword [ebp - 0x3ac], edx
call fcn.004099d7
cmp eax, 0xffffffff
mov edx, dword [ebp - 0x3ac]
je 0x4043b3
mov dword [esp + 8], eax
mov dword [esp + 4], edx
lea eax, [ebp - 0x3a4]
mov dword [esp], eax
call fcn.0040efba
lea eax, [ebp - 0x35c]
mov dword [esp + 4], eax
mov dword [esp], ebx
call sub.KERNEL32.dll_FindNextFileA
push edx
push edx
test eax, eax
jne 0x404273
mov dword [esp], ebx
call sub.KERNEL32.dll_FindClose
push ebx
lea eax, [ebp - 0x3a4]
mov dword [esp + 4], eax
lea eax, [ebp - 0x398]
mov dword [esp], eax
call fcn.0040f018
test al, al
mov eax, dword [ebp + 8]
je 0x404414
mov edx, dword [ebp - 0x390]
mov dword [esp + 0xc], edx
mov edx, dword [ebp - 0x398]
mov dword [esp + 8], edx
movzx edx, byte [eax + 0x204]
jmp 0x40442b
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.00403ace
lea eax, [ebp - 0x3a4]
mov dword [esp], eax
call fcn.0040ef43
lea eax, [ebp - 0x398]
mov dword [esp], eax
call fcn.0040ef43
mov eax, dword [ebp + 8]
cmp byte [eax + 0x20c], 0
je 0x404470
lea eax, [ebp + 8]
mov dword [esp], eax
call fcn.00405186
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret