Function at 0x48e150
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x9c
fldz
push ebx
push esi
mov ebx, ecx
push edi
xor edi, edi
cmp byte [ebx + 0x189], 0
mov dword [esp + 0x24], ebx
je 0x48e20b
fld dword [ebx + 0x150]
fsub dword [ebp + 8]
fstp dword [esp + 0x38]
fld dword [esp + 0x38]
fstp dword [ebx + 0x150]
fcom dword [esp + 0x38]
fnstsw ax
test ah, 0x41
jne 0x48e19e
fst dword [ebx + 0x150]
cmp dword [0x57b58c], edi
jne 0x48e20b
cmp dword [0x57b594], edi
jne 0x48e20b
mov eax, dword [0x57b4d8]
fld dword [0x544548]
fcomp dword [eax + 0x70]
fnstsw ax
test ah, 0x41
jp 0x48e20b
cmp dword [0x577b24], edi
fstp st(0)
jne 0x48e1e0
call fcn.004434ea
cmp byte [eax + 0x87], 0
mov byte [esp + 0x18], 1
je 0x48e1e5
mov byte [esp + 0x18], 0
push 0xc8
call fcn.004e0321
cmp eax, edi
pop ecx
je 0x48e202
push dword [esp + 0x18]
mov ecx, eax
push edi
call fcn.00489a1c
jmp 0x48e204
xor eax, eax
push edi
push edi
jmp 0x48fcd5
cmp byte [ebx + 0x188], 0
jne 0x48fce5
lea eax, [ebx + 0x16c]
fld dword [eax]
fadd dword [ebp + 8]
fstp dword [eax]
fcom dword [ebx + 0x158]
fnstsw ax
fld1
test ah, 0x41
jp 0x48e26f
fcom dword [ebx + 0x158]
fnstsw ax
test ah, 0x41
jne 0x48e26f
fld dword [ebp + 8]
fmul qword [0x543db0]
fadd dword [ebx + 0x158]
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fstp dword [ebx + 0x158]
fcom dword [esp + 0x18]
fnstsw ax
test ah, 0x41
jp 0x48e26f
fst dword [ebx + 0x158]
fxch st(1)
fcomp dword [ebx + 0x158]
fnstsw ax
test ah, 5
jp 0x48e2d0
fstp st(0)
call fcn.004014e2
add eax, 0x84
test byte [eax + 1], 2
jbe 0x48e2ce
cmp byte [eax + 0x108], 0
jne 0x48e2ce
cmp dword [0x57b594], edi
jne 0x48e2ce
mov eax, dword [0x57b560]
cmp eax, edi
je 0x48e2ce
cmp byte [eax + 0x6c], 0
jne 0x48e2ce
fldz
mov esi, dword [0x57b4d8]
fstp dword [eax + 0x64]
push ecx
fld dword [0x543ab8]
mov byte [eax + 0x6c], 1
fstp dword [esp]
call fcn.00453829
fld1
fcom dword [ebx + 0x158]
fnstsw ax
test ah, 0x41
jp 0x48e31e
cmp dword [0x57b594], edi
fstp st(0)
je 0x48fce7
fld dword [ebx + 0x150]
fsub dword [ebp + 8]
fstp dword [esp + 0x38]
fld dword [esp + 0x38]
fstp dword [ebx + 0x150]
fldz
fcom dword [esp + 0x38]
fnstsw ax
test ah, 0x41
jne 0x48fce5
fstp dword [ebx + 0x150]
jmp 0x48fce7
fcom dword [ebx + 0x148]
fnstsw ax
test ah, 0x41
jne 0x48e466
fld dword [ebx + 0x148]
fstp dword [esp + 0x14]
fld dword [ebp + 8]
fmul qword [0x5438f8]
fadd dword [ebx + 0x148]
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fstp dword [ebx + 0x148]
fldz
fcom dword [esp + 0x14]
fnstsw ax
test ah, 1
jne 0x48e385
fcom dword [esp + 0x18]
fnstsw ax
test ah, 5
jp 0x48e385
mov eax, dword [0x57b54c]
fst dword [eax + 0x1d0]
fst dword [eax + 0x1d4]
fst dword [eax + 0x1ec]
fxch st(1)
fcom dword [ebx + 0x148]
fnstsw ax
test ah, 0x41
jp 0x48e3b6
lea ecx, [ebx + 0x168]
fst dword [ebx + 0x148]
mov eax, dword [ecx]
cmp eax, edi
je 0x48e3b6
mov byte [eax + 0x9a], 1
mov byte [eax + 0x99], 1
mov dword [ecx], edi
fxch st(1)
fcomp dword [ebx + 0x148]
fnstsw ax
test ah, 5
jp 0x48e3f1
mov esi, dword [0x57b4d8]
fstp st(0)
fld dword [ebx + 0x148]
push ecx
fstp dword [esp]
call fcn.0040ff28
fmul qword [0x543d78]
pop ecx
fadd qword [0x543dd0]
fstp dword [esi + 0x130]
fld1
cmp dword [ebx + 0x168], edi
je 0x48e466
fstp st(0)
fld dword [ebx + 0x148]
fcomp qword [0x5439b8]
fnstsw ax
test ah, 5
jp 0x48e412
fldz
jmp 0x48e418
fld dword [ebx + 0x148]
fstp dword [esp + 0x18]
push ecx
fld dword [0x544520]
fstp dword [esp + 0x30]
fld dword [esp + 0x1c]
fstp dword [esp]
call fcn.0040ff28
fmul qword [0x543c08]
mov eax, dword [ebx + 0x168]
lea ecx, [eax + 0x3c]
mov eax, dword [ecx]
fsubr qword [0x5450a8]
push ecx
push ecx
mov edi, esp
fstp dword [esp + 0x3c]
lea esi, [esp + 0x38]
fldz
fstp dword [esp + 0x40]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax + 0x10]
xor edi, edi
fld1
fcom dword [ebx + 0x14c]
fnstsw ax
test ah, 0x41
jne 0x48e6b9
fldz
fcom dword [ebx + 0x14c]
fnstsw ax
test ah, 0x44
jp 0x48e544
fstp st(1)
push 0
fld dword [0x544520]
sub esp, 0xc
fstp dword [esp + 0x3c]
mov edi, esp
fld dword [0x54458c]
lea esi, [esp + 0x3c]
fstp dword [esp + 0x40]
push 0x541614
push str.fx_frm_puff.cug
fstp dword [esp + 0x4c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.004064de
mov ecx, eax
call fcn.00410903
fld dword [0x544520]
push 0
fstp dword [esp + 0x30]
sub esp, 0xc
fld dword [0x54458c]
mov edi, esp
fstp dword [esp + 0x40]
lea esi, [esp + 0x3c]
fldz
push 0x541614
fstp dword [esp + 0x48]
push str.fx_frm_puff.cug
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebx + 0x160], eax
movsd dword es:[edi], dword [esi]
call fcn.004064de
mov ecx, eax
call fcn.00410903
mov ecx, dword [0x57b4d8]
xor esi, esi
push esi
push esi
push 3
push dword [ebx + 0x160]
mov dword [ebx + 0x164], eax
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, dword [0x57b4d8]
mov eax, dword [ecx]
push esi
push esi
push 3
push dword [ebx + 0x164]
call dword [eax + 0x10]
fld1
xor edi, edi
jmp 0x48e546
fstp st(0)
fld dword [ebp + 8]
fmul qword [0x543d50]
fadd dword [ebx + 0x14c]
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fstp dword [ebx + 0x14c]
fcom dword [esp + 0x18]
fnstsw ax
test ah, 0x41
jp 0x48e60d
mov eax, dword [ebx + 0x160]
fstp dword [ebx + 0x14c]
cmp eax, edi
je 0x48e590
mov byte [eax + 0x9a], 1
mov byte [eax + 0x99], 1
lea eax, [ebx + 0x164]
mov ecx, dword [eax]
cmp ecx, edi
je 0x48e5aa
mov byte [ecx + 0x9a], 1
mov byte [ecx + 0x99], 1
fld dword [0x544520]
xor ecx, ecx
fstp dword [esp + 0x2c]
push ecx
fld dword [0x54458c]
sub esp, 0xc
fstp dword [esp + 0x40]
mov edi, esp
fldz
lea esi, [esp + 0x3c]
fstp dword [esp + 0x44]
push 0x541614
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push str.fx_bonus_scroll_trail.cug
mov dword [ebx + 0x160], ecx
mov dword [eax], ecx
movsd dword es:[edi], dword [esi]
call fcn.004064de
mov ecx, eax
call fcn.00410903
mov ecx, dword [0x57b4d8]
push 0
push 1
push 3
mov dword [ebx + 0x168], eax
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
fld1
xor edi, edi
cmp dword [ebx + 0x160], edi
je 0x48e6b9
cmp dword [ebx + 0x164], edi
je 0x48e6b9
fstp st(0)
push ecx
fld dword [ebx + 0x14c]
fstp dword [esp]
call fcn.0040ff28
fmul qword [0x544518]
mov eax, dword [ebx + 0x160]
lea ecx, [eax + 0x3c]
mov eax, dword [ecx]
fsubr qword [0x544510]
push ecx
push ecx
mov edi, esp
fstp dword [esp + 0x38]
lea esi, [esp + 0x38]
fld dword [0x54458c]
fstp dword [esp + 0x3c]
fldz
fstp dword [esp + 0x40]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax + 0x10]
push ecx
fld dword [ebx + 0x14c]
fstp dword [esp]
call fcn.0040ff28
fmul qword [0x544518]
mov eax, dword [ebx + 0x164]
lea ecx, [eax + 0x3c]
mov eax, dword [ecx]
fadd qword [0x544510]
push ecx
push ecx
mov edi, esp
fstp dword [esp + 0x38]
lea esi, [esp + 0x38]
fld dword [0x54458c]
fstp dword [esp + 0x3c]
fldz
fstp dword [esp + 0x40]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax + 0x10]
fld1
fcom dword [ebx + 0x150]
fnstsw ax
fld dword [0x543a34]
test ah, 0x41
jne 0x48e712
fcom dword [ebx + 0x148]
fnstsw ax
test ah, 5
jp 0x48e712
fcom dword [ebx + 0x154]
fnstsw ax
test ah, 5
jp 0x48e712
fld dword [ebp + 8]
fadd dword [ebx + 0x150]
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fstp dword [ebx + 0x150]
fxch st(1)
fcom dword [esp + 0x18]
fnstsw ax
test ah, 5
jp 0x48e714
fst dword [ebx + 0x150]
jmp 0x48e714
fxch st(1)
fcom dword [ebx + 0x124]
fnstsw ax
test ah, 0x41
jne 0x48ea54
fcom dword [ebx + 0x150]
fnstsw ax
test ah, 0x41
jp 0x48ea54
fxch st(1)
fcom dword [ebx + 0x154]
fnstsw ax
test ah, 5
jp 0x48e9dd
and dword [esp + 0x28], 0
mov eax, dword [esp + 0x28]
test eax, eax
je 0x48e76e
fld dword [0x543a30]
fcomp dword [ebx + eax*8 + 0x10c]
fnstsw ax
test ah, 5
jp 0x48e9ce
mov eax, dword [esp + 0x28]
fxch st(1)
lea edi, [ebx + eax*8 + 0x114]
fcom dword [edi]
mov dword [esp + 0x4c], edi
fnstsw ax
test ah, 0x41
jne 0x48e9cc
fld dword [edi]
fstp dword [esp + 0x14]
fld dword [ebp + 8]
fmul qword [0x543d18]
fadd dword [edi]
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fstp dword [edi]
fxch st(1)
fcom dword [esp + 0x18]
fnstsw ax
test ah, 5
jp 0x48e9bf
fcom dword [esp + 0x14]
fnstsw ax
test ah, 1
jne 0x48e9bf
push str.fxplay_fx.cug
fstp st(1)
push ecx
fstp st(0)
call fcn.004064de
pop ecx
mov ecx, eax
call fcn.00406d85
test eax, eax
mov dword [esp + 0x18], eax
je 0x48e8be
push 0xcc
call fcn.004e0321
test eax, eax
pop ecx
je 0x48e88e
fldz
mov ecx, dword [esp + 0x28]
fst dword [esp + 0x1c]
imul ecx, ecx, 0x6d
fst dword [esp + 0x20]
fld1
fst dword [esp + 0x44]
fstp dword [esp + 0x48]
fld dword [0x543a18]
fstp dword [esp + 0x38]
fld dword [0x544288]
fstp dword [esp + 0x3c]
add ecx, 0x4bf
mov dword [esp + 0x14], ecx
push 1
push ecx
fild dword [esp + 0x1c]
lea esi, [esp + 0x34]
fstp dword [esp + 0x34]
fld dword [0x5450a4]
fstp dword [esp + 0x38]
fstp dword [esp + 0x3c]
fld dword [0x543c6c]
fstp dword [esp]
push dword [esp + 0x28]
push dword [esp + 0x28]
push dword [esp + 0x58]
push dword [esp + 0x58]
push dword [esp + 0x54]
push dword [esp + 0x54]
sub esp, 0xc
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0x53f9ac
movsd dword es:[edi], dword [esi]
call fcn.0040fb4b
mov edi, dword [esp + 0x4c]
mov esi, eax
jmp 0x48e890
xor esi, esi
mov ecx, dword [esp + 0x18]
fld dword [0x543a90]
mov eax, dword [ecx]
fstp dword [esi + 0xc4]
push 0
push 0
push 0xffffffffffffffff
push esi
call dword [eax + 0x10]
mov ecx, dword [0x57b4d8]
mov eax, dword [ecx]
push 0
push 0
push 3
push esi
call dword [eax + 0x10]
cmp dword [esp + 0x28], 2
jne 0x48e9b5
cmp dword [ebx + 0x12c], 1
jne 0x48e9b5
push 0x78
call fcn.004e0321
test eax, eax
pop ecx
je 0x48e8f2
push str.start
mov ebx, eax
call fcn.0049a466
mov ebx, eax
jmp 0x48e8f4
xor ebx, ebx
fld dword [0x543fe4]
sub esp, 0x18
fstp dword [esp + 0x84]
mov edi, esp
fld dword [0x543fe0]
lea esi, [esp + 0x84]
fstp dword [esp + 0x88]
fldz
fst dword [esp + 0x8c]
fld dword [0x543ec0]
fstp dword [esp + 0x14]
fld dword [0x543c88]
fstp dword [esp + 0x10]
fstp dword [esp + 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 1
movsd dword es:[edi], dword [esi]
call fcn.0049a526
mov ecx, dword [0x57b4d8]
mov eax, dword [ecx]
push 0
push 0
push 1
push ebx
call dword [eax + 0x10]
fld1
sub esp, 0xc
fstp dword [esp + 8]
fldz
fstp dword [esp + 4]
fld dword [0x543c7c]
fstp dword [esp]
push str.khufu_start.ogg
call fcn.0041cab2
mov ecx, eax
call fcn.0042746b
fld1
sub esp, 0xc
fst dword [esp + 8]
fldz
fstp dword [esp + 4]
fstp dword [esp]
push str.sfxgrowsprite.ogg
call fcn.0041cab2
mov ecx, eax
call fcn.0042746b
mov eax, dword [0x57b54c]
call fcn.0046897c
mov ebx, dword [esp + 0x24]
mov edi, dword [esp + 0x4c]
fld dword [0x543a34]
fld1
fxch st(1)
fxch st(1)
fcom dword [edi]
fnstsw ax
test ah, 0x41
jp 0x48e9cc
fst dword [edi]
fxch st(1)
inc dword [esp + 0x28]
cmp dword [esp + 0x28], 3
jl 0x48e74e
fstp st(0)
fldz
fcomp dword [ebx + 0x154]
fnstsw ax
test ah, 0x41
jp 0x48ead9
fcom dword [ebx + 0x154]
fnstsw ax
test ah, 0x41
jne 0x48ead9
fld dword [ebx + 0x154]
fstp dword [esp + 0x14]
fld dword [ebp + 8]
fmul qword [0x543968]
fadd dword [ebx + 0x154]
fstp dword [esp + 0x44]
fld dword [esp + 0x44]
fstp dword [ebx + 0x154]
fld dword [0x543c78]
fcom dword [esp + 0x14]
fnstsw ax
test ah, 0x41
jne 0x48ea58
fcomp dword [esp + 0x44]
fnstsw ax
test ah, 0x41
jp 0x48ea5a
fld dword [0x543950]
fstp dword [ebx + 0x130]
jmp 0x48ea5a
fstp st(1)
jmp 0x48e9df
fstp st(0)
fcom dword [esp + 0x44]
fnstsw ax
test ah, 0x41
jp 0x48ead9
fstp dword [ebx + 0x154]
call fcn.004434ea
cmp byte [eax + 0x17f], 0
jne 0x48ead5
mov esi, dword [0x577b24]
call fcn.004434ea
cmp byte [eax + esi + 0x87], 0
jbe 0x48eabc
mov esi, dword [0x577b24]
call fcn.004434ea
movzx eax, byte [eax + esi + 0x87]
shr eax, 3
inc eax
inc eax
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fmul qword [0x543928]
fadd qword [0x544250]
jmp 0x48eac2
fld qword [0x543cc8]
fdivr qword [0x544488]
mov eax, dword [0x57b54c]
fstp dword [eax + 0x1ec]
jmp 0x48eadb
fldz
jmp 0x48eac8
fstp st(0)
and dword [esp + 0x10], 0
lea edi, [ebx + 0x100]
mov eax, edi
mov dword [esp + 0x28], edi
call fcn.004095ad
test eax, eax
jbe 0x48eb6e
push dword [esp + 0x10]
mov esi, edi
call fcn.0049139d
fldz
fcomp dword [eax + 0x18]
fnstsw ax
test ah, 0x41
jp 0x48eb5d
push dword [esp + 0x10]
call fcn.0049139d
fld1
fcomp dword [eax + 0x18]
fnstsw ax
test ah, 0x41
jne 0x48eb5d
push dword [esp + 0x10]
call fcn.0049139d
fld dword [ebp + 8]
fmul qword [0x543978]
push dword [esp + 0x10]
add eax, 0x18
fadd dword [eax]
fstp dword [eax]
call fcn.0049139d
fld1
fcomp dword [eax + 0x18]
fnstsw ax
test ah, 0x41
jp 0x48eb5d
push dword [esp + 0x10]
call fcn.0049139d
fld1
fstp dword [eax + 0x18]
inc dword [esp + 0x10]
mov eax, edi
call fcn.004095ad
cmp dword [esp + 0x10], eax
jb 0x48eaf5
fldz
fcomp dword [ebx + 0x130]
fnstsw ax
test ah, 0x41
jp 0x48f0b5
fld1
fcomp dword [ebx + 0x130]
fnstsw ax
test ah, 0x41
jne 0x48f0b5
fld dword [ebx + 0x130]
fstp dword [esp + 0x14]
fld dword [ebp + 8]
fmul qword [0x543938]
fadd dword [ebx + 0x130]
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fstp dword [ebx + 0x130]
fld dword [0x543a34]
fcom dword [esp + 0x14]
fnstsw ax
test ah, 0x41
jne 0x48ebec
fcomp dword [esp + 0x18]
fnstsw ax
test ah, 0x41
jp 0x48ebee
mov eax, dword [ebx + 0x12c]
cmp eax, dword [ebx + 0x128]
jle 0x48ebee
call fcn.0046c8c0
jmp 0x48ebee
fstp st(0)
fld1
fcomp dword [ebx + 0x130]
fnstsw ax
test ah, 0x41
jp 0x48f085
and dword [esp + 0x10], 0
mov eax, edi
call fcn.004095ad
test eax, eax
jbe 0x48ee3c
push dword [esp + 0x10]
mov esi, edi
call fcn.0049139d
fldz
fcomp dword [eax + 0x18]
fnstsw ax
test ah, 0x41
je 0x48ee27
push 0xf4
call fcn.004e0321
test eax, eax
pop ecx
je 0x48ec4f
push 0x540584
call fcn.00418317
mov dword [esp + 0x44], eax
jmp 0x48ec54
and dword [esp + 0x44], 0
push dword [esp + 0x10]
mov esi, edi
call fcn.0049139d
mov dword [esp + 0x18], eax
or eax, 0xffffffff
push eax
push dword [esp + 0x14]
call fcn.0049139d
fld dword [eax + 0x14]
push ecx
fstp dword [esp]
push dword [esp + 0x18]
call fcn.0049139d
fld dword [eax + 0x10]
push ecx
fstp dword [esp]
push dword [esp + 0x1c]
call fcn.0049139d
fld dword [eax + 0xc]
push ecx
fstp dword [esp]
push dword [esp + 0x20]
call fcn.0049139d
movsx eax, word [eax + 4]
mov dword [esp + 0x24], eax
push ecx
fild dword [esp + 0x28]
fstp dword [esp]
push dword [esp + 0x24]
call fcn.0049139d
movsx eax, word [eax + 2]
mov esi, dword [esp + 0x58]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x2c]
movsx eax, word [eax]
fild dword [esp + 0x28]
push ecx
add eax, 0x39
mov edi, esi
fstp dword [esp]
push 0xdc
push 6
push 6
push eax
mov eax, dword [ebx + 0x134]
call fcn.0041871f
or ecx, 0xffffffff
fld dword [0x543a34]
push ecx
push ecx
mov eax, 0x7d7d7d
fstp dword [esp + 4]
fld dword [0x543a90]
fstp dword [esp]
push eax
fld dword [0x543bec]
push ecx
sub esp, 0x20
fstp dword [esp + 0x1c]
fld1
fstp dword [esp + 0x18]
fld dword [0x5441c8]
fstp dword [esp + 0x14]
fld dword [0x543b08]
fstp dword [esp + 0x10]
fld dword [0x544758]
fstp dword [esp + 0xc]
fld dword [0x544478]
fstp dword [esp + 8]
fld dword [0x543b0c]
fstp dword [esp + 4]
fld dword [0x5442fc]
fstp dword [esp]
call fcn.00418c4a
fldz
fstp dword [esp + 0x1c]
mov eax, esi
fld dword [0x544a38]
mov ecx, dword [esp + 0x1c]
fstp dword [esp + 0x20]
mov dword [eax + 0xe0], ecx
mov ecx, dword [esp + 0x20]
push 0
push 1
mov dword [eax + 0xe4], ecx
mov ecx, dword [0x57b4d8]
mov edx, dword [ecx]
push 3
push eax
call dword [edx + 0x10]
mov edi, dword [0x57b4d8]
push dword [esp + 0x10]
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x1c], edi
call fcn.0049139d
movsx eax, word [eax + 2]
push dword [esp + 0x10]
add eax, 0x85
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
fstp dword [esp + 0x30]
call fcn.0049139d
movsx eax, word [eax + 4]
push 0
push 0
mov dword [esp + 0x1c], eax
mov eax, dword [edi]
push 1
fild dword [esp + 0x20]
push ecx
push 1
sub esp, 0xc
fstp dword [esp + 0x50]
mov edi, esp
fldz
lea esi, [esp + 0x4c]
fstp dword [esp + 0x54]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
add eax, 0x10
push str.break
push str.fx_bonus_glyph_break.cug
mov dword [esp + 0x3c], eax
movsd dword es:[edi], dword [esi]
call fcn.004064de
mov ecx, eax
call fcn.00410903
pop ecx
mov ecx, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x24]
call dword [eax]
mov edi, dword [esp + 0x28]
inc dword [esp + 0x10]
mov eax, edi
call fcn.004095ad
cmp dword [esp + 0x10], eax
jb 0x48ec15
fld dword [0x544048]
mov ebx, dword [0x57b4d8]
push 1
push ecx
fstp dword [esp]
call fcn.00456746
call fcn.0041cc59
mov ecx, dword [0x57b4d8]
lea edx, [esp + 0x60]
xor ebx, ebx
push edx
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], ebx
mov eax, dword [ecx]
push 3
call dword [eax + 0x20]
mov eax, dword [esp + 0x64]
mov eax, dword [eax]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x60]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x64]
lea edi, [esp + 0x2c]
lea esi, [esp + 0x1c]
mov dword [esp + 0x30], eax
call fcn.0041d163
test al, al
je 0x48eeef
call fcn.00419ec0
mov ecx, dword [eax]
cmp ecx, ebx
je 0x48eebb
mov eax, dword [ecx]
push 0x578390
call dword [eax]
mov esi, eax
jmp 0x48eebd
xor esi, esi
cmp esi, ebx
je 0x48eee0
push str.good_fx
lea ecx, [esi + 0x10]
call fcn.004072fa
test eax, eax
jne 0x48eee0
mov byte [esi + 0x9a], 1
mov byte [esi + 0x99], 1
lea edi, [esp + 0x6c]
lea esi, [esp + 0x1c]
call fcn.0041d180
jmp 0x48ee8a
mov edi, dword [esp + 0x24]
fld1
mov eax, dword [edi + 0x12c]
fstp dword [edi + 0x130]
cmp eax, dword [edi + 0x128]
jg 0x48ef2f
fld dword [0x543950]
push edi
fstp dword [edi + 0x154]
call fcn.0048d796
mov eax, dword [0x57b54c]
push 0xb
push 6
pop edx
call fcn.0046aecf
jmp 0x48f074
mov eax, dword [0x57b54c]
push 0xf
push 6
pop edx
call fcn.0046aecf
mov esi, dword [esp + 0x28]
mov eax, esi
call fcn.004095ad
test eax, eax
jbe 0x48ef68
push ebx
call fcn.0049139d
fld dword [0x543950]
fstp dword [eax + 0x18]
mov eax, esi
inc ebx
call fcn.004095ad
cmp ebx, eax
jb 0x48ef4d
fldz
push 0x78
fstp dword [edi + 0x158]
call fcn.004e0321
test eax, eax
pop ecx
je 0x48ef8c
push 0x53e02c
mov ebx, eax
call fcn.0049a466
mov ebx, eax
jmp 0x48ef8e
xor ebx, ebx
fld dword [0x543fe4]
sub esp, 0x18
fstp dword [esp + 0x44]
mov edi, esp
fld dword [0x543fe0]
lea esi, [esp + 0x44]
fstp dword [esp + 0x48]
fldz
fstp dword [esp + 0x4c]
fld dword [0x543a90]
fstp dword [esp + 0x14]
fld dword [0x544b94]
fstp dword [esp + 0x10]
fld dword [0x543a1c]
fstp dword [esp + 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 7
movsd dword es:[edi], dword [esi]
call fcn.0049a526
mov ecx, dword [0x57b4d8]
mov eax, dword [ecx]
xor esi, esi
push esi
push esi
push 1
push ebx
call dword [eax + 0x10]
fld1
sub esp, 0xc
fst dword [esp + 8]
fldz
fstp dword [esp + 4]
fstp dword [esp]
push str.sfxgrowsprite.ogg
call fcn.0041cab2
mov ecx, eax
call fcn.0042746b
fld1
sub esp, 0xc
fst dword [esp + 8]
fldz
fstp dword [esp + 4]
fstp dword [esp]
push str.khufuwelldone.ogg
call fcn.0041cab2
mov ecx, eax
call fcn.0042746b
fld1
push 1
push ecx
fstp dword [esp]
call fcn.0041cab2
push eax
mov eax, str.music_bonus_win.ogg
call fcn.004274ab
push 0x70
call fcn.004e0321
cmp eax, esi
pop ecx
je 0x48f061
push str.bonus_khufu
call fcn.0048a9d2
jmp 0x48f063
xor eax, eax
mov ecx, dword [0x57b4d8]
mov edx, dword [ecx]
push esi
push 1
push 3
push eax
call dword [edx + 0x10]
lea eax, [esp + 0x60]
call fcn.00410cb9
mov edi, dword [esp + 0x28]
mov ebx, dword [esp + 0x24]
fld dword [ebx + 0x130]
mov esi, dword [0x57b4d8]
fadd st(0), st(0)
push ecx
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fstp dword [esp]
call fcn.0040ff28
fmul qword [0x543d78]
pop ecx
fld1
fsubrp st(1)
fstp dword [esi + 0x130]
fld1
fcomp dword [ebx + 0x154]
fnstsw ax
test ah, 0x41
jp 0x48f261
fldz
fcomp dword [ebx + 0x130]
fnstsw ax
test ah, 0x41
jne 0x48f261
fld dword [ebx + 0x170]
fadd dword [ebp + 8]
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fstp dword [ebx + 0x170]
fld dword [esp + 0x18]
fld dword [ebx + 0x174]
fcompp
fnstsw ax
test ah, 5
jp 0x48f261
movsx eax, word [ebx + 0x110]
xor esi, esi
cmp word [ebx + 0x112], si
mov dword [esp + 0x38], eax
jne 0x48f14c
cmp word [ebx + 0x11a], si
movsx eax, word [ebx + 0x118]
mov dword [esp + 0x38], eax
jne 0x48f14c
cmp word [ebx + 0x122], si
movsx eax, word [ebx + 0x120]
mov dword [esp + 0x38], eax
jne 0x48f14c
or dword [esp + 0x38], 0xffffffff
cmp dword [esp + 0x38], esi
jl 0x48f259
call fcn.004434ea
cmp byte [eax + 0x184], 0
je 0x48f259
mov eax, edi
mov dword [esp + 0x10], esi
call fcn.004095ad
test eax, eax
jbe 0x48f259
push dword [esp + 0x10]
mov esi, edi
call fcn.0049139d
movsx eax, word [eax]
cmp eax, dword [esp + 0x38]
jne 0x48f1a4
push dword [esp + 0x10]
call fcn.0049139d
fldz
fcomp dword [eax + 0x18]
fnstsw ax
test ah, 0x41
je 0x48f1ba
inc dword [esp + 0x10]
mov eax, edi
call fcn.004095ad
cmp dword [esp + 0x10], eax
jb 0x48f17b
jmp 0x48f259
push dword [esp + 0x10]
mov esi, edi
call fcn.0049139d
movsx eax, word [eax + 2]
push dword [esp + 0x10]
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
fstp dword [esp + 0x30]
call fcn.0049139d
movsx eax, word [eax + 4]
mov dword [esp + 0x14], eax
push 1
sub esp, 0xc
fild dword [esp + 0x24]
mov edi, esp
lea esi, [esp + 0x3c]
push 0x53c7a8
fstp dword [esp + 0x44]
push str.fx_bonus_glyph_show.cug
fldz
fstp dword [esp + 0x4c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.004064de
mov ecx, eax
call fcn.00410903
mov esi, dword [0x577b24]
mov edi, eax
call fcn.004434ea
cmp byte [eax + esi + 0x87], 4
jbe 0x48f237
fld dword [0x543a30]
jmp 0x48f23d
fld dword [0x54442c]
mov ecx, dword [0x57b4d8]
fstp dword [edi + 0x80]
mov eax, dword [ecx]
push 0
push 0
push 3
push edi
call dword [eax + 0x10]
mov edi, dword [esp + 0x28]
fldz
fstp dword [ebx + 0x170]
call fcn.004014e2
add eax, 0x84
test byte [eax + 0x57], 2
jbe 0x48f3d7
cmp byte [eax + 0x108], 0
jne 0x48f3d7
fld1
fcomp dword [ebx + 0x154]
fnstsw ax
test ah, 0x41
jp 0x48f3d7
fldz
fcomp dword [ebx + 0x130]
fnstsw ax
test ah, 0x41
jne 0x48f3d7
cmp byte [0x577b14], 0
je 0x48f3d7
lea eax, [ebx + 0x112]
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], 3
and dword [esp + 0x38], 0
mov eax, edi
call fcn.004095ad
test eax, eax
jbe 0x48f30e
push dword [esp + 0x38]
mov esi, edi
call fcn.0049139d
mov ax, word [eax]
mov ecx, dword [esp + 0x24]
cmp ax, word [ecx - 2]
jne 0x48f2fd
push dword [esp + 0x38]
call fcn.0049139d
fldz
fstp dword [eax + 0x18]
inc dword [esp + 0x38]
mov eax, edi
call fcn.004095ad
cmp dword [esp + 0x38], eax
jb 0x48f2d7
mov eax, dword [esp + 0x24]
and word [eax], 0
add dword [esp + 0x24], 8
dec dword [esp + 0x18]
jne 0x48f2c7
mov eax, dword [0x57b4d8]
fldz
mov byte [eax + 0x144], 1
mov byte [eax + 0x145], 1
fstp dword [ebx + 0x170]
mov esi, ebx
call fcn.0048dbed
fild dword [ebx + 0x12c]
mov esi, dword [0x57b54c]
push ecx
fidiv dword [ebx + 0x128]
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fstp dword [esp]
push esi
call fcn.0045e6bb
fldz
fstp dword [esi + 0x1ec]
mov eax, dword [ebx + 0x128]
inc eax
mov esi, ebx
mov dword [ebx + 0x12c], eax
call fcn.0048e03c
mov esi, dword [0x577b24]
call fcn.004434ea
push 2
lea eax, [eax + esi + 0x87]
inc byte [eax]
mov eax, dword [0x57b54c]
push 0xd
pop edx
call fcn.0046aecf
fld dword [0x5446b8]
mov eax, dword [0x57b4d8]
fstp dword [eax + 0xb8]
push 0
fldz
push ecx
fstp dword [ebx + 0x15c]
fld1
fstp dword [esp]
call fcn.0041cab2
push eax
mov eax, str.sfx_bonus_endset.ogg
call fcn.004274ab
fld1
fcomp dword [ebx + 0x154]
fnstsw ax
test ah, 0x41
jp 0x48fc26
fldz
fcom dword [ebx + 0x130]
fnstsw ax
test ah, 0x41
jne 0x48fc24
fld dword [ebx + 0x17c]
mov eax, dword [0x57b54c]
test eax, eax
fadd dword [ebp + 8]
fstp dword [ebx + 0x17c]
je 0x48f42b
fcomp dword [eax + 0x1c8]
fnstsw ax
test ah, 1
jne 0x48f42d
mov eax, ebx
call fcn.004900ce
jmp 0x48f42d
fstp st(0)
call fcn.004014e2
add eax, 0x84
test byte [eax + 1], 2
jbe 0x48fc26
cmp byte [eax + 0x108], 0
jne 0x48fc26
call fcn.004014e2
mov eax, dword [eax + 0x184]
add eax, 0x2a8
mov dword [esp + 0x1c], eax
call fcn.004014e2
mov eax, dword [eax + 0x188]
and dword [esp + 0x10], 0
mov dword [esp + 0x24], eax
mov eax, edi
call fcn.004095ad
test eax, eax
jbe 0x48fc26
push dword [esp + 0x10]
mov esi, edi
call fcn.0049139d
movsx eax, word [eax]
mov ecx, dword [ebx + 0x134]
add eax, 0x19
push eax
lea esi, [ecx + 0x40]
call fcn.00404732
push dword [esp + 0x10]
mov esi, edi
mov dword [esp + 0x18], eax
call fcn.0049139d
movsx eax, word [eax]
mov ecx, dword [ebx + 0x134]
add eax, 0x19
push eax
lea esi, [ecx + 0x40]
call fcn.00404732
push dword [esp + 0x10]
mov esi, edi
mov dword [esp + 0x1c], eax
call fcn.0049139d
movsx eax, word [eax]
mov ecx, dword [ebx + 0x134]
add eax, 0x19
push eax
lea esi, [ecx + 0x40]
call fcn.00404732
push dword [esp + 0x10]
mov esi, edi
mov dword [esp + 0x50], eax
call fcn.0049139d
movsx eax, word [eax]
mov ecx, dword [ebx + 0x134]
add eax, 0x19
push eax
lea esi, [ecx + 0x40]
call fcn.00404732
push dword [esp + 0x10]
mov esi, edi
mov dword [esp + 0x48], eax
call fcn.0049139d
mov ecx, dword [esp + 0x14]
movsx eax, word [eax + 4]
movsx ecx, word [ecx + 6]
push dword [esp + 0x10]
add eax, ecx
mov dword [esp + 0x3c], eax
call fcn.0049139d
mov ecx, dword [esp + 0x18]
movsx eax, word [eax + 2]
movsx ecx, word [ecx + 4]
push dword [esp + 0x10]
add eax, ecx
mov dword [esp + 0x1c], eax
call fcn.0049139d
mov ecx, dword [esp + 0x4c]
movsx eax, word [eax + 4]
movsx ecx, word [ecx + 6]
push dword [esp + 0x10]
sub eax, ecx
mov dword [esp + 0x18], eax
call fcn.0049139d
movsx eax, word [eax + 2]
mov ecx, dword [esp + 0x44]
movsx ecx, word [ecx + 4]
mov edx, dword [esp + 0x24]
sub eax, ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x50]
call fcn.004357dc
test al, al
jne 0x48f5ca
inc dword [esp + 0x10]
mov eax, edi
call fcn.004095ad
cmp dword [esp + 0x10], eax
jb 0x48f485
jmp 0x48fc26
push dword [esp + 0x10]
mov esi, edi
call fcn.0049139d
fldz
fcomp dword [eax + 0x18]
fnstsw ax
test ah, 0x41
jne 0x48fc26
and dword [esp + 0x18], 0
lea eax, [ebx + 0x112]
mov byte [esp + 0x43], 0
mov dword [esp + 0x44], 0x4bf
mov dword [esp + 0x38], eax
push dword [esp + 0x10]
mov esi, edi
call fcn.0049139d
mov ax, word [eax]
mov ecx, dword [esp + 0x38]
cmp ax, word [ecx - 2]
jne 0x48f9fe
push dword [esp + 0x10]
mov eax, ecx
dec word [eax]
mov byte [esp + 0x47], 1
call fcn.0049139d
fldz
fst dword [eax + 0x18]
mov eax, dword [0x57b4d8]
mov byte [eax + 0x144], 1
mov byte [eax + 0x145], 1
mov eax, dword [esp + 0x38]
cmp word [eax], 0
jne 0x48f950
push str.fxplay_fx_gold.cug
fstp st(0)
push ecx
call fcn.004064de
pop ecx
mov ecx, eax
call fcn.00406d85
test eax, eax
mov dword [esp + 0x1c], eax
je 0x48f74c
push 0xcc
call fcn.004e0321
test eax, eax
pop ecx
je 0x48f71c
fldz
push 1
fst dword [esp + 0x64]
push ecx
fst dword [esp + 0x6c]
lea esi, [esp + 0x98]
fld1
fst dword [esp + 0x74]
fstp dword [esp + 0x78]
fld dword [0x543a18]
fstp dword [esp + 0x34]
fld dword [0x544288]
fstp dword [esp + 0x38]
fild dword [esp + 0x4c]
fstp dword [esp + 0x98]
fld dword [0x5450a4]
fstp dword [esp + 0x9c]
fstp dword [esp + 0xa0]
fld dword [0x543c6c]
fstp dword [esp]
push dword [esp + 0x6c]
push dword [esp + 0x6c]
push dword [esp + 0x80]
push dword [esp + 0x80]
push dword [esp + 0x48]
push dword [esp + 0x48]
sub esp, 0xc
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0x53f9ac
movsd dword es:[edi], dword [esi]
call fcn.0040fb4b
mov edi, dword [esp + 0x28]
mov esi, eax
jmp 0x48f71e
xor esi, esi
mov ecx, dword [esp + 0x1c]
fld dword [0x543a90]
mov eax, dword [ecx]
fstp dword [esi + 0xc4]
push 0
push 0
push 0xffffffffffffffff
push esi
call dword [eax + 0x10]
mov ecx, dword [0x57b4d8]
mov eax, dword [ecx]
push 0
push 0
push 3
push esi
call dword [eax + 0x10]
and dword [esp + 0x24], 0
mov eax, edi
call fcn.004095ad
test eax, eax
jbe 0x48f937
push dword [esp + 0x24]
mov esi, edi
call fcn.0049139d
push dword [esp + 0x10]
mov dword [esp + 0x20], eax
call fcn.0049139d
mov ecx, dword [esp + 0x1c]
mov cx, word [ecx]
cmp cx, word [eax]
jne 0x48f922
push 0xc4
call fcn.004e0321
test eax, eax
pop ecx
je 0x48f7a7
push str.cloak
call fcn.00418e95
mov dword [esp + 0x4c], eax
jmp 0x48f7ac
and dword [esp + 0x4c], 0
fldz
mov eax, dword [ebx + 0x134]
or dword [esp + 0x1c], 0xffffffff
fst dword [esp + 0x9c]
fld dword [0x5450a0]
add eax, 0x10
cmp dword [eax + 0x18], 0x10
fstp dword [esp + 0xa0]
fst dword [esp + 0xa4]
fst dword [esp + 0x78]
fld dword [0x544048]
fstp dword [esp + 0x7c]
fstp dword [esp + 0x80]
jb 0x48f7f7
mov eax, dword [eax + 4]
jmp 0x48f7fa
add eax, 4
push dword [esp + 0x24]
mov esi, edi
mov dword [esp + 0x18], eax
call fcn.0049139d
fld dword [0x544824]
sub esp, 0x14
fstp dword [esp + 0x10]
movsx eax, word [eax]
fld dword [0x543b98]
mov ecx, 0x804080ff
fstp dword [esp + 0xc]
lea esi, [esp + 0xb0]
fld dword [0x543a90]
add eax, 0x19
fstp dword [esp + 8]
fld dword [0x544338]
fstp dword [esp + 4]
fld dword [0x543ab8]
fstp dword [esp]
push 7
fld1
push 6
sub esp, 0x10
fst dword [esp + 0xc]
fst dword [esp + 8]
fst dword [esp + 4]
fstp dword [esp]
push ecx
push dword [esp + 0x4c]
sub esp, 0xc
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
sub esp, 0xc
mov edi, esp
lea esi, [esp + 0xc4]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push eax
push dword [esp + 0x64]
movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0xa0]
push edi
call fcn.00418f32
push dword [esp + 0x24]
mov esi, dword [esp + 0x2c]
mov byte [edi + 0xc0], 1
mov byte [edi + 0xc1], 1
mov dword [edi + 0xbc], 2
call fcn.0049139d
movsx eax, word [eax + 2]
push dword [esp + 0x24]
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
fstp dword [esp + 0x88]
call fcn.0049139d
movsx eax, word [eax + 4]
mov dword [esp + 0x1c], eax
lea ecx, [edi + 0x3c]
fild dword [esp + 0x1c]
mov eax, dword [ecx]
sub esp, 0xc
mov edi, esp
fstp dword [esp + 0x94]
lea esi, [esp + 0x90]
fldz
fstp dword [esp + 0x98]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax + 0x10]
mov ecx, dword [0x57b4d8]
mov eax, dword [ecx]
push 0
push 0
push 3
push dword [esp + 0x58]
call dword [eax + 0x10]
mov edi, dword [esp + 0x28]
inc dword [esp + 0x24]
mov eax, edi
call fcn.004095ad
cmp dword [esp + 0x24], eax
jb 0x48f760
fld1
sub esp, 0xc
fst dword [esp + 8]
fldz
fstp dword [esp + 4]
fstp dword [esp]
push str.sfx_bonus_glyph2.ogg
jmp 0x48f967
fld1
sub esp, 0xc
fst dword [esp + 8]
fxch st(1)
fstp dword [esp + 4]
fstp dword [esp]
push str.sfx_bonus_glyph1.ogg
call fcn.0041cab2
mov ecx, eax
call fcn.0042746b
mov eax, dword [0x57b4d8]
push dword [esp + 0x10]
mov esi, edi
mov dword [esp + 0x18], eax
call fcn.0049139d
movsx eax, word [eax + 2]
push dword [esp + 0x10]
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
fstp dword [esp + 0x54]
call fcn.0049139d
movsx eax, word [eax + 4]
push 0
push 0
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x1c]
fild dword [esp + 0x24]
mov eax, dword [eax]
push 3
push ecx
fstp dword [esp + 0x64]
push 1
fldz
sub esp, 0xc
mov edi, esp
fstp dword [esp + 0x78]
lea esi, [esp + 0x70]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
add eax, 0x10
push str.good_fx
push str.fx_bonus_good_click.cug
mov dword [esp + 0x44], eax
movsd dword es:[edi], dword [esi]
call fcn.004064de
mov ecx, eax
call fcn.00410903
pop ecx
mov ecx, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x2c]
call dword [eax]
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x38]
movsx eax, word [eax]
add dword [esp + 0x18], eax
add dword [esp + 0x44], 0x6d
add dword [esp + 0x38], 8
cmp dword [esp + 0x44], 0x606
jl 0x48f601
cmp byte [esp + 0x43], 0
jne 0x48fb36
mov eax, dword [0x57b4d8]
push dword [esp + 0x10]
mov esi, edi
mov dword [esp + 0x18], eax
call fcn.0049139d
movsx eax, word [eax + 2]
push dword [esp + 0x10]
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
fstp dword [esp + 0x54]
call fcn.0049139d
movsx eax, word [eax + 4]
push 0
push 0
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x1c]
fild dword [esp + 0x24]
mov eax, dword [eax]
push 3
push ecx
fstp dword [esp + 0x64]
push 1
fldz
sub esp, 0xc
mov edi, esp
fstp dword [esp + 0x78]
lea esi, [esp + 0x70]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
add eax, 0x10
push 0x53c7a8
push str.fx_bonus_bad_click.cug
mov dword [esp + 0x44], eax
movsd dword es:[edi], dword [esi]
call fcn.004064de
mov ecx, eax
call fcn.00410903
pop ecx
mov ecx, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x2c]
call dword [eax]
mov esi, dword [0x577b24]
mov edi, dword [0x57b54c]
call fcn.004434ea
movzx eax, byte [eax + esi + 0x87]
mov dword [esp + 0x1c], eax
push ecx
fild dword [esp + 0x20]
mov edx, edi
fmul qword [0x543938]
fadd qword [0x543928]
fchs
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fstp dword [esp]
call fcn.00469761
fld1
sub esp, 0xc
fst dword [esp + 8]
fldz
fstp dword [esp + 4]
fstp dword [esp]
push str.sfxdeny.ogg
call fcn.0041cab2
mov ecx, eax
call fcn.0042746b
call fcn.004e0031
push 3
cdq
pop ecx
idiv ecx
cmp edx, 1
jg 0x48fc26
call fcn.0048e0d6
jmp 0x48fc26
cmp dword [esp + 0x18], 0
fldz
fstp dword [ebx + 0x170]
jne 0x48fc13
mov esi, ebx
call fcn.0048dbed
fild dword [ebx + 0x12c]
mov esi, dword [0x57b54c]
push ecx
fidiv dword [ebx + 0x128]
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fstp dword [esp]
push esi
call fcn.0045e6bb
fldz
fstp dword [esi + 0x1ec]
inc dword [ebx + 0x12c]
mov esi, ebx
call fcn.0048e03c
mov eax, dword [ebx + 0x12c]
cmp eax, dword [ebx + 0x128]
jg 0x48fba8
mov eax, dword [0x57b54c]
push 2
push 0xd
pop edx
call fcn.0046aecf
jmp 0x48fbf1
mov esi, dword [0x577b24]
call fcn.004434ea
push 2
lea eax, [eax + esi + 0x87]
inc byte [eax]
mov eax, dword [0x57b54c]
push 0xd
pop edx
call fcn.0046aecf
fld dword [0x5446b8]
mov eax, dword [0x57b4d8]
fstp dword [eax + 0xb8]
call fcn.004296e6
mov ecx, eax
call fcn.004208f9
push 1
xor ecx, ecx
call fcn.0049fbc0
fldz
push 0
fstp dword [ebx + 0x15c]
push ecx
fld1
fstp dword [esp]
call fcn.0041cab2
push eax
mov eax, str.sfx_bonus_endset.ogg
call fcn.004274ab
jmp 0x48fc26
mov eax, ebx
call fcn.0048de35
fldz
fstp dword [ebx + 0x17c]
jmp 0x48fc26
fstp st(0)
fldz
fcom dword [ebx + 0x15c]
fnstsw ax
test ah, 0x41
jp 0x48fce5
fld dword [ebx + 0x15c]
fadd dword [ebp + 8]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fstp dword [ebx + 0x15c]
fld1
fcomp dword [esp + 0x14]
fnstsw ax
test ah, 0x41
jp 0x48fce5
fld dword [0x543950]
mov eax, ebx
fstp dword [ebx + 0x15c]
fstp dword [ebx + 0x130]
call fcn.0048fcf3
mov eax, dword [ebx + 0x12c]
cmp eax, dword [ebx + 0x128]
jg 0x48fce7
push 0xac
call fcn.004e0321
test eax, eax
pop ecx
je 0x48fcc8
fld dword [0x5447b4]
sub esp, 0x10
fstp dword [esp + 0x60]
mov edi, esp
fld dword [0x5447b0]
lea esi, [esp + 0x60]
fstp dword [esp + 0x64]
fldz
fst dword [esp + 0x68]
fstp dword [esp + 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.00490ff0
jmp 0x48fcca
xor eax, eax
push 0
mov byte [eax + 0xa8], 0
push 0
mov ecx, dword [0x57b4d8]
mov edx, dword [ecx]
push 1
push eax
call dword [edx + 0x10]
jmp 0x48fce7
fstp st(0)
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
mov esp, ebp
pop ebp
ret 4