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

Disassembly:
sub esp, 0x24
push ebx
push ebp
push esi
mov esi, dword [esp + 0x34]
push edi
mov ecx, 0xc
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x40]
sub esp, 8
mov dword [esp + 0x18], 0xffffff9d
xor ebp, ebp
mov eax, dword [edi]
mov dword [esi + 0x24], eax
fild dword [edi]
fmul dword [0x4fca58]
fldln2
fxch st(1)
fyl2x
fldln2
fld qword [0x4fca20]
fyl2x
fdivp st(1)
fadd qword [0x4eaad8]
fstp qword [esp]
call fcn.004c297f
fsub qword [0x4eaad0]
call fcn.004bfae0
fild dword [esp + 0x50]
fild dword [esp + 0x4c]
lea ecx, [eax + 1]
mov edx, 1
shl edx, cl
fst qword [esp + 0x2c]
mov dword [esi + 0x20], eax
mov dword [esp + 0x40], edx
fild dword [esp + 0x40]
fld st(2)
fmul dword [0x4fce08]
fmul qword [0x4eaad8]
fdiv st(2)
fldln2
fxch st(1)
fyl2x
fmul qword [0x4fce00]
fsub qword [0x4fcdf8]
fmul st(1)
fisub dword [edi]
call fcn.004bfae0
fild dword [esp + 0x4c]
mov edi, eax
mov dword [esi + 0x1c], edi
fadd dword [0x4fce08]
fmul st(3)
fmul qword [0x4eaad8]
fdiv st(2)
fldln2
fxch st(1)
fyl2x
fmul qword [0x4fce00]
fsub qword [0x4fcdf8]
fmul st(1)
fadd qword [0x4eaad8]
call fcn.004bfae0
sub eax, edi
mov edi, dword [esp + 0x4c]
fstp st(0)
fstp st(0)
inc eax
lea ebx, [edi*4]
push 0x116
push str.F:WorkMMBuilderDesigner_4.9.0.1FMODogg_vorbis_vorbislibpsy.c
fstp st(0)
mov dword [esi + 0x28], eax
push ebx
push ebp
call fcn.004869e0
push 0x118
push str.F:WorkMMBuilderDesigner_4.9.0.1FMODogg_vorbis_vorbislibpsy.c
push ebx
push ebp
mov dword [esi + 0x10], eax
call fcn.004869e0
push 0x119
push str.F:WorkMMBuilderDesigner_4.9.0.1FMODogg_vorbis_vorbislibpsy.c
push ebx
push ebp
mov dword [esi + 0x14], eax
call fcn.004869e0
fild dword [esp + 0x80]
mov ecx, dword [esp + 0x80]
mov dword [esi + 0x18], eax
mov eax, dword [esp + 0x74]
add esp, 0x38
fstp qword [esp + 0x2c]
mov dword [esi + 4], eax
xor eax, eax
mov dword [esi], edi
mov dword [esi + 0x2c], ecx
xor ebx, ebx
mov dword [esp + 0x40], 0x522fe4
inc eax
sub esp, 8
mov dword [esp + 0x40], eax
fild dword [esp + 0x40]
fmul qword [0x4fcdf0]
fsub qword [0x4fca20]
fadd qword [0x4fcdf8]
fmul qword [0x4fcde8]
fldl2e
fmulp st(1)
fld st(0)
frndint
fxch st(1)
fsub st(1)
f2xm1
fld1
faddp st(1)
fscale
fstp st(1)
fmul qword [esp + 0x2c]
fadd st(0), st(0)
fdiv qword [esp + 0x34]
fadd qword [0x4eaad8]
fstp qword [esp]
call fcn.004c297f
add esp, 8
call fcn.004bfae0
mov ecx, dword [esp + 0x40]
cmp ebx, eax
fld dword [ecx - 4]
jge 0x4ab268
fld dword [ecx]
mov edx, eax
sub edx, ebx
mov dword [esp + 0x40], edx
fsub st(1)
fidiv dword [esp + 0x40]
fstp dword [esp + 0x40]
cmp ebx, edi
jge 0x4ab268
mov edx, dword [esi + 0x10]
inc ebx
fld st(0)
fadd qword [0x4eab30]
cmp ebx, eax
fstp dword [edx + ebx*4 - 4]
fadd dword [esp + 0x40]
jl 0x4ab24c
mov eax, dword [esp + 0x38]
add ecx, 4
cmp ecx, 0x523140
mov dword [esp + 0x40], ecx
fstp st(0)
jl 0x4ab1d3
xor eax, eax
xor ebx, ebx
cmp edi, eax
jle 0x4ab45a
mov dword [esp + 0x40], eax
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x48]
lea ecx, [edi + edi]
cdq
idiv ecx
mov ecx, eax
mov edx, ecx
imul edx, ecx
mov eax, dword [esp + 0x38]
mov edi, dword [esp + 0x10]
imul eax, ebx
fild dword [esp + 0x40]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x3c]
fild dword [esp + 0x48]
mov eax, dword [eax + 0x78]
add eax, edi
fmul dword [0x4fcde0]
fld1
cmp eax, ebx
fpatan
fmul qword [0x4fcdd8]
fld st(1)
fmul dword [0x4fcdd0]
fld1
fpatan
fmul qword [0x4fcdc8]
faddp st(1)
fxch st(1)
fmul dword [0x4fcdc4]
faddp st(1)
fstp dword [esp + 0x18]
jge 0x4ab395
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x14], eax
fld dword [esp + 0x18]
fsub dword [edi + 0x70]
mov eax, ecx
mov edi, edx
imul eax, dword [esp + 0x10]
imul edi, dword [esp + 0x10]
fstp dword [esp + 0x20]
mov dword [esp + 0x48], eax
mov eax, edi
imul eax, dword [esp + 0x10]
fild dword [esp + 0x48]
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
fmul dword [0x4fcde0]
fld1
fpatan
fmul qword [0x4fcdd8]
fld st(1)
fmul dword [0x4fcdd0]
fld1
fpatan
fmul qword [0x4fcdc8]
faddp st(1)
fxch st(1)
fmul dword [0x4fcdc4]
faddp st(1)
fld dword [esp + 0x20]
fcompp
fnstsw ax
test ah, 0x41
jne 0x4ab395
mov eax, dword [esp + 0x10]
add edi, edx
inc eax
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x48]
add eax, ecx
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x14]
inc eax
cmp eax, ebx
mov dword [esp + 0x14], eax
jl 0x4ab325
cmp ebp, dword [esp + 0x44]
jge 0x4ab428
mov eax, dword [esp + 0x3c]
mov edi, edx
mov eax, dword [eax + 0x7c]
add eax, ebx
mov dword [esp + 0x20], eax
mov eax, ecx
imul eax, ebp
imul edi, ebp
mov dword [esp + 0x48], eax
cmp ebp, dword [esp + 0x20]
jl 0x4ab413
mov eax, edi
imul eax, ebp
fild dword [esp + 0x48]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x3c]
fild dword [esp + 0x1c]
fmul dword [0x4fcde0]
fld1
fpatan
fmul qword [0x4fcdd8]
fld st(1)
fmul dword [0x4fcdd0]
fld1
fpatan
fmul qword [0x4fcdc8]
faddp st(1)
fxch st(1)
fmul dword [0x4fcdc4]
faddp st(1)
fld dword [esp + 0x18]
fadd dword [eax + 0x74]
fcompp
fnstsw ax
test ah, 0x41
jne 0x4ab428
mov eax, dword [esp + 0x48]
inc ebp
add eax, ecx
add edi, edx
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x44]
cmp ebp, eax
jl 0x4ab3ba
mov eax, dword [esp + 0x10]
mov edi, dword [esi + 0x18]
shl eax, 0x10
add eax, ebp
mov dword [edi + ebx*4], eax
mov eax, dword [esp + 0x38]
mov edi, dword [esp + 0x40]
add eax, edx
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x44]
inc ebx
add edi, ecx
cmp ebx, eax
mov dword [esp + 0x40], edi
jl 0x4ab2a6
mov edi, eax
xor ebx, ebx
test edi, edi
mov dword [esp + 0x44], ebx
jle 0x4ab4be
fild dword [esp + 0x44]
mov ecx, dword [esi + 0x20]
mov edx, 1
inc ecx
fadd dword [0x4fce08]
shl edx, cl
fmul qword [esp + 0x2c]
mov dword [esp + 0x44], edx
fmul qword [0x4eaad8]
fdiv qword [esp + 0x24]
fldln2
fxch st(1)
fyl2x
fmul qword [0x4fce00]
fsub qword [0x4fcdf8]
fild dword [esp + 0x44]
fmulp st(1)
fadd qword [0x4eaad8]
call fcn.004bfae0
mov ecx, dword [esi + 0x14]
inc ebx
cmp ebx, edi
mov dword [esp + 0x44], ebx
mov dword [ecx + ebx*4 - 4], eax
jl 0x4ab464
fld qword [esp + 0x2c]
fmul qword [0x4eaad8]
mov eax, dword [esp + 0x3c]
fdiv qword [esp + 0x24]
mov edx, dword [eax + 0x1c]
mov ecx, dword [eax + 0x18]
push edx
push ecx
push edi
push ecx
add eax, 0x24
fstp dword [esp]
push eax
call fcn.004ab600
push 0x140
push str.F:WorkMMBuilderDesigner_4.9.0.1FMODogg_vorbis_vorbislibpsy.c
push 0xc
push 0
mov dword [esi + 8], eax
call fcn.004869e0
add esp, 0x24
mov dword [esi + 0xc], eax
xor ebx, ebx
push 0x142
lea eax, [edi*4]
push str.F:WorkMMBuilderDesigner_4.9.0.1FMODogg_vorbis_vorbislibpsy.c
push eax
push 0
call fcn.004869e0
mov edx, dword [esi + 0xc]
add ebx, 4
add esp, 0x10
cmp ebx, 0xc
mov dword [edx + ebx - 4], eax
jl 0x4ab504
xor ebx, ebx
test edi, edi
mov dword [esp + 0x44], ebx
jle 0x4ab5eb
fld qword [esp + 0x24]
fadd st(0), st(0)
fild dword [esp + 0x44]
fadd qword [0x4eaad8]
fmul qword [esp + 0x2c]
fdiv st(1)
fldln2
fxch st(1)
fyl2x
fmul qword [0x4fce00]
fsub qword [0x4fcdf8]
fadd st(0), st(0)
fcom dword [0x4ea920]
fnstsw ax
test ah, 1
je 0x4ab57e
fstp st(0)
fld dword [0x4ea920]
jmp 0x4ab593
fcom dword [0x4fcdc0]
fnstsw ax
test ah, 1
jne 0x4ab593
fstp st(0)
fld dword [0x4fcdc0]
fld st(0)
call fcn.004bfae0
mov dword [esp + 0x44], eax
xor ecx, ecx
fisub dword [esp + 0x44]
lea eax, [eax*4 + 0x88]
fld st(0)
fsubr qword [0x4eaad0]
mov edx, dword [esi + 4]
add ecx, 4
fld dword [edx + eax - 4]
fmul st(1)
fld st(2)
fmul dword [edx + eax]
mov edx, dword [esi + 0xc]
add eax, 0x44
cmp ecx, 0xc
mov edx, dword [edx + ecx - 4]
faddp st(1)
fstp dword [edx + ebx*4]
jl 0x4ab5b3
inc ebx
fstp st(0)
cmp ebx, edi
mov dword [esp + 0x44], ebx
fstp st(0)
jl 0x4ab543
fstp st(0)
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret