Function at 0x4209d6
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 0x4209f3
mov eax, 0x5f4fd8
pop edi
pop esi
pop ebx
pop ebp
jmp fcn.0049af27
xor esi, esi
inc esi
mov dword [0x5f4fd8], esi
push 0x16
pop ebx
cmp dword [eax], edi
jle 0x420a4e
push edi
push edi
call fcn.0045500f
push eax
push str._sSoundsMakeChangePennies.wav
push edi
call fcn.004391c4
push eax
call fcn.0049c158
add esp, 0x18
cmp eax, edi
je 0x420a4e
mov ecx, dword [0x5f4fd8]
mov dword [ecx*4 + 0x5f4fdc], eax
mov eax, dword [0x5f4fd8]
mov dword [eax*4 + 0x5f50a4], esi
mov eax, dword [0x5f4fd8]
mov dword [eax*4 + 0x5f5040], ebx
inc dword [0x5f4fd8]
mov eax, dword [ebp + 8]
cmp dword [eax + 4], edi
jle 0x420aa1
push edi
push edi
call fcn.0045500f
push eax
push str._sSoundsMakeChangeNickels.wav
push edi
call fcn.004391c4
push eax
call fcn.0049c158
add esp, 0x18
cmp eax, edi
je 0x420aa1
mov ecx, dword [0x5f4fd8]
mov dword [ecx*4 + 0x5f4fdc], eax
mov eax, dword [0x5f4fd8]
mov dword [eax*4 + 0x5f50a4], esi
mov eax, dword [0x5f4fd8]
mov dword [eax*4 + 0x5f5040], ebx
inc dword [0x5f4fd8]
mov eax, dword [ebp + 8]
cmp dword [eax + 8], edi
jle 0x420af4
push edi
push edi
call fcn.0045500f
push eax
push str._sSoundsMakeChangeDimes.wav
push edi
call fcn.004391c4
push eax
call fcn.0049c158
add esp, 0x18
cmp eax, edi
je 0x420af4
mov ecx, dword [0x5f4fd8]
mov dword [ecx*4 + 0x5f4fdc], eax
mov eax, dword [0x5f4fd8]
mov dword [eax*4 + 0x5f50a4], esi
mov eax, dword [0x5f4fd8]
mov dword [eax*4 + 0x5f5040], ebx
inc dword [0x5f4fd8]
mov eax, dword [ebp + 8]
cmp dword [eax + 0xc], edi
jle 0x420b47
push edi
push edi
call fcn.0045500f
push eax
push str._sSoundsMakeChangeQuarters.wav
push edi
call fcn.004391c4
push eax
call fcn.0049c158
add esp, 0x18
cmp eax, edi
je 0x420b47
mov ecx, dword [0x5f4fd8]
mov dword [ecx*4 + 0x5f4fdc], eax
mov eax, dword [0x5f4fd8]
mov dword [eax*4 + 0x5f50a4], esi
mov eax, dword [0x5f4fd8]
mov dword [eax*4 + 0x5f5040], ebx
inc dword [0x5f4fd8]
mov eax, dword [ebp + 8]
cmp dword [eax + 0x10], edi
jle 0x420b9a
push edi
push edi
call fcn.0045500f
push eax
push str._sSoundsMakeChangeHalfDollars.wav
push edi
call fcn.004391c4
push eax
call fcn.0049c158
add esp, 0x18
cmp eax, edi
je 0x420b9a
mov ecx, dword [0x5f4fd8]
mov dword [ecx*4 + 0x5f4fdc], eax
mov eax, dword [0x5f4fd8]
mov dword [eax*4 + 0x5f50a4], esi
mov eax, dword [0x5f4fd8]
mov dword [eax*4 + 0x5f5040], ebx
inc dword [0x5f4fd8]
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], edi
jle 0x420bed
push edi
push edi
call fcn.0045500f
push eax
push str._sSoundsMakeChangeFullDollars.wav
push edi
call fcn.004391c4
push eax
call fcn.0049c158
add esp, 0x18
cmp eax, edi
je 0x420bed
mov ecx, dword [0x5f4fd8]
mov dword [ecx*4 + 0x5f4fdc], eax
mov eax, dword [0x5f4fd8]
mov dword [eax*4 + 0x5f50a4], esi
mov eax, dword [0x5f4fd8]
mov dword [eax*4 + 0x5f5040], ebx
inc dword [0x5f4fd8]
mov eax, dword [ebp + 8]
cmp dword [eax + 0x18], edi
jle 0x420c40
push edi
push edi
call fcn.0045500f
push eax
push str._sSoundsMakeChangeOnes.wav
push edi
call fcn.004391c4
push eax
call fcn.0049c158
add esp, 0x18
cmp eax, edi
je 0x420c40
mov ecx, dword [0x5f4fd8]
mov dword [ecx*4 + 0x5f4fdc], eax
mov eax, dword [0x5f4fd8]
mov dword [eax*4 + 0x5f50a4], esi
mov eax, dword [0x5f4fd8]
mov dword [eax*4 + 0x5f5040], ebx
inc dword [0x5f4fd8]
mov eax, dword [ebp + 8]
cmp dword [eax + 0x1c], edi
jle 0x420c93
push edi
push edi
call fcn.0045500f
push eax
push str._sSoundsMakeChangeFives.wav
push edi
call fcn.004391c4
push eax
call fcn.0049c158
add esp, 0x18
cmp eax, edi
je 0x420c93
mov ecx, dword [0x5f4fd8]
mov dword [ecx*4 + 0x5f4fdc], eax
mov eax, dword [0x5f4fd8]
mov dword [eax*4 + 0x5f50a4], esi
mov eax, dword [0x5f4fd8]
mov dword [eax*4 + 0x5f5040], ebx
inc dword [0x5f4fd8]
mov eax, dword [ebp + 8]
cmp dword [eax + 0x20], edi
jle 0x420ce6
push edi
push edi
call fcn.0045500f
push eax
push str._sSoundsMakeChangeTens.wav
push edi
call fcn.004391c4
push eax
call fcn.0049c158
add esp, 0x18
cmp eax, edi
je 0x420ce6
mov ecx, dword [0x5f4fd8]
mov dword [ecx*4 + 0x5f4fdc], eax
mov eax, dword [0x5f4fd8]
mov dword [eax*4 + 0x5f50a4], esi
mov eax, dword [0x5f4fd8]
mov dword [eax*4 + 0x5f5040], ebx
inc dword [0x5f4fd8]
mov eax, dword [ebp + 8]
cmp dword [eax + 0x24], edi
jle 0x420d39
push edi
push edi
call fcn.0045500f
push eax
push str._sSoundsMakeChangeTwenties.wav
push edi
call fcn.004391c4
push eax
call fcn.0049c158
add esp, 0x18
cmp eax, edi
je 0x420d39
mov ecx, dword [0x5f4fd8]
mov dword [ecx*4 + 0x5f4fdc], eax
mov eax, dword [0x5f4fd8]
mov dword [eax*4 + 0x5f50a4], esi
mov eax, dword [0x5f4fd8]
mov dword [eax*4 + 0x5f5040], ebx
inc dword [0x5f4fd8]
mov eax, dword [ebp + 8]
cmp dword [eax + 0x28], edi
jle 0x420d8c
push edi
push edi
call fcn.0045500f
push eax
push str._sSoundsMakeChangeFifties.wav
push edi
call fcn.004391c4
push eax
call fcn.0049c158
add esp, 0x18
cmp eax, edi
je 0x420d8c
mov ecx, dword [0x5f4fd8]
mov dword [ecx*4 + 0x5f4fdc], eax
mov eax, dword [0x5f4fd8]
mov dword [eax*4 + 0x5f50a4], esi
mov eax, dword [0x5f4fd8]
mov dword [eax*4 + 0x5f5040], ebx
inc dword [0x5f4fd8]
mov eax, dword [ebp + 8]
cmp dword [eax + 0x2c], edi
jle 0x420ddf
push edi
push edi
call fcn.0045500f
push eax
push str._sSoundsMakeChangeHundreds.wav
push edi
call fcn.004391c4
push eax
call fcn.0049c158
add esp, 0x18
cmp eax, edi
je 0x420ddf
mov ecx, dword [0x5f4fd8]
mov dword [ecx*4 + 0x5f4fdc], eax
mov eax, dword [0x5f4fd8]
mov dword [eax*4 + 0x5f50a4], esi
mov eax, dword [0x5f4fd8]
mov dword [eax*4 + 0x5f5040], ebx
inc dword [0x5f4fd8]
cmp dword [0x5f4fd8], esi
jle 0x420f48
push edi
push edi
call fcn.0045500f
push eax
push str._sSoundsMakeChangeYouNeed.wav
push edi
call fcn.004391c4
push eax
call fcn.0049c158
mov dword [0x5f4fdc], eax
mov eax, dword [ebp + 0xc]
add esp, 0x18
cmp dword [0x5f4fd8], 2
mov dword [0x5f50a4], esi
mov dword [0x5f5040], eax
jle 0x420ea7
push edi
push edi
call fcn.0045500f
push eax
push str._sSoundsMakeChangeAnd.wav
push edi
call fcn.004391c4
push eax
call fcn.0049c158
add esp, 0x18
cmp eax, edi
je 0x420ea7
mov ecx, dword [0x5f4fd8]
mov edx, dword [ecx*4 + 0x5f4fd8]
mov dword [ecx*4 + 0x5f4fdc], edx
mov ecx, dword [0x5f4fd8]
mov edx, dword [ecx*4 + 0x5f50a0]
mov dword [ecx*4 + 0x5f50a4], edx
mov ecx, dword [0x5f4fd8]
mov dword [ecx*4 + 0x5f5040], edi
mov ecx, dword [0x5f4fd8]
mov dword [ecx*4 + 0x5f4fd8], eax
mov eax, dword [0x5f4fd8]
mov dword [eax*4 + 0x5f50a0], esi
mov eax, dword [0x5f4fd8]
mov dword [eax*4 + 0x5f503c], edi
inc dword [0x5f4fd8]
mov eax, dword [ebp + 0x10]
cmp eax, 0xa
je 0x420eeb
cmp eax, 0x14
je 0x420edc
cmp eax, 0x32
je 0x420ecd
cmp eax, 0x64
jne 0x420f3a
push edi
push edi
call fcn.0045500f
push eax
push str._sSoundsMakeChangeBillToBreak100.wav
jmp 0x420ef8
push edi
push edi
call fcn.0045500f
push eax
push str._sSoundsMakeChangeBillToBreak50.wav
jmp 0x420ef8
push edi
push edi
call fcn.0045500f
push eax
push str._sSoundsMakeChangeBillToBreak20.wav
jmp 0x420ef8
push edi
push edi
call fcn.0045500f
push eax
push str._sSoundsMakeChangeBillToBreak10.wav
push edi
call fcn.004391c4
push eax
call fcn.0049c158
add esp, 0x18
cmp eax, edi
je 0x420f3a
mov ecx, dword [0x5f4fd8]
mov dword [ecx*4 + 0x5f4fdc], eax
mov eax, dword [0x5f4fd8]
mov dword [eax*4 + 0x5f50a4], esi
mov eax, dword [0x5f4fd8]
mov dword [eax*4 + 0x5f5040], 0x4e2
inc dword [0x5f4fd8]
mov eax, 0x5f4fd8
call fcn.0049b735
mov eax, esi
jmp 0x420f4a
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret