Function at 0x4237a0
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x210
mov eax, dword [ecx + 0x23bc]
push ebx
push esi
xor ebx, ebx
push eax
mov dword [esp + 0x10], ebx
call fcn.00442370
mov eax, dword [str.engineeng_loop.wav]
add esp, 4
mov esi, 0x4befa4
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4237eb
test cl, cl
je 0x4237e7
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4237eb
add eax, 2
add esi, 2
test cl, cl
jne 0x4237c7
xor eax, eax
jmp 0x4237f0
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x42391f
push ebp
push edi
mov edi, 0x4a6808
xor ebp, ebp
xor eax, eax
mov cl, byte [eax + str.audio22050_]
mov byte [esp + eax + 0x18], cl
inc eax
test cl, cl
jne 0x423803
mov edi, dword [edi]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x18]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
mov edx, eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x18]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.00438ff0
add esp, 4
test al, al
jne 0x4238a9
xor eax, eax
mov cl, byte [esp + eax + 0x18]
mov byte [esp + eax + 0x11c], cl
inc eax
test cl, cl
jne 0x423854
xor eax, eax
mov cl, byte [eax + 0x787f88]
mov byte [esp + eax + 0x18], cl
inc eax
test cl, cl
jne 0x423866
lea edi, [esp + 0x11c]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x18]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
mov edx, eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 0x4a6814]
mov cx, word [ebp + 0x4a680c]
mov edx, dword [ebp + 0x4a6810]
mov esi, dword [esp + 0x14]
push eax
push ecx
lea eax, [esp + 0x20]
push edx
push eax
push esi
call fcn.004427c0
add esp, 0x14
inc esi
add ebx, 0x10
mov dword [esp + 0x14], esi
mov ebp, ebx
mov esi, 0x4befa4
mov eax, dword [ebx + 0x4a6808]
lea edi, [ebx + 0x4a6808]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x423910
test cl, cl
je 0x42390c
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x423910
add eax, 2
add esi, 2
test cl, cl
jne 0x4238ec
xor eax, eax
jmp 0x423915
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x423801
pop edi
pop ebp
push str._Loaded_Samples__n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0
push 0xd4
push str.Selection_music
push 1
call fcn.00443320
push 0
push 0x12f
push str.Rolling_Thunder
push 2
call fcn.00443320
push 0
push 0x114
push str.Power_Plant
push 3
call fcn.00443320
push 0
push 0xa1
push str.Stunts
push 4
call fcn.00443320
add esp, 0x40
push 0
push 0xfa
push str.Chilli_Racing
push 5
call fcn.00443320
push 0
push 0xfa
push str.Chilli_Racing
push 6
call fcn.00443320
push 0
push 0xfa
push str.Chilli_Racing
push 7
call fcn.00443320
push 0
push 0xfa
push str.Chilli_Racing
push 8
call fcn.00443320
add esp, 0x40
push 0
push 0xfa
push str.Chilli_Racing
push 9
call fcn.00443320
push 0
push 0xfa
push str.Chilli_Racing
push 0xa
call fcn.00443320
add esp, 0x20
pop esi
pop ebx
add esp, 0x210
ret