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

Disassembly:
push 0xffffffffffffffff
push 0x510d6a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x98
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 edi, edi
mov dword [eax], edi
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 ebx, esp
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.Pop_till_they_drop_
mov dword [eax], 0x40400000
call fcn.00402110
mov ecx, ebx
call fcn.00456810
push ecx
mov eax, esp
mov dword [esp + 0x1c], esp
push ecx
mov dword [eax], edi
mov eax, esp
mov ecx, esi
mov dword [esp + 0x20], esp
mov dword [eax], 2
call fcn.00456ba0
push 0x368
call fcn.004fd765
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, edi
mov dword [esp + 0xb0], edi
je 0x45dcda
mov ecx, eax
call fcn.0046e3d0
mov ebx, eax
jmp 0x45dcdc
xor ebx, ebx
mov edx, dword [0x55b9cc]
mov ecx, dword [edx + 0xcb0]
push edi
push ebx
mov dword [esp + 0xb8], 0xffffffff
call fcn.00486190
fld dword [esp + 0xbc]
sub esp, 8
mov eax, esp
fstp qword [eax]
mov dword [esp + 0x18], esp
fld dword [esp + 0xc4]
sub esp, 8
mov eax, esp
mov dword [esp + 0x20], esp
fstp qword [eax]
sub esp, 8
mov eax, esp
mov ecx, ebx
mov dword [esp + 0x28], esp
mov dword [eax], edi
mov dword [eax + 4], edi
call fcn.0046e4d0
mov ecx, ebx
call fcn.004ab460
mov eax, dword [esp + 0xb8]
cmp eax, edi
jle 0x45e2a6
mov ecx, dword [esp + 0xcc]
fld dword [esp + 0xc4]
mov edx, dword [esp + 0xc8]
fsub dword [esp + 0xc0]
sub ecx, edx
inc ecx
fstp dword [esp + 0x40]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0x24], eax
jmp 0x45de10
mov edx, dword [0x55b9cc]
mov ecx, dword [edx + 0xcb0]
push 2
add ecx, 0x268
call fcn.00483e20
mov edi, eax
mov eax, dword [0x55b9cc]
mov ecx, dword [eax + 0xcb0]
neg edi
sbb edi, edi
and edi, 0xfffffffe
inc edi
add ecx, 0x268
push 0x3f800000
mov dword [esp + 0x14], edi
call fcn.00483eb0
fsub dword [0x521904]
push 0x3e0
fstp dword [esp + 0x24]
call fcn.004fd765
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
mov dword [esp + 0xb0], 1
je 0x45de87
mov ecx, eax
call fcn.0041a420
mov ebp, eax
jmp 0x45de89
xor ebp, ebp
mov ecx, dword [0x55b9cc]
mov ecx, dword [ecx + 0xcb0]
push 0
push ebp
mov dword [esp + 0xb8], 0xffffffff
call fcn.00486190
mov edx, dword [0x55b9cc]
mov ecx, dword [edx + 0xcb0]
mov eax, dword [esp + 0x50]
add ecx, 0x268
push eax
call fcn.00483e20
mov edx, dword [esp + 0xc8]
push ecx
mov ecx, esp
add eax, edx
mov dword [ecx], eax
mov ecx, ebp
mov dword [esp + 0x1c], esp
call fcn.0041a1b0
mov ecx, ebp
call fcn.004ab460
push ecx
mov eax, esp
mov byte [eax], 1
mov ecx, dword [ebp + 0x290]
mov dword [esp + 0x1c], esp
call fcn.0047f4b0
push 0x1c0
call fcn.004fd765
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
mov dword [esp + 0xb0], 2
je 0x45df24
mov ecx, eax
call fcn.0047dae0
mov esi, eax
jmp 0x45df26
xor esi, esi
mov ecx, dword [0x55b9cc]
mov ecx, dword [ecx + 0xcb0]
push 0
push esi
mov dword [esp + 0xb8], 0xffffffff
call fcn.00486190
push ecx
mov eax, esp
mov byte [eax], 0
mov edx, dword [0x55b9cc]
mov ecx, dword [edx + 0xcb0]
mov eax, dword [esp + 0x44]
mov dword [esp + 0x1c], esp
add ecx, 0x268
push eax
call fcn.00483eb0
fadd dword [esp + 0xc4]
push ecx
mov eax, esp
mov ecx, esi
fstp dword [eax]
mov dword [esp + 0x20], esp
call fcn.0047d9b0
mov ecx, esi
call fcn.004ab460
imul edi, edi, 0x64
mov edx, dword [esp + 0x94]
mov dword [esp + 0x14], edi
sub esp, 0xc
mov eax, esp
fild dword [esp + 0x20]
mov dword [esp + 0x24], esp
sub esp, 0xc
fst dword [esp + 0x2c]
fstp dword [esp + 0xa8]
mov ecx, dword [esp + 0xa8]
mov dword [eax], ecx
mov ecx, dword [esp + 0xb0]
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 + 0x30], eax
mov eax, dword [ecx + 0x38]
fild dword [esp + 0x30]
cdq
sub eax, edx
fmul dword [esp + 0x38]
sar eax, 1
fild dword [esp + 0x28]
mov dword [esp + 0x28], eax
mov eax, esp
fstp qword [esp + 0x30]
fild dword [esp + 0x28]
mov dword [esp + 0x28], esp
fmul qword [esp + 0x30]
fmul qword [0x52b5d8]
fstp dword [esp + 0x40]
mov ecx, dword [esp + 0x40]
mov dword [eax], ecx
mov ecx, dword [esp + 0x48]
fstp dword [esp + 0x44]
mov edx, dword [esp + 0x44]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov ecx, esi
call fcn.0047dc40
mov edx, dword [esp + 0x14]
sub esp, 0xc
mov ecx, edx
mov eax, esp
mov dword [esp + 0x84], edx
mov edx, dword [esp + 0x88]
mov dword [eax], ecx
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0x1c], esp
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], eax
mov eax, dword [ecx + 0x38]
fild dword [esp + 0x1c]
cdq
sub eax, edx
fmul dword [esp + 0x2c]
sar eax, 1
mov dword [esp + 0x1c], eax
sub esp, 0xc
fadd dword [0x51f94c]
mov eax, esp
fild dword [esp + 0x28]
mov dword [esp + 0x28], esp
fmul qword [esp + 0x30]
fmul qword [0x5234b0]
fstp dword [esp + 0x78]
mov ecx, dword [esp + 0x78]
mov dword [eax], ecx
mov ecx, dword [esp + 0x80]
fstp dword [esp + 0x7c]
mov edx, dword [esp + 0x7c]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov ecx, esi
call fcn.0047dc40
mov edx, dword [esp + 0x14]
mov ecx, edx
sub esp, 0xc
mov eax, esp
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 edx, dword [0x55cd0c]
mov eax, dword [edx + 0x868]
mov eax, dword [eax + 0x3c]
mov ecx, dword [esp + 0x50]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x1c], esp
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
sub esp, 0xc
mov eax, esp
mov dword [eax], ecx
fmul dword [esp + 0x38]
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x28], esp
fstp dword [esp + 0x60]
mov edx, dword [esp + 0x60]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov ecx, esi
call fcn.0047dc40
mov edx, dword [esp + 0x14]
sub esp, 0xc
mov ecx, edx
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x60], edx
mov edx, dword [esp + 0x64]
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
mov dword [esp + 0x1c], esp
sar eax, 1
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
mov eax, dword [ecx + 0x38]
cdq
fmul dword [esp + 0x2c]
sub eax, edx
sar eax, 1
mov dword [esp + 0x1c], eax
fadd dword [0x51f94c]
sub esp, 0xc
fild dword [esp + 0x28]
mov eax, esp
mov dword [esp + 0x28], esp
fmul qword [esp + 0x30]
fmul qword [0x51f670]
fstp dword [esp + 0x84]
mov ecx, dword [esp + 0x84]
mov dword [eax], ecx
mov ecx, dword [esp + 0x8c]
fstp dword [esp + 0x88]
mov edx, dword [esp + 0x88]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov ecx, esi
call fcn.0047dc40
mov edx, dword [esp + 0x14]
mov ecx, edx
sub esp, 0xc
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x98]
mov dword [esp + 0x90], edx
mov edx, dword [esp + 0x94]
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 + 0x2c]
sar eax, 1
mov dword [esp + 0x1c], eax
sub esp, 0xc
fild dword [esp + 0x28]
mov eax, esp
mov dword [esp + 0x28], esp
fmul qword [esp + 0x30]
fmul qword [0x527a98]
fstp dword [esp + 0xb4]
mov ecx, dword [esp + 0xb4]
mov dword [eax], ecx
mov ecx, dword [esp + 0xbc]
fstp dword [esp + 0xb8]
mov edx, dword [esp + 0xb8]
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 [ebp + 0x290]
mov dword [esp + 0x14], esp
call fcn.004ab980
push ecx
mov eax, esp
mov ecx, ebx
mov dword [esp + 0x14], esp
mov dword [eax], ebp
call fcn.0046e8c0
dec dword [esp + 0x24]
jne 0x45de10
mov ecx, dword [esp + 0xa8]
pop edi
pop esi
pop ebp
mov eax, ebx
mov dword fs:[0], ecx
pop ebx
add esp, 0xa4
ret 0x18