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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x1f4
mov eax, dword [0x961870]
push ebx
push esi
mov esi, dword [0x96186c]
cmp esi, eax
push edi
jae 0x50b30a
mov dword [esi], str.TtCapsuleTriangle
rdtsc
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x28]
mov dword [esi + 4], eax
add esi, 0xc
mov dword [0x96186c], esi
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 edx, dword [ebp + 0xc]
fld st(0)
mov edi, dword [edx]
fmul dword [eax + 0x20]
mov dword [esp + 0x28], edi
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 + 0x90]
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 + 0x94]
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 + 0x9c], 0
fstp dword [esp + 0x98]
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 + 0xa0]
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 + 0xa4]
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 eax, dword [edx + 8]
mov dword [esp + 0xac], 0
add eax, 0x20
fstp dword [esp + 0xa8]
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 + 0x110]
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 + 0x114]
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 + 0x11c], 0
fstp dword [esp + 0x118]
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 + 0x120]
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 + 0x124]
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 + 0x12c], 0
fstp dword [esp + 0x128]
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 + 0x130]
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]
lea edx, [esp + 0x70]
push edx
add ecx, 0x14
fstp dword [esp + 0x138]
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]
lea eax, [esp + 0xd4]
push eax
push ecx
lea ecx, [esp + 0x11c]
fstp dword [esp + 0x144]
push ecx
mov dword [esp + 0x14c], 0
call fcn.00529ce0
fld dword [esp + 0xa0]
fsub dword [esp + 0x120]
add esp, 0x10
fld dword [esp + 0x94]
fsub dword [esp + 0x114]
fld dword [esp + 0x98]
fsub dword [esp + 0x118]
fstp dword [esp + 0x58]
mov edx, dword [esp + 0x58]
fld dword [esp + 0xa0]
mov dword [esp + 0x24], edx
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 + 0xe4]
fmul st(1)
fld dword [esp + 0xf4]
fmul dword [esp + 0x58]
faddp st(1)
fld dword [esp + 0x1c]
fmul dword [esp + 0xd4]
faddp st(1)
fadd dword [esp + 0x104]
fstp dword [esp + 0x54]
fstp st(0)
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]
fld dword [esp + 0x20]
fmul dword [esp + 0xec]
faddp st(1)
fld dword [esp + 0x24]
fmul dword [esp + 0xfc]
mov eax, dword [ebp + 0x10]
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 + 0xf4]
fmul dword [esp + 0x68]
fld dword [esp + 0xe4]
fmul dword [esp + 0x64]
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 [eax + 8]
fcom dword [esp + 0x50]
fnstsw ax
test ah, 5
jp 0x50b781
mov cl, 1
jmp 0x50b783
xor cl, cl
fcom dword [esp + 0x54]
fnstsw ax
test ah, 5
jp 0x50b792
mov bl, 1
jmp 0x50b794
xor bl, bl
fcom dword [esp + 0x58]
fnstsw ax
test ah, 5
jp 0x50b7a3
mov dl, 1
jmp 0x50b7a5
xor dl, dl
fcom dword [esp + 0x5c]
fnstsw ax
test ah, 5
jp 0x50b7b4
mov al, 1
jmp 0x50b7b6
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 0x50b7e5
mov byte [esp + 0x1b], 0
fcom dword [esp + 0x64]
fnstsw ax
test ah, 5
jp 0x50b7f4
mov bl, 1
jmp 0x50b7f6
xor bl, bl
fcom dword [esp + 0x68]
fnstsw ax
test ah, 5
jp 0x50b805
mov dl, 1
jmp 0x50b807
xor dl, dl
fcom dword [esp + 0x6c]
fnstsw ax
test ah, 5
jp 0x50b816
mov al, 1
jmp 0x50b818
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 0x50be97
fchs
fld dword [esp + 0x5c]
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x50b860
fld dword [esp + 0x6c]
fcomp st(1)
fnstsw ax
fstp st(0)
test ah, 5
jnp 0x50be99
jmp 0x50b862
fstp st(0)
fld dword [esp + 0x50]
mov byte [esp + 0x1b], 1
fcomp dword [0x641de0]
fnstsw ax
test ah, 5
jnp 0x50b87d
mov byte [esp + 0x1b], 0
fld dword [esp + 0x54]
fcomp dword [0x641de0]
fnstsw ax
test ah, 5
jp 0x50b892
mov bl, 1
jmp 0x50b894
xor bl, bl
fld dword [esp + 0x58]
fcomp dword [0x641de0]
fnstsw ax
test ah, 5
jp 0x50b8a9
mov cl, 1
jmp 0x50b8ab
xor cl, cl
fld dword [esp + 0x5c]
fcomp dword [0x641de0]
fnstsw ax
test ah, 5
jp 0x50b8c0
mov al, 1
jmp 0x50b8c2
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 0x50b900
mov byte [esp + 0x1b], 0
fld dword [esp + 0x64]
fcomp dword [0x641de0]
fnstsw ax
test ah, 5
jp 0x50b915
mov bl, 1
jmp 0x50b917
xor bl, bl
fld dword [esp + 0x68]
fcomp dword [0x641de0]
fnstsw ax
test ah, 5
jp 0x50b92c
mov cl, 1
jmp 0x50b92e
xor cl, cl
fld dword [esp + 0x6c]
fcomp dword [0x641de0]
fnstsw ax
test ah, 5
jp 0x50b943
mov al, 1
jmp 0x50b945
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 0x50bf04
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 0x50b9f0
mov byte [esp + 0x2f], 0
fld dword [esp + 0x84]
mov byte [esp + 0x1b], 1
fcomp dword [0x641de0]
fnstsw ax
test ah, 5
jnp 0x50ba0e
mov byte [esp + 0x1b], 0
fld dword [esp + 0x88]
fcomp dword [0x641de0]
fnstsw ax
test ah, 5
jp 0x50ba26
mov bl, 1
jmp 0x50ba28
xor bl, bl
fld dword [esp + 0x8c]
mov byte [esp + 0x2e], 1
fcomp dword [0x641de0]
fnstsw ax
test ah, 5
jnp 0x50ba46
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 0x50bf04
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 0x50bb8d
fld dword [esp + ecx + 0x5c]
fabs
fchs
fsub dword [esp + 0x4c]
fcom dword [esp + 0x1ac]
fnstsw ax
test ah, 0x41
jne 0x50bb8b
test dl, 1
je 0x50baf5
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 0x50bb3c
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 0x50bb8d
fstp st(0)
add ecx, 0x10
add esi, 4
cmp ecx, 0x20
jl 0x50ba84
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 0x50bbf0
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 0x50be87
fld st(1)
fmul dword [esp + ecx + 0x50]
fld dword [esp + 0x5c]
fmul dword [esp + 0x8c]
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 0x50be89
fld dword [esp + 0x24]
fcomp dword [0x65c3e4]
fnstsw ax
test ah, 5
jp 0x50be89
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 0x50bcda
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 0x50bd7f
fsqrt
fdivr dword [0x6419bc]
jmp 0x50bd87
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 + 0x94]
fmul st(2)
fld dword [esp + 0x24]
fmul dword [esp + 0xa4]
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]
fst dword [esp + 0x1c]
fmul dword [esp + 0x1b0]
fadd st(1)
fstp dword [esp + 0x1a0]
fstp st(0)
fstp st(0)
fld dword [esp + 0x1c]
fmul dword [esp + 0x1b4]
fadd dword [esp + 0xc4]
fstp dword [esp + 0x1a4]
fld dword [esp + 0x1c]
fmul dword [esp + 0x1b8]
fadd dword [esp + 0xc8]
fstp dword [esp + 0x1a8]
fld dword [esp + 0x28]
fsub dword [esp + 0x4c]
fstp dword [esp + 0x1ac]
jmp 0x50be8b
fstp st(0)
fstp st(0)
add ecx, 4
cmp ecx, 0xc
jl 0x50bbf0
fstp st(0)
fld dword [esp + 0x17c]
fcomp dword [0x641de0]
fnstsw ax
test ah, 5
jnp 0x50bec1
fld dword [esp + 0x1ac]
fcomp dword [0x641de0]
fnstsw ax
test ah, 5
jp 0x50bed1
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 0x50befb
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 0x10
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 0x50bf9c
mov byte [esp + 0x24], 1
mov dword [esp + 0x1c], 8
xor edi, edi
mov edi, edi
mov al, byte [esp + 0x24]
test al, al
jne 0x50c0a5
mov eax, dword [esp + 0x1c]
test dword [esp + ebx*4 + 0xc0], eax
jmp 0x50c0bb
cmp ebx, 2
jge 0x50be99
mov eax, dword [esp + ebx*4 + 0xc0]
mov ecx, eax
and ecx, 0xe
cmp cl, 0xe
jne 0x50bf74
fld dword [edi + 0xc]
test al, 1
mov eax, ebx
je 0x50c038
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 0x50bf9c
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 0x50bf9c
mov edx, dword [esp + 0xc4]
mov ecx, dword [esp + 0x1c]
and ecx, edx
mov edx, dword [esp + 0xc0]
test edx, ecx
jne 0x50c428
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 0x50c428
mov eax, 1
mov ecx, ebx
shl eax, cl
test edx, eax
je 0x50c17f
mov al, byte [esp + 0x24]
test al, al
je 0x50c428
mov ebx, 1
test edx, edx
jne 0x50c1ee
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 0x50c314
fld dword [esp + 0x160]
fcomp dword [0x65c3e0]
fnstsw ax
test ah, 0x41
jp 0x50c2ec
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 0x50c314
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 0x50c30d
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 0x50c34b
fsqrt
fdivr dword [0x6419bc]
fstp dword [esp + 0x20]
jmp 0x50c355
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 0x50c3c9
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 0x50bf80
mov al, byte [esp + 0x24]
test al, al
jne 0x50be99
mov edi, dword [esp + 0x28]
add esi, 0x30
inc ebx
jmp 0x50bf9c