Function at 0x41a600
Capabilities:
Enumerate files on windows

Disassembly:
mov al, byte [0x8320b8]
sub esp, 0x168
lea ecx, [esp + 0x28]
mov byte [str.E:Track.cda], al
push ebx
push ebp
push esi
push edi
push ecx
push str.E:Track.cda
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x41a752
mov eax, dword [0x429138]
mov edx, dword [str.TRACK_d_d.CDA]
mov dword [esp + 0x1c], eax
mov eax, dword [0x8320b8]
mov ecx, dword [0x42913c]
and eax, 0xff
xor ebx, ebx
or al, 0x20
mov dword [esp + 0x18], edx
mov dx, word [0x429140]
push ebx
sub eax, 0x61
push ebx
push eax
mov dword [esp + 0x2c], ecx
mov word [esp + 0x30], dx
call sub.AVCDROM.dll_Ordinal_54
mov edi, eax
shr edi, 0x10
mov dword [esp + 0x14], edi
je 0x41a745
mov ebp, 1
mov dword [esp + 0x10], ebx
cmp edi, ebp
jl 0x41a745
mov esi, 0x8340c9
mov ecx, dword [0x8320b8]
push ebp
and ecx, 0xff
push 7
or ecx, 0x20
sub ecx, 0x61
push ecx
call sub.AVCDROM.dll_Ordinal_54
test eax, eax
je 0x41a730
mov dl, byte [esp + 0x10]
lea edi, [esi + 0x13]
mov byte [esi - 1], dl
mov byte [esi], bl
mov byte [esi + 1], bl
mov byte [esi + 2], bl
mov dword [esi + 3], ebx
mov dword [esi + 7], ebx
push str.E:Track.cda
mov dword [esi + 0xb], ebx
push edi
mov dword [esi + 0xf], ebx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, 0x66666667
mov byte [esi + 0x16], bl
imul ebp
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, ebp
lea ecx, [edx + edx*4]
shl ecx, 1
sub eax, ecx
lea ecx, [esp + 0x18]
push eax
push edx
lea edx, [esp + 0x30]
push ecx
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [esp + 0x28]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
inc ecx
add esi, 0xb4
mov dword [esp + 0x10], ecx
inc ebp
cmp ebp, edi
jle 0x41a696
mov eax, dword [esp + 0x10]
cmp eax, ebx
jne 0x41a827
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x168
ret
xor ebx, ebx
push str.E:Track.cda
push 0x8340dc
mov dword [esp + 0x18], ebx
mov byte [0x8340c8], bl
mov byte [0x8340c9], bl
mov byte [0x8340ca], bl
mov byte [0x8340cb], bl
mov dword [0x8340cc], ebx
mov dword [0x8340d0], ebx
mov dword [0x8340d4], ebx
mov dword [0x8340d8], ebx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [esp + 0x64]
mov byte [0x8340df], bl
push ecx
push 0x8340dc
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 0x38]
push edx
push ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x41a817
mov esi, 0x8340c9
mov eax, dword [esp + 0x10]
add esi, 0xb4
inc eax
push str.E:Track.cda
mov byte [esi - 1], al
mov byte [esi], bl
mov byte [esi + 1], bl
mov byte [esi + 2], bl
mov dword [esi + 3], ebx
lea edi, [esi + 0x13]
mov dword [esi + 7], ebx
mov dword [esi + 0xb], ebx
push edi
mov dword [esp + 0x18], eax
mov dword [esi + 0xf], ebx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [esp + 0x64]
mov byte [esi + 0x16], bl
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea ecx, [esp + 0x38]
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x41a7c3
push ebp
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0x10], eax
cmp eax, ebx
mov dword [0x9123a0], eax
mov dword [0x8320ac], eax
jne 0x41a842
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x168
ret
call dword [sym.imp.USER32.dll_CreatePopupMenu]
mov edx, dword [0x82f33c]
mov ebp, dword [sym.imp.USER32.dll_LoadStringA]
push 0x20
push str.Title_No._d
push 0xc395
push edx
mov dword [0x88e0c8], eax
call ebp
mov eax, dword [0x88e0c8]
mov ecx, dword [esp + 0x17c]
push str.Title_No._d
push eax
push 0x10
push ecx
call dword [sym.imp.USER32.dll_AppendMenuA]
mov eax, dword [0x9123a0]
xor edi, edi
cmp eax, ebx
jle 0x41a8e1
mov esi, 0xea60
mov edx, dword [0x82f33c]
push 0x20
push str.Title_No._d
push 0xc396
push edx
call ebp
lea eax, [esi - 0xea5f]
push eax
push str.Title_No._d
push 0x910320
call dword [sym.imp.USER32.dll_wsprintfA]
mov ecx, dword [0x88e0c8]
add esp, 0xc
push 0x910320
push esi
push ebx
push ecx
call dword [sym.imp.USER32.dll_AppendMenuA]
mov eax, dword [0x9123a0]
inc edi
inc esi
cmp edi, eax
jl 0x41a893
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x168
ret