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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x510b90
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xf0
push ebx
push esi
push edi
push ecx
mov eax, esp
mov dword [esp + 0x10], esp
push ecx
mov dword [esp + 0x14], esp
mov edi, esp
push ecx
mov esi, ecx
mov dword [esp + 0x18], esp
mov dword [eax], 0x40400000
mov eax, dword [esi + 0x308]
mov ebx, esp
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x20], 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 + 0x18], esp
push ecx
xor ebx, ebx
mov dword [eax], ebx
mov eax, esp
mov ecx, esi
mov dword [esp + 0x1c], esp
mov dword [eax], 1
call fcn.00456ba0
push ecx
mov dword [esp + 0x10], esp
mov eax, esp
push ecx
mov dword [esp + 0x14], esp
mov edi, esp
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x52b85c
mov dword [eax], 0x40400000
call fcn.00402110
mov ecx, edi
call fcn.00456810
push ecx
mov eax, esp
mov dword [esp + 0x18], esp
push ecx
mov dword [eax], ebx
mov eax, esp
mov ecx, esi
mov dword [esp + 0x1c], esp
mov dword [eax], 2
call fcn.00456ba0
push 0x368
call fcn.004fd765
add esp, 4
mov dword [esp + 0xc], eax
cmp eax, ebx
mov dword [esp + 0x104], ebx
je 0x45aa83
mov ecx, eax
call fcn.0046e3d0
mov esi, eax
mov dword [esp + 0x2c], esi
jmp 0x45aa89
mov dword [esp + 0x2c], ebx
mov esi, ebx
mov edx, dword [0x55b9cc]
mov ecx, dword [edx + 0xcb0]
push ebx
push esi
mov dword [esp + 0x10c], 0xffffffff
call fcn.00486190
sub esp, 8
mov eax, esp
mov dword [eax], ebx
mov dword [esp + 0x14], esp
mov ecx, 0x40080000
mov dword [eax + 4], ecx
sub esp, 8
mov eax, esp
mov dword [esp + 0x1c], esp
mov dword [eax + 4], ecx
mov dword [eax], ebx
sub esp, 8
mov eax, esp
mov ecx, esi
mov dword [esp + 0x24], esp
mov dword [eax], ebx
mov dword [eax + 4], ebx
call fcn.0046e4d0
mov ecx, esi
call fcn.004ab460
mov eax, dword [ebp + 8]
cmp eax, ebx
jle 0x45b4fa
mov dword [esp + 0x58], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0xc3480000
mov dword [esp + 0xb8], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0xe0], 0
mov dword [esp + 0xe4], 0xc0000000
mov dword [esp + 0xe8], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xc8], 0
mov dword [esp + 0xcc], 0x43480000
mov dword [esp + 0xd0], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0x43480000
mov dword [esp + 0x7c], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0x43480000
mov dword [esp + 0xac], 0
mov dword [esp + 0xc4], 0
mov dword [esp + 0xd4], 0
mov dword [esp + 0xd8], 0xc0000000
mov dword [esp + 0xdc], 0
mov dword [esp + 0xf4], 0
mov dword [esp + 0x4c], eax
jmp 0x45ac10
xor ebx, ebx
mov edi, edi
push 0x348
call fcn.004fd765
add esp, 4
mov dword [esp + 0xc], eax
cmp eax, ebx
mov dword [esp + 0x104], 1
je 0x45ac3f
mov ecx, eax
call fcn.0044c800
mov esi, eax
mov dword [esp + 0x28], esi
jmp 0x45ac45
mov dword [esp + 0x28], ebx
mov esi, ebx
mov eax, dword [0x55b9cc]
mov ecx, dword [eax + 0xcb0]
push ebx
push esi
mov dword [esp + 0x10c], 0xffffffff
call fcn.00486190
mov ecx, esi
call fcn.0044c910
mov ecx, esi
call fcn.004ab460
mov ecx, dword [0x55b9cc]
mov ecx, dword [ecx + 0xcb0]
mov edx, dword [0x55cd0c]
mov edi, dword [edx + 0x868]
add ecx, 0x268
push 0x3fcccccd
call fcn.00483eb0
fsub dword [0x52b858]
mov eax, dword [edi + 0x38]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x18], eax
mov eax, dword [edi + 0x3c]
fimul dword [esp + 0x18]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x18], eax
push ecx
mov eax, esp
mov dword [eax], ebx
fst dword [esp + 0x18]
mov dword [esp + 0x10], esp
fild dword [esp + 0x1c]
push ecx
mov eax, esp
mov dword [eax], ebx
fmul qword [0x527a98]
mov dword [esp + 0x14], esp
fxch st(1)
sub esp, 0xc
fstp dword [esp + 0x64]
mov ecx, dword [esp + 0x64]
mov eax, esp
mov dword [eax], ecx
fstp dword [esp + 0x68]
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x6c]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov ecx, dword [esi + 0x290]
mov dword [esp + 0x20], esp
call fcn.0047f310
push ecx
mov eax, esp
mov byte [eax], 1
mov ecx, dword [esi + 0x290]
mov dword [esp + 0x10], esp
call fcn.0047f4b0
push 0xc0
call fcn.004fd765
add esp, 4
mov dword [esp + 0xc], eax
cmp eax, ebx
mov dword [esp + 0x104], 2
je 0x45ad4c
mov ecx, eax
call fcn.0047e170
mov edi, eax
jmp 0x45ad4e
xor edi, edi
mov edx, dword [0x55b9cc]
mov ecx, dword [edx + 0xcb0]
push ebx
push edi
mov dword [esp + 0x10c], 0xffffffff
call fcn.00486190
mov eax, dword [0x55cd0c]
mov ecx, dword [eax + 0x868]
mov eax, dword [ecx + 0x3c]
cdq
sub eax, edx
mov edx, dword [esp + 0x14]
sar eax, 1
mov dword [esp + 0x18], eax
sub esp, 0xc
fild dword [esp + 0x24]
mov eax, esp
mov ecx, edx
mov dword [eax], ecx
fmul qword [0x526d60]
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x74], edx
mov dword [esp + 0x18], esp
push ecx
fstp dword [esp + 0x7c]
mov edx, dword [esp + 0x7c]
mov dword [eax + 4], edx
mov edx, dword [ebp + 0xc]
mov dword [eax + 8], ecx
mov eax, esp
mov dword [esp + 0x1c], esp
push ecx
mov byte [eax], 0
mov eax, esp
mov ecx, edi
mov dword [esp + 0x20], esp
mov dword [eax], edx
call fcn.0047e2b0
mov ecx, edi
call fcn.004ab460
push ecx
mov eax, esp
mov dword [eax], edi
mov ecx, dword [esi + 0x290]
mov dword [esp + 0x10], esp
call fcn.004ab980
mov eax, dword [esp + 0x14]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x80], eax
mov dword [esp + 0x14], ebx
jmp 0x45ae05
mov esi, dword [esp + 0x28]
push 0x7a0
call fcn.004fd765
add esp, 4
mov dword [esp + 0xc], eax
test eax, eax
mov dword [esp + 0x104], 3
je 0x45ae30
mov ecx, eax
call fcn.004192b0
mov edi, eax
jmp 0x45ae32
xor edi, edi
mov ecx, dword [0x55b9cc]
mov ecx, dword [ecx + 0xcb0]
push 0
push edi
mov dword [esp + 0x10c], 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 + 0x10], esp
mov byte [eax], 1
call fcn.00418cc0
push ecx
mov eax, esp
mov ecx, esi
mov dword [esp + 0x10], esp
mov dword [eax], edi
call fcn.0044cca0
push 0x1c0
call fcn.004fd765
add esp, 4
mov dword [esp + 0xc], eax
test eax, eax
mov dword [esp + 0x104], 4
je 0x45aeab
mov ecx, eax
call fcn.0047dae0
mov esi, eax
jmp 0x45aead
xor esi, esi
mov edx, dword [0x55b9cc]
mov ecx, dword [edx + 0xcb0]
push 0
push esi
mov dword [esp + 0x10c], 0xffffffff
call fcn.00486190
fild dword [esp + 0x24]
push ecx
mov eax, esp
fmul qword [0x51f920]
mov dword [esp + 0x10], esp
push ecx
mov byte [eax], 1
fsubr qword [0x520d30]
mov eax, esp
mov ecx, esi
mov dword [esp + 0x14], esp
fstp dword [eax]
call fcn.0047d9b0
mov ecx, esi
call fcn.004ab460
fild dword [esp + 0x14]
mov ecx, dword [esp + 0xb0]
mov edx, dword [esp + 0xb4]
sub esp, 0xc
fstp qword [esp + 0x4c]
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0xc4]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov edx, dword [0x55cd0c]
mov eax, dword [edx + 0x868]
mov eax, dword [eax + 0x3c]
mov ecx, dword [esp + 0x8c]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], esp
fild dword [esp + 0x24]
sub esp, 0xc
mov eax, esp
mov dword [eax], ecx
fmul qword [0x526cf0]
mov ecx, dword [esp + 0xa0]
mov dword [esp + 0x24], esp
fadd qword [esp + 0x58]
fstp dword [esp + 0x9c]
mov edx, dword [esp + 0x9c]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov ecx, esi
call fcn.0047dc40
mov edx, dword [esp + 0xe0]
mov ecx, dword [esp + 0xe4]
sub esp, 0xc
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0xf4]
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
mov edx, dword [esp + 0xa4]
sar eax, 1
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], esp
fild dword [esp + 0x24]
sub esp, 0xc
mov eax, esp
mov dword [esp + 0x24], esp
fmul qword [0x523308]
mov dword [eax], edx
fsub qword [0x5274e0]
fadd qword [esp + 0x58]
fstp dword [esp + 0xb4]
mov ecx, dword [esp + 0xb4]
mov edx, dword [esp + 0xb8]
mov dword [eax + 4], ecx
mov ecx, esi
mov dword [eax + 8], edx
call fcn.0047dc40
push ecx
mov dword [esi + 0x94], 0x3f800000
mov eax, esp
mov dword [eax], esi
mov ecx, dword [edi + 0x290]
mov dword [esp + 0x10], esp
call fcn.004ab980
mov edx, dword [esp + 0x24]
add ebx, 0x64
inc edx
cmp ebx, 0xc8
mov dword [esp + 0x24], edx
mov dword [esp + 0x14], ebx
jl 0x45ae01
xor eax, eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x30], 0x28
mov dword [esp + 0x14], 0xffffffb0
fild dword [esp + 0x34]
mov eax, dword [esp + 0x30]
or ebx, 0xffffffff
mov dword [esp + 0x18], ebx
fmul qword [0x51f920]
mov dword [esp + 0x24], eax
fsubr qword [0x51fc70]
fstp dword [esp + 0xc]
fild dword [esp + 0x3c]
fstp qword [esp + 0x40]
fild dword [esp + 0x38]
fstp dword [esp + 0xf0]
jmp 0x45b0a0
push 0x7a0
call fcn.004fd765
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov dword [esp + 0x104], 5
je 0x45b0cb
mov ecx, eax
call fcn.004192b0
mov edi, eax
jmp 0x45b0cd
xor edi, edi
mov ecx, dword [0x55b9cc]
mov ecx, dword [ecx + 0xcb0]
push 0
push edi
mov dword [esp + 0x10c], 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 + 0x2c]
mov eax, esp
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 + 0x104], 6
je 0x45b148
mov ecx, eax
call fcn.0047dae0
mov esi, eax
jmp 0x45b14a
xor esi, esi
mov edx, dword [0x55b9cc]
mov ecx, dword [edx + 0xcb0]
push 0
push esi
mov dword [esp + 0x10c], 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], 0x3f400000
call fcn.0047d9b0
mov ecx, esi
call fcn.004ab460
mov ecx, dword [esp + 0xc8]
mov edx, dword [esp + 0xcc]
sub esp, 0xc
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0xdc]
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 qword [0x52b5d8]
sar eax, 1
mov dword [esp + 0x1c], eax
sub esp, 0xc
fsub qword [esp + 0x58]
mov eax, esp
fild dword [esp + 0x30]
fstp qword [esp + 0x30]
fild dword [esp + 0x28]
mov dword [esp + 0x28], esp
fmul qword [esp + 0x30]
fmul qword [0x5272a8]
fstp dword [esp + 0x74]
mov ecx, dword [esp + 0x74]
mov dword [eax], ecx
mov ecx, dword [esp + 0x7c]
fstp dword [esp + 0x78]
mov edx, dword [esp + 0x78]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov ecx, esi
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 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 + 0x1c], esp
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
mov eax, dword [ecx + 0x38]
cdq
fmul qword [0x523308]
fsub qword [esp + 0x4c]
sub eax, edx
sar eax, 1
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
sub esp, 0xc
mov eax, esp
fmul qword [esp + 0x30]
mov dword [esp + 0x28], esp
fmul qword [0x5272a8]
fstp dword [esp + 0xa4]
mov ecx, dword [esp + 0xa4]
mov dword [eax], ecx
mov ecx, dword [esp + 0xac]
fstp dword [esp + 0xa8]
mov edx, dword [esp + 0xa8]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov ecx, esi
call fcn.0047dc40
push ecx
mov eax, esp
mov dword [eax], esi
mov ecx, dword [edi + 0x290]
mov dword [esp + 0x14], esp
call fcn.004ab980
push 0x1c0
call fcn.004fd765
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov dword [esp + 0x104], 7
je 0x45b301
mov ecx, eax
call fcn.0047dae0
mov esi, eax
jmp 0x45b303
xor esi, esi
mov edx, dword [0x55b9cc]
mov ecx, dword [edx + 0xcb0]
push 0
push esi
mov dword [esp + 0x10c], 0xffffffff
call fcn.00486190
push ecx
mov eax, esp
mov dword [esp + 0x14], esp
push ecx
mov ecx, dword [esp + 0x14]
mov byte [eax], 1
mov eax, esp
mov dword [eax], ecx
mov ecx, esi
mov dword [esp + 0x18], esp
call fcn.0047d9b0
mov ecx, esi
call fcn.004ab460
mov edx, dword [esp + 0xa4]
mov ecx, dword [esp + 0xa8]
sub esp, 0xc
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0xb8]
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 + 0x1c], esp
mov dword [esp + 0x1c], eax
mov eax, dword [ecx + 0x38]
fild dword [esp + 0x1c]
cdq
sub eax, edx
fmul qword [0x523308]
sar eax, 1
mov dword [esp + 0x1c], eax
sub esp, 0xc
fsub qword [esp + 0x58]
mov eax, esp
fild dword [esp + 0x28]
mov dword [esp + 0x28], esp
fmul qword [esp + 0x30]
fmul qword [0x5272a8]
fstp dword [esp + 0xd4]
mov ecx, dword [esp + 0xd4]
mov dword [eax], ecx
mov ecx, dword [esp + 0xdc]
fstp dword [esp + 0xd8]
mov edx, dword [esp + 0xd8]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov ecx, esi
call fcn.0047dc40
fild dword [esp + 0x24]
mov edx, dword [esp + 0xd4]
mov ecx, dword [esp + 0xd8]
sub esp, 0xc
fstp dword [esp + 0xf8]
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0xe8]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0xf8]
mov dword [eax + 8], edx
mov edx, dword [esp + 0xfc]
mov dword [esp + 0x1c], esp
sub esp, 0xc
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x10c]
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 eax, esp
mov dword [eax], esi
mov ecx, dword [edi + 0x290]
mov dword [esp + 0x14], esp
call fcn.004ab980
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x14]
add ebx, 2
add ecx, edx
cmp ebx, 1
mov dword [esp + 0x18], ebx
mov dword [esp + 0x24], ecx
jle 0x45b0a0
mov eax, dword [esp + 0x34]
mov ebx, dword [esp + 0x3c]
mov edi, dword [esp + 0x38]
mov esi, dword [esp + 0x30]
inc eax
mov dword [esp + 0x34], eax
mov eax, edx
sub eax, 0x50
add ebx, 0x64
add edi, 0x32
add esi, 0x28
cmp eax, 0xffffff10
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], edi
mov dword [esp + 0x30], esi
mov dword [esp + 0x14], eax
jg 0x45b062
push ecx
mov ecx, dword [esp + 0x2c]
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x10], esp
call fcn.0046e8c0
dec dword [esp + 0x4c]
jne 0x45ac0c
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0xfc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [esp + 0xfc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8