Function at 0x481490
Capabilities:
Enumerate files on windows

Disassembly:
mov eax, dword [0x795608]
sub esp, 0x500
push ebx
push ebp
xor ebp, ebp
push esi
cmp eax, ebp
push edi
je 0x4816e6
xor eax, eax
mov dword [esp + 0x10], 3
mov al, byte [0x798544]
sub eax, ebp
je 0x4814d6
dec eax
je 0x4814cc
dec eax
jne 0x4814da
mov dword [esp + 0x10], 2
jmp 0x4814da
mov dword [esp + 0x10], 1
jmp 0x4814da
mov dword [esp + 0x10], ebp
push 0x5135b8
lea eax, [esp + 0x15c]
push str._s.aud
push eax
call fcn.004b0670
add esp, 0xc
lea ecx, [esp + 0x18]
lea edx, [esp + 0x158]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebx, eax
cmp ebx, 0xffffffff
mov dword [esp + 0x14], ebx
je 0x4815d1
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x44]
push eax
push ecx
call fcn.00481700
add esp, 8
test al, al
je 0x481559
lea edi, [esp + 0x44]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x220]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov ebp, 1
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 + 0x18]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x4815ca
lea eax, [ebp + ebp*2]
lea edx, [esp + eax + 0x220]
lea ebx, [edx + eax*4]
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x44]
push eax
push ecx
call fcn.00481700
add esp, 8
test al, al
je 0x4815b2
lea edi, [esp + 0x44]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
inc ebp
rep movsb byte es:[edi], byte [esi]
add ebx, 0xf
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x18]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x481577
mov ebx, dword [esp + 0x14]
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
test ebp, ebp
jle 0x4816e6
push 0x22c0
push str.C:MsDevProjectsJuly2000codeUIManager.cpp
call fcn.00448460
xor edx, edx
or ecx, 0xffffffff
div ebp
add esp, 8
mov ebx, dword [esp + 0x514]
lea eax, [edx + edx*2]
lea edx, [esp + eax + 0x220]
lea edi, [edx + eax*4]
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, 0x795690
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push ebx
push 0x795690
call fcn.004bcbb0
add esp, 0xc
test eax, eax
jne 0x4816a2
push 0x22c2
push str.C:MsDevProjectsJuly2000codeUIManager.cpp
call fcn.00448460
xor edx, edx
add esp, 8
div ebp
lea eax, [edx + edx*2]
lea ecx, [esp + eax + 0x220]
lea edi, [ecx + eax*4]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, 0x795690
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push ebx
push 0x795690
call fcn.004bcbb0
add esp, 0xc
test eax, eax
je 0x481642
xor eax, eax
mov edi, 0x795690
mov dword [0x797a98], eax
or ecx, 0xffffffff
mov dword [0x797a9c], eax
repne scasb al, byte es:[edi]
not ecx
add ecx, 0xfffffffb
mov word [0x797aa0], ax
push ecx
push 0x795690
push 0x797a98
call fcn.004b07b0
add esp, 0xc
mov eax, 0x795690
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x500
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x500
ret