Function at 0x411a20
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x586f88
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x5eae84]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [esi + 8]
mov dword [ebp - 0x18], 0x2c0020
cmp dword [edi], 0x20424b41
mov eax, 0x44
mov dword [ebp - 0x14], 0x440044
jne 0x411a89
movzx eax, word [edi + 4]
cmp eax, 4
jae 0x411a89
mov ecx, eax
mov ax, word [edi + 6]
cmp ax, word [ebp + ecx*2 - 0x18]
jne 0x411a89
mov bl, byte [edi + 0xc]
jmp 0x411a8c
mov bl, byte [edi + 1]
cmp byte [ebp + 8], 0
jne 0x411b3a
cmp bl, 1
jne 0x411ad5
push 0x10
call dword [sym.imp.MSVCR110.dll_malloc]
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x411acb
mov ecx, edi
mov byte [ebx + 4], 0
mov dword [ebx], vtable.SQEX::TransferPcm.0
call fcn.004055b0
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], edi
mov dword [esi + 0x14], ebx
jmp 0x411bc5
xor ebx, ebx
mov dword [esi + 0x14], ebx
jmp 0x411bc5
cmp bl, 2
jne 0x411b04
push 0x20
call dword [sym.imp.MSVCR110.dll_malloc]
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x411bb9
push edi
mov ecx, eax
call fcn.00415480
jmp 0x411bbb
cmp bl, 5
jne 0x411d00
push 0x2b8
call dword [sym.imp.MSVCR110.dll_malloc]
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x411bb9
push edi
mov ecx, eax
call fcn.00415d90
jmp 0x411bbb
cmp bl, 1
jne 0x411b62
push 0x1c
call dword [sym.imp.MSVCR110.dll_malloc]
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 2
test eax, eax
je 0x411bb9
push esi
mov ecx, eax
call fcn.004151a0
jmp 0x411bbb
cmp bl, 2
jne 0x411b8a
push 0x1c
call dword [sym.imp.MSVCR110.dll_malloc]
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 3
test eax, eax
je 0x411bb9
push esi
mov ecx, eax
call fcn.00415a10
jmp 0x411bbb
cmp bl, 5
jne 0x411cb7
push 0x2c0
call dword [sym.imp.MSVCR110.dll_malloc]
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 4
test eax, eax
je 0x411bb9
push esi
mov ecx, eax
call fcn.004165c0
jmp 0x411bbb
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [esi + 0x14], eax
mov ecx, dword [esi + 0x14]
test ecx, ecx
jne 0x411c09
push str._warn_
lea eax, [ebp - 0x98]
push 0x80
push eax
call dword [sym.imp.MSVCR110.dll_strcpy_s]
push str.Create_Transfer_failed___heap_memory_insufficient
lea eax, [ebp - 0x92]
push 0x7a
push eax
call dword [sym.imp.MSVCR110.dll_sprintf_s]
add esp, 0x18
mov word [ebp + eax - 0x92], 0xa
jmp 0x411cf3
mov eax, dword [ecx]
push dword [ebp + 0xc]
call dword [eax + 0xc]
cmp eax, 3
jne 0x411c53
push str._warn_
lea eax, [ebp - 0x98]
push 0x80
push eax
call dword [sym.imp.MSVCR110.dll_strcpy_s]
push str._warn__seek_time_over
lea eax, [ebp - 0x92]
push 0x7a
push eax
call dword [sym.imp.MSVCR110.dll_sprintf_s]
add esp, 0x18
mov word [ebp + eax - 0x92], 0xa
jmp 0x411cf3
test eax, eax
je 0x411c91
push str._warn_
lea eax, [ebp - 0x98]
push 0x80
push eax
call dword [sym.imp.MSVCR110.dll_strcpy_s]
push str._Error__Voice::Initialize_transfer_initialize_failed
lea eax, [ebp - 0x92]
push 0x7a
push eax
call dword [sym.imp.MSVCR110.dll_sprintf_s]
add esp, 0x18
mov word [ebp + eax - 0x92], 0xa
jmp 0x411cf3
lea eax, [esi + 0xc]
push eax
mov ecx, edi
call fcn.004056d0
movzx eax, al
push eax
mov ecx, edi
call fcn.00405730
movzx edx, ax
lea ecx, [esi + 0x10]
call fcn.00407d80
add esp, 8
jmp 0x411d06
push str._warn_
lea eax, [ebp - 0x98]
push 0x80
push eax
call dword [sym.imp.MSVCR110.dll_strcpy_s]
movzx eax, bl
push eax
push str.akb_file_unkwon_audio_format_____d
lea eax, [ebp - 0x92]
push 0x7a
push eax
call dword [sym.imp.MSVCR110.dll_sprintf_s]
add esp, 0x1c
mov word [ebp + eax - 0x92], 0xa
lea eax, [ebp - 0x98]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov byte [esi + 0x18], 1
or al, 0xff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0057d22e
mov esp, ebp
pop ebp
ret 8