Function at 0x404100
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x24c
push ebx
push ebp
mov ebp, dword [sym.imp.MSVCRT.DLL_strstr]
xor ebx, ebx
push esi
push edi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], ebx
mov esi, dword [esp + 0x264]
push 0x4531b8
push esi
call ebp
add esp, 8
test eax, eax
jne 0x40413e
lea edx, [esp + 0x15c]
mov edi, 0x4531bc
jmp 0x40419b
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edx, ecx
mov dword [esp + 0x10], edx
cmp byte [edx + esi], 0x5c
je 0x404163
mov al, byte [edx + esi - 1]
dec edx
cmp al, 0x5c
jne 0x404156
mov dword [esp + 0x10], edx
lea eax, [esp + 0x15c]
mov edi, esi
mov dword [esp + 0x18], eax
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + edx + 0x15d]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, dword [esp + 0x18]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x4531c0
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x15c]
push ecx
push edx
call dword [sym.imp.KERNEL32.DLL_FindFirstFileA]
mov esi, eax
test byte [esp + 0x1c], 0x10
jne 0x404267
lea eax, [esp + 0x48]
push str..ogf
push eax
call ebp
add esp, 8
test eax, eax
jne 0x40425d
lea ecx, [esp + 0x48]
push str..object
push ecx
call ebp
add esp, 8
test eax, eax
jne 0x40425d
lea edx, [esp + 0x48]
push str..msh
push edx
call ebp
add esp, 8
test eax, eax
jne 0x40425d
lea eax, [esp + 0x48]
push str..dds
push eax
call ebp
add esp, 8
test eax, eax
jne 0x40425d
lea ecx, [esp + 0x48]
push str..model
push ecx
call ebp
add esp, 8
test eax, eax
jne 0x40425d
lea edx, [esp + 0x48]
push str..mesh
push edx
call ebp
add esp, 8
test eax, eax
jne 0x40425d
lea eax, [esp + 0x48]
push str..ds2md
push eax
call ebp
add esp, 8
test eax, eax
je 0x404267
cmp ebx, dword [esp + 0x260]
je 0x404290
inc ebx
lea ecx, [esp + 0x1c]
push ecx
push esi
call dword [sym.imp.KERNEL32.DLL_FindNextFileA]
test al, al
jne 0x4041cd
dec ebx
mov dword [esp + 0x260], ebx
mov dword [0x457e60], ebx
xor ebx, ebx
jmp 0x4041b8
mov ebx, dword [esp + 0x14]
mov ecx, ebx
mov edx, dword [ebx]
call dword [edx + 0x24]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x28]
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x2c]
mov eax, dword [esp + 0x10]
lea edi, [esp + 0x48]
test eax, eax
lea edx, [esp + eax + 0x15d]
jne 0x4042c3
lea edx, [esp + 0x15c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x160]
push ecx
call fcn.00407a60
add esp, 8
mov dword [0x457c44], eax
test eax, eax
jne 0x40431e
mov ecx, dword [0x457e60]
mov eax, dword [esp + 0x260]
inc ecx
inc eax
mov dword [0x457e60], ecx
mov dword [esp + 0x260], eax
xor ebx, ebx
jmp 0x40411a
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x14]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x18]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x24c
ret 8