Function at 0x482410
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b61e1
mov eax, dword fs:[0]
push eax
sub esp, 0xd18
mov eax, dword [0x4d0b90]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xc5c], ecx
mov ecx, dword [ebp - 0xc5c]
add ecx, 0x3ead20
call fcn.00484180
mov ecx, dword [ebp - 0xc5c]
add ecx, 0x3ead28
call fcn.00484180
mov ecx, dword [ebp - 0xc5c]
add ecx, 0x3ead30
call fcn.00484180
mov ecx, 0x489f1d0
call fcn.00411390
push eax
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push str._define.txt
lea ecx, [ebp - 0x114]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [ebp - 0xb50]
push edx
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0xc60], eax
cmp dword [ebp - 0xc60], 0xffffffff
jne 0x4824c6
jmp 0x482634
lea ecx, [ebp - 0xcdc]
call fcn.00494bb0
mov dword [ebp - 4], 0
mov ecx, 0x489f1d0
call fcn.00411390
push eax
lea ecx, [ebp - 0x114]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea edx, [ebp - 0xb24]
push edx
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea ecx, [ebp - 0x114]
push ecx
lea ecx, [ebp - 0xcdc]
call fcn.00494b90
lea ecx, [ebp - 0xcdc]
call fcn.00411250
mov dword [ebp - 0xc98], eax
lea ecx, [ebp - 0xcdc]
call fcn.00411230
cmp eax, dword [ebp - 0xc98]
jge 0x482622
mov edx, 1
imul eax, edx, 0
mov dword [ebp - 0xc7c], eax
cmp dword [ebp - 0xc7c], 0x3e8
jae 0x48255a
jmp 0x48255f
call fcn.0049d88a
mov ecx, dword [ebp - 0xc7c]
mov byte [ebp + ecx - 0xa10], 0
lea edx, [ebp - 0xa10]
push edx
lea ecx, [ebp - 0xcdc]
call fcn.00494a10
push 0x4c7ec4
lea eax, [ebp - 0xa10]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x48261d
lea ecx, [ebp - 0xa10]
push ecx
lea ecx, [ebp - 0xcdc]
call fcn.00494a10
lea edx, [ebp - 0xa10]
push edx
lea ecx, [ebp - 0xcdc]
call fcn.00494a10
push 0x4c7ed0
lea eax, [ebp - 0xa10]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x48261d
lea ecx, [ebp - 0xa10]
push ecx
lea edx, [ebp - 0xc58]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov dword [ebp - 0xb54], 0
lea eax, [ebp - 0xc58]
push eax
mov ecx, dword [ebp - 0xc5c]
add ecx, 0x3ead28
call fcn.004841e0
lea ecx, [ebp - 0xa10]
push ecx
lea ecx, [ebp - 0xcdc]
call fcn.00494a10
jmp 0x4825bd
jmp 0x482527
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xcdc]
call fcn.00494be0
mov edx, dword [ebp - 0xc60]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0xc5c]
cmp dword [eax + 0x165fa8], 4
jl 0x482655
jmp 0x4829b2
mov ecx, dword [ebp - 0xc5c]
add ecx, 0x3ead18
call fcn.00484180
mov ecx, 0x489f1d0
call fcn.00411390
push eax
lea ecx, [ebp - 0x114]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push str._cg_.
lea edx, [ebp - 0x114]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov dword [ebp - 0xc84], 0
lea eax, [ebp - 0xb50]
push eax
lea ecx, [ebp - 0x114]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0xc60], eax
cmp dword [ebp - 0xc60], 0xffffffff
jne 0x4826c2
jmp 0x4828ef
mov dword [ebp - 0xc70], 1
cmp dword [ebp - 0xc70], 0
je 0x482876
cmp dword [ebp - 0xb50], 0x10
je 0x482857
lea edx, [ebp - 0xb24]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [ebp - 0xc80], eax
push 0
lea eax, [ebp - 0xb24]
push eax
lea ecx, [ebp - 0xcb0]
call fcn.00494240
mov dword [ebp - 4], 1
push 4
lea ecx, [ebp - 0xcb0]
call fcn.00494790
push 0x4c7edc
lea ecx, [ebp - 0xcb0]
call fcn.00411210
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x482741
jmp 0x482826
push 0x4c7ee4
lea ecx, [ebp - 0xcb0]
call fcn.00411210
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x48280f
mov ecx, 0x489f1d0
call fcn.00476fa0
mov dword [ebp - 0xca0], eax
mov ecx, 0x489f1d0
call fcn.00476fc0
mov dword [ebp - 0xc9c], eax
mov dword [ebp - 0xc64], 0
mov dword [ebp - 0xc64], 0
jmp 0x4827a5
mov ecx, dword [ebp - 0xc64]
add ecx, 1
mov dword [ebp - 0xc64], ecx
mov edx, dword [ebp - 0xc64]
cmp edx, dword [ebp - 0xc9c]
jge 0x4827dc
mov eax, dword [ebp - 0xc64]
mov ecx, dword [ebp - 0xca0]
mov edx, dword [ecx + eax*4]
push edx
mov eax, dword [ebp - 0xc5c]
add eax, 0x3ead18
push eax
mov ecx, dword [ebp - 0xc5c]
call fcn.00482350
jmp 0x482796
lea ecx, [ebp - 0xb50]
push ecx
mov edx, dword [ebp - 0xc60]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov dword [ebp - 0xc70], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xcb0]
call fcn.004942f0
jmp 0x4826cc
cmp dword [ebp - 0xc80], 4
jl 0x482826
mov eax, dword [ebp - 0xc80]
mov byte [ebp + eax - 0xb28], 0
lea ecx, [ebp - 0xb24]
push ecx
mov edx, dword [ebp - 0xc5c]
add edx, 0x3ead18
push edx
mov ecx, dword [ebp - 0xc5c]
call fcn.00482350
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xcb0]
call fcn.004942f0
lea eax, [ebp - 0xb50]
push eax
mov ecx, dword [ebp - 0xc60]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov dword [ebp - 0xc70], eax
jmp 0x4826cc
mov edx, dword [ebp - 0xc60]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 0xc84], 1
jge 0x4828ef
mov dword [ebp - 0xc84], 1
mov ecx, 0x489f1d0
call fcn.00411390
push eax
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x4c7eec
lea ecx, [ebp - 0x114]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov ecx, 0x574bcd8
call fcn.004703c0
push eax
lea edx, [ebp - 0x114]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x4c7ef0
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
jmp 0x48269a
mov ecx, dword [ebp - 0xc5c]
add ecx, 0x3ead10
call fcn.00484180
mov ecx, 0x489f1d0
call fcn.00411390
push eax
lea ecx, [ebp - 0x114]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push str._movie_.
lea edx, [ebp - 0x114]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0xb50]
push eax
lea ecx, [ebp - 0x114]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0xc60], eax
cmp dword [ebp - 0xc60], 0xffffffff
jne 0x48294f
jmp 0x4829b2
mov dword [ebp - 0xc88], 1
cmp dword [ebp - 0xc88], 0
je 0x4829a5
cmp dword [ebp - 0xb50], 0x10
je 0x482989
lea edx, [ebp - 0xb24]
push edx
mov eax, dword [ebp - 0xc5c]
add eax, 0x3ead10
push eax
mov ecx, dword [ebp - 0xc5c]
call fcn.00482350
lea ecx, [ebp - 0xb50]
push ecx
mov edx, dword [ebp - 0xc60]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov dword [ebp - 0xc88], eax
jmp 0x482959
mov eax, dword [ebp - 0xc60]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 0xc5c]
cmp dword [ecx + 0x165fa8], 4
jge 0x4829c6
jmp 0x482dba
mov ecx, 0x489f1d0
call fcn.00411390
push eax
lea edx, [ebp - 0x114]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push str._voice_.
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea ecx, [ebp - 0xb50]
push ecx
lea edx, [ebp - 0x114]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0xc60], eax
cmp dword [ebp - 0xc60], 0xffffffff
jne 0x482a18
jmp 0x482dba
mov dword [ebp - 0xc6c], 1
cmp dword [ebp - 0xc6c], 0
je 0x482bf7
cmp dword [ebp - 0xb50], 0x10
je 0x482bd8
lea eax, [ebp - 0xb24]
push eax
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [ebp - 0xc68], eax
mov eax, dword [ebp - 0xc68]
lea ecx, [ebp + eax - 0xb28]
push ecx
lea edx, [ebp - 0x420]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push str..pck
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x482acc
lea ecx, [ebp - 0xb24]
push ecx
lea edx, [ebp - 0x420]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0xb50]
push eax
mov ecx, dword [ebp - 0xc60]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov dword [ebp - 0xc6c], eax
jmp 0x482a22
push 0x4c7f14
lea edx, [ebp - 0x420]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x482b35
mov eax, dword [ebp - 0xc68]
sub eax, 4
mov dword [ebp - 0xc8c], eax
cmp dword [ebp - 0xc8c], 0x104
jae 0x482aff
jmp 0x482b04
call fcn.0049d88a
mov ecx, dword [ebp - 0xc8c]
mov byte [ebp + ecx - 0x218], 0
lea edx, [ebp - 0x218]
push edx
mov eax, dword [ebp - 0xc5c]
add eax, 0x3ead30
push eax
mov ecx, dword [ebp - 0xc5c]
call fcn.00482350
jmp 0x482bd8
cmp dword [ebp - 0xc68], 4
jl 0x482b6e
mov ecx, dword [ebp - 0xc68]
sub ecx, 4
mov dword [ebp - 0xc90], ecx
cmp dword [ebp - 0xc90], 0x104
jae 0x482b5b
jmp 0x482b60
call fcn.0049d88a
mov edx, dword [ebp - 0xc90]
mov byte [ebp + edx - 0x218], 0
push 0x4c7f1c
lea eax, [ebp - 0xb24]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x482b9a
push 0x4c7f20
lea ecx, [ebp - 0xb24]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x482bb9
lea edx, [ebp - 0xb50]
push edx
mov eax, dword [ebp - 0xc60]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov dword [ebp - 0xc6c], eax
jmp 0x482a22
lea ecx, [ebp - 0x218]
push ecx
mov edx, dword [ebp - 0xc5c]
add edx, 0x3ead20
push edx
mov ecx, dword [ebp - 0xc5c]
call fcn.00482350
lea eax, [ebp - 0xb50]
push eax
mov ecx, dword [ebp - 0xc60]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov dword [ebp - 0xc6c], eax
jmp 0x482a22
mov edx, dword [ebp - 0xc60]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0xd24]
call fcn.004550b0
mov dword [ebp - 4], 2
lea ecx, [ebp - 0xcec]
call fcn.004942b0
mov byte [ebp - 4], 3
mov ecx, 0x489f1d0
call fcn.00411390
push eax
lea eax, [ebp - 0x524]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push str._voice_
lea ecx, [ebp - 0x524]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [ebp - 0x420]
push edx
lea eax, [ebp - 0x524]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea ecx, [ebp - 0x524]
push ecx
lea ecx, [ebp - 0xd24]
call fcn.00455160
lea ecx, [ebp - 0xd24]
call fcn.00455190
mov dword [ebp - 0xc78], eax
cmp dword [ebp - 0xc78], 0
je 0x482d8e
mov edx, dword [ebp - 0xc78]
push edx
lea eax, [ebp - 0x31c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [ebp - 0x31c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [ebp - 0xc74], eax
mov edx, dword [ebp - 0xc74]
lea eax, [ebp + edx - 0x320]
push eax
lea ecx, [ebp - 0x628]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
cmp dword [ebp - 0xc74], 4
jl 0x482d0e
mov edx, dword [ebp - 0xc74]
sub edx, 4
mov dword [ebp - 0xc94], edx
cmp dword [ebp - 0xc94], 0x104
jae 0x482cfb
jmp 0x482d00
call fcn.0049d88a
mov eax, dword [ebp - 0xc94]
mov byte [ebp + eax - 0x31c], 0
push str..eog
lea ecx, [ebp - 0x628]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x482d44
lea edx, [ebp - 0x31c]
push edx
mov eax, dword [ebp - 0xc5c]
add eax, 0x3ead20
push eax
mov ecx, dword [ebp - 0xc5c]
call fcn.00482350
jmp 0x482d78
push str..csv
lea ecx, [ebp - 0x628]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x482d78
lea edx, [ebp - 0x31c]
push edx
mov eax, dword [ebp - 0xc5c]
add eax, 0x3ead30
push eax
mov ecx, dword [ebp - 0xc5c]
call fcn.00482350
lea ecx, [ebp - 0xd24]
call fcn.00455190
mov dword [ebp - 0xc78], eax
jmp 0x482c86
lea ecx, [ebp - 0xd24]
call fcn.00496400
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xcec]
call fcn.004942f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd24]
call fcn.00455100
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049d498
mov esp, ebp
pop ebp
ret