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

Disassembly:
push 0xffffffffffffffff
push 0x510bd8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x124
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 ebp, ebp
mov dword [eax], ebp
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.Chicken_Geometry
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], ebp
mov eax, esp
mov ecx, esi
mov dword [esp + 0x20], esp
mov dword [eax], 2
call fcn.00456ba0
push 0x350
call fcn.004fd765
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebp
mov dword [esp + 0x13c], ebp
je 0x45b81e
mov ecx, eax
call fcn.0046e930
mov edi, eax
mov dword [esp + 0x24], edi
jmp 0x45b824
mov dword [esp + 0x24], ebp
mov edi, ebp
mov edx, dword [0x55b9cc]
mov ecx, dword [edx + 0xcb0]
push ebp
push edi
mov dword [esp + 0x144], 0xffffffff
call fcn.00486190
push ecx
mov ecx, dword [esp + 0x14c]
mov eax, esp
mov dword [eax], ecx
mov ecx, edi
mov dword [esp + 0x14], esp
call fcn.0046ea30
mov ecx, edi
call fcn.004ab460
mov eax, dword [esp + 0x144]
xor ebx, ebx
cmp eax, ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x28], ebx
jle 0x45becf
mov dword [esp + 0x34], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], 0x3fc00000
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], 0xbf000000
mov dword [esp + 0x84], 0x3f8ccccd
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], 0x3f000000
mov dword [esp + 0x90], 0x3f8ccccd
mov dword [esp + 0x94], ebx
mov dword [esp + 0x98], ebx
mov dword [esp + 0x9c], ebx
mov dword [esp + 0xa0], ebx
mov dword [esp + 0xa4], 0xbf8ccccd
mov dword [esp + 0xa8], 0x3f8ccccd
mov dword [esp + 0xac], ebx
mov dword [esp + 0xb0], ebx
mov dword [esp + 0xb4], 0x3f8ccccd
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xbc], 0x3f8ccccd
mov dword [esp + 0xc0], 0x3f8ccccd
mov dword [esp + 0xc4], ebx
mov dword [esp + 0xc8], ebx
mov dword [esp + 0xcc], 0x42700000
mov dword [esp + 0xd0], ebx
mov dword [esp + 0xd4], ebx
mov dword [esp + 0xd8], ebx
mov dword [esp + 0xdc], ebx
mov dword [esp + 0xe0], ebx
mov dword [esp + 0xe4], ebx
mov dword [esp + 0xe8], ebx
mov dword [esp + 0xec], 0xc2200000
mov dword [esp + 0xf0], ebx
mov dword [esp + 0xf4], ebx
mov dword [esp + 0xf8], 0x42200000
mov dword [esp + 0xfc], ebx
mov dword [esp + 0x100], ebx
mov dword [esp + 0x104], ebx
mov dword [esp + 0x108], ebx
mov dword [esp + 0x10c], ebx
mov dword [esp + 0x110], 0xc2a00000
mov dword [esp + 0x114], 0xc2700000
mov dword [esp + 0x118], ebx
mov dword [esp + 0x11c], ebx
mov dword [esp + 0x120], 0xc2700000
mov dword [esp + 0x124], ebx
mov dword [esp + 0x128], 0x42a00000
mov dword [esp + 0x12c], 0xc2700000
mov dword [esp + 0x130], ebx
jmp 0x45ba30
xor ebp, ebp
jmp 0x45ba30
push 0x368
call fcn.004fd765
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebp
mov dword [esp + 0x13c], 1
je 0x45ba5f
mov ecx, eax
call fcn.0046edf0
mov esi, eax
mov dword [esp + 0x18], esi
jmp 0x45ba65
mov dword [esp + 0x18], ebp
mov esi, ebp
mov edx, dword [0x55b9cc]
mov ecx, dword [edx + 0xcb0]
push ebp
push esi
mov dword [esp + 0x144], 0xffffffff
call fcn.00486190
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
push ecx
fild dword [esp + 0x18]
mov eax, esp
mov dword [esp + 0x14], esp
push ecx
fmul qword [0x51fc70]
mov dword [esp + 0x18], esp
fstp dword [eax]
mov edx, dword [0x55cd0c]
mov eax, dword [edx + 0x868]
mov eax, dword [eax + 0x3c]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x1c], eax
mov eax, esp
fild dword [esp + 0x1c]
fmul qword [0x5274b0]
fstp dword [eax]
mov ecx, dword [0x55cd0c]
mov edx, dword [ecx + 0x868]
mov eax, dword [edx + 0x38]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x1c], eax
push ecx
fild dword [esp + 0x20]
mov eax, esp
mov dword [esp + 0x1c], esp
fmul qword [0x529928]
fstp dword [eax]
mov eax, dword [0x55cd0c]
mov ecx, dword [eax + 0x868]
mov eax, dword [ecx + 0x38]
cdq
sub eax, edx
mov edx, dword [esp + 0x158]
sar eax, 1
mov dword [esp + 0x20], eax
push ecx
fild dword [esp + 0x24]
mov eax, esp
mov dword [esp + 0x20], esp
push ecx
fmul qword [0x52b828]
mov dword [esp + 0x24], esp
fstp dword [eax]
mov eax, esp
push ecx
mov dword [eax], 0x43480000
mov eax, esp
mov dword [esp + 0x28], esp
push ecx
mov byte [eax], 0
mov eax, esp
mov ecx, esi
mov dword [esp + 0x2c], esp
mov dword [eax], edx
call fcn.0046ef40
mov ecx, esi
call fcn.004ab460
mov eax, dword [0x55cd0c]
mov ecx, dword [eax + 0x868]
mov eax, dword [ecx + 0x38]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x14], eax
mov eax, ebx
fild dword [esp + 0x14]
cdq
fld qword [0x5281c0]
mov ebx, 3
idiv ebx
fmul st(1)
fxch st(1)
fmul qword [0x51fc70]
fsub st(1)
mov eax, dword [ecx + 0x3c]
push ecx
mov dword [esp + 0x14], esp
mov dword [esp + 0x18], edx
fild dword [esp + 0x18]
cdq
sub eax, edx
fmulp st(1)
sar eax, 1
mov dword [esp + 0x18], eax
mov eax, esp
fmul dword [0x51f8dc]
mov dword [eax], ebp
mov ecx, dword [0x55b9cc]
mov ecx, dword [ecx + 0xcb0]
fadd st(1)
push 0x40c90fdb
add ecx, 0x268
fstp dword [esp + 0x28]
fstp st(0)
fild dword [esp + 0x1c]
fmul qword [0x51f670]
fstp dword [esp + 0x1c]
call fcn.00483eb0
mov edx, dword [esp + 0x24]
push ecx
mov eax, esp
fstp dword [eax]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x18], esp
sub esp, 0xc
mov dword [esp + 0x44], eax
mov eax, esp
mov ecx, edx
mov dword [eax], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x44]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov ecx, dword [esi + 0x290]
mov dword [esp + 0x24], esp
call fcn.0047f310
xor ebx, ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x14], ebp
lea esp, [esp]
test ebp, ebp
jl 0x45be76
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0xc3480000
mov dword [esp + 0x4c], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0x43480000
mov dword [esp + 0x40], 0
inc ebx
push 0x7a0
call fcn.004fd765
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov dword [esp + 0x13c], 2
je 0x45bcac
mov ecx, eax
call fcn.004192b0
mov edi, eax
jmp 0x45bcae
xor edi, edi
mov edx, dword [0x55b9cc]
mov ecx, dword [edx + 0xcb0]
push 0
push edi
mov dword [esp + 0x144], 0xffffffff
call fcn.00486190
mov ecx, edi
call fcn.00418b10
mov ecx, edi
call fcn.004ab460
push ecx
mov eax, esp
mov ecx, edi
mov dword [esp + 0x14], esp
mov byte [eax], 1
call fcn.00418cc0
push ecx
mov ecx, dword [esp + 0x20]
mov eax, esp
mov dword [eax], ecx
mov ecx, edi
mov dword [esp + 0x14], esp
call fcn.00418e90
push ecx
mov eax, esp
mov ecx, esi
mov dword [esp + 0x14], esp
mov dword [eax], edi
call fcn.0044cca0
push 0x1c0
call fcn.004fd765
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov dword [esp + 0x13c], 3
je 0x45bd3b
mov ecx, eax
call fcn.0047dae0
mov esi, eax
jmp 0x45bd3d
xor esi, esi
mov edx, dword [0x55b9cc]
mov ecx, dword [edx + 0xcb0]
push 0
push esi
mov dword [esp + 0x144], 0xffffffff
call fcn.00486190
push ecx
mov eax, esp
mov dword [esp + 0x14], esp
push ecx
mov byte [eax], 1
mov eax, esp
mov ecx, esi
mov dword [esp + 0x18], esp
mov dword [eax], 0x3f000000
call fcn.0047d9b0
mov ecx, esi
call fcn.004ab460
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
sub esp, 0xc
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x58]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov edx, dword [0x55cd0c]
mov ecx, dword [edx + 0x868]
mov eax, dword [ecx + 0x3c]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x1c], esp
mov dword [esp + 0x1c], eax
mov eax, dword [ecx + 0x38]
fild dword [esp + 0x1c]
cdq
sub eax, edx
fmul dword [esp + ebp + 0x6c]
sar eax, 1
mov dword [esp + 0x1c], eax
sub esp, 0xc
fild dword [esp + 0x28]
mov eax, esp
mov dword [esp + 0x28], esp
fmul dword [esp + ebp + 0x74]
fstp dword [esp + 0x68]
mov ecx, dword [esp + 0x68]
mov dword [eax], ecx
mov ecx, dword [esp + 0x70]
fstp dword [esp + 0x6c]
mov edx, dword [esp + 0x6c]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov ecx, esi
call fcn.0047dc40
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
sub esp, 0xc
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x4c]
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [esp + 0x1c], esp
sub esp, 0xc
mov eax, esp
lea ecx, [esp + ebp + 0xe0]
mov edx, dword [ecx]
mov dword [eax], edx
mov edx, dword [ecx + 4]
mov ecx, dword [ecx + 8]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov ecx, esi
mov dword [esp + 0x28], esp
call fcn.0047dc40
push ecx
mov dword [esi + 0x94], 0x3f800000
mov dword [esp + 0x14], esp
mov eax, esp
mov dword [eax], esi
mov ecx, dword [edi + 0x290]
call fcn.004ab980
mov esi, dword [esp + 0x18]
add ebp, 0xc
dec ebx
jne 0x45bc81
mov ebp, dword [esp + 0x14]
mov edi, dword [esp + 0x24]
mov ebx, dword [esp + 0x20]
add ebp, 0x24
inc ebx
cmp ebp, 0x6c
mov dword [esp + 0x20], ebx
mov dword [esp + 0x14], ebp
jl 0x45bc40
push ecx
mov eax, esp
mov ecx, edi
mov dword [esp + 0x14], esp
mov dword [eax], esi
call fcn.0046ed30
mov eax, dword [esp + 0x1c]
add eax, 3
cmp eax, 0x18
mov dword [esp + 0x1c], eax
jl 0x45beb7
mov dword [esp + 0x1c], 1
mov ebx, dword [esp + 0x28]
mov eax, dword [esp + 0x144]
inc ebx
cmp ebx, eax
mov dword [esp + 0x28], ebx
jl 0x45ba26
mov ecx, dword [esp + 0x134]
mov eax, edi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x130
ret 0xc