Function at 0x4931fc
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 0x493219
mov eax, 0x617348
pop edi
pop esi
pop ebx
pop ebp
jmp fcn.00474de9
xor esi, esi
inc esi
mov dword [0x617348], esi
cmp dword [eax], edi
push 0x16
pop ebx
jle 0x493274
push edi
push edi
call fcn.0045aa3a
push eax
push str._sSoundsMakeChangePennies.wav
push edi
call fcn.0047822b
push eax
call fcn.0047387f
add esp, 0x18
cmp eax, edi
je 0x493274
mov ecx, dword [0x617348]
mov dword [ecx*4 + 0x61734c], eax
mov eax, dword [0x617348]
mov dword [eax*4 + 0x617414], esi
mov eax, dword [0x617348]
mov dword [eax*4 + 0x6173b0], ebx
inc dword [0x617348]
mov eax, dword [ebp + 8]
cmp dword [eax + 4], edi
jle 0x4932c7
push edi
push edi
call fcn.0045aa3a
push eax
push str._sSoundsMakeChangeNickels.wav
push edi
call fcn.0047822b
push eax
call fcn.0047387f
add esp, 0x18
cmp eax, edi
je 0x4932c7
mov ecx, dword [0x617348]
mov dword [ecx*4 + 0x61734c], eax
mov eax, dword [0x617348]
mov dword [eax*4 + 0x617414], esi
mov eax, dword [0x617348]
mov dword [eax*4 + 0x6173b0], ebx
inc dword [0x617348]
mov eax, dword [ebp + 8]
cmp dword [eax + 8], edi
jle 0x49331a
push edi
push edi
call fcn.0045aa3a
push eax
push str._sSoundsMakeChangeDimes.wav
push edi
call fcn.0047822b
push eax
call fcn.0047387f
add esp, 0x18
cmp eax, edi
je 0x49331a
mov ecx, dword [0x617348]
mov dword [ecx*4 + 0x61734c], eax
mov eax, dword [0x617348]
mov dword [eax*4 + 0x617414], esi
mov eax, dword [0x617348]
mov dword [eax*4 + 0x6173b0], ebx
inc dword [0x617348]
mov eax, dword [ebp + 8]
cmp dword [eax + 0xc], edi
jle 0x49336d
push edi
push edi
call fcn.0045aa3a
push eax
push str._sSoundsMakeChangeQuarters.wav
push edi
call fcn.0047822b
push eax
call fcn.0047387f
add esp, 0x18
cmp eax, edi
je 0x49336d
mov ecx, dword [0x617348]
mov dword [ecx*4 + 0x61734c], eax
mov eax, dword [0x617348]
mov dword [eax*4 + 0x617414], esi
mov eax, dword [0x617348]
mov dword [eax*4 + 0x6173b0], ebx
inc dword [0x617348]
mov eax, dword [ebp + 8]
cmp dword [eax + 0x10], edi
jle 0x4933c0
push edi
push edi
call fcn.0045aa3a
push eax
push str._sSoundsMakeChangeHalfDollars.wav
push edi
call fcn.0047822b
push eax
call fcn.0047387f
add esp, 0x18
cmp eax, edi
je 0x4933c0
mov ecx, dword [0x617348]
mov dword [ecx*4 + 0x61734c], eax
mov eax, dword [0x617348]
mov dword [eax*4 + 0x617414], esi
mov eax, dword [0x617348]
mov dword [eax*4 + 0x6173b0], ebx
inc dword [0x617348]
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], edi
jle 0x493413
push edi
push edi
call fcn.0045aa3a
push eax
push str._sSoundsMakeChangeFullDollars.wav
push edi
call fcn.0047822b
push eax
call fcn.0047387f
add esp, 0x18
cmp eax, edi
je 0x493413
mov ecx, dword [0x617348]
mov dword [ecx*4 + 0x61734c], eax
mov eax, dword [0x617348]
mov dword [eax*4 + 0x617414], esi
mov eax, dword [0x617348]
mov dword [eax*4 + 0x6173b0], ebx
inc dword [0x617348]
mov eax, dword [ebp + 8]
cmp dword [eax + 0x18], edi
jle 0x493466
push edi
push edi
call fcn.0045aa3a
push eax
push str._sSoundsMakeChangeOnes.wav
push edi
call fcn.0047822b
push eax
call fcn.0047387f
add esp, 0x18
cmp eax, edi
je 0x493466
mov ecx, dword [0x617348]
mov dword [ecx*4 + 0x61734c], eax
mov eax, dword [0x617348]
mov dword [eax*4 + 0x617414], esi
mov eax, dword [0x617348]
mov dword [eax*4 + 0x6173b0], ebx
inc dword [0x617348]
mov eax, dword [ebp + 8]
cmp dword [eax + 0x1c], edi
jle 0x4934b9
push edi
push edi
call fcn.0045aa3a
push eax
push str._sSoundsMakeChangeFives.wav
push edi
call fcn.0047822b
push eax
call fcn.0047387f
add esp, 0x18
cmp eax, edi
je 0x4934b9
mov ecx, dword [0x617348]
mov dword [ecx*4 + 0x61734c], eax
mov eax, dword [0x617348]
mov dword [eax*4 + 0x617414], esi
mov eax, dword [0x617348]
mov dword [eax*4 + 0x6173b0], ebx
inc dword [0x617348]
mov eax, dword [ebp + 8]
cmp dword [eax + 0x20], edi
jle 0x49350c
push edi
push edi
call fcn.0045aa3a
push eax
push str._sSoundsMakeChangeTens.wav
push edi
call fcn.0047822b
push eax
call fcn.0047387f
add esp, 0x18
cmp eax, edi
je 0x49350c
mov ecx, dword [0x617348]
mov dword [ecx*4 + 0x61734c], eax
mov eax, dword [0x617348]
mov dword [eax*4 + 0x617414], esi
mov eax, dword [0x617348]
mov dword [eax*4 + 0x6173b0], ebx
inc dword [0x617348]
mov eax, dword [ebp + 8]
cmp dword [eax + 0x24], edi
jle 0x49355f
push edi
push edi
call fcn.0045aa3a
push eax
push str._sSoundsMakeChangeTwenties.wav
push edi
call fcn.0047822b
push eax
call fcn.0047387f
add esp, 0x18
cmp eax, edi
je 0x49355f
mov ecx, dword [0x617348]
mov dword [ecx*4 + 0x61734c], eax
mov eax, dword [0x617348]
mov dword [eax*4 + 0x617414], esi
mov eax, dword [0x617348]
mov dword [eax*4 + 0x6173b0], ebx
inc dword [0x617348]
mov eax, dword [ebp + 8]
cmp dword [eax + 0x28], edi
jle 0x4935b2
push edi
push edi
call fcn.0045aa3a
push eax
push str._sSoundsMakeChangeFifties.wav
push edi
call fcn.0047822b
push eax
call fcn.0047387f
add esp, 0x18
cmp eax, edi
je 0x4935b2
mov ecx, dword [0x617348]
mov dword [ecx*4 + 0x61734c], eax
mov eax, dword [0x617348]
mov dword [eax*4 + 0x617414], esi
mov eax, dword [0x617348]
mov dword [eax*4 + 0x6173b0], ebx
inc dword [0x617348]
mov eax, dword [ebp + 8]
cmp dword [eax + 0x2c], edi
jle 0x493605
push edi
push edi
call fcn.0045aa3a
push eax
push str._sSoundsMakeChangeHundreds.wav
push edi
call fcn.0047822b
push eax
call fcn.0047387f
add esp, 0x18
cmp eax, edi
je 0x493605
mov ecx, dword [0x617348]
mov dword [ecx*4 + 0x61734c], eax
mov eax, dword [0x617348]
mov dword [eax*4 + 0x617414], esi
mov eax, dword [0x617348]
mov dword [eax*4 + 0x6173b0], ebx
inc dword [0x617348]
cmp dword [0x617348], esi
jle 0x493770
push edi
push edi
call fcn.0045aa3a
push eax
push str._sSoundsMakeChangeYouNeed.wav
push edi
call fcn.0047822b
push eax
call fcn.0047387f
mov dword [0x61734c], eax
mov eax, dword [ebp + 0xc]
add esp, 0x18
cmp dword [0x617348], 2
mov dword [0x617414], esi
mov dword [0x6173b0], eax
jle 0x4936cf
push edi
push edi
call fcn.0045aa3a
push eax
push str._sSoundsMakeChangeAnd.wav
push edi
call fcn.0047822b
push eax
call fcn.0047387f
add esp, 0x18
cmp eax, edi
je 0x4936cf
mov ecx, dword [0x617348]
shl ecx, 2
mov edx, dword [ecx + 0x617348]
mov dword [ecx + 0x61734c], edx
mov ecx, dword [0x617348]
shl ecx, 2
mov edx, dword [ecx + 0x617410]
mov dword [ecx + 0x617414], edx
mov ecx, dword [0x617348]
mov dword [ecx*4 + 0x6173b0], edi
mov ecx, dword [0x617348]
mov dword [ecx*4 + 0x617348], eax
mov eax, dword [0x617348]
mov dword [eax*4 + 0x617410], esi
mov eax, dword [0x617348]
mov dword [eax*4 + 0x6173ac], edi
inc dword [0x617348]
mov eax, dword [ebp + 0x10]
cmp eax, 0xa
je 0x493713
cmp eax, 0x14
je 0x493704
cmp eax, 0x32
je 0x4936f5
cmp eax, 0x64
jne 0x493762
push edi
push edi
call fcn.0045aa3a
push eax
push str._sSoundsMakeChangeBillToBreak100.wav
jmp 0x493720
push edi
push edi
call fcn.0045aa3a
push eax
push str._sSoundsMakeChangeBillToBreak50.wav
jmp 0x493720
push edi
push edi
call fcn.0045aa3a
push eax
push str._sSoundsMakeChangeBillToBreak20.wav
jmp 0x493720
push edi
push edi
call fcn.0045aa3a
push eax
push str._sSoundsMakeChangeBillToBreak10.wav
push edi
call fcn.0047822b
push eax
call fcn.0047387f
add esp, 0x18
cmp eax, edi
je 0x493762
mov ecx, dword [0x617348]
mov dword [ecx*4 + 0x61734c], eax
mov eax, dword [0x617348]
mov dword [eax*4 + 0x617414], esi
mov eax, dword [0x617348]
mov dword [eax*4 + 0x6173b0], 0x4e2
inc dword [0x617348]
mov eax, 0x617348
call fcn.00474d66
mov eax, esi
jmp 0x493772
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret