Function at 0x401120
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x1ac
push ebx
push ebp
push esi
mov esi, ecx
mov ecx, dword [esp + 0x1c0]
push edi
cmp ecx, 0x80
ja 0x40114d
pop edi
pop esi
pop ebp
mov eax, 5
pop ebx
add esp, 0x1ac
ret 8
mov ebp, dword [esp + 0x1c0]
cmp byte [ebp], 0x49
jne 0x4011b2
cmp byte [ebp + 1], 0x44
jne 0x4011b2
cmp byte [ebp + 2], 0x33
jne 0x4011b2
xor eax, eax
xor edx, edx
mov al, byte [ebp + 6]
mov dl, byte [ebp + 7]
shl eax, 7
add eax, edx
xor edx, edx
mov dl, byte [ebp + 8]
shl eax, 7
add eax, edx
xor edx, edx
mov dl, byte [ebp + 9]
shl eax, 7
lea eax, [eax + edx + 0xa]
lea edx, [eax + 0x80]
cmp ecx, edx
ja 0x4011a7
pop edi
pop esi
pop ebp
mov eax, 6
pop ebx
add esp, 0x1ac
ret 8
add ebp, eax
sub ecx, eax
mov dword [esp + 0x1c4], ecx
cmp byte [ebp], 0xff
je 0x4011ca
pop edi
pop esi
pop ebp
mov eax, 7
pop ebx
add esp, 0x1ac
ret 8
xor ebx, ebx
mov edi, 0x20
mov edx, 0x40
mov ecx, 0x60
mov eax, 0xa0
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], 0x80
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], 0xc0
mov dword [esp + 0x58], 0xe0
mov dword [esp + 0x5c], pe_nt_image_headers32
mov dword [esp + 0x60], 0x120
mov dword [esp + 0x64], 0x140
mov dword [esp + 0x68], 0x160
mov dword [esp + 0x6c], 0x180
mov dword [esp + 0x70], 0x1a0
mov dword [esp + 0x74], 0x1c0
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], edi
mov dword [esp + 0x84], 0x30
mov dword [esp + 0x88], 0x38
mov dword [esp + 0x8c], edx
mov dword [esp + 0x90], 0x50
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], 0x70
mov dword [esp + 0x9c], 0x80
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], 0xc0
mov dword [esp + 0xa8], 0xe0
mov dword [esp + 0xac], pe_nt_image_headers32
mov dword [esp + 0xb0], 0x140
mov dword [esp + 0xb4], 0x180
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xc0], edi
mov dword [esp + 0xc4], 0x28
mov dword [esp + 0xc8], 0x30
mov dword [esp + 0xcc], 0x38
mov dword [esp + 0xd0], edx
mov dword [esp + 0xd4], 0x50
mov dword [esp + 0xd8], ecx
mov dword [esp + 0xdc], 0x70
mov dword [esp + 0xe0], 0x80
mov dword [esp + 0xe4], eax
mov dword [esp + 0xe8], 0xc0
mov dword [esp + 0xec], 0xe0
mov dword [esp + 0xf0], pe_nt_image_headers32
mov dword [esp + 0xf4], 0x140
mov dword [esp + 0xf8], ebx
mov dword [esp + 0xfc], ebx
mov dword [esp + 0x100], edi
mov dword [esp + 0x104], 0x30
mov dword [esp + 0x108], 0x38
mov dword [esp + 0x10c], edx
mov dword [esp + 0x110], 0x50
mov dword [esp + 0x114], ecx
mov dword [esp + 0x118], 0x70
mov dword [esp + 0x11c], 0x80
mov dword [esp + 0x120], 0x90
mov dword [esp + 0x124], eax
mov dword [esp + 0x128], 0xb0
mov dword [esp + 0x12c], 0xc0
mov dword [esp + 0x130], 0xe0
mov dword [esp + 0x134], pe_nt_image_headers32
mov dword [esp + 0x138], ebx
mov dword [esp + 0x13c], ebx
mov dword [esp + 0x140], 8
mov dword [esp + 0x144], 0x10
mov dword [esp + 0x148], 0x18
mov dword [esp + 0x14c], edi
mov dword [esp + 0x150], 0x28
mov dword [esp + 0x154], 0x30
mov dword [esp + 0x158], 0x38
mov dword [esp + 0x15c], edx
mov dword [esp + 0x160], 0x50
mov dword [esp + 0x164], ecx
mov dword [esp + 0x168], 0x70
mov dword [esp + 0x174], eax
mov dword [esp + 0x1b4], eax
mov al, byte [ebp + 1]
mov dword [esp + 0x1a4], ecx
mov cl, al
mov dword [esp + 0x18c], edi
shr ecx, 1
and ecx, 3
mov edi, 4
sub edi, ecx
mov dword [esp + 0x16c], 0x80
cmp edi, 4
mov dword [esp + 0x170], 0x90
mov dword [esp + 0x178], ebx
mov dword [esp + 0x17c], ebx
mov dword [esp + 0x180], 8
mov dword [esp + 0x184], 0x10
mov dword [esp + 0x188], 0x18
mov dword [esp + 0x190], 0x28
mov dword [esp + 0x194], 0x30
mov dword [esp + 0x198], 0x38
mov dword [esp + 0x19c], edx
mov dword [esp + 0x1a0], 0x50
mov dword [esp + 0x1a8], 0x70
mov dword [esp + 0x1ac], 0x80
mov dword [esp + 0x1b0], 0x90
mov dword [esp + 0x1b8], ebx
mov dword [esp + 0x1c], 0xac44
mov dword [esp + 0x20], 0xbb80
mov dword [esp + 0x24], 0x7d00
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], 0x5622
mov dword [esp + 0x30], 0x5dc0
mov dword [esp + 0x34], 0x3e80
mov dword [esp + 0x38], ebx
jne 0x4015a8
push str.CAcm::Open_MP3
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x1ac
ret 8
not al
shr eax, 3
and eax, 1
xor ecx, ecx
mov cl, byte [ebp + 2]
lea edx, [edi + eax*2]
mov edi, eax
add edi, edx
mov edx, ecx
shr ecx, 2
and ecx, 3
shl edi, 4
lea eax, [ecx + eax*4]
shr edx, 4
mov ecx, dword [esp + eax*4 + 0x1c]
mov al, byte [ebp + 3]
mov dword [esp + 0x10], ecx
and al, 0xc0
add edi, edx
xor ecx, ecx
cmp al, 0xc0
mov edx, dword [esp + edi*4 - 4]
lea edi, [esi + 0x80]
setne cl
inc ecx
xor eax, eax
mov dword [esp + 0x18], ecx
mov ecx, 7
rep stosd dword es:[edi], eax
mov dword [esp + 0x14], edx
lea edx, [edx + edx*4]
stosw word es:[edi], ax
mov ax, word [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov word [esi + 0x82], ax
lea eax, [edx + edx*4]
mov dword [esi + 0x84], ecx
mov ecx, 1
lea eax, [eax + eax*4]
mov word [esi + 0x90], 0xc
shl eax, 3
cdq
and edx, 7
mov word [esi + 0x80], 0x55
add eax, edx
mov word [esi + 0x8c], cx
sar eax, 3
mov dword [esi + 0x88], eax
mov eax, dword [esp + 0x14]
mov word [esi + 0x8e], bx
mov word [esi + 0x92], cx
lea eax, [eax + eax*4]
mov dword [esi + 0x94], 2
mov word [esi + 0x9a], cx
mov word [esi + 0x9c], 0x571
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*8]
shl eax, 7
cdq
idiv dword [esp + 0x10]
mov word [esi + 0x98], ax
mov eax, dword [esp + 0x1c4]
cmp byte [eax + ebp - 0x80], 0x54
jne 0x4016b8
cmp byte [eax + ebp - 0x7f], 0x41
jne 0x4016b8
cmp byte [eax + ebp - 0x7e], 0x47
jne 0x4016b8
sub eax, 0x80
mov edx, dword [esi]
add eax, 0xfffffffc
push eax
add ebp, 4
lea eax, [esi + 0x80]
push ebp
push eax
mov ecx, esi
call dword [edx + 4]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1ac
ret 8