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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
mov ecx, dword [0x85ff50]
fld dword [0x69c53c]
mov edx, dword [ecx + 0x34]
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
and eax, 0xffff
lea eax, [eax + eax*2]
mov eax, dword [edx + eax*4 + 8]
mov edx, dword [ebx + 4]
fmul dword [edx + 0x1c]
xor ecx, ecx
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x14]
fst dword [ebp - 0x24]
push esi
fmul dword [edx + 8]
mov dword [eax], ecx
mov dword [eax + 4], ecx
push edi
mov edi, dword [ebp + 0x10]
fchs
fstp dword [eax + 8]
mov eax, dword [ebp + 0x18]
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov ecx, dword [edx + 0x74]
imul ecx, ecx, 0x130
mov esi, ecx
shr ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, esi
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [edx + 0x74]
xor esi, esi
cmp eax, esi
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x34], esi
jle 0x508ba4
jmp 0x507ef0
mov edx, dword [ebp - 0xc]
mov ebx, dword [ebp + 8]
lea esp, [esp]
mov ecx, dword [edx + 0x78]
mov eax, dword [ebp + 0x10]
mov edi, esi
imul esi, esi, 0x130
shl edi, 7
add edi, ecx
add esi, eax
mov ax, word [edi + 0x20]
cmp ax, 0xffff
mov dword [ebp - 0x18], edi
je 0x507f3b
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x507f3b
movsx ecx, ax
mov eax, ecx
shl eax, 7
add eax, dword [edx + 0x6c]
test eax, eax
mov dword [ebp - 0x14], eax
je 0x507f42
lea eax, [ecx + ecx*2]
mov ecx, dword [ebp + 0xc]
shl eax, 5
add eax, ecx
mov dword [ebp - 0x10], eax
jmp 0x507f49
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
add ebx, 8
lea eax, [esi + 4]
lea edx, [edi + 0x38]
push ebx
mov dword [esi], 0
call fcn.004cbe20
mov eax, dword [ebp - 0x10]
add esp, 4
test eax, eax
je 0x508040
lea ecx, [ebp - 0x94]
push ecx
add eax, 0x2c
push eax
push ebx
call dword [0x696664]
fld dword [edi + 0x44]
fld dword [edi + 0x48]
add esp, 0xc
fld dword [edi + 0x4c]
fld dword [ebp - 0x78]
fmul st(1)
fld dword [ebp - 0x84]
fmul st(3)
faddp st(1)
fld dword [ebp - 0x90]
fmul st(4)
faddp st(1)
fstp dword [esi + 0x10]
fld dword [ebp - 0x74]
fmul st(1)
fld dword [ebp - 0x80]
fmul st(3)
faddp st(1)
fld dword [ebp - 0x8c]
fmul st(4)
faddp st(1)
fstp dword [esi + 0x14]
fld dword [ebp - 0x70]
fmul st(1)
fld dword [ebp - 0x7c]
fmul st(3)
faddp st(1)
fld dword [ebp - 0x88]
fmul st(4)
faddp st(1)
fstp dword [esi + 0x18]
fstp st(0)
fstp st(0)
fstp st(0)
fld dword [edi + 0x50]
fld dword [edi + 0x54]
fld dword [edi + 0x58]
fld dword [ebp - 0x78]
fmul st(1)
fld dword [ebp - 0x84]
fmul st(3)
faddp st(1)
fld dword [ebp - 0x90]
fmul st(4)
faddp st(1)
fstp dword [esi + 0x28]
fld dword [ebp - 0x74]
fmul st(1)
fld dword [ebp - 0x80]
fmul st(3)
faddp st(1)
fld dword [ebp - 0x8c]
fmul st(4)
faddp st(1)
fstp dword [esi + 0x2c]
fld dword [ebp - 0x70]
fmul st(1)
fld dword [ebp - 0x7c]
fmul st(3)
faddp st(1)
fld dword [ebp - 0x88]
fmul st(4)
faddp st(1)
fstp dword [esi + 0x30]
fstp st(0)
fstp st(0)
fstp st(0)
jmp 0x5080d2
fld dword [edi + 0x44]
fld dword [edi + 0x48]
fld dword [edi + 0x4c]
fld st(0)
fmul dword [ebx + 0x1c]
fld st(2)
fmul dword [ebx + 0x10]
faddp st(1)
fld st(3)
fmul dword [ebx + 4]
faddp st(1)
fstp dword [esi + 0x10]
fld st(0)
fmul dword [ebx + 0x20]
fld st(2)
fmul dword [ebx + 0x14]
faddp st(1)
fld st(3)
fmul dword [ebx + 8]
faddp st(1)
fstp dword [esi + 0x14]
fmul dword [ebx + 0x24]
fxch st(1)
fmul dword [ebx + 0x18]
faddp st(1)
fxch st(1)
fmul dword [ebx + 0xc]
faddp st(1)
fstp dword [esi + 0x18]
fld dword [edi + 0x50]
fld dword [edi + 0x54]
fld dword [edi + 0x58]
fld st(0)
fmul dword [ebx + 0x1c]
fld st(2)
fmul dword [ebx + 0x10]
faddp st(1)
fld st(3)
fmul dword [ebx + 4]
faddp st(1)
fstp dword [esi + 0x28]
fld st(0)
fmul dword [ebx + 0x20]
fld st(2)
fmul dword [ebx + 0x14]
faddp st(1)
fld st(3)
fmul dword [ebx + 8]
faddp st(1)
fstp dword [esi + 0x2c]
fmul dword [ebx + 0x24]
fxch st(1)
fmul dword [ebx + 0x18]
faddp st(1)
fxch st(1)
fmul dword [ebx + 0xc]
faddp st(1)
fstp dword [esi + 0x30]
mov ecx, dword [0x746eb0]
lea edx, [esi + 4]
xor eax, eax
call fcn.00501540
cmp eax, 0xffffffff
mov dword [esi + 0x34], eax
jne 0x5080ee
or eax, eax
jmp 0x508107
mov ecx, dword [0x746ebc]
mov ecx, dword [ecx + 0xe4]
and eax, 0x7fffffff
shl eax, 4
movsx eax, word [eax + ecx + 8]
mov word [esi + 0x38], ax
fld dword [edx]
mov eax, dword [ebp - 0x2c]
fsub dword [eax + 0x5c]
lea ebx, [esi + 0x48]
push edi
push esi
fstp dword [esi + 0x3c]
fld dword [edx + 4]
fsub dword [eax + 0x60]
fstp dword [esi + 0x40]
fld dword [edx + 8]
mov edx, ebx
fsub dword [eax + 0x64]
fstp dword [esi + 0x44]
fld dword [eax + 0x90]
fmul dword [esi + 0x44]
fld dword [esi + 0x40]
fmul dword [eax + 0x94]
fsubp st(1)
fstp dword [ebp - 0x4c]
fld dword [esi + 0x3c]
fmul dword [eax + 0x94]
fld dword [eax + 0x8c]
fmul dword [esi + 0x44]
fsubp st(1)
fstp dword [ebp - 0x48]
mov ecx, dword [ebp - 0x48]
fld dword [eax + 0x8c]
fmul dword [esi + 0x40]
fld dword [eax + 0x90]
mov eax, dword [ebp - 0x4c]
fmul dword [esi + 0x3c]
mov dword [edx], eax
mov dword [edx + 4], ecx
mov ecx, dword [ebp + 8]
fsubp st(1)
fstp dword [ebp - 0x44]
mov eax, dword [ebp - 0x44]
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x2c]
fld dword [eax + 0x68]
fadd dword [ebx]
fstp dword [ebx]
fld dword [ebx + 4]
fadd dword [eax + 0x6c]
fstp dword [ebx + 4]
fld dword [ebx + 8]
fadd dword [eax + 0x70]
fstp dword [ebx + 8]
mov edx, dword [ecx]
push edx
call fcn.00507c60
add esp, 0xc
lea edi, [esi + 4]
lea eax, [esi + 0x34]
call fcn.0053ef00
fstp dword [esi + 0x7c]
fld dword [esi + 0x74]
fcomp dword [0x672af8]
fnstsw ax
test ah, 0x41
jne 0x5084b8
mov ax, word [esi + 0x70]
test ax, ax
mov ecx, dword [0x746ec0]
jl 0x5081ff
mov edx, dword [ecx + 0x194]
movsx eax, ax
cmp eax, edx
jge 0x5081ff
mov edx, dword [ecx + 0x198]
imul eax, eax, 0x374
add eax, edx
mov edx, eax
jmp 0x50821e
mov al, byte [0x721d74]
test al, al
jne 0x508219
mov dword [0x6e34a0], 0xffffffff
mov byte [0x721d74], 1
mov edx, 0x6e3130
fld dword [edx + 0x94]
mov ecx, dword [ebp - 0xc]
fcomp dword [0x672af8]
fnstsw ax
test ah, 0x41
jne 0x50824f
fld dword [ecx + 8]
fcomp dword [0x6731b8]
fnstsw ax
test ah, 0x41
jp 0x50824f
fld dword [ecx + 0x20]
fmul dword [edx + 0x94]
jmp 0x508252
fld dword [ecx + 0x20]
fld dword [edx + 0x98]
fcomp dword [0x672af8]
fnstsw ax
test ah, 0x41
jne 0x508273
fld dword [ecx + 0x2c]
fmul dword [edx + 0x98]
fstp dword [ebp - 0x30]
jmp 0x508279
mov eax, dword [ecx + 0x2c]
mov dword [ebp - 0x30], eax
fld dword [edx + 0x9c]
fcomp dword [0x672af8]
fnstsw ax
test ah, 0x41
jne 0x50829a
fld dword [ecx + 0x30]
fmul dword [edx + 0x9c]
fstp dword [ebp - 0x28]
jmp 0x5082a0
mov eax, dword [ecx + 0x30]
mov dword [ebp - 0x28], eax
fld dword [edx + 0xa0]
fcomp dword [0x672af8]
fld dword [ecx + 0x24]
fnstsw ax
test ah, 0x41
jne 0x5082bc
fmul dword [edx + 0xa0]
fld dword [edx + 0xa4]
fcomp dword [0x672af8]
fld dword [ecx + 0x28]
fnstsw ax
test ah, 0x41
jne 0x5082d8
fmul dword [edx + 0xa4]
fld dword [ebx + 8]
mov eax, dword [ebp - 0x14]
test eax, eax
fmul dword [esi + 0x68]
fld dword [ebx + 4]
lea edi, [esi + 0x90]
fmul dword [esi + 0x64]
faddp st(1)
fld dword [ebx]
fmul dword [esi + 0x60]
faddp st(1)
fstp dword [ebp - 0x1c]
fld dword [esi + 0x74]
fdivrp st(2)
fxch st(1)
fmul dword [0x69c53c]
fld dword [ebp - 0x1c]
fmul st(2)
fsubp st(1)
fmul dword [ecx + 8]
mov ecx, dword [ebp - 0x18]
fstp st(1)
fst dword [esi + 0x80]
fld st(0)
fmul dword [esi + 0x60]
fstp dword [esi + 0x84]
fld st(0)
fmul dword [esi + 0x64]
fstp dword [esi + 0x88]
fmul dword [esi + 0x68]
fstp dword [esi + 0x8c]
fmul dword [ecx + 0x2c]
fchs
fstp dword [ebp - 8]
fld dword [ebp - 0x1c]
fchs
fld st(0)
fmul dword [esi + 0x60]
fadd dword [ebx]
fstp dword [esi + 0x54]
fld st(0)
fmul dword [esi + 0x64]
fadd dword [ebx + 4]
fstp dword [esi + 0x58]
fmul dword [esi + 0x68]
fadd dword [ebx + 8]
fstp dword [esi + 0x5c]
fld dword [ebp - 8]
fmul dword [esi + 0x54]
fstp dword [edi]
fld dword [ebp - 8]
fmul dword [esi + 0x58]
fstp dword [edi + 4]
fld dword [ebp - 8]
fmul dword [esi + 0x5c]
fstp dword [edi + 8]
je 0x50849d
test byte [eax + 0x20], 1
je 0x50849d
fld dword [0x672af8]
mov edx, dword [ebp - 0x10]
fld dword [edx]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x50849d
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x28]
mov edx, dword [esi + 0x68]
push eax
push ecx
push edx
call fcn.005075d0
fld dword [esi + 0x30]
fmul dword [esi + 0x68]
add esp, 0xc
fld dword [esi + 0x2c]
fmul dword [esi + 0x64]
faddp st(1)
fld dword [esi + 0x60]
fmul dword [esi + 0x28]
faddp st(1)
fcom dword [0x672af8]
fnstsw ax
test ah, 5
jp 0x5083ea
fstp st(0)
fld dword [0x672af8]
jmp 0x5083ff
fcom dword [0x672afc]
fnstsw ax
test ah, 0x41
jne 0x5083ff
fstp st(0)
fld dword [0x672afc]
fld st(0)
mov eax, dword [ebp - 0x10]
fmul st(1)
mov ecx, dword [ebp - 0x18]
fmul st(2)
fmulp st(2)
fxch st(1)
fmul dword [ebp - 8]
fstp st(1)
fld dword [eax]
fchs
fld st(0)
fmul dword [esi + 0x10]
fld st(1)
fmul dword [esi + 0x14]
fstp dword [ebp - 0x54]
fxch st(1)
fmul dword [esi + 0x18]
fst dword [ebp - 0x50]
fmul dword [esi + 0x68]
fld dword [ebp - 0x54]
fmul dword [esi + 0x64]
faddp st(1)
fld st(1)
fmul dword [esi + 0x60]
faddp st(1)
fchs
fst dword [ebp - 8]
fmul dword [esi + 0x60]
faddp st(1)
fld dword [ebp - 8]
fmul dword [esi + 0x64]
fadd dword [ebp - 0x54]
fld dword [ebp - 8]
fmul dword [esi + 0x68]
fadd dword [ebp - 0x50]
fstp dword [ebp - 0xc8]
fld st(1)
fadd dword [esi + 0x54]
fstp dword [esi + 0x54]
fld st(0)
fadd dword [esi + 0x58]
fstp dword [esi + 0x58]
fld dword [ebp - 0xc8]
fadd dword [esi + 0x5c]
fstp dword [esi + 0x5c]
fxch st(1)
fmul st(2)
fadd dword [edi]
fstp dword [edi]
fmul st(1)
fadd dword [edi + 4]
fstp dword [edi + 4]
fld dword [ebp - 0xc8]
fmul st(1)
fadd dword [edi + 8]
fstp dword [edi + 8]
fstp st(0)
mov edx, dword [ecx + 0x64]
mov eax, dword [ecx + 0x60]
movsx ecx, word [ecx + 0x5c]
push edx
push eax
push ecx
lea edx, [esi + 0x28]
lea ecx, [esi + 0x10]
call fcn.00507da0
add esp, 0xc
fld dword [esi + 0x7c]
fcomp dword [0x672af8]
fnstsw ax
test ah, 0x41
jne 0x50866b
fld dword [esi + 0x7c]
mov edx, dword [ebp - 0xc]
fcomp dword [edx + 0x3c]
fnstsw ax
test ah, 5
jp 0x5084e7
fld dword [esi + 0x7c]
fdiv dword [edx + 0x3c]
fstp dword [ebp - 0x20]
jmp 0x5084ee
mov dword [ebp - 0x20], 0x3f800000
mov ecx, dword [ebp - 0x18]
fld dword [ecx + 0x34]
fcomp dword [0x672af8]
fnstsw ax
test ah, 0x41
jne 0x50853a
fld dword [edx + 0x3c]
fcomp dword [0x672af8]
fnstsw ax
test ah, 0x41
jne 0x50853a
fld dword [ecx + 0x2c]
xor eax, eax
fdiv dword [ecx + 0x34]
fmul dword [edx + 0x40]
fmul dword [ebp - 0x20]
fmul dword [ebp - 0x24]
fst dword [esi + 0xb4]
mov dword [esi + 0xb8], eax
fstp dword [esi + 0xc0]
mov dword [esi + 0xbc], eax
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x5085b2
test byte [eax + 0x20], 2
je 0x5085b2
fld dword [0x672af8]
mov edi, dword [ebp - 0x10]
fld dword [edi + 4]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x5085b2
fld dword [edi + 4]
lea edi, [esi + 0xc4]
fchs
fld st(0)
fmul dword [esi + 0x10]
fadd dword [ebx]
fld st(1)
fmul dword [esi + 0x14]
fadd dword [ebx + 4]
fstp dword [ebp - 0xc0]
fxch st(1)
fmul dword [esi + 0x18]
fadd dword [ebx + 8]
fstp dword [ebp - 0xbc]
fld dword [ecx + 0x2c]
fmul dword [edx + 0x38]
fchs
fst dword [ebp - 8]
fmul st(1)
fstp dword [edi]
fstp st(0)
fld dword [ebp - 0xc0]
fmul dword [ebp - 8]
fstp dword [edi + 4]
fld dword [ebp - 0xbc]
fmul dword [ebp - 8]
jmp 0x5085d1
fld dword [ecx + 0x2c]
lea edi, [esi + 0xc4]
fmul dword [edx + 0x38]
fchs
fld st(0)
fmul dword [ebx]
fstp dword [edi]
fld st(0)
fmul dword [ebx + 4]
fstp dword [edi + 4]
fmul dword [ebx + 8]
fstp dword [edi + 8]
mov edx, dword [ecx + 0x64]
mov eax, dword [ecx + 0x60]
movsx ecx, word [ecx + 0x5c]
push edx
push eax
push ecx
lea edx, [esi + 0x28]
lea ecx, [esi + 0x10]
call fcn.00507da0
mov edx, dword [ebp - 0x14]
add esp, 0xc
test edx, edx
je 0x5086e9
test byte [edx + 0x20], 8
mov ecx, dword [ebp - 0x10]
je 0x508671
fld dword [0x672af8]
fld dword [ecx + 0xc]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x508671
fld dword [esi + 0x18]
mov eax, dword [ebp - 0xc]
fmul dword [ebx + 8]
fld dword [esi + 0x14]
fmul dword [ebx + 4]
faddp st(1)
fld dword [ebx]
fmul dword [esi + 0x10]
faddp st(1)
fabs
fmul dword [ecx + 0xc]
fmul dword [eax + 8]
fmul dword [ebp - 0x20]
fld st(0)
fmul dword [esi + 0x28]
fadd dword [esi + 0x10c]
fstp dword [esi + 0x10c]
fld st(0)
fmul dword [esi + 0x2c]
fadd dword [esi + 0x110]
fstp dword [esi + 0x110]
fmul dword [esi + 0x30]
fadd dword [esi + 0x114]
fstp dword [esi + 0x114]
jmp 0x508671
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
test edx, edx
je 0x5086e9
test byte [edx + 0x20], 4
je 0x5086e9
fld dword [0x672af8]
fld dword [ecx + 8]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x5086e9
fld dword [ecx + 8]
mov eax, dword [ebp - 0x18]
fchs
mov ecx, dword [ebp - 0xc]
fld st(0)
fmul dword [esi + 0x10]
lea edi, [esi + 0xe8]
fadd dword [ebx]
fld st(1)
fmul dword [esi + 0x14]
fadd dword [ebx + 4]
fstp dword [ebp - 0xb4]
fxch st(1)
fmul dword [esi + 0x18]
fadd dword [ebx + 8]
fstp dword [ebp - 0xb0]
fld dword [eax + 0x2c]
fmul dword [ecx + 0x48]
fchs
fst dword [ebp - 8]
fmul st(1)
fstp dword [edi]
fstp st(0)
fld dword [ebp - 0xb4]
fmul dword [ebp - 8]
fstp dword [edi + 4]
fld dword [ebp - 0xb0]
fmul dword [ebp - 8]
jmp 0x508710
mov edx, dword [ebp - 0x18]
fld dword [edx + 0x2c]
mov eax, dword [ebp - 0xc]
fmul dword [eax + 0x48]
lea edi, [esi + 0xe8]
mov eax, edx
fchs
fld st(0)
fmul dword [ebx]
fstp dword [edi]
fld st(0)
fmul dword [ebx + 4]
fstp dword [edi + 4]
fmul dword [ebx + 8]
fstp dword [edi + 8]
mov ecx, dword [eax + 0x64]
mov edx, dword [eax + 0x60]
movsx eax, word [eax + 0x5c]
push ecx
push edx
push eax
lea edx, [esi + 0x28]
lea ecx, [esi + 0x10]
call fcn.00507da0
mov edx, dword [ebp - 0x14]
add esp, 0xc
test edx, edx
je 0x5087a3
test byte [edx + 0x20], 0x10
je 0x5087a3
fld dword [0x672af8]
mov ecx, dword [ebp - 0x10]
fld dword [ecx + 0x10]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x5087a6
fld dword [esi + 0x18]
mov eax, dword [ebp - 0xc]
fmul dword [ebx + 8]
fld dword [esi + 0x14]
fmul dword [ebx + 4]
faddp st(1)
fld dword [esi + 0x10]
fmul dword [ebx]
faddp st(1)
fabs
fmul dword [eax + 8]
fmul dword [ecx + 0x10]
fld st(0)
fmul dword [esi + 0x28]
fadd dword [esi + 0x10c]
fstp dword [esi + 0x10c]
fld st(0)
fmul dword [esi + 0x2c]
fadd dword [esi + 0x110]
fstp dword [esi + 0x110]
fmul dword [esi + 0x30]
fadd dword [esi + 0x114]
fstp dword [esi + 0x114]
jmp 0x5087a6
mov ecx, dword [ebp - 0x10]
fld dword [ebx + 8]
fld dword [ebx + 4]
fld dword [ebx]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fld st(3)
fmul st(4)
faddp st(1)
fcomp dword [0x672f3c]
fstp st(0)
fnstsw ax
fstp st(0)
test ah, 5
fstp st(0)
mov eax, dword [esi]
jp 0x5087d8
or eax, 1
jmp 0x5087db
and eax, 0xfffffffe
fld dword [esi + 0x74]
mov dword [esi], eax
fcomp dword [0x672af8]
fnstsw ax
test ah, 0x41
mov eax, dword [esi]
jne 0x5087f4
or eax, 2
jmp 0x5087f7
and eax, 0xfffffffd
fld dword [esi + 0x7c]
mov dword [esi], eax
fcomp dword [0x672af8]
fnstsw ax
test ah, 0x41
mov eax, dword [esi]
jne 0x508810
or eax, 8
jmp 0x508813
and eax, 0xfffffff7
test edx, edx
mov dword [esi], eax
je 0x5089b6
test byte [edx + 0x20], 0x20
je 0x50885d
fld dword [ecx + 0x14]
mov ecx, dword [ebp - 0xc]
fmul dword [ecx + 8]
fld st(0)
fmul dword [esi + 0x10]
fadd dword [esi + 0x10c]
fstp dword [esi + 0x10c]
fld st(0)
fmul dword [esi + 0x14]
fadd dword [esi + 0x110]
fstp dword [esi + 0x110]
fmul dword [esi + 0x18]
fadd dword [esi + 0x114]
fstp dword [esi + 0x114]
test byte [edx + 0x20], 0x40
je 0x5089b6
mov ecx, dword [esi + 8]
fld dword [edx + 0x2c]
mov eax, dword [esi + 4]
mov dword [ebp - 0xa8], ecx
mov ecx, dword [ebp - 0x18]
fadd dword [ecx + 0x68]
mov dword [ebp - 0xac], eax
mov eax, dword [esi + 0xc]
mov dword [ebp - 0xa4], eax
mov eax, dword [0x69672c]
fld st(0)
fmul dword [eax]
lea edx, [ebp - 0x124]
push edx
lea edx, [ebp - 0xa0]
fstp dword [ebp - 0xa0]
fld st(0)
fmul dword [eax + 4]
fstp dword [ebp - 0x9c]
fmul dword [eax + 8]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
push edx
fstp dword [ebp - 0x98]
lea eax, [ebp - 0xac]
push eax
push 0xc0a0
call fcn.00505a20
add esp, 0x14
test al, al
je 0x5089b6
mov eax, dword [ebp - 0x14]
fld dword [eax + 0x2c]
mov ecx, dword [ebp - 0x18]
fadd dword [ecx + 0x68]
mov edx, dword [eax + 0x38]
fmul dword [ebp - 0x110]
fsub dword [ecx + 0x68]
mov ecx, dword [eax + 0x34]
mov eax, dword [esi + 0x30]
push ecx
push edx
fstp dword [ebp - 0x1c]
push eax
call fcn.005075d0
fld dword [ebp - 0x1c]
fcomp dword [0x672af8]
add esp, 0xc
fnstsw ax
test ah, 0x41
mov eax, dword [ebp - 0x14]
jne 0x50892b
fld dword [ebp - 0x1c]
fdiv dword [eax + 0x2c]
fsubr dword [0x672afc]
jmp 0x508931
fld dword [0x672afc]
fld st(0)
mov ecx, dword [ebp - 0x10]
fmul st(1)
mov edx, dword [ebp - 0xc]
fmul dword [0x69c53c]
fld dword [ebp - 0xfc]
fmul dword [ebx + 4]
fld dword [ebp - 0xf8]
fmul dword [ebx + 8]
faddp st(1)
fld dword [ebp - 0x100]
fmul dword [ebx]
faddp st(1)
fmul dword [eax + 0x30]
fsubp st(1)
fmul dword [ecx + 0x18]
fmul dword [eax + 0x24]
fmul dword [edx + 8]
fmulp st(2)
fstp st(0)
fld dword [ebp - 0x100]
fmul st(1)
fadd dword [esi + 0x10c]
fstp dword [esi + 0x10c]
fld dword [ebp - 0xfc]
fmul st(1)
fadd dword [esi + 0x110]
fstp dword [esi + 0x110]
fld dword [ebp - 0xf8]
fmul st(1)
fadd dword [esi + 0x114]
fstp dword [esi + 0x114]
mov eax, dword [esi]
or eax, 0x10
fstp st(0)
mov dword [esi], eax
fld dword [esi + 0x118]
lea ecx, [esi + 0x124]
fadd dword [esi + 0x84]
mov eax, ecx
fstp dword [esi + 0x118]
fld dword [esi + 0x11c]
fadd dword [esi + 0x88]
fstp dword [esi + 0x11c]
fld dword [esi + 0x120]
fadd dword [esi + 0x8c]
fstp dword [esi + 0x120]
fld dword [esi + 0x118]
fadd dword [esi + 0x90]
fstp dword [esi + 0x118]
fld dword [esi + 0x11c]
fadd dword [esi + 0x94]
fstp dword [esi + 0x11c]
fld dword [esi + 0x120]
fadd dword [esi + 0x98]
fstp dword [esi + 0x120]
fld dword [esi + 0x118]
fadd dword [esi + 0xb8]
fstp dword [esi + 0x118]
fld dword [esi + 0x11c]
fadd dword [esi + 0xbc]
fstp dword [esi + 0x11c]
fld dword [esi + 0x120]
fadd dword [esi + 0xc0]
fstp dword [esi + 0x120]
fld dword [esi + 0x118]
fadd dword [esi + 0xc4]
fstp dword [esi + 0x118]
fld dword [esi + 0x11c]
fadd dword [esi + 0xc8]
fstp dword [esi + 0x11c]
fld dword [esi + 0x120]
fadd dword [esi + 0xcc]
fstp dword [esi + 0x120]
fld dword [esi + 0x118]
fadd dword [edi]
fstp dword [esi + 0x118]
fld dword [esi + 0x11c]
fadd dword [edi + 4]
fstp dword [esi + 0x11c]
fld dword [esi + 0x120]
fadd dword [edi + 8]
fstp dword [esi + 0x120]
fld dword [esi + 0x118]
fadd dword [esi + 0x10c]
fstp dword [esi + 0x118]
fld dword [esi + 0x11c]
fadd dword [esi + 0x110]
fstp dword [esi + 0x11c]
fld dword [esi + 0x120]
fadd dword [esi + 0x114]
fstp dword [esi + 0x120]
fld dword [esi + 0x120]
fmul dword [esi + 0x40]
fld dword [esi + 0x44]
fmul dword [esi + 0x11c]
fsubp st(1)
fstp dword [ebp - 0x40]
mov edx, dword [ebp - 0x40]
fld dword [esi + 0x118]
fmul dword [esi + 0x44]
fld dword [esi + 0x120]
fmul dword [esi + 0x3c]
fsubp st(1)
fstp dword [ebp - 0x3c]
fld dword [esi + 0x11c]
fmul dword [esi + 0x3c]
fld dword [esi + 0x118]
fmul dword [esi + 0x40]
mov dword [eax], edx
mov edx, dword [ebp - 0x3c]
mov dword [eax + 4], edx
fsubp st(1)
fstp dword [ebp - 0x38]
mov edx, dword [ebp - 0x38]
mov dword [eax + 8], edx
mov eax, dword [ebp + 0x14]
fld dword [eax]
fadd dword [esi + 0x118]
fstp dword [eax]
fld dword [esi + 0x11c]
fadd dword [eax + 4]
fstp dword [eax + 4]
fld dword [esi + 0x120]
fadd dword [eax + 8]
fstp dword [eax + 8]
mov eax, dword [ebp + 0x18]
fld dword [ecx]
fadd dword [eax]
fstp dword [eax]
fld dword [ecx + 4]
fadd dword [eax + 4]
fstp dword [eax + 4]
fld dword [ecx + 8]
fadd dword [eax + 8]
fstp dword [eax + 8]
mov eax, dword [ebp - 0x34]
inc eax
movsx esi, ax
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0xc]
cmp esi, dword [eax + 0x74]
jl 0x507ee6
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret