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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
mov ecx, dword [0x851c30]
fld dword [0x695ddc]
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 0x5045e4
jmp 0x503930
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 0x50397b
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x50397b
movsx ecx, ax
mov eax, ecx
shl eax, 7
add eax, dword [edx + 0x6c]
test eax, eax
mov dword [ebp - 0x14], eax
je 0x503982
lea eax, [ecx + ecx*2]
mov ecx, dword [ebp + 0xc]
shl eax, 5
add eax, ecx
mov dword [ebp - 0x10], eax
jmp 0x503989
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.004ca120
mov eax, dword [ebp - 0x10]
add esp, 4
test eax, eax
je 0x503a80
lea ecx, [ebp - 0x94]
push ecx
add eax, 0x2c
push eax
push ebx
call dword [0x690454]
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 0x503b12
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 [0x738b90]
lea edx, [esi + 4]
xor eax, eax
call fcn.004fcf80
cmp eax, 0xffffffff
mov dword [esi + 0x34], eax
jne 0x503b2e
or eax, eax
jmp 0x503b47
mov ecx, dword [0x738b9c]
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.005036a0
add esp, 0xc
lea edi, [esi + 4]
lea eax, [esi + 0x34]
call fcn.0053a630
fstp dword [esi + 0x7c]
fld dword [esi + 0x74]
fcomp dword [0x66c40c]
fnstsw ax
test ah, 0x41
jne 0x503ef8
mov ax, word [esi + 0x70]
test ax, ax
mov ecx, dword [0x738ba0]
jl 0x503c3f
mov edx, dword [ecx + 0x194]
movsx eax, ax
cmp eax, edx
jge 0x503c3f
mov edx, dword [ecx + 0x198]
imul eax, eax, 0x374
add eax, edx
mov edx, eax
jmp 0x503c5e
mov al, byte [0x713a7c]
test al, al
jne 0x503c59
mov dword [0x6dcc18], 0xffffffff
mov byte [0x713a7c], 1
mov edx, 0x6dc8a8
fld dword [edx + 0x94]
mov ecx, dword [ebp - 0xc]
fcomp dword [0x66c40c]
fnstsw ax
test ah, 0x41
jne 0x503c8f
fld dword [ecx + 8]
fcomp dword [0x66cac8]
fnstsw ax
test ah, 0x41
jp 0x503c8f
fld dword [ecx + 0x20]
fmul dword [edx + 0x94]
jmp 0x503c92
fld dword [ecx + 0x20]
fld dword [edx + 0x98]
fcomp dword [0x66c40c]
fnstsw ax
test ah, 0x41
jne 0x503cb3
fld dword [ecx + 0x2c]
fmul dword [edx + 0x98]
fstp dword [ebp - 0x30]
jmp 0x503cb9
mov eax, dword [ecx + 0x2c]
mov dword [ebp - 0x30], eax
fld dword [edx + 0x9c]
fcomp dword [0x66c40c]
fnstsw ax
test ah, 0x41
jne 0x503cda
fld dword [ecx + 0x30]
fmul dword [edx + 0x9c]
fstp dword [ebp - 0x28]
jmp 0x503ce0
mov eax, dword [ecx + 0x30]
mov dword [ebp - 0x28], eax
fld dword [edx + 0xa0]
fcomp dword [0x66c40c]
fld dword [ecx + 0x24]
fnstsw ax
test ah, 0x41
jne 0x503cfc
fmul dword [edx + 0xa0]
fld dword [edx + 0xa4]
fcomp dword [0x66c40c]
fld dword [ecx + 0x28]
fnstsw ax
test ah, 0x41
jne 0x503d18
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 [0x695ddc]
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 0x503edd
test byte [eax + 0x20], 1
je 0x503edd
fld dword [0x66c40c]
mov edx, dword [ebp - 0x10]
fld dword [edx]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x503edd
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x28]
mov edx, dword [esi + 0x68]
push eax
push ecx
push edx
call fcn.00503010
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 [0x66c40c]
fnstsw ax
test ah, 5
jp 0x503e2a
fstp st(0)
fld dword [0x66c40c]
jmp 0x503e3f
fcom dword [0x66c410]
fnstsw ax
test ah, 0x41
jne 0x503e3f
fstp st(0)
fld dword [0x66c410]
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.005037e0
add esp, 0xc
fld dword [esi + 0x7c]
fcomp dword [0x66c40c]
fnstsw ax
test ah, 0x41
jne 0x5040ab
fld dword [esi + 0x7c]
mov edx, dword [ebp - 0xc]
fcomp dword [edx + 0x3c]
fnstsw ax
test ah, 5
jp 0x503f27
fld dword [esi + 0x7c]
fdiv dword [edx + 0x3c]
fstp dword [ebp - 0x20]
jmp 0x503f2e
mov dword [ebp - 0x20], 0x3f800000
mov ecx, dword [ebp - 0x18]
fld dword [ecx + 0x34]
fcomp dword [0x66c40c]
fnstsw ax
test ah, 0x41
jne 0x503f7a
fld dword [edx + 0x3c]
fcomp dword [0x66c40c]
fnstsw ax
test ah, 0x41
jne 0x503f7a
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 0x503ff2
test byte [eax + 0x20], 2
je 0x503ff2
fld dword [0x66c40c]
mov edi, dword [ebp - 0x10]
fld dword [edi + 4]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x503ff2
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 0x504011
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.005037e0
mov edx, dword [ebp - 0x14]
add esp, 0xc
test edx, edx
je 0x504129
test byte [edx + 0x20], 8
mov ecx, dword [ebp - 0x10]
je 0x5040b1
fld dword [0x66c40c]
fld dword [ecx + 0xc]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x5040b1
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 0x5040b1
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
test edx, edx
je 0x504129
test byte [edx + 0x20], 4
je 0x504129
fld dword [0x66c40c]
fld dword [ecx + 8]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x504129
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 0x504150
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.005037e0
mov edx, dword [ebp - 0x14]
add esp, 0xc
test edx, edx
je 0x5041e3
test byte [edx + 0x20], 0x10
je 0x5041e3
fld dword [0x66c40c]
mov ecx, dword [ebp - 0x10]
fld dword [ecx + 0x10]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x5041e6
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 0x5041e6
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 [0x66c84c]
fstp st(0)
fnstsw ax
fstp st(0)
test ah, 5
fstp st(0)
mov eax, dword [esi]
jp 0x504218
or eax, 1
jmp 0x50421b
and eax, 0xfffffffe
fld dword [esi + 0x74]
mov dword [esi], eax
fcomp dword [0x66c40c]
fnstsw ax
test ah, 0x41
mov eax, dword [esi]
jne 0x504234
or eax, 2
jmp 0x504237
and eax, 0xfffffffd
fld dword [esi + 0x7c]
mov dword [esi], eax
fcomp dword [0x66c40c]
fnstsw ax
test ah, 0x41
mov eax, dword [esi]
jne 0x504250
or eax, 8
jmp 0x504253
and eax, 0xfffffff7
test edx, edx
mov dword [esi], eax
je 0x5043f6
test byte [edx + 0x20], 0x20
je 0x50429d
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 0x5043f6
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 [0x69051c]
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.00501460
add esp, 0x14
test al, al
je 0x5043f6
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.00503010
fld dword [ebp - 0x1c]
fcomp dword [0x66c40c]
add esp, 0xc
fnstsw ax
test ah, 0x41
mov eax, dword [ebp - 0x14]
jne 0x50436b
fld dword [ebp - 0x1c]
fdiv dword [eax + 0x2c]
fsubr dword [0x66c410]
jmp 0x504371
fld dword [0x66c410]
fld st(0)
mov ecx, dword [ebp - 0x10]
fmul st(1)
mov edx, dword [ebp - 0xc]
fmul dword [0x695ddc]
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 0x503926
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret