Function at 0x482660
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b6471
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.004843d0
mov ecx, dword [ebp - 0xc5c]
add ecx, 0x3ead28
call fcn.004843d0
mov ecx, dword [ebp - 0xc5c]
add ecx, 0x3ead30
call fcn.004843d0
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 0x482716
jmp 0x482884
lea ecx, [ebp - 0xcdc]
call fcn.00494e20
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.00494e00
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 0x482872
mov edx, 1
imul eax, edx, 0
mov dword [ebp - 0xc7c], eax
cmp dword [ebp - 0xc7c], 0x3e8
jae 0x4827aa
jmp 0x4827af
call fcn.0049dafa
mov ecx, dword [ebp - 0xc7c]
mov byte [ebp + ecx - 0xa10], 0
lea edx, [ebp - 0xa10]
push edx
lea ecx, [ebp - 0xcdc]
call fcn.00494c80
push 0x4c7f14
lea eax, [ebp - 0xa10]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x48286d
lea ecx, [ebp - 0xa10]
push ecx
lea ecx, [ebp - 0xcdc]
call fcn.00494c80
lea edx, [ebp - 0xa10]
push edx
lea ecx, [ebp - 0xcdc]
call fcn.00494c80
push 0x4c7f20
lea eax, [ebp - 0xa10]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x48286d
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.00484430
lea ecx, [ebp - 0xa10]
push ecx
lea ecx, [ebp - 0xcdc]
call fcn.00494c80
jmp 0x48280d
jmp 0x482777
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xcdc]
call fcn.00494e50
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 0x4828a5
jmp 0x482c02
mov ecx, dword [ebp - 0xc5c]
add ecx, 0x3ead18
call fcn.004843d0
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 0x482912
jmp 0x482b3f
mov dword [ebp - 0xc70], 1
cmp dword [ebp - 0xc70], 0
je 0x482ac6
cmp dword [ebp - 0xb50], 0x10
je 0x482aa7
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.004944b0
mov dword [ebp - 4], 1
push 4
lea ecx, [ebp - 0xcb0]
call fcn.00494a00
push 0x4c7f2c
lea ecx, [ebp - 0xcb0]
call fcn.00411210
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x482991
jmp 0x482a76
push 0x4c7f34
lea ecx, [ebp - 0xcb0]
call fcn.00411210
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x482a5f
mov ecx, 0x489f1d0
call fcn.004771e0
mov dword [ebp - 0xca0], eax
mov ecx, 0x489f1d0
call fcn.00477200
mov dword [ebp - 0xc9c], eax
mov dword [ebp - 0xc64], 0
mov dword [ebp - 0xc64], 0
jmp 0x4829f5
mov ecx, dword [ebp - 0xc64]
add ecx, 1
mov dword [ebp - 0xc64], ecx
mov edx, dword [ebp - 0xc64]
cmp edx, dword [ebp - 0xc9c]
jge 0x482a2c
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.004825a0
jmp 0x4829e6
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.00494560
jmp 0x48291c
cmp dword [ebp - 0xc80], 4
jl 0x482a76
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.004825a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xcb0]
call fcn.00494560
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 0x48291c
mov edx, dword [ebp - 0xc60]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 0xc84], 1
jge 0x482b3f
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 0x4c7f3c
lea ecx, [ebp - 0x114]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov ecx, 0x574bcd8
call fcn.00470600
push eax
lea edx, [ebp - 0x114]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x4c7f40
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
jmp 0x4828ea
mov ecx, dword [ebp - 0xc5c]
add ecx, 0x3ead10
call fcn.004843d0
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 0x482b9f
jmp 0x482c02
mov dword [ebp - 0xc88], 1
cmp dword [ebp - 0xc88], 0
je 0x482bf5
cmp dword [ebp - 0xb50], 0x10
je 0x482bd9
lea edx, [ebp - 0xb24]
push edx
mov eax, dword [ebp - 0xc5c]
add eax, 0x3ead10
push eax
mov ecx, dword [ebp - 0xc5c]
call fcn.004825a0
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 0x482ba9
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 0x482c16
jmp 0x48300a
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 0x482c68
jmp 0x48300a
mov dword [ebp - 0xc6c], 1
cmp dword [ebp - 0xc6c], 0
je 0x482e47
cmp dword [ebp - 0xb50], 0x10
je 0x482e28
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 0x482d1c
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 0x482c72
push 0x4c7f64
lea edx, [ebp - 0x420]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x482d85
mov eax, dword [ebp - 0xc68]
sub eax, 4
mov dword [ebp - 0xc8c], eax
cmp dword [ebp - 0xc8c], 0x104
jae 0x482d4f
jmp 0x482d54
call fcn.0049dafa
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.004825a0
jmp 0x482e28
cmp dword [ebp - 0xc68], 4
jl 0x482dbe
mov ecx, dword [ebp - 0xc68]
sub ecx, 4
mov dword [ebp - 0xc90], ecx
cmp dword [ebp - 0xc90], 0x104
jae 0x482dab
jmp 0x482db0
call fcn.0049dafa
mov edx, dword [ebp - 0xc90]
mov byte [ebp + edx - 0x218], 0
push 0x4c7f6c
lea eax, [ebp - 0xb24]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x482dea
push 0x4c7f70
lea ecx, [ebp - 0xb24]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x482e09
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 0x482c72
lea ecx, [ebp - 0x218]
push ecx
mov edx, dword [ebp - 0xc5c]
add edx, 0x3ead20
push edx
mov ecx, dword [ebp - 0xc5c]
call fcn.004825a0
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 0x482c72
mov edx, dword [ebp - 0xc60]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0xd24]
call fcn.004552c0
mov dword [ebp - 4], 2
lea ecx, [ebp - 0xcec]
call fcn.00494520
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.00455370
lea ecx, [ebp - 0xd24]
call fcn.004553a0
mov dword [ebp - 0xc78], eax
cmp dword [ebp - 0xc78], 0
je 0x482fde
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 0x482f5e
mov edx, dword [ebp - 0xc74]
sub edx, 4
mov dword [ebp - 0xc94], edx
cmp dword [ebp - 0xc94], 0x104
jae 0x482f4b
jmp 0x482f50
call fcn.0049dafa
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 0x482f94
lea edx, [ebp - 0x31c]
push edx
mov eax, dword [ebp - 0xc5c]
add eax, 0x3ead20
push eax
mov ecx, dword [ebp - 0xc5c]
call fcn.004825a0
jmp 0x482fc8
push str..csv
lea ecx, [ebp - 0x628]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x482fc8
lea edx, [ebp - 0x31c]
push edx
mov eax, dword [ebp - 0xc5c]
add eax, 0x3ead30
push eax
mov ecx, dword [ebp - 0xc5c]
call fcn.004825a0
lea ecx, [ebp - 0xd24]
call fcn.004553a0
mov dword [ebp - 0xc78], eax
jmp 0x482ed6
lea ecx, [ebp - 0xd24]
call fcn.00496670
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xcec]
call fcn.00494560
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd24]
call fcn.00455310
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049d708
mov esp, ebp
pop ebp
ret