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

Disassembly:
fld dword [esp + 8]
sub esp, 0x180
fcomp dword [esp + 0x184]
push ebx
push ebp
mov ebx, ecx
fnstsw ax
test ah, 0x41
jne 0x5aa933
fld dword [ebx + 0x1c]
fsub dword [ebx + 0x18]
fmul dword [ebx + 0x10]
fsubr dword [esp + 0x190]
fstp dword [esp + 0x190]
mov eax, dword [ebx + 0x34]
mov edx, dword [ebx + 0xc8]
push esi
mov esi, dword [eax + 0xbc]
movzx eax, word [ebx + 0xc2]
lea ecx, [eax + eax*4]
mov eax, dword [esi]
lea ebp, [edx + ecx*8]
push edi
mov ecx, esi
call dword [eax + 0x38]
mov ecx, esi
mov edi, eax
lea eax, [edi + 1]
mov word [ebp + 0x26], di
mov edx, dword [esi]
push eax
mov dword [esp + 0x28], edi
call dword [edx + 0x34]
inc word [ebx + 0xc2]
mov ecx, dword [esi + 0x20]
mov edx, dword [esi + 0x24]
mov eax, dword [esi + 0x28]
mov dword [esp + 0x4c], ecx
mov ecx, dword [esi + 0x40]
mov dword [esp + 0x54], edx
mov edx, dword [esi + 0x48]
mov esi, dword [esp + 0x1a4]
test esi, esi
mov dword [esp + 0x50], eax
mov dword [esp + 0x48], ecx
mov dword [esp + 0x44], edx
je 0x5aae47
fld dword [esp + 0x194]
mov edi, dword [sym.imp.MSVCR71.dll_rand]
fsub dword [esp + 0x198]
fstp dword [esp + 0x10]
fld dword [esi + 8]
fld dword [esi + 4]
fld dword [esi]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fld st(3)
fmul st(4)
faddp st(1)
fsqrt
fstp st(3)
fstp st(0)
fstp st(0)
fstp dword [esp + 0x30]
call edi
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fmul dword [ebx + 0xb8]
fmul dword [0x71575c]
fadd dword [0x6c263c]
fmul dword [esp + 0x30]
fstp dword [esp + 0x2c]
call edi
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fmul dword [ebx + 0xbc]
fmul dword [0x729c78]
fmul dword [0x71575c]
fstp dword [esp + 0x14]
call edi
mov dword [esp + 0x28], eax
fild dword [esp + 0x28]
fmul dword [0x729c80]
fmul dword [0x71575c]
fld dword [esp + 0x14]
fsin
fld st(1)
fcos
fmul st(1)
fstp dword [esp + 0x18]
fxch st(1)
fsin
fmul st(1)
fstp dword [esp + 0x1c]
fstp st(0)
fld dword [esp + 0x14]
fcos
fstp dword [esp + 0x20]
fld dword [esi]
fst dword [esp + 0x14]
fld dword [esi + 4]
fst dword [esp + 0x28]
fld st(1)
fchs
fst dword [esp + 0x40]
fstp dword [esp + 0x58]
fld st(0)
fchs
fstp dword [esp + 0x5c]
lea eax, [esp + 0x58]
fstp dword [esp + 0x6c]
push eax
lea ecx, [esp + 0x68]
fstp dword [esp + 0x40]
push ecx
lea edx, [esp + 0x3c]
push edx
lea ecx, [esp + 0xa0]
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
call fcn.0053dee0
fld dword [esp + 0x40]
fld dword [esp + 0x1c]
mov ecx, 9
fmul dword [esi + 8]
lea edi, [esp + 0x70]
fld dword [esp + 0x20]
fmul dword [esi + 4]
fsubp st(1)
fld dword [esp + 0x20]
fmul dword [esi]
fld dword [esp + 0x18]
fmul dword [esi + 8]
fsubp st(1)
fld dword [esp + 0x18]
fmul dword [esi + 4]
fld dword [esp + 0x1c]
fmul dword [esi]
mov esi, 0x7199b0
rep movsd dword es:[edi], dword [esi]
fsubp st(1)
fxch st(2)
fmul dword [esp + 0x28]
fxch st(1)
fmul st(3)
faddp st(1)
fxch st(1)
fmul dword [0x715554]
faddp st(1)
fstp st(1)
fcom dword [0x6c72c8]
fnstsw ax
test ah, 0x41
jne 0x5aabd3
fstp st(0)
push ecx
fld dword [0x6c263c]
mov ecx, dword [esp + 0x1a8]
fdiv dword [esp + 0x34]
lea eax, [esp + 0xe0]
lea edx, [esp + 0x14c]
fstp dword [esp]
fld dword [esp + 0x34]
fsub dword [ecx + 8]
push eax
fld dword [esp + 0x30]
push ecx
fmul dword [esp + 0x34]
lea ecx, [esp + 0xa0]
fld dword [esp + 0x20]
fmul dword [esp + 0x20]
faddp st(1)
fdivp st(1)
fstp dword [esp]
push edx
call fcn.0053e1d0
push eax
lea eax, [esp + 0x10c]
push eax
lea ecx, [esp + 0x80]
call fcn.0053dce0
push eax
lea ecx, [esp + 0x130]
push ecx
lea ecx, [esp + 0xa4]
call fcn.0053e0c0
mov ecx, eax
call fcn.0053e1d0
push eax
lea edx, [esp + 0xbc]
push edx
lea ecx, [esp + 0x78]
call fcn.0053dce0
jmp 0x5aacf5
fchs
fcomp dword [0x6c72c8]
fnstsw ax
test ah, 0x41
jne 0x5aac7b
fld dword [0x6c263c]
push ecx
fdiv dword [esp + 0x34]
mov ecx, dword [esp + 0x1a8]
lea eax, [esp + 0xbc]
lea edx, [esp + 0x128]
fstp dword [esp]
fld dword [esp + 0x34]
fsub dword [ecx + 8]
push eax
fld dword [esp + 0x30]
push ecx
fmul dword [esp + 0x34]
lea ecx, [esp + 0xa0]
fld dword [esp + 0x20]
fmul dword [esp + 0x20]
faddp st(1)
fdivp st(1)
fstp dword [esp]
push edx
call fcn.0053e1d0
push eax
lea eax, [esp + 0x10c]
push eax
lea ecx, [esp + 0x80]
call fcn.0053dd80
push eax
lea ecx, [esp + 0x154]
push ecx
lea ecx, [esp + 0xa4]
call fcn.0053e0c0
mov ecx, eax
call fcn.0053e1d0
push eax
lea edx, [esp + 0xe0]
push edx
lea ecx, [esp + 0x78]
call fcn.0053dd80
jmp 0x5aacf5
mov eax, dword [esp + 0x1a4]
fld dword [eax + 8]
fcomp dword [0x715554]
fnstsw ax
test ah, 5
jp 0x5aad02
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x68]
push edx
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0xc4]
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0xbf800000
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0xbf800000
mov dword [esp + 0x78], 0
mov dword [esp + 0x64], 0xbf800000
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
call fcn.0053dee0
mov esi, eax
lea edi, [esp + 0x70]
mov ecx, 9
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x2c]
push ecx
lea edx, [esp + 0x170]
push edx
lea ecx, [esp + 0x78]
call fcn.0053e1d0
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x174]
call fcn.0053e250
mov ecx, dword [eax]
mov edx, ebp
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov eax, dword [eax + 8]
mov ecx, dword [esp + 0x10]
mov dword [edx + 8], eax
mov dword [ebp + 0x18], ecx
call dword [sym.imp.MSVCR71.dll_rand]
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
mov eax, dword [esp + 0x1a4]
lea ecx, [eax + 0xc]
fmul dword [0x71575c]
fsub dword [0x6c2890]
fmul dword [ebx + 0x94]
fadd dword [ebx + 0x90]
fstp dword [ebp + 0x1c]
mov dx, word [eax + 0x24]
inc dx
mov word [ebp + 0x24], dx
mov esi, dword [ecx]
lea edx, [ebp + 0xc]
mov dword [edx], esi
mov esi, dword [ecx + 4]
mov dword [edx + 4], esi
mov ecx, dword [ecx + 8]
mov dword [edx + 8], ecx
movzx eax, word [eax + 0x26]
movzx ecx, word [esp + 0x24]
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x14], eax
lea eax, [eax + eax*2]
shl eax, 2
lea esi, [eax + edx]
mov edi, dword [esi]
lea ecx, [ecx + ecx*2]
shl ecx, 2
add edx, ecx
mov dword [edx], edi
mov edi, dword [esi + 4]
mov dword [edx + 4], edi
mov esi, dword [esi + 8]
mov dword [edx + 8], esi
mov edx, dword [esp + 0x54]
test edx, edx
je 0x5aade5
add eax, edx
add ecx, edx
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov eax, dword [eax + 8]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x50]
test eax, eax
mov ecx, dword [esp + 0x14]
je 0x5aae18
movzx edx, word [esp + 0x24]
mov esi, ecx
shl esi, 4
add esi, eax
shl edx, 4
add edx, eax
mov eax, dword [esi]
mov dword [edx], eax
mov eax, dword [esi + 4]
mov dword [edx + 4], eax
mov eax, dword [esi + 8]
mov dword [edx + 8], eax
mov eax, dword [esi + 0xc]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x48]
test eax, eax
je 0x5aae2b
movzx edx, word [esp + 0x24]
mov esi, dword [eax + ecx*4]
mov dword [eax + edx*4], esi
mov eax, dword [esp + 0x44]
test eax, eax
je 0x5ab0e3
mov edx, dword [eax + ecx*4]
movzx ecx, word [esp + 0x24]
mov dword [eax + ecx*4], edx
jmp 0x5ab0e3
mov esi, dword [sym.imp.MSVCR71.dll_rand]
call esi
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fld dword [esp + 0x194]
fsub dword [esp + 0x198]
fmulp st(1)
fmul dword [0x71575c]
fstp dword [esp + 0x2c]
call esi
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fmul dword [0x71575c]
fsub dword [0x6c2890]
fmul dword [ebx + 0x4c]
fadd dword [ebx + 0x48]
fstp dword [esp + 0x24]
call esi
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fmul dword [0x6c72d0]
fsub dword [0x6c263c]
fmul dword [ebx + 0x54]
fadd dword [ebx + 0x50]
fstp dword [esp + 0x14]
call esi
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
mov eax, ebp
fmul dword [0x6c72d0]
fsub dword [0x6c263c]
fmul dword [ebx + 0x5c]
fadd dword [ebx + 0x58]
fld dword [esp + 0x14]
fsin
fld st(1)
fcos
fmul st(1)
fstp dword [esp + 0x34]
fxch st(1)
fsin
fmulp st(1)
fld dword [esp + 0x14]
fcos
fld dword [esp + 0x34]
fmul dword [esp + 0x24]
fstp dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
fxch st(1)
mov dword [eax], ecx
fmul dword [esp + 0x24]
fstp dword [esp + 0x1c]
mov edx, dword [esp + 0x1c]
mov dword [eax + 4], edx
fmul dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
mov dword [ebp + 0x18], edx
fstp dword [esp + 0x20]
mov ecx, dword [esp + 0x20]
mov dword [eax + 8], ecx
call esi
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fmul dword [0x71575c]
fsub dword [0x6c2890]
fmul dword [ebx + 0x94]
fadd dword [ebx + 0x90]
fstp dword [ebp + 0x1c]
mov word [ebp + 0x24], 0
mov ecx, dword [0x7197ac]
lea eax, [ebp + 0xc]
mov dword [eax], ecx
mov edx, dword [0x7197b0]
mov dword [eax + 4], edx
mov ecx, dword [0x7197b4]
mov dword [eax + 8], ecx
call esi
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fmul dword [0x71575c]
fstp dword [esp + 0x40]
call esi
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fmul dword [0x71575c]
fstp dword [esp + 0x2c]
call esi
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
mov edx, dword [esp + 0x4c]
movzx eax, di
lea edi, [eax + eax*2]
fmul dword [0x71575c]
shl edi, 2
lea esi, [edi + edx]
mov ecx, esi
fsub dword [0x6c2890]
mov dword [esp + 0x10], eax
fmul dword [ebx + 0xa4]
fld dword [esp + 0x2c]
fsub dword [0x6c2890]
fmul dword [ebx + 0x9c]
fstp dword [esp + 0x18]
mov edx, dword [esp + 0x18]
fld dword [esp + 0x40]
fsub dword [0x6c2890]
fmul dword [ebx + 0xa0]
mov dword [ecx], edx
fstp dword [esp + 0x1c]
mov edx, dword [esp + 0x1c]
mov dword [ecx + 4], edx
fstp dword [esp + 0x20]
mov edx, dword [esp + 0x20]
mov dword [ecx + 8], edx
mov ecx, dword [ebx + 0xa8]
test ecx, ecx
je 0x5ab081
mov ecx, dword [esp + 0x19c]
push ebp
lea eax, [esp + 0x38]
push eax
call fcn.0053e250
mov edx, dword [eax]
mov ecx, ebp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov eax, dword [eax + 8]
mov dword [ecx + 8], eax
push esi
lea ecx, [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x1a4]
call fcn.0053e250
fld dword [eax]
mov ecx, dword [esp + 0x1a0]
fadd dword [ecx]
fstp dword [esp + 0x18]
mov edx, dword [esp + 0x18]
fld dword [eax + 4]
fadd dword [ecx + 4]
fstp dword [esp + 0x1c]
fld dword [eax + 8]
mov eax, dword [esp + 0x1c]
fadd dword [ecx + 8]
mov dword [esi], edx
mov dword [esi + 4], eax
mov eax, dword [esp + 0x10]
fstp dword [esp + 0x20]
mov ecx, dword [esp + 0x20]
mov dword [esi + 8], ecx
mov ecx, dword [esp + 0x54]
test ecx, ecx
je 0x5ab09e
add edi, ecx
lea edx, [ebx + 0x60]
mov ecx, dword [edx]
mov dword [edi], ecx
mov ecx, dword [edx + 4]
mov dword [edi + 4], ecx
mov edx, dword [edx + 8]
mov dword [edi + 8], edx
mov ecx, dword [esp + 0x50]
test ecx, ecx
je 0x5ab0c6
mov esi, eax
shl esi, 4
add esi, ecx
lea edx, [ebx + 0x6c]
mov ecx, dword [edx]
mov dword [esi], ecx
mov ecx, dword [edx + 4]
mov dword [esi + 4], ecx
mov ecx, dword [edx + 8]
mov dword [esi + 8], ecx
mov edx, dword [edx + 0xc]
mov dword [esi + 0xc], edx
mov ecx, dword [esp + 0x48]
test ecx, ecx
je 0x5ab0d4
mov edx, dword [ebx + 0x7c]
mov dword [ecx + eax*4], edx
mov ecx, dword [esp + 0x44]
test ecx, ecx
je 0x5ab0e3
mov dword [ecx + eax*4], 0x3f800000
fld dword [esp + 0x194]
pop edi
fsub dword [ebp + 0x18]
pop esi
fstp dword [ebp + 0x20]
mov ebx, dword [ebx + 0xd0]
test ebx, ebx
je 0x5ab104
mov eax, dword [ebx]
push ebp
mov ecx, ebx
call dword [eax + 0x40]
mov eax, ebp
pop ebp
pop ebx
add esp, 0x180
ret 0x14