Function at 0x459a10
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x148
push ebx
push ebp
xor eax, eax
push esi
mov ebp, ecx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp + 0x14], eax
mov dword [ebp + 0x18], eax
lea eax, [esp + 0x18]
push eax
push str.Data_Files_Splash_.tga
call edi
mov esi, eax
cmp esi, 0xffffffff
je 0x459a72
mov eax, dword [ebp + 0x14]
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileA]
lea ecx, [esp + 0x18]
push ecx
inc eax
push esi
mov dword [ebp + 0x14], eax
call ebx
test eax, eax
je 0x459a69
mov ecx, dword [ebp + 0x14]
lea edx, [esp + 0x18]
push edx
inc ecx
push esi
mov dword [ebp + 0x14], ecx
call ebx
test eax, eax
jne 0x459a56
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x459a78
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileA]
lea eax, [esp + 0x18]
push eax
push str.Data_Files_Splash_.tga
call edi
mov esi, eax
cmp esi, 0xffffffff
je 0x459ab4
inc dword [ebp + 0x18]
lea ecx, [esp + 0x18]
push ecx
push esi
call ebx
test eax, eax
je 0x459aad
mov ecx, dword [ebp + 0x18]
lea edx, [esp + 0x18]
push edx
inc ecx
push esi
mov dword [ebp + 0x18], ecx
call ebx
test eax, eax
jne 0x459a9a
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp + 0x18]
add eax, dword [ebp + 0x14]
lea ecx, [eax + eax*2]
shl ecx, 4
add ecx, eax
push ecx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
lea edx, [esp + 0x18]
push edx
push str.Data_Files_Splash_.tga
mov dword [ebp + 0x2c], eax
xor ebx, ebx
call edi
mov edx, eax
cmp edx, 0xffffffff
mov dword [esp + 0x14], edx
je 0x459b94
or ecx, 0xffffffff
xor eax, eax
lea edi, [esp + 0x44]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
shr ecx, 2
mov esi, edi
mov edi, dword [ebp + 0x2c]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 0x2c]
lea eax, [esp + 0x18]
push eax
mov byte [ecx + 0x30], bl
push edx
mov ebx, 1
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x459b83
mov edx, 0x31
jmp 0x459b33
mov edx, dword [esp + 0x10]
mov esi, dword [ebp + 0x2c]
or ecx, 0xffffffff
add esi, edx
xor eax, eax
lea edi, [esp + 0x44]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov dword [esp + 0x10], esi
shr ecx, 2
mov esi, edi
mov edi, dword [esp + 0x10]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x14]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 0x2c]
mov byte [ecx + edx + 0x30], 0
add edx, 0x31
mov dword [esp + 0x10], edx
lea edx, [esp + 0x18]
push edx
push eax
inc ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x459b2f
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edi, dword [sym.imp.KERNEL32.dll_FindFirstFileA]
lea edx, [esp + 0x18]
push edx
push str.Data_Files_Splash_.tga
call edi
cmp eax, 0xffffffff
mov dword [esp + 0x14], eax
je 0x459c60
mov esi, dword [ebp + 0x2c]
or ecx, 0xffffffff
lea edx, [ebx + ebx*2]
shl edx, 4
add edx, ebx
add esi, edx
xor eax, eax
lea edi, [esp + 0x44]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
shr ecx, 2
mov dword [esp + 0x10], esi
mov esi, edi
mov edi, dword [esp + 0x10]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x14]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 0x2c]
mov byte [ecx + edx + 0x30], 1
lea edx, [esp + 0x18]
push edx
push eax
inc ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x459c55
lea edx, [ebx + ebx*2]
shl edx, 4
add edx, ebx
jmp 0x459c0c
mov edx, dword [esp + 0x10]
mov ebx, dword [ebp + 0x2c]
or ecx, 0xffffffff
add ebx, edx
xor eax, eax
lea edi, [esp + 0x44]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
shr ecx, 2
mov esi, edi
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x14]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 0x2c]
mov byte [ecx + edx + 0x30], 1
add edx, 0x31
mov dword [esp + 0x10], edx
lea edx, [esp + 0x18]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x459c08
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x148
ret