Function at 0x50c460
Capabilities:
Execute anti-debugging instructions
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x214
mov ecx, dword [0x96186c]
cmp ecx, dword [0x961870]
push ebx
push esi
push edi
jae 0x50c499
mov dword [ecx], str.TtCapsuleTriangle
rdtsc
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x28]
mov dword [ecx + 4], eax
add ecx, 0xc
mov dword [0x96186c], ecx
mov ebx, dword [ebp + 0xc]
mov edx, dword [ebx]
lea ecx, [esp + 0x20c]
push ecx
add edx, 0x10
push edx
call fcn.00529b60
mov eax, dword [ebp + 8]
mov esi, dword [eax]
fld dword [esi + 0x10]
mov eax, dword [eax + 8]
fld dword [esi + 0x14]
add eax, 0x20
fld dword [esi + 0x18]
mov edi, dword [ebx]
fld st(0)
mov dword [esp + 0x30], edi
fmul dword [eax + 0x20]
fld st(2)
fmul dword [eax + 0x10]
faddp st(1)
fld st(3)
fmul dword [eax]
faddp st(1)
fadd dword [eax + 0x30]
fstp dword [esp + 0x98]
fld st(2)
fmul dword [eax + 4]
fld st(1)
fmul dword [eax + 0x24]
faddp st(1)
fld st(2)
fmul dword [eax + 0x14]
faddp st(1)
fadd dword [eax + 0x34]
fstp dword [esp + 0x9c]
fxch st(2)
fmul dword [eax + 8]
fxch st(2)
fmul dword [eax + 0x28]
faddp st(2)
fmul dword [eax + 0x18]
faddp st(1)
fadd dword [eax + 0x38]
mov dword [esp + 0xa4], 0
fstp dword [esp + 0xa0]
fld dword [esi + 0x20]
fld dword [esi + 0x24]
fld dword [esi + 0x28]
fld st(0)
fmul dword [eax + 0x20]
fld st(2)
fmul dword [eax + 0x10]
faddp st(1)
fld st(3)
fmul dword [eax]
faddp st(1)
fadd dword [eax + 0x30]
fstp dword [esp + 0xa8]
fld st(2)
fmul dword [eax + 4]
fld st(1)
fmul dword [eax + 0x24]
faddp st(1)
fld st(2)
fmul dword [eax + 0x14]
faddp st(1)
fadd dword [eax + 0x34]
fstp dword [esp + 0xac]
fxch st(2)
fmul dword [eax + 8]
fxch st(2)
fmul dword [eax + 0x28]
faddp st(2)
fmul dword [eax + 0x18]
faddp st(1)
fadd dword [eax + 0x38]
mov eax, dword [ebx + 8]
mov dword [esp + 0xb4], 0
add eax, 0x20
fstp dword [esp + 0xb0]
fld dword [edi + 0x10]
fld dword [edi + 0x14]
fld dword [edi + 0x18]
fld st(0)
fmul dword [eax + 0x20]
fld st(2)
fmul dword [eax + 0x10]
faddp st(1)
fld st(3)
fmul dword [eax]
faddp st(1)
fadd dword [eax + 0x30]
fstp dword [esp + 0x118]
fld st(0)
fmul dword [eax + 0x24]
fld st(2)
fmul dword [eax + 0x14]
faddp st(1)
fld st(3)
fmul dword [eax + 4]
faddp st(1)
fadd dword [eax + 0x34]
fstp dword [esp + 0x11c]
fmul dword [eax + 0x28]
fxch st(1)
fmul dword [eax + 0x18]
faddp st(1)
fxch st(1)
fmul dword [eax + 8]
faddp st(1)
fadd dword [eax + 0x38]
mov dword [esp + 0x124], 0
fstp dword [esp + 0x120]
fld dword [edi + 0x20]
fld dword [edi + 0x24]
fld dword [edi + 0x28]
fld st(0)
fmul dword [eax + 0x20]
fld st(2)
fmul dword [eax + 0x10]
faddp st(1)
fld st(3)
fmul dword [eax]
faddp st(1)
fadd dword [eax + 0x30]
fstp dword [esp + 0x128]
fld st(0)
fmul dword [eax + 0x24]
fld st(2)
fmul dword [eax + 0x14]
faddp st(1)
fld st(3)
fmul dword [eax + 4]
faddp st(1)
fadd dword [eax + 0x34]
fstp dword [esp + 0x12c]
fmul dword [eax + 0x28]
fxch st(1)
fmul dword [eax + 0x18]
faddp st(1)
fxch st(1)
fmul dword [eax + 8]
faddp st(1)
fadd dword [eax + 0x38]
mov dword [esp + 0x134], 0
fstp dword [esp + 0x130]
fld dword [edi + 0x30]
fld dword [edi + 0x34]
fld dword [edi + 0x38]
fld st(0)
fmul dword [eax + 0x20]
fld st(2)
fmul dword [eax + 0x10]
faddp st(1)
fld st(3)
fmul dword [eax]
faddp st(1)
fadd dword [eax + 0x30]
fstp dword [esp + 0x138]
fld st(0)
fmul dword [eax + 0x24]
fld st(2)
lea ecx, [esp + 0xd8]
fmul dword [eax + 0x14]
lea edx, [esp + 0x214]
faddp st(1)
fld st(3)
fmul dword [eax + 4]
faddp st(1)
fadd dword [eax + 0x34]
fstp dword [esp + 0x13c]
fmul dword [eax + 0x28]
fxch st(1)
fmul dword [eax + 0x18]
faddp st(1)
fxch st(1)
fmul dword [eax + 8]
faddp st(1)
fadd dword [eax + 0x38]
lea eax, [esp + 0x78]
push eax
push ecx
push edx
fstp dword [esp + 0x14c]
lea eax, [esp + 0x124]
push eax
mov dword [esp + 0x154], 0
call fcn.00529ce0
fld dword [esp + 0xa8]
fsub dword [esp + 0x128]
add esp, 0x18
fld dword [esp + 0x94]
fsub dword [esp + 0x114]
fld dword [esp + 0x98]
fsub dword [esp + 0x118]
fstp dword [esp + 0x58]
mov ecx, dword [esp + 0x58]
fld dword [esp + 0xa0]
mov dword [esp + 0x24], ecx
fsub dword [esp + 0x110]
fstp dword [esp + 0x60]
fld dword [esp + 0xa4]
fsub dword [esp + 0x114]
fstp dword [esp + 0x64]
fld dword [esp + 0xa8]
fsub dword [esp + 0x118]
fstp dword [esp + 0x68]
fld st(1)
fstp dword [esp + 0x1c]
fst dword [esp + 0x20]
fld dword [esp + 0xe0]
fmul st(1)
fld dword [esp + 0xd0]
fmul st(3)
faddp st(1)
fld dword [esp + 0xf0]
fmul dword [esp + 0x58]
faddp st(1)
fadd dword [esp + 0x100]
fstp dword [esp + 0x50]
fld dword [esp + 0xf4]
fmul dword [esp + 0x58]
fld dword [esp + 0x1c]
fmul dword [esp + 0xd4]
faddp st(1)
fxch st(1)
fmul dword [esp + 0xe4]
faddp st(1)
fadd dword [esp + 0x104]
fstp dword [esp + 0x54]
fstp st(0)
fld dword [esp + 0x58]
fmul dword [esp + 0xf8]
fld dword [esp + 0x1c]
fmul dword [esp + 0xd8]
faddp st(1)
fld dword [esp + 0x20]
fmul dword [esp + 0xe8]
faddp st(1)
fadd dword [esp + 0x108]
fstp dword [esp + 0x58]
fld dword [esp + 0x1c]
fmul dword [esp + 0xdc]
mov edx, dword [ebp + 0x10]
fld dword [esp + 0x20]
fmul dword [esp + 0xec]
faddp st(1)
fld dword [esp + 0x24]
fmul dword [esp + 0xfc]
faddp st(1)
fadd dword [esp + 0x10c]
fstp dword [esp + 0x5c]
fld dword [esp + 0x60]
fld dword [esp + 0x64]
fld dword [esp + 0x68]
fld dword [esp + 0xd0]
fmul dword [esp + 0x60]
fld dword [esp + 0xf0]
fmul dword [esp + 0x68]
faddp st(1)
fld dword [esp + 0xe0]
fmul dword [esp + 0x64]
faddp st(1)
fadd dword [esp + 0x100]
fstp dword [esp + 0x60]
fld dword [esp + 0x64]
fmul dword [esp + 0xe4]
fld dword [esp + 0xf4]
fmul dword [esp + 0x68]
faddp st(1)
fld st(3)
fmul dword [esp + 0xd4]
faddp st(1)
fadd dword [esp + 0x104]
fstp dword [esp + 0x64]
fld dword [esp + 0x68]
fmul dword [esp + 0xf8]
fld st(3)
fmul dword [esp + 0xd8]
faddp st(1)
fld st(2)
fmul dword [esp + 0xe8]
faddp st(1)
fadd dword [esp + 0x108]
fstp dword [esp + 0x68]
fxch st(2)
fmul dword [esp + 0xdc]
fxch st(1)
fmul dword [esp + 0xec]
faddp st(1)
fxch st(1)
fmul dword [esp + 0xfc]
faddp st(1)
fadd dword [esp + 0x10c]
fstp dword [esp + 0x6c]
fld dword [esi + 0xc]
fadd dword [edi + 0xc]
mov dword [esp + 0x17c], 0x7f7fffff
mov dword [esp + 0x1ac], 0x7f7fffff
mov dword [esp + 0x1dc], 0x7f7fffff
fst dword [esp + 0x4c]
fadd dword [edx + 8]
fcom dword [esp + 0x50]
fnstsw ax
test ah, 5
jp 0x50c925
mov cl, 1
jmp 0x50c927
xor cl, cl
fcom dword [esp + 0x54]
fnstsw ax
test ah, 5
jp 0x50c936
mov bl, 1
jmp 0x50c938
xor bl, bl
fcom dword [esp + 0x58]
fnstsw ax
test ah, 5
jp 0x50c947
mov dl, 1
jmp 0x50c949
xor dl, dl
fcom dword [esp + 0x5c]
fnstsw ax
test ah, 5
jp 0x50c958
mov al, 1
jmp 0x50c95a
xor al, al
fcom dword [esp + 0x60]
movzx ecx, cl
movzx edx, dl
shl ecx, 3
shl edx, 1
or ecx, edx
movzx edx, bl
shl edx, 2
movzx eax, al
or ecx, edx
or ecx, eax
mov byte [esp + 0x1b], 1
fnstsw ax
test ah, 5
jnp 0x50c989
mov byte [esp + 0x1b], 0
fcom dword [esp + 0x64]
fnstsw ax
test ah, 5
jp 0x50c998
mov bl, 1
jmp 0x50c99a
xor bl, bl
fcom dword [esp + 0x68]
fnstsw ax
test ah, 5
jp 0x50c9a9
mov dl, 1
jmp 0x50c9ab
xor dl, dl
fcom dword [esp + 0x6c]
fnstsw ax
test ah, 5
jp 0x50c9ba
mov al, 1
jmp 0x50c9bc
xor al, al
movzx edx, dl
movzx esi, bl
shl edx, 1
shl esi, 2
or edx, esi
movzx esi, byte [esp + 0x1b]
shl esi, 3
movzx eax, al
or edx, esi
or edx, eax
test ecx, edx
jne 0x50d03b
fchs
fld dword [esp + 0x5c]
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x50ca04
fld dword [esp + 0x6c]
fcomp st(1)
fnstsw ax
fstp st(0)
test ah, 5
jnp 0x50d03d
jmp 0x50ca06
fstp st(0)
fld dword [esp + 0x50]
mov byte [esp + 0x1b], 1
fcomp dword [0x641de0]
fnstsw ax
test ah, 5
jnp 0x50ca21
mov byte [esp + 0x1b], 0
fld dword [esp + 0x54]
fcomp dword [0x641de0]
fnstsw ax
test ah, 5
jp 0x50ca36
mov bl, 1
jmp 0x50ca38
xor bl, bl
fld dword [esp + 0x58]
fcomp dword [0x641de0]
fnstsw ax
test ah, 5
jp 0x50ca4d
mov cl, 1
jmp 0x50ca4f
xor cl, cl
fld dword [esp + 0x5c]
fcomp dword [0x641de0]
fnstsw ax
test ah, 5
jp 0x50ca64
mov al, 1
jmp 0x50ca66
xor al, al
fld dword [esp + 0x60]
movzx edx, cl
fcomp dword [0x641de0]
movzx ecx, bl
shl edx, 1
shl ecx, 2
or edx, ecx
movzx ecx, byte [esp + 0x1b]
shl ecx, 3
movzx eax, al
or edx, ecx
or edx, eax
mov dword [esp + 0xc0], edx
fnstsw ax
test ah, 5
mov byte [esp + 0x1b], 1
jnp 0x50caa4
mov byte [esp + 0x1b], 0
fld dword [esp + 0x64]
fcomp dword [0x641de0]
fnstsw ax
test ah, 5
jp 0x50cab9
mov bl, 1
jmp 0x50cabb
xor bl, bl
fld dword [esp + 0x68]
fcomp dword [0x641de0]
fnstsw ax
test ah, 5
jp 0x50cad0
mov cl, 1
jmp 0x50cad2
xor cl, cl
fld dword [esp + 0x6c]
fcomp dword [0x641de0]
fnstsw ax
test ah, 5
jp 0x50cae7
mov al, 1
jmp 0x50cae9
xor al, al
movzx ecx, cl
movzx esi, bl
shl ecx, 1
shl esi, 2
or ecx, esi
movzx esi, byte [esp + 0x1b]
movzx eax, al
shl esi, 3
or ecx, esi
or ecx, eax
mov eax, ecx
xor eax, edx
test al, 1
mov dword [esp + 0xc4], ecx
je 0x50d0a6
fld dword [esp + 0x5c]
mov byte [esp + 0x2f], 1
fsub dword [esp + 0x6c]
fdivr dword [esp + 0x5c]
fld dword [0x6419bc]
fsub st(1)
fld st(1)
fmul dword [esp + 0x60]
fld st(1)
fmul dword [esp + 0x50]
faddp st(1)
fld dword [esp + 0x64]
fmul st(3)
fld st(2)
fmul dword [esp + 0x54]
faddp st(1)
fstp dword [esp + 0x84]
fld dword [esp + 0x68]
fmul st(3)
fld dword [esp + 0x58]
fmul st(3)
faddp st(1)
fstp dword [esp + 0x88]
fld dword [esp + 0x6c]
fmul st(3)
fld dword [esp + 0x5c]
fmul st(3)
faddp st(1)
fstp dword [esp + 0x8c]
fcomp dword [0x641de0]
fnstsw ax
fstp st(0)
test ah, 5
fstp st(0)
jnp 0x50cb94
mov byte [esp + 0x2f], 0
fld dword [esp + 0x84]
mov byte [esp + 0x1b], 1
fcomp dword [0x641de0]
fnstsw ax
test ah, 5
jnp 0x50cbb2
mov byte [esp + 0x1b], 0
fld dword [esp + 0x88]
fcomp dword [0x641de0]
fnstsw ax
test ah, 5
jp 0x50cbca
mov bl, 1
jmp 0x50cbcc
xor bl, bl
fld dword [esp + 0x8c]
mov byte [esp + 0x2e], 1
fcomp dword [0x641de0]
fnstsw ax
test ah, 5
jnp 0x50cbea
mov byte [esp + 0x2e], 0
xor eax, eax
mov al, byte [esp + 0x1b]
shl ebx, 1
shl eax, 2
or ebx, eax
xor eax, eax
mov al, byte [esp + 0x2f]
neg eax
shl eax, 3
or ebx, eax
or ebx, dword [esp + 0x2e]
and ebx, 0xe
cmp bl, 0xe
jne 0x50d0a6
mov dword [esp + 0x1ac], 0xff7fffff
lea esi, [esp + 0xc0]
xor ecx, ecx
mov edx, dword [esi]
mov eax, edx
and eax, 0xe
cmp al, 0xe
jne 0x50cd31
fld dword [esp + ecx + 0x5c]
fabs
fchs
fsub dword [esp + 0x4c]
fcom dword [esp + 0x1ac]
fnstsw ax
test ah, 0x41
jne 0x50cd2f
test dl, 1
je 0x50cc99
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x74]
mov dword [esp + 0x1b0], edx
mov edx, dword [esp + 0x78]
mov dword [esp + 0x1b4], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x1b8], edx
mov edx, dword [esp + ecx + 0x98]
mov dword [esp + 0x1bc], eax
fld dword [edi + 0xc]
mov dword [esp + 0x1a8], edx
jmp 0x50cce0
fld dword [esp + 0x70]
mov eax, dword [esp + ecx + 0x98]
fchs
fstp dword [esp + 0x1b0]
fld dword [esp + 0x74]
fchs
fstp dword [esp + 0x1b4]
fld dword [esp + 0x78]
fchs
fstp dword [esp + 0x1b8]
fld dword [esp + 0x7c]
fchs
fstp dword [esp + 0x1bc]
fld dword [edi + 0xc]
mov dword [esp + 0x1a8], eax
fchs
fsub dword [esp + ecx + 0x5c]
fld dword [esp + ecx + 0x90]
fld dword [esp + ecx + 0x94]
fld st(2)
fmul dword [esp + 0x70]
fadd st(2)
fstp dword [esp + 0x1a0]
fld st(2)
fmul dword [esp + 0x74]
fadd st(1)
fstp dword [esp + 0x1a4]
fstp st(0)
fstp st(0)
fmul dword [esp + 0x78]
fadd dword [esp + 0x1a8]
fstp dword [esp + 0x1a8]
fstp dword [esp + 0x1ac]
jmp 0x50cd31
fstp st(0)
add ecx, 0x10
add esi, 4
cmp ecx, 0x20
jl 0x50cc28
fld dword [esp + 0x60]
xor ecx, ecx
fsub dword [esp + 0x50]
fstp dword [esp + 0x80]
fld dword [esp + 0x64]
fsub dword [esp + 0x54]
fstp dword [esp + 0x84]
fld dword [esp + 0x68]
fsub dword [esp + 0x58]
fstp dword [esp + 0x88]
fld dword [esp + 0x6c]
fsub dword [esp + 0x5c]
fst dword [esp + 0x8c]
fmul dword [esp + 0x8c]
jmp 0x50cd90
fld dword [esp + ecx + 0x80]
mov edx, dword [esp + 0x8c]
fld st(0)
mov dword [esp + 0x20], edx
fmul st(1)
fadd st(2)
fdivr dword [0x6419bc]
fld dword [esp + 0x5c]
fmul st(2)
fld dword [esp + 0x8c]
fmul dword [esp + ecx + 0x50]
fsubp st(1)
fld st(0)
fmul st(1)
fmul st(2)
fstp dword [esp + 0x28]
fstp st(0)
fld dword [esp + 0x4c]
fadd dword [esp + 0x1ac]
fld st(0)
fmul st(1)
fld dword [esp + 0x28]
fcompp
fnstsw ax
fstp st(0)
test ah, 5
jp 0x50d02b
fld dword [esp + 0x5c]
fmul dword [esp + 0x8c]
fld st(2)
fmul dword [esp + ecx + 0x50]
faddp st(1)
fmul st(1)
fchs
fstp dword [esp + 0x24]
fstp st(0)
fld dword [esp + 0x24]
fcomp dword [0x65c220]
fnstsw ax
test ah, 0x41
jne 0x50d02d
fld dword [esp + 0x24]
fcomp dword [0x65c3e4]
fnstsw ax
test ah, 5
jp 0x50d02d
fld dword [esp + ecx + 0xd0]
fld dword [esp + ecx + 0xe0]
fstp dword [esp + 0x34]
fld dword [esp + ecx + 0xf0]
fstp dword [esp + 0x38]
fld dword [esp + 0x8c]
fcomp dword [0x641de0]
fnstsw ax
test ah, 5
jp 0x50ce7a
fld dword [esp + 0x8c]
fchs
fstp dword [esp + 0x20]
fxch st(1)
fchs
fxch st(1)
fmul dword [esp + 0x20]
fld dword [esp + 0x20]
fmul dword [esp + 0x34]
fld dword [esp + 0x20]
fmul dword [esp + 0x38]
fstp dword [esp + 0x38]
fld dword [esp + 0x20]
fmul dword [0x641de0]
fstp dword [esp + 0x3c]
fxch st(2)
fchs
fst dword [esp + 0x1c]
fmul dword [esp + 0x70]
fadd st(1)
fstp dword [esp + 0x1b0]
fld dword [esp + 0x1c]
fmul dword [esp + 0x74]
faddp st(2)
fstp st(0)
fld dword [esp + 0x1c]
fmul dword [esp + 0x78]
fadd dword [esp + 0x38]
fstp dword [esp + 0x1b8]
fld dword [esp + 0x1c]
fmul dword [esp + 0x7c]
fadd dword [esp + 0x3c]
fld dword [esp + 0x1b8]
fmul dword [esp + 0x1b8]
fld st(2)
fmul st(3)
faddp st(1)
fld dword [esp + 0x1b0]
fmul dword [esp + 0x1b0]
faddp st(1)
fld dword [0x641de0]
fld st(1)
fucompp
fnstsw ax
test ah, 0x44
jnp 0x50cf1f
fsqrt
fdivr dword [0x6419bc]
jmp 0x50cf27
fstp st(0)
fld dword [0x641de0]
fld dword [esp + 0x1b0]
fmul st(1)
fstp dword [esp + 0x1b0]
fld st(0)
fmul st(3)
fstp dword [esp + 0x1b4]
fld dword [esp + 0x1b8]
fmul st(1)
fstp dword [esp + 0x1b8]
fmul st(1)
fstp dword [esp + 0x1bc]
fstp st(0)
fstp st(0)
fld dword [0x6419bc]
fsub dword [esp + 0x24]
fld dword [esp + 0x90]
fmul st(1)
fld dword [esp + 0x24]
fmul dword [esp + 0xa0]
faddp st(1)
fld dword [esp + 0x24]
fmul dword [esp + 0xa4]
fld dword [esp + 0x94]
fmul st(3)
faddp st(1)
fstp dword [esp + 0xc4]
fld dword [esp + 0x98]
fmul st(2)
fld dword [esp + 0xa8]
fmul dword [esp + 0x24]
faddp st(1)
fstp dword [esp + 0xc8]
fld dword [esp + 0x28]
fsqrt
fchs
fstp dword [esp + 0x28]
fld dword [edi + 0xc]
fsub dword [esp + 0x28]
fstp dword [esp + 0x1c]
fld dword [esp + 0x1b0]
fmul dword [esp + 0x1c]
fadd st(1)
fstp dword [esp + 0x1a0]
fstp st(0)
fstp st(0)
fld dword [esp + 0x1b4]
fmul dword [esp + 0x1c]
fadd dword [esp + 0xc4]
fstp dword [esp + 0x1a4]
fld dword [esp + 0x1b8]
fmul dword [esp + 0x1c]
fadd dword [esp + 0xc8]
fstp dword [esp + 0x1a8]
fld dword [esp + 0x28]
fsub dword [esp + 0x4c]
fstp dword [esp + 0x1ac]
jmp 0x50d02f
fstp st(0)
fstp st(0)
add ecx, 4
cmp ecx, 0xc
jl 0x50cd90
fstp st(0)
fld dword [esp + 0x17c]
fcomp dword [0x641de0]
fnstsw ax
test ah, 5
jnp 0x50d065
fld dword [esp + 0x1ac]
fcomp dword [0x641de0]
fnstsw ax
test ah, 5
jp 0x50d075
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x14]
mov eax, dword [ecx]
push edx
mov edx, dword [ebp + 8]
push edx
call dword [eax + 4]
mov ecx, dword [0x96186c]
cmp ecx, dword [0x961870]
jae 0x50d09f
mov dword [ecx], 0x6594f4
rdtsc
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x28]
mov dword [ecx + 4], eax
add ecx, 0xc
mov dword [0x96186c], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
fld dword [esp + 0xa0]
or ecx, edx
fsub dword [esp + 0x90]
xor ebx, ebx
and ecx, 0xe
cmp cl, 0xe
fstp dword [esp + 0xb0]
lea esi, [esp + 0x170]
fld dword [esp + 0xa4]
mov byte [esp + 0x24], bl
fsub dword [esp + 0x94]
fstp dword [esp + 0xb4]
fld dword [esp + 0xa8]
fsub dword [esp + 0x98]
fstp dword [esp + 0xb8]
fld dword [esp + 0xac]
fsub dword [esp + 0x9c]
fstp dword [esp + 0xbc]
je 0x50d13c
mov byte [esp + 0x24], 1
mov dword [esp + 0x1c], 8
xor edi, edi
mov al, byte [esp + 0x24]
test al, al
jne 0x50d245
mov eax, dword [esp + 0x1c]
test dword [esp + ebx*4 + 0xc0], eax
jmp 0x50d25b
cmp ebx, 2
jge 0x50d03d
mov eax, dword [esp + ebx*4 + 0xc0]
mov ecx, eax
and ecx, 0xe
cmp cl, 0xe
jne 0x50d116
fld dword [edi + 0xc]
test al, 1
mov eax, ebx
je 0x50d1d8
fchs
shl eax, 4
fsub dword [esp + eax + 0x5c]
lea ecx, [esp + eax + 0x5c]
fld dword [esp + 0x70]
lea eax, [esp + eax + 0x90]
add esi, 0x30
fmul st(1)
inc ebx
fadd dword [eax]
fstp dword [esi - 0x30]
fld dword [esp + 0x74]
fmul st(1)
fadd dword [eax + 4]
fstp dword [esi - 0x2c]
fld dword [esp + 0x78]
fmul st(1)
fadd dword [eax + 8]
fstp dword [esi - 0x28]
fmul dword [esp + 0x7c]
fadd dword [eax + 0xc]
fstp dword [esi - 0x24]
fld dword [ecx]
fchs
fsub dword [esp + 0x4c]
fstp dword [esi - 0x24]
fld dword [esp + 0x70]
fchs
fstp dword [esi - 0x20]
fld dword [esp + 0x74]
fchs
fstp dword [esi - 0x1c]
fld dword [esp + 0x78]
fchs
fstp dword [esi - 0x18]
fld dword [esp + 0x7c]
fchs
fstp dword [esi - 0x14]
jmp 0x50d13c
shl eax, 4
fsub dword [esp + eax + 0x5c]
lea ecx, [esp + eax + 0x5c]
fld dword [esp + 0x70]
lea eax, [esp + eax + 0x90]
mov edx, dword [esp + 0x70]
fmul st(1)
add esi, 0x30
inc ebx
fadd dword [eax]
fstp dword [esi - 0x30]
fld dword [esp + 0x74]
fmul st(1)
fadd dword [eax + 4]
fstp dword [esi - 0x2c]
fld dword [esp + 0x78]
fmul st(1)
fadd dword [eax + 8]
fstp dword [esi - 0x28]
fmul dword [esp + 0x7c]
fadd dword [eax + 0xc]
mov eax, dword [esp + 0x74]
fstp dword [esi - 0x24]
fld dword [ecx]
mov ecx, dword [esp + 0x78]
fsub dword [esp + 0x4c]
fstp dword [esi - 0x24]
mov dword [esi - 0x20], edx
mov edx, dword [esp + 0x7c]
mov dword [esi - 0x1c], eax
mov dword [esi - 0x18], ecx
mov dword [esi - 0x14], edx
jmp 0x50d13c
mov edx, dword [esp + 0xc4]
mov ecx, dword [esp + 0x1c]
and ecx, edx
mov edx, dword [esp + 0xc0]
test edx, ecx
jne 0x50d5c8
movsx ecx, byte [edi + 0x65cef8]
movsx eax, byte [edi + 0x65cefa]
shl ecx, 4
lea ecx, [esp + ecx + 0x110]
shl eax, 4
lea eax, [esp + eax + 0x110]
fld dword [ecx]
lea edx, [esp + 0x80]
fsub dword [eax]
fstp dword [esp + 0x80]
fld dword [ecx + 4]
fsub dword [eax + 4]
fstp dword [esp + 0x84]
fld dword [ecx + 8]
fsub dword [eax + 8]
fstp dword [esp + 0x88]
fld dword [ecx + 0xc]
lea ecx, [esp + 0x140]
fsub dword [eax + 0xc]
push ecx
push edx
push eax
lea eax, [esp + 0xbc]
fstp dword [esp + 0x98]
push eax
lea ecx, [esp + 0xa0]
push ecx
call fcn.00529600
fld dword [esp + 0x60]
fadd dword [esi + 0xc]
mov edx, eax
add esp, 0x14
fld st(0)
fmul st(1)
fld dword [esp + 0x160]
fcompp
fnstsw ax
fstp st(0)
test ah, 5
jp 0x50d5c8
mov eax, 1
mov ecx, ebx
shl eax, cl
test edx, eax
je 0x50d31f
mov al, byte [esp + 0x24]
test al, al
je 0x50d5c8
mov ebx, 1
test edx, edx
jne 0x50d38e
fld dword [esp + 0x88]
mov dword [esp + 0x3c], edx
fmul dword [esp + 0xb4]
fld dword [esp + 0x84]
fmul dword [esp + 0xb8]
fsubp st(1)
fld dword [esp + 0x80]
fmul dword [esp + 0xb8]
fld dword [esp + 0xb0]
fmul dword [esp + 0x88]
fsubp st(1)
fstp dword [esp + 0x34]
fld dword [esp + 0xb0]
fmul dword [esp + 0x84]
fld dword [esp + 0x80]
fmul dword [esp + 0xb4]
fsubp st(1)
fstp dword [esp + 0x38]
jmp 0x50d4b4
fld dword [esp + 0x160]
fcomp dword [0x65c3e0]
fnstsw ax
test ah, 0x41
jp 0x50d48c
fld dword [esp + edi*4 + 0xd0]
mov dword [esp + 0x15c], 0
fstp dword [esp + 0x150]
mov dword [esp + 0x3c], 0
fld dword [esp + edi*4 + 0xe0]
fstp dword [esp + 0x154]
fld dword [esp + edi*4 + 0xf0]
fstp dword [esp + 0x158]
fld dword [esp + 0x88]
fmul dword [esp + 0xb4]
fld dword [esp + 0x84]
fmul dword [esp + 0xb8]
fsubp st(1)
fld dword [esp + 0x80]
fmul dword [esp + 0xb8]
fld dword [esp + 0xb0]
fmul dword [esp + 0x88]
fsubp st(1)
fstp dword [esp + 0x34]
fld dword [esp + 0xb0]
fmul dword [esp + 0x84]
fld dword [esp + 0x80]
fmul dword [esp + 0xb4]
fsubp st(1)
fstp dword [esp + 0x38]
fld st(0)
fmul st(1)
fld dword [esp + 0x38]
fmul dword [esp + 0x38]
faddp st(1)
fld dword [esp + 0x34]
fmul dword [esp + 0x34]
faddp st(1)
fcomp dword [0x65c3e0]
fnstsw ax
test ah, 0x41
jp 0x50d4b4
mov ecx, dword [esp + 0x154]
fstp st(0)
mov edx, dword [esp + 0x158]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], 0
jmp 0x50d4ad
mov eax, dword [esp + 0x154]
mov ecx, dword [esp + 0x158]
mov edx, dword [esp + 0x15c]
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], edx
fld dword [esp + 0x150]
fld st(0)
fmul st(1)
fld dword [esp + 0x38]
fmul dword [esp + 0x38]
faddp st(1)
fld dword [esp + 0x34]
fmul dword [esp + 0x34]
faddp st(1)
fld dword [0x641de0]
fld st(1)
fucompp
fnstsw ax
test ah, 0x44
jnp 0x50d4eb
fsqrt
fdivr dword [0x6419bc]
fstp dword [esp + 0x20]
jmp 0x50d4f5
fstp st(0)
mov dword [esp + 0x20], 0
fmul dword [esp + 0x20]
fld dword [esp + 0x20]
fmul dword [esp + 0x34]
fld dword [esp + 0x20]
fmul dword [esp + 0x38]
fstp dword [esp + 0x38]
fld dword [esp + 0x20]
fmul dword [esp + 0x3c]
fstp dword [esp + 0x3c]
fld dword [esp + 0x150]
fmul st(2)
fld dword [esp + 0x158]
fmul dword [esp + 0x38]
faddp st(1)
fld dword [esp + 0x154]
fmul st(2)
faddp st(1)
fcom dword [0x641de0]
fnstsw ax
test ah, 5
jp 0x50d569
fchs
fxch st(2)
fchs
fxch st(2)
fxch st(1)
fchs
fxch st(1)
fld dword [esp + 0x38]
fchs
fstp dword [esp + 0x38]
fld dword [esp + 0x3c]
fchs
fstp dword [esp + 0x3c]
mov eax, dword [esp + 0x28]
fld dword [eax + 0xc]
mov ecx, dword [esp + 0x38]
fsub st(1)
mov edx, dword [esp + 0x3c]
fld st(0)
fmul st(4)
fadd dword [esp + 0x140]
fstp dword [esi]
fld st(0)
fmul st(3)
fadd dword [esp + 0x144]
fstp dword [esi + 4]
fld dword [esp + 0x38]
fmul st(1)
fadd dword [esp + 0x148]
fstp dword [esi + 8]
fmul dword [esp + 0x3c]
fadd dword [esp + 0x14c]
fstp dword [esi + 0xc]
fsub dword [esp + 0x4c]
fstp dword [esi + 0xc]
mov dword [esi + 0x18], ecx
fxch st(1)
mov dword [esi + 0x1c], edx
fstp dword [esi + 0x10]
fstp dword [esi + 0x14]
mov edx, dword [esp + 0x1c]
sar edx, 1
inc edi
cmp edi, 3
mov dword [esp + 0x1c], edx
jl 0x50d120
mov al, byte [esp + 0x24]
test al, al
jne 0x50d03d
mov edi, dword [esp + 0x28]
add esi, 0x30
inc ebx
jmp 0x50d13c