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

Disassembly:
push 0xffffffffffffffff
push 0x510e1a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x8c
push ebx
push ebp
push esi
push edi
push ecx
mov eax, esp
mov dword [esp + 0x14], esp
push ecx
mov dword [esp + 0x18], esp
mov edi, esp
push ecx
mov esi, ecx
mov dword [esp + 0x1c], esp
mov dword [eax], 0x40400000
mov eax, dword [esi + 0x308]
mov ebx, esp
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push str.Wave__d
call fcn.00402110
mov ecx, dword [0x55cd0c]
push ebx
push ecx
call fcn.004a7680
add esp, 0x10
mov ecx, edi
call fcn.00456810
push ecx
mov eax, esp
mov dword [esp + 0x1c], esp
push ecx
xor ebx, ebx
mov dword [eax], ebx
mov eax, esp
mov ecx, esi
mov dword [esp + 0x20], esp
mov dword [eax], 1
call fcn.00456ba0
push ecx
mov dword [esp + 0x14], esp
mov eax, esp
push ecx
mov dword [esp + 0x18], esp
mov edi, esp
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.Eggship_fly_by
mov dword [eax], 0x40400000
call fcn.00402110
mov ecx, edi
call fcn.00456810
push ecx
mov eax, esp
mov dword [esp + 0x1c], esp
push ecx
mov dword [eax], ebx
mov eax, esp
mov ecx, esi
mov dword [esp + 0x20], esp
mov dword [eax], 2
call fcn.00456ba0
mov al, byte [esp + 0xb8]
test al, al
je 0x45eecd
push ecx
mov eax, esp
mov byte [eax], 1
mov dword [esp + 0x14], esp
push ecx
mov eax, esp
mov dword [esp + 0x18], esp
mov dword [eax], 0x42c80000
sub esp, 0xc
mov eax, esp
mov edx, ebx
mov dword [eax], edx
mov ecx, ebx
mov dword [eax + 4], ecx
mov ecx, esi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x24], esp
mov dword [eax + 8], edx
call fcn.004533a0
mov eax, dword [0x55cd0c]
mov ecx, dword [eax + 0x868]
mov eax, dword [ecx + 0x3c]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x14], eax
mov eax, dword [ecx + 0x38]
fild dword [esp + 0x14]
fld qword [0x526d60]
cdq
sub eax, edx
fmul st(1)
sar eax, 1
mov dword [esp + 0x14], eax
push 0x368
fild dword [esp + 0x18]
fld qword [0x5274a8]
fmul st(1)
fxch st(3)
fmul qword [0x5274a8]
fxch st(1)
fmul qword [0x526d60]
fstp dword [esp + 0x84]
fstp dword [esp + 0x88]
fxch st(1)
fstp dword [esp + 0x8c]
fstp dword [esp + 0x90]
call fcn.004fd765
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebx
mov dword [esp + 0xa4], ebx
je 0x45ef61
mov ecx, eax
call fcn.0046e3d0
mov edi, eax
mov dword [esp + 0x20], edi
jmp 0x45ef67
mov dword [esp + 0x20], ebx
mov edi, ebx
mov ecx, dword [0x55b9cc]
mov ecx, dword [ecx + 0xcb0]
push ebx
push edi
mov dword [esp + 0xac], 0xffffffff
call fcn.00486190
fld dword [esp + 0xb0]
sub esp, 8
mov eax, esp
fstp qword [eax]
mov dword [esp + 0x18], esp
fld dword [esp + 0xb8]
sub esp, 8
mov eax, esp
mov dword [esp + 0x20], esp
fstp qword [eax]
sub esp, 8
mov eax, esp
mov ecx, edi
mov dword [esp + 0x28], esp
mov dword [eax], ebx
mov dword [eax + 4], ebx
call fcn.0046e4d0
mov ecx, edi
call fcn.004ab460
cmp dword [esp + 0xac], ebx
jle 0x45f368
mov al, byte [esp + 0xb8]
mov dl, al
neg dl
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x2c], 0x42c80000
sbb edx, edx
and edx, 0xfffffed4
add edx, 0x64
neg al
mov dword [esp + 0x70], edx
mov dword [esp + 0x30], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x54], 0
sbb eax, eax
and eax, 0x96
add eax, 0x96
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fstp dword [esp + 0x78]
jmp 0x45f064
mov edi, dword [esp + 0x20]
mov esi, ebx
and esi, 0x80000001
jns 0x45f073
dec esi
or esi, 0xfffffffe
inc esi
mov eax, dword [0x55b9cc]
mov ecx, dword [eax + 0xcb0]
neg esi
sbb esi, esi
and esi, 0xfffffffe
inc esi
push 0x3fc90fdb
add ecx, 0x268
mov dword [esp + 0x18], esi
call fcn.00483eb0
fstp dword [esp + 0x24]
mov ecx, dword [esp + 0x70]
mov eax, dword [esp + 0x24]
imul ecx, esi
lea edx, [esp + 0x80]
push edx
mov edx, dword [esp + 0x44]
push eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x18], ecx
sub esp, 0xc
fild dword [esp + 0x24]
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [esp + 0x5c]
mov dword [ecx + 4], eax
fstp dword [esp + 0x48]
lea eax, [esp + 0x78]
mov dword [ecx + 8], edx
mov ecx, dword [0x55b9cc]
push eax
call fcn.004651d0
push 0x340
fild dword [esp + 0x18]
fmul dword [esp + 0x68]
fstp dword [esp + 0x68]
call fcn.004fd765
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov dword [esp + 0xa4], 1
je 0x45f11e
mov ecx, eax
call fcn.0044ac90
mov ebp, eax
jmp 0x45f120
xor ebp, ebp
mov ecx, dword [0x55b9cc]
mov ecx, dword [ecx + 0xcb0]
push 0
push ebp
mov dword [esp + 0xac], 0xffffffff
call fcn.00486190
mov ecx, ebp
call fcn.0044a9b0
mov ecx, ebp
call fcn.004ab460
push ecx
mov eax, esp
mov byte [eax], 1
mov ecx, dword [ebp + 0x290]
mov dword [esp + 0x14], esp
call fcn.0047f4b0
push ecx
mov eax, esp
mov ecx, edi
mov dword [esp + 0x14], esp
mov dword [eax], ebp
call fcn.0046e8c0
push 0x1c0
call fcn.004fd765
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov dword [esp + 0xa4], 2
je 0x45f19d
mov ecx, eax
call fcn.0047dae0
mov edi, eax
jmp 0x45f19f
xor edi, edi
mov edx, dword [0x55b9cc]
mov ecx, dword [edx + 0xcb0]
push 0
push edi
mov dword [esp + 0xac], 0xffffffff
call fcn.00486190
push ecx
mov eax, esp
mov dword [esp + 0x14], esp
push ecx
mov ecx, dword [esp + 0xbc]
mov byte [eax], 0
mov eax, esp
mov dword [eax], ecx
mov ecx, edi
mov dword [esp + 0x18], esp
call fcn.0047d9b0
mov ecx, edi
call fcn.004ab460
imul esi, esi, 0xffffff9c
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x10], esi
sub esp, 0xc
fild dword [esp + 0x1c]
mov eax, esp
mov dword [esp + 0x1c], esp
sub esp, 0xc
fstp dword [esp + 0x40]
mov edx, dword [esp + 0x40]
mov dword [eax], edx
mov edx, dword [esp + 0x48]
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov eax, dword [0x55cd0c]
mov ecx, dword [eax + 0x868]
mov eax, dword [ecx + 0x3c]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x28], eax
mov eax, dword [ecx + 0x38]
fild dword [esp + 0x28]
cdq
sub eax, edx
fmul qword [0x526d60]
sar eax, 1
fild dword [esp + 0x2c]
mov dword [esp + 0x28], eax
mov eax, esp
fstp qword [esp + 0x2c]
fild dword [esp + 0x28]
mov dword [esp + 0x28], esp
fmul qword [esp + 0x2c]
fmul qword [0x5274a8]
fstp dword [esp + 0x70]
mov ecx, dword [esp + 0x70]
mov dword [eax], ecx
mov ecx, dword [esp + 0x78]
fstp dword [esp + 0x74]
mov edx, dword [esp + 0x74]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov ecx, edi
call fcn.0047dc40
mov edx, dword [esp + 0x74]
mov ecx, dword [esp + 0x78]
sub esp, 0xc
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x88]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x1c], esp
mov dword [eax + 8], edx
mov edx, dword [esp + 0x44]
sub esp, 0xc
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x28], esp
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov ecx, edi
call fcn.0047dc40
fld dword [esp + 0x24]
fsin
sub esp, 0xc
mov eax, esp
mov dword [esp + 0x1c], esp
sub esp, 0xc
mov dword [esp + 0x28], esp
fld dword [esp + 0x3c]
fcos
fmul qword [esp + 0x2c]
fstp dword [esp + 0xa8]
fmul dword [0x51fcc8]
fld dword [esp + 0xa8]
fmul dword [0x51fcc8]
fstp dword [esp + 0x64]
mov edx, dword [esp + 0x64]
mov dword [eax], edx
mov edx, dword [esp + 0x6c]
fstp dword [esp + 0x68]
mov ecx, dword [esp + 0x68]
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov ecx, dword [esp + 0x7c]
mov eax, esp
mov dword [eax], ecx
mov edx, dword [esp + 0x80]
mov dword [eax + 4], edx
mov ecx, dword [esp + 0x84]
mov dword [eax + 8], ecx
mov ecx, edi
call fcn.0047dc40
push ecx
mov eax, esp
mov dword [eax], edi
mov ecx, dword [ebp + 0x290]
mov dword [esp + 0x14], esp
call fcn.004ab980
mov eax, dword [esp + 0xac]
inc ebx
cmp ebx, eax
jl 0x45f060
mov eax, dword [esp + 0x20]
jmp 0x45f36a
mov eax, edi
mov ecx, dword [esp + 0x9c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x98
ret 0x10