Function at 0x418400
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x4b1240]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 0x228], str.Jellyfish_0
mov dword [ebp - 0x224], str.Jellyfish_1
mov dword [ebp - 0x220], str.Jellyfish_2
mov dword [ebp - 0x21c], str.Jellyfish_3
mov dword [ebp - 0x218], str.Jellyfish_4
mov byte [ebp - 0x211], 1
xor edi, edi
cmp byte [edi + 0x4b5500], 0
je 0x418787
cmp byte [edi + 0x4b5578], 0
jne 0x418497
fld dword [edi*4 + 0x4a8508]
fmul qword [0x498798]
fadd dword [edi*8 + 0x4b5a10]
fstp dword [edi*8 + 0x4b5a10]
fld dword [edi*8 + 0x4b5a14]
fadd dword [edi*4 + 0x4a8508]
fstp dword [edi*8 + 0x4b5a14]
fld dword [edi*8 + 0x4b5a14]
mov esi, dword [ebp + edi*4 - 0x228]
sub esp, 0x24
mov ecx, esp
fstp dword [esp + 0x20]
fld dword [edi*8 + 0x4b5a10]
mov eax, esi
mov dword [ecx + 0x14], 0xf
fstp dword [esp + 0x1c]
mov dword [ecx + 0x10], 0
mov dword [ebp - 0x208], esp
mov byte [ecx], 0
lea ebx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4184d5
sub eax, ebx
push eax
push esi
call fcn.00414ba0
mov ecx, dword [0x4b290c]
call fcn.00401d70
fld dword [0x498790]
fcomp dword [edi*8 + 0x4b5a14]
fnstsw ax
test ah, 0x41
jne 0x418787
call fcn.00463f1c
mov dword [ebp - 0x210], eax
fild dword [ebp - 0x210]
fnstcw word [ebp - 0x20e]
movzx eax, word [ebp - 0x20e]
fmul qword [0x498788]
or eax, 0xc00
mov dword [ebp - 0x208], eax
fmul qword [0x497ab8]
fldcw word [ebp - 0x208]
fistp qword [ebp - 0x20c]
mov eax, dword [ebp - 0x20c]
fldcw word [ebp - 0x20e]
fild dword [ebp - 0x20c]
test eax, eax
jns 0x418565
fadd dword [0x481fd0]
fmul qword [0x498018]
sub esp, 0x24
mov ecx, esp
mov eax, esi
fadd qword [0x498780]
lea edx, [eax + 1]
fstp dword [ebp - 0x208]
fld dword [ebp - 0x208]
mov dword [ebp - 0x208], esp
fst dword [edi*8 + 0x4b1068]
fst dword [edi*8 + 0x4b106c]
mov dword [ecx + 0x14], 0xf
fst dword [esp + 0x20]
mov dword [ecx + 0x10], 0
fstp dword [esp + 0x1c]
mov byte [ecx], 0
mov bl, byte [eax]
inc eax
test bl, bl
jne 0x4185b4
sub eax, edx
push eax
push esi
call fcn.00414ba0
mov ecx, dword [0x4b290c]
call fcn.00401e50
call fcn.00463f1c
fnstcw word [ebp - 0x20e]
mov dword [ebp - 0x208], eax
fild dword [ebp - 0x208]
movzx eax, word [ebp - 0x20e]
or eax, 0xc00
mov dword [ebp - 0x208], eax
fmul qword [0x497ab0]
fmul qword [0x497ab8]
fldcw word [ebp - 0x208]
fistp qword [ebp - 0x20c]
mov ecx, dword [ebp - 0x20c]
fldcw word [ebp - 0x20e]
fild dword [ebp - 0x20c]
test ecx, ecx
jns 0x41862c
fadd dword [0x481fd0]
fmul qword [0x498778]
fild dword [0x4a7054]
fmul qword [0x481fe0]
faddp st(1)
fstp dword [edi*8 + 0x4b5a10]
call fcn.00463f1c
mov dword [ebp - 0x208], eax
fnstcw word [ebp - 0x20e]
fild dword [ebp - 0x208]
movzx eax, word [ebp - 0x20e]
or eax, 0xc00
mov dword [ebp - 0x208], eax
fmul qword [0x497ab0]
fmul qword [0x497ab8]
fldcw word [ebp - 0x208]
fistp qword [ebp - 0x20c]
mov edx, dword [ebp - 0x20c]
fldcw word [ebp - 0x20e]
fild dword [ebp - 0x20c]
test edx, edx
jns 0x4186a4
fadd dword [0x481fd0]
fmul qword [0x498770]
sub esp, 0x24
mov ecx, esp
mov eax, esi
fiadd dword [0x4a7058]
lea edx, [eax + 1]
fstp dword [ebp - 0x208]
fld dword [ebp - 0x208]
mov dword [ebp - 0x208], esp
fst dword [edi*8 + 0x4b5a14]
fstp dword [esp + 0x20]
fld dword [edi*8 + 0x4b5a10]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
fstp dword [esp + 0x1c]
mov byte [ecx], 0
mov bl, byte [eax]
inc eax
test bl, bl
jne 0x4186f3
sub eax, edx
push eax
push esi
call fcn.00414ba0
mov ecx, dword [0x4b290c]
call fcn.00401d70
call fcn.00463f1c
fnstcw word [ebp - 0x20e]
mov dword [ebp - 0x208], eax
fild dword [ebp - 0x208]
movzx eax, word [ebp - 0x20e]
or eax, 0xc00
mov dword [ebp - 0x208], eax
fmul qword [0x497ab0]
fmul qword [0x497ab8]
fldcw word [ebp - 0x208]
fistp qword [ebp - 0x20c]
mov eax, dword [ebp - 0x20c]
fldcw word [ebp - 0x20e]
fild dword [ebp - 0x20c]
test eax, eax
jns 0x41876b
fadd dword [0x481fd0]
fmul qword [0x498018]
mov byte [edi + 0x4b5578], 1
fadd qword [0x481fe8]
fchs
fstp dword [edi*4 + 0x4a8508]
cmp byte [edi + 0x4b5578], 0
jne 0x418797
mov byte [ebp - 0x211], 0
inc edi
cmp edi, 5
jl 0x418451
cmp byte [ebp - 0x211], 0
je 0x418854
mov eax, dword [0x4b5580]
inc eax
push eax
lea ecx, [ebp - 0x204]
push str._UpdateWinTextMovies__g_nJellyfishPassCounter:__d_n
push ecx
mov dword [0x4b5580], eax
call fcn.00409550
add esp, 0xc
lea edx, [ebp - 0x204]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor eax, eax
mov dword [0x4b5578], eax
mov byte [0x4b557c], al
mov eax, dword [0x4a851c]
cmp eax, dword [0x4b5580]
jg 0x418854
push 0
push 0
push 0x24
call fcn.00409510
add esp, 0xc
xor esi, esi
mov edi, dword [ebp + esi*4 - 0x228]
sub esp, 0x1c
mov ecx, esp
mov byte [esi + 0x4b5500], 0
mov eax, edi
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
mov dword [ebp - 0x208], esp
mov byte [ecx], 0
lea ebx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x418833
sub eax, ebx
push eax
push edi
call fcn.00414ba0
mov ecx, dword [0x4b290c]
call fcn.004019c0
inc esi
cmp esi, 5
jl 0x418804
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00463931
mov esp, ebp
pop ebp
ret