Function at 0x41edb4
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor edi, edi
cmp eax, edi
jne 0x41edd1
mov eax, 0x5bb150
pop edi
pop esi
pop ebx
pop ebp
jmp fcn.0047f97d
xor esi, esi
inc esi
mov dword [0x5bb150], esi
push 0x16
pop ebx
cmp dword [eax], edi
jle 0x41ee2c
push edi
push edi
call fcn.0044bd82
push eax
push str._sSoundsMakeChangePennies.wav
push edi
call fcn.004361b7
push eax
call fcn.00480b57
add esp, 0x18
cmp eax, edi
je 0x41ee2c
mov ecx, dword [0x5bb150]
mov dword [ecx*4 + 0x5bb154], eax
mov eax, dword [0x5bb150]
mov dword [eax*4 + 0x5bb21c], esi
mov eax, dword [0x5bb150]
mov dword [eax*4 + 0x5bb1b8], ebx
inc dword [0x5bb150]
mov eax, dword [ebp + 8]
cmp dword [eax + 4], edi
jle 0x41ee7f
push edi
push edi
call fcn.0044bd82
push eax
push str._sSoundsMakeChangeNickels.wav
push edi
call fcn.004361b7
push eax
call fcn.00480b57
add esp, 0x18
cmp eax, edi
je 0x41ee7f
mov ecx, dword [0x5bb150]
mov dword [ecx*4 + 0x5bb154], eax
mov eax, dword [0x5bb150]
mov dword [eax*4 + 0x5bb21c], esi
mov eax, dword [0x5bb150]
mov dword [eax*4 + 0x5bb1b8], ebx
inc dword [0x5bb150]
mov eax, dword [ebp + 8]
cmp dword [eax + 8], edi
jle 0x41eed2
push edi
push edi
call fcn.0044bd82
push eax
push str._sSoundsMakeChangeDimes.wav
push edi
call fcn.004361b7
push eax
call fcn.00480b57
add esp, 0x18
cmp eax, edi
je 0x41eed2
mov ecx, dword [0x5bb150]
mov dword [ecx*4 + 0x5bb154], eax
mov eax, dword [0x5bb150]
mov dword [eax*4 + 0x5bb21c], esi
mov eax, dword [0x5bb150]
mov dword [eax*4 + 0x5bb1b8], ebx
inc dword [0x5bb150]
mov eax, dword [ebp + 8]
cmp dword [eax + 0xc], edi
jle 0x41ef25
push edi
push edi
call fcn.0044bd82
push eax
push str._sSoundsMakeChangeQuarters.wav
push edi
call fcn.004361b7
push eax
call fcn.00480b57
add esp, 0x18
cmp eax, edi
je 0x41ef25
mov ecx, dword [0x5bb150]
mov dword [ecx*4 + 0x5bb154], eax
mov eax, dword [0x5bb150]
mov dword [eax*4 + 0x5bb21c], esi
mov eax, dword [0x5bb150]
mov dword [eax*4 + 0x5bb1b8], ebx
inc dword [0x5bb150]
mov eax, dword [ebp + 8]
cmp dword [eax + 0x10], edi
jle 0x41ef78
push edi
push edi
call fcn.0044bd82
push eax
push str._sSoundsMakeChangeHalfDollars.wav
push edi
call fcn.004361b7
push eax
call fcn.00480b57
add esp, 0x18
cmp eax, edi
je 0x41ef78
mov ecx, dword [0x5bb150]
mov dword [ecx*4 + 0x5bb154], eax
mov eax, dword [0x5bb150]
mov dword [eax*4 + 0x5bb21c], esi
mov eax, dword [0x5bb150]
mov dword [eax*4 + 0x5bb1b8], ebx
inc dword [0x5bb150]
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], edi
jle 0x41efcb
push edi
push edi
call fcn.0044bd82
push eax
push str._sSoundsMakeChangeFullDollars.wav
push edi
call fcn.004361b7
push eax
call fcn.00480b57
add esp, 0x18
cmp eax, edi
je 0x41efcb
mov ecx, dword [0x5bb150]
mov dword [ecx*4 + 0x5bb154], eax
mov eax, dword [0x5bb150]
mov dword [eax*4 + 0x5bb21c], esi
mov eax, dword [0x5bb150]
mov dword [eax*4 + 0x5bb1b8], ebx
inc dword [0x5bb150]
mov eax, dword [ebp + 8]
cmp dword [eax + 0x18], edi
jle 0x41f01e
push edi
push edi
call fcn.0044bd82
push eax
push str._sSoundsMakeChangeOnes.wav
push edi
call fcn.004361b7
push eax
call fcn.00480b57
add esp, 0x18
cmp eax, edi
je 0x41f01e
mov ecx, dword [0x5bb150]
mov dword [ecx*4 + 0x5bb154], eax
mov eax, dword [0x5bb150]
mov dword [eax*4 + 0x5bb21c], esi
mov eax, dword [0x5bb150]
mov dword [eax*4 + 0x5bb1b8], ebx
inc dword [0x5bb150]
mov eax, dword [ebp + 8]
cmp dword [eax + 0x1c], edi
jle 0x41f071
push edi
push edi
call fcn.0044bd82
push eax
push str._sSoundsMakeChangeFives.wav
push edi
call fcn.004361b7
push eax
call fcn.00480b57
add esp, 0x18
cmp eax, edi
je 0x41f071
mov ecx, dword [0x5bb150]
mov dword [ecx*4 + 0x5bb154], eax
mov eax, dword [0x5bb150]
mov dword [eax*4 + 0x5bb21c], esi
mov eax, dword [0x5bb150]
mov dword [eax*4 + 0x5bb1b8], ebx
inc dword [0x5bb150]
mov eax, dword [ebp + 8]
cmp dword [eax + 0x20], edi
jle 0x41f0c4
push edi
push edi
call fcn.0044bd82
push eax
push str._sSoundsMakeChangeTens.wav
push edi
call fcn.004361b7
push eax
call fcn.00480b57
add esp, 0x18
cmp eax, edi
je 0x41f0c4
mov ecx, dword [0x5bb150]
mov dword [ecx*4 + 0x5bb154], eax
mov eax, dword [0x5bb150]
mov dword [eax*4 + 0x5bb21c], esi
mov eax, dword [0x5bb150]
mov dword [eax*4 + 0x5bb1b8], ebx
inc dword [0x5bb150]
mov eax, dword [ebp + 8]
cmp dword [eax + 0x24], edi
jle 0x41f117
push edi
push edi
call fcn.0044bd82
push eax
push str._sSoundsMakeChangeTwenties.wav
push edi
call fcn.004361b7
push eax
call fcn.00480b57
add esp, 0x18
cmp eax, edi
je 0x41f117
mov ecx, dword [0x5bb150]
mov dword [ecx*4 + 0x5bb154], eax
mov eax, dword [0x5bb150]
mov dword [eax*4 + 0x5bb21c], esi
mov eax, dword [0x5bb150]
mov dword [eax*4 + 0x5bb1b8], ebx
inc dword [0x5bb150]
mov eax, dword [ebp + 8]
cmp dword [eax + 0x28], edi
jle 0x41f16a
push edi
push edi
call fcn.0044bd82
push eax
push str._sSoundsMakeChangeFifties.wav
push edi
call fcn.004361b7
push eax
call fcn.00480b57
add esp, 0x18
cmp eax, edi
je 0x41f16a
mov ecx, dword [0x5bb150]
mov dword [ecx*4 + 0x5bb154], eax
mov eax, dword [0x5bb150]
mov dword [eax*4 + 0x5bb21c], esi
mov eax, dword [0x5bb150]
mov dword [eax*4 + 0x5bb1b8], ebx
inc dword [0x5bb150]
mov eax, dword [ebp + 8]
cmp dword [eax + 0x2c], edi
jle 0x41f1bd
push edi
push edi
call fcn.0044bd82
push eax
push str._sSoundsMakeChangeHundreds.wav
push edi
call fcn.004361b7
push eax
call fcn.00480b57
add esp, 0x18
cmp eax, edi
je 0x41f1bd
mov ecx, dword [0x5bb150]
mov dword [ecx*4 + 0x5bb154], eax
mov eax, dword [0x5bb150]
mov dword [eax*4 + 0x5bb21c], esi
mov eax, dword [0x5bb150]
mov dword [eax*4 + 0x5bb1b8], ebx
inc dword [0x5bb150]
cmp dword [0x5bb150], esi
jle 0x41f326
push edi
push edi
call fcn.0044bd82
push eax
push str._sSoundsMakeChangeYouNeed.wav
push edi
call fcn.004361b7
push eax
call fcn.00480b57
mov dword [0x5bb154], eax
mov eax, dword [ebp + 0xc]
add esp, 0x18
cmp dword [0x5bb150], 2
mov dword [0x5bb21c], esi
mov dword [0x5bb1b8], eax
jle 0x41f285
push edi
push edi
call fcn.0044bd82
push eax
push str._sSoundsMakeChangeAnd.wav
push edi
call fcn.004361b7
push eax
call fcn.00480b57
add esp, 0x18
cmp eax, edi
je 0x41f285
mov ecx, dword [0x5bb150]
mov edx, dword [ecx*4 + 0x5bb150]
mov dword [ecx*4 + 0x5bb154], edx
mov ecx, dword [0x5bb150]
mov edx, dword [ecx*4 + 0x5bb218]
mov dword [ecx*4 + 0x5bb21c], edx
mov ecx, dword [0x5bb150]
mov dword [ecx*4 + 0x5bb1b8], edi
mov ecx, dword [0x5bb150]
mov dword [ecx*4 + 0x5bb150], eax
mov eax, dword [0x5bb150]
mov dword [eax*4 + 0x5bb218], esi
mov eax, dword [0x5bb150]
mov dword [eax*4 + 0x5bb1b4], edi
inc dword [0x5bb150]
mov eax, dword [ebp + 0x10]
cmp eax, 0xa
je 0x41f2c9
cmp eax, 0x14
je 0x41f2ba
cmp eax, 0x32
je 0x41f2ab
cmp eax, 0x64
jne 0x41f318
push edi
push edi
call fcn.0044bd82
push eax
push str._sSoundsMakeChangeBillToBreak100.wav
jmp 0x41f2d6
push edi
push edi
call fcn.0044bd82
push eax
push str._sSoundsMakeChangeBillToBreak50.wav
jmp 0x41f2d6
push edi
push edi
call fcn.0044bd82
push eax
push str._sSoundsMakeChangeBillToBreak20.wav
jmp 0x41f2d6
push edi
push edi
call fcn.0044bd82
push eax
push str._sSoundsMakeChangeBillToBreak10.wav
push edi
call fcn.004361b7
push eax
call fcn.00480b57
add esp, 0x18
cmp eax, edi
je 0x41f318
mov ecx, dword [0x5bb150]
mov dword [ecx*4 + 0x5bb154], eax
mov eax, dword [0x5bb150]
mov dword [eax*4 + 0x5bb21c], esi
mov eax, dword [0x5bb150]
mov dword [eax*4 + 0x5bb1b8], 0x4e2
inc dword [0x5bb150]
mov eax, 0x5bb150
call fcn.00480136
mov eax, esi
jmp 0x41f328
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret