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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x234
mov ecx, dword [0x96186c]
cmp ecx, dword [0x961870]
push ebx
push esi
push edi
jae 0x50a0c9
mov dword [ecx], str.TtCapsuleTriangle
rdtsc
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
mov dword [ecx + 4], eax
add ecx, 0xc
mov dword [0x96186c], ecx
mov edi, dword [ebp + 0xc]
mov edx, dword [edi]
lea ecx, [esp + 0x22c]
push ecx
add edx, 0x10
push edx
call fcn.00529b60
mov eax, dword [ebp + 8]
mov esi, dword [eax]
mov dword [esp + 0x128], eax
mov eax, dword [eax + 8]
mov dword [esp + 0x12c], edi
fld dword [esi + 0x10]
fld dword [esi + 0x14]
add eax, 0x20
fld dword [esi + 0x18]
mov ebx, dword [edi]
fld st(2)
mov dword [esp + 0x24], ebx
fmul dword [eax]
fld st(1)
fmul dword [eax + 0x20]
faddp st(1)
fld st(2)
fmul dword [eax + 0x10]
faddp st(1)
fadd dword [eax + 0x30]
fstp dword [esp + 0x88]
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 + 0x8c]
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 + 0x94], 0
fstp dword [esp + 0x90]
fld dword [esi + 0x20]
fld dword [esi + 0x24]
fld dword [esi + 0x28]
fld st(2)
fmul dword [eax]
fld st(1)
fmul dword [eax + 0x20]
faddp st(1)
fld st(2)
fmul dword [eax + 0x10]
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 [ebx + 0x10]
mov eax, dword [edi + 8]
fld dword [ebx + 0x14]
add eax, 0x20
fld dword [ebx + 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 + 0x1f8]
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 + 0x1fc]
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 + 0x204], 0
fstp dword [esp + 0x200]
fld dword [ebx + 0x20]
fld dword [ebx + 0x24]
fld dword [ebx + 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 + 0x208]
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 + 0x20c]
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 + 0x214], 0
fstp dword [esp + 0x210]
fld dword [ebx + 0x30]
fld dword [ebx + 0x34]
fld dword [ebx + 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 + 0x218]
fld st(0)
lea ecx, [esp + 0xc8]
fmul dword [eax + 0x24]
lea edx, [esp + 0x234]
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 + 0x21c]
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 + 0x68]
push eax
push ecx
push edx
fstp dword [esp + 0x22c]
lea eax, [esp + 0x204]
push eax
mov dword [esp + 0x234], 0
call fcn.00529ce0
fld dword [esp + 0x98]
fsub dword [esp + 0x208]
add esp, 0x18
fld dword [esp + 0x84]
fsub dword [esp + 0x1f4]
fld dword [esp + 0x88]
fsub dword [esp + 0x1f8]
fstp dword [esp + 0x48]
mov ecx, dword [esp + 0x48]
fld dword [esp + 0x90]
mov dword [esp + 0x18], ecx
fsub dword [esp + 0x1f0]
fstp dword [esp + 0x50]
fld dword [esp + 0x94]
fsub dword [esp + 0x1f4]
fstp dword [esp + 0x54]
fld dword [esp + 0x98]
fsub dword [esp + 0x1f8]
fstp dword [esp + 0x58]
fld st(1)
fstp dword [esp + 0x10]
fst dword [esp + 0x14]
fld dword [esp + 0x48]
fmul dword [esp + 0xe0]
fld st(1)
fmul dword [esp + 0xd0]
faddp st(1)
fxch st(2)
fmul dword [esp + 0xc0]
faddp st(2)
fxch st(1)
fadd dword [esp + 0xf0]
fstp dword [esp + 0x40]
fld dword [esp + 0x48]
fmul dword [esp + 0xe4]
fxch st(1)
fmul dword [esp + 0xd4]
faddp st(1)
fld dword [esp + 0x10]
fmul dword [esp + 0xc4]
faddp st(1)
fadd dword [esp + 0xf4]
fstp dword [esp + 0x44]
fld dword [esp + 0x48]
fmul dword [esp + 0xe8]
fld dword [esp + 0x10]
fmul dword [esp + 0xc8]
faddp st(1)
fld dword [esp + 0x14]
fmul dword [esp + 0xd8]
faddp st(1)
fadd dword [esp + 0xf8]
fstp dword [esp + 0x48]
mov edx, dword [ebp + 0x10]
fld dword [esp + 0x10]
fmul dword [esp + 0xcc]
fld dword [esp + 0x14]
fmul dword [esp + 0xdc]
faddp st(1)
fld dword [esp + 0x18]
fmul dword [esp + 0xec]
faddp st(1)
fadd dword [esp + 0xfc]
fstp dword [esp + 0x4c]
fld dword [esp + 0x50]
fld dword [esp + 0x54]
fld dword [esp + 0x58]
fld dword [esp + 0x54]
fmul dword [esp + 0xd0]
fld dword [esp + 0x50]
fmul dword [esp + 0xc0]
faddp st(1)
fld dword [esp + 0xe0]
fmul dword [esp + 0x58]
faddp st(1)
fadd dword [esp + 0xf0]
fstp dword [esp + 0x50]
fld dword [esp + 0x54]
fmul dword [esp + 0xd4]
fld st(3)
fmul dword [esp + 0xc4]
faddp st(1)
fld dword [esp + 0xe4]
fmul dword [esp + 0x58]
faddp st(1)
fadd dword [esp + 0xf4]
fstp dword [esp + 0x54]
fld st(2)
fmul dword [esp + 0xc8]
fld st(2)
fmul dword [esp + 0xd8]
faddp st(1)
fld dword [esp + 0xe8]
fmul dword [esp + 0x58]
faddp st(1)
fadd dword [esp + 0xf8]
fstp dword [esp + 0x58]
fxch st(2)
fmul dword [esp + 0xcc]
fxch st(1)
fmul dword [esp + 0xdc]
faddp st(1)
fxch st(1)
fmul dword [esp + 0xec]
faddp st(1)
fadd dword [esp + 0xfc]
fstp dword [esp + 0x5c]
fld dword [esi + 0xc]
fadd dword [ebx + 0xc]
mov dword [esp + 0x13c], 0x7f7fffff
mov dword [esp + 0x16c], 0x7f7fffff
mov dword [esp + 0x19c], 0x7f7fffff
fst dword [esp + 0x3c]
fadd dword [edx + 8]
fcom dword [esp + 0x40]
fnstsw ax
test ah, 5
jp 0x50a563
mov cl, 1
jmp 0x50a565
xor cl, cl
fcom dword [esp + 0x44]
mov byte [esp + 0xf], 1
fnstsw ax
test ah, 5
jnp 0x50a57a
mov byte [esp + 0xf], 0
fcom dword [esp + 0x48]
fnstsw ax
test ah, 5
jp 0x50a589
mov dl, 1
jmp 0x50a58b
xor dl, dl
fcom dword [esp + 0x4c]
fnstsw ax
test ah, 5
jp 0x50a59a
mov al, 1
jmp 0x50a59c
xor al, al
fcom dword [esp + 0x50]
movzx ecx, cl
movzx edx, dl
shl ecx, 3
shl edx, 1
or ecx, edx
movzx edx, byte [esp + 0xf]
shl edx, 2
movzx eax, al
or ecx, edx
or ecx, eax
mov byte [esp + 0xe], 1
fnstsw ax
test ah, 5
jnp 0x50a5cd
mov byte [esp + 0xe], 0
fcom dword [esp + 0x54]
mov byte [esp + 0xf], 1
fnstsw ax
test ah, 5
jnp 0x50a5e2
mov byte [esp + 0xf], 0
fcom dword [esp + 0x58]
fnstsw ax
test ah, 5
jp 0x50a5f1
mov dl, 1
jmp 0x50a5f3
xor dl, dl
fcom dword [esp + 0x5c]
fnstsw ax
test ah, 5
jp 0x50a602
mov al, 1
jmp 0x50a604
xor al, al
movzx esi, byte [esp + 0xf]
movzx edx, dl
shl edx, 1
shl esi, 2
or edx, esi
movzx esi, byte [esp + 0xe]
shl esi, 3
movzx eax, al
or edx, esi
or edx, eax
test ecx, edx
jne 0x50b205
fchs
fld dword [esp + 0x4c]
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x50a64e
fld dword [esp + 0x5c]
fcomp st(1)
fnstsw ax
fstp st(0)
test ah, 5
jnp 0x50b207
jmp 0x50a650
fstp st(0)
fld dword [esp + 0x40]
mov byte [esp + 0xe], 1
fcomp dword [0x641de0]
fnstsw ax
test ah, 5
jnp 0x50a66b
mov byte [esp + 0xe], 0
fld dword [esp + 0x44]
fcomp dword [0x641de0]
fnstsw ax
test ah, 5
jp 0x50a680
mov dl, 1
jmp 0x50a682
xor dl, dl
fld dword [esp + 0x48]
fcomp dword [0x641de0]
fnstsw ax
test ah, 5
jp 0x50a697
mov cl, 1
jmp 0x50a699
xor cl, cl
fld dword [esp + 0x4c]
fcomp dword [0x641de0]
fnstsw ax
test ah, 5
jp 0x50a6ae
mov al, 1
jmp 0x50a6b0
xor al, al
fld dword [esp + 0x50]
movzx esi, cl
fcomp dword [0x641de0]
movzx ecx, dl
movzx edx, byte [esp + 0xe]
shl esi, 1
shl ecx, 2
or esi, ecx
shl edx, 3
movzx eax, al
or esi, edx
or esi, eax
mov dword [esp + 0xb0], esi
fnstsw ax
test ah, 5
mov byte [esp + 0xf], 1
jnp 0x50a6ee
mov byte [esp + 0xf], 0
fld dword [esp + 0x54]
mov byte [esp + 0xe], 1
fcomp dword [0x641de0]
fnstsw ax
test ah, 5
jnp 0x50a709
mov byte [esp + 0xe], 0
fld dword [esp + 0x58]
fcomp dword [0x641de0]
fnstsw ax
test ah, 5
jp 0x50a71e
mov dl, 1
jmp 0x50a720
xor dl, dl
fld dword [esp + 0x5c]
fcomp dword [0x641de0]
fnstsw ax
test ah, 5
jp 0x50a735
mov cl, 1
jmp 0x50a737
xor cl, cl
movzx eax, dl
movzx edx, byte [esp + 0xe]
shl eax, 1
shl edx, 2
or eax, edx
movzx edx, byte [esp + 0xf]
shl edx, 3
or eax, edx
movzx ecx, cl
or eax, ecx
mov dword [esp + 0xb4], eax
xor eax, esi
test al, 1
je 0x50acd6
fld dword [esp + 0x4c]
fsub dword [esp + 0x5c]
fdivr dword [esp + 0x4c]
fld dword [0x6419bc]
fsub st(1)
fld st(1)
fmul dword [esp + 0x50]
fld st(1)
fmul dword [esp + 0x40]
faddp st(1)
fld dword [esp + 0x54]
fmul st(3)
fld dword [esp + 0x44]
fmul st(3)
faddp st(1)
fstp dword [esp + 0x74]
fld dword [esp + 0x48]
fmul st(2)
fld st(3)
fmul dword [esp + 0x58]
faddp st(1)
fstp dword [esp + 0x78]
fld dword [esp + 0x4c]
fmul st(2)
fxch st(3)
fmul dword [esp + 0x5c]
faddp st(3)
fxch st(2)
fstp dword [esp + 0x7c]
fxch st(1)
fcomp dword [0x641de0]
fnstsw ax
fstp st(0)
test ah, 5
jp 0x50a7d5
mov cl, 1
jmp 0x50a7d7
xor cl, cl
fld dword [esp + 0x74]
mov byte [esp + 0xe], 1
fcomp dword [0x641de0]
fnstsw ax
test ah, 5
jnp 0x50a7f2
mov byte [esp + 0xe], 0
fld dword [esp + 0x78]
fcomp dword [0x641de0]
fnstsw ax
test ah, 5
jp 0x50a807
mov dl, 1
jmp 0x50a809
xor dl, dl
fld dword [esp + 0x7c]
mov byte [esp + 0xf], 1
fcomp dword [0x641de0]
fnstsw ax
test ah, 5
jnp 0x50a824
mov byte [esp + 0xf], 0
mov esi, dword [esp + 0xf]
xor eax, eax
mov al, byte [esp + 0xe]
shl edx, 1
neg ecx
shl ecx, 3
shl eax, 2
or edx, eax
or edx, ecx
or edx, esi
and edx, 0xe
cmp dl, 0xe
jne 0x50acd6
mov dword [esp + 0x16c], 0xff7fffff
lea esi, [esp + 0xb0]
xor ecx, ecx
mov edi, edi
mov edx, dword [esi]
mov eax, edx
and eax, 0xe
cmp al, 0xe
jne 0x50a969
fld dword [esp + ecx + 0x4c]
fabs
fchs
fsub dword [esp + 0x3c]
fcom dword [esp + 0x16c]
fnstsw ax
test ah, 0x41
jne 0x50a967
test dl, 1
je 0x50a8d1
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x64]
mov dword [esp + 0x170], edx
mov edx, dword [esp + 0x68]
mov dword [esp + 0x174], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x178], edx
mov edx, dword [esp + ecx + 0x88]
mov dword [esp + 0x17c], eax
fld dword [ebx + 0xc]
mov dword [esp + 0x168], edx
jmp 0x50a918
fld dword [esp + 0x60]
mov eax, dword [esp + ecx + 0x88]
fchs
fstp dword [esp + 0x170]
fld dword [esp + 0x64]
fchs
fstp dword [esp + 0x174]
fld dword [esp + 0x68]
fchs
fstp dword [esp + 0x178]
fld dword [esp + 0x6c]
fchs
fstp dword [esp + 0x17c]
fld dword [ebx + 0xc]
mov dword [esp + 0x168], eax
fchs
fsub dword [esp + ecx + 0x4c]
fld dword [esp + ecx + 0x80]
fld dword [esp + ecx + 0x84]
fld st(2)
fmul dword [esp + 0x60]
fadd st(2)
fstp dword [esp + 0x160]
fld st(2)
fmul dword [esp + 0x64]
fadd st(1)
fstp dword [esp + 0x164]
fstp st(0)
fstp st(0)
fmul dword [esp + 0x68]
fadd dword [esp + 0x168]
fstp dword [esp + 0x168]
fstp dword [esp + 0x16c]
jmp 0x50a969
fstp st(0)
add ecx, 0x10
add esi, 4
cmp ecx, 0x20
jl 0x50a860
fld dword [esp + 0x50]
xor ecx, ecx
fsub dword [esp + 0x40]
fstp dword [esp + 0x70]
fld dword [esp + 0x54]
fsub dword [esp + 0x44]
fstp dword [esp + 0x74]
fld dword [esp + 0x58]
fsub dword [esp + 0x48]
fstp dword [esp + 0x78]
fld dword [esp + 0x5c]
fsub dword [esp + 0x4c]
fst dword [esp + 0x7c]
fmul dword [esp + 0x7c]
mov edi, edi
fld dword [esp + ecx + 0x70]
mov edx, dword [esp + 0x7c]
fld st(0)
mov dword [esp + 0x14], edx
fmul st(1)
fadd st(2)
fdivr dword [0x6419bc]
fld dword [esp + 0x4c]
fmul st(2)
fld dword [esp + 0x7c]
fmul dword [esp + ecx + 0x40]
fsubp st(1)
fld st(0)
fmul st(1)
fmul st(2)
fstp dword [esp + 0x1c]
fstp st(0)
fld dword [esp + 0x3c]
fadd dword [esp + 0x16c]
fld st(0)
fmul st(1)
fld dword [esp + 0x1c]
fcompp
fnstsw ax
fstp st(0)
test ah, 5
jp 0x50ac33
fld st(1)
fmul dword [esp + ecx + 0x40]
fld dword [esp + 0x4c]
fmul dword [esp + 0x7c]
faddp st(1)
fmul st(1)
fchs
fstp dword [esp + 0x18]
fstp st(0)
fld dword [esp + 0x18]
fcomp dword [0x65c220]
fnstsw ax
test ah, 0x41
jne 0x50ac35
fld dword [esp + 0x18]
fcomp dword [0x65c3e4]
fnstsw ax
test ah, 5
jp 0x50ac35
fld dword [esp + ecx + 0xc0]
fld dword [esp + ecx + 0xd0]
fstp dword [esp + 0x24]
fld dword [esp + ecx + 0xe0]
fstp dword [esp + 0x28]
fld dword [esp + 0x7c]
fcomp dword [0x641de0]
fnstsw ax
test ah, 5
jp 0x50aa88
fld dword [esp + 0x7c]
fchs
fstp dword [esp + 0x14]
fxch st(1)
fchs
fxch st(1)
fmul dword [esp + 0x14]
fld dword [esp + 0x14]
fmul dword [esp + 0x24]
fld dword [esp + 0x14]
fmul dword [esp + 0x28]
fstp dword [esp + 0x28]
fld dword [esp + 0x14]
fmul dword [0x641de0]
fstp dword [esp + 0x2c]
fxch st(2)
fchs
fst dword [esp + 0x10]
fmul dword [esp + 0x60]
fadd st(1)
fstp dword [esp + 0x170]
fld dword [esp + 0x10]
fmul dword [esp + 0x64]
faddp st(2)
fstp st(0)
fld dword [esp + 0x10]
fmul dword [esp + 0x68]
fadd dword [esp + 0x28]
fstp dword [esp + 0x178]
fld dword [esp + 0x10]
fmul dword [esp + 0x6c]
fadd dword [esp + 0x2c]
fld dword [esp + 0x178]
fmul dword [esp + 0x178]
fld st(2)
fmul st(3)
faddp st(1)
fld dword [esp + 0x170]
fmul dword [esp + 0x170]
faddp st(1)
fld dword [0x641de0]
fld st(1)
fucompp
fnstsw ax
test ah, 0x44
jnp 0x50ab2d
fsqrt
fdivr dword [0x6419bc]
jmp 0x50ab35
fstp st(0)
fld dword [0x641de0]
fld dword [esp + 0x170]
fmul st(1)
fstp dword [esp + 0x170]
fxch st(2)
fmul st(2)
fstp dword [esp + 0x174]
fld dword [esp + 0x178]
fmul st(2)
fstp dword [esp + 0x178]
fmul st(1)
fstp dword [esp + 0x17c]
fstp st(0)
fld dword [0x6419bc]
fsub dword [esp + 0x18]
fld dword [esp + 0x80]
fmul st(1)
fld dword [esp + 0x18]
fmul dword [esp + 0x90]
faddp st(1)
fld dword [esp + 0x84]
fmul st(2)
fld dword [esp + 0x18]
fmul dword [esp + 0x94]
faddp st(1)
fstp dword [esp + 0xb4]
fld dword [esp + 0x88]
fmul st(2)
fld dword [esp + 0x18]
fmul dword [esp + 0x98]
faddp st(1)
fstp dword [esp + 0xb8]
fld dword [esp + 0x1c]
fsqrt
fchs
fstp dword [esp + 0x1c]
fld dword [ebx + 0xc]
fsub dword [esp + 0x1c]
fst dword [esp + 0x10]
fmul dword [esp + 0x170]
fadd st(1)
fstp dword [esp + 0x160]
fstp st(0)
fstp st(0)
fld dword [esp + 0x10]
fmul dword [esp + 0x174]
fadd dword [esp + 0xb4]
fstp dword [esp + 0x164]
fld dword [esp + 0x10]
fmul dword [esp + 0x178]
fadd dword [esp + 0xb8]
fstp dword [esp + 0x168]
fld dword [esp + 0x1c]
fsub dword [esp + 0x3c]
fstp dword [esp + 0x16c]
jmp 0x50ac37
fstp st(0)
fstp st(0)
add ecx, 4
cmp ecx, 0xc
jl 0x50a9b0
fstp st(0)
fld dword [esp + 0x13c]
fcomp dword [esp + 0x16c]
fnstsw ax
test ah, 5
jp 0x50b207
mov eax, dword [ebp + 0x10]
fld dword [esp + 0x13c]
fcomp dword [eax + 8]
fnstsw ax
test ah, 5
jp 0x50b29f
mov ecx, dword [esp + 0x130]
mov edx, dword [esp + 0x134]
mov eax, dword [esp + 0x138]
mov dword [esp + 0x100], ecx
mov ecx, dword [esp + 0x13c]
mov dword [esp + 0x104], edx
mov edx, dword [esp + 0x140]
mov dword [esp + 0x108], eax
mov eax, dword [esp + 0x144]
mov dword [esp + 0x10c], ecx
mov ecx, dword [esp + 0x148]
mov dword [esp + 0x110], edx
mov edx, dword [esp + 0x14c]
jmp 0x50b27a
fld dword [esp + 0x90]
mov eax, dword [esp + 0xb4]
fsub dword [esp + 0x80]
mov edi, dword [esp + 0xb0]
or eax, edi
xor ebx, ebx
fstp dword [esp + 0xa0]
and eax, 0xe
cmp al, 0xe
fld dword [esp + 0x94]
fsub dword [esp + 0x84]
lea esi, [esp + 0x130]
mov byte [esp + 0x18], bl
fstp dword [esp + 0xa4]
fld dword [esp + 0x98]
fsub dword [esp + 0x88]
fstp dword [esp + 0xa8]
fld dword [esp + 0x9c]
fsub dword [esp + 0x8c]
fstp dword [esp + 0xac]
je 0x50ad7c
mov byte [esp + 0x18], 1
mov dword [esp + 0x10], 8
xor edi, edi
lea ecx, [ecx]
mov al, byte [esp + 0x18]
test al, al
jne 0x50ae89
mov ecx, dword [esp + 0x10]
test dword [esp + ebx*4 + 0xb0], ecx
jmp 0x50ae9f
cmp ebx, 2
jge 0x50ac45
mov eax, dword [esp + ebx*4 + 0xb0]
mov ecx, eax
and ecx, 0xe
cmp cl, 0xe
jne 0x50ad53
mov edx, dword [esp + 0x1c]
fld dword [edx + 0xc]
test al, 1
mov eax, ebx
je 0x50ae1c
fchs
shl eax, 4
fsub dword [esp + eax + 0x4c]
lea ecx, [esp + eax + 0x4c]
fld dword [esp + 0x60]
lea eax, [esp + eax + 0x80]
add esi, 0x30
fmul st(1)
inc ebx
fadd dword [eax]
fstp dword [esi - 0x30]
fld dword [esp + 0x64]
fmul st(1)
fadd dword [eax + 4]
fstp dword [esi - 0x2c]
fld dword [esp + 0x68]
fmul st(1)
fadd dword [eax + 8]
fstp dword [esi - 0x28]
fmul dword [esp + 0x6c]
fadd dword [eax + 0xc]
fstp dword [esi - 0x24]
fld dword [ecx]
fchs
fsub dword [esp + 0x3c]
fstp dword [esi - 0x24]
fld dword [esp + 0x60]
fchs
fstp dword [esi - 0x20]
fld dword [esp + 0x64]
fchs
fstp dword [esi - 0x1c]
fld dword [esp + 0x68]
fchs
fstp dword [esi - 0x18]
fld dword [esp + 0x6c]
fchs
fstp dword [esi - 0x14]
jmp 0x50ad7c
shl eax, 4
fsub dword [esp + eax + 0x4c]
lea ecx, [esp + eax + 0x4c]
fld dword [esp + 0x60]
lea eax, [esp + eax + 0x80]
mov edx, dword [esp + 0x68]
fmul st(1)
add esi, 0x30
inc ebx
fadd dword [eax]
fstp dword [esi - 0x30]
fld dword [esp + 0x64]
fmul st(1)
fadd dword [eax + 4]
fstp dword [esi - 0x2c]
fld dword [esp + 0x68]
fmul st(1)
fadd dword [eax + 8]
fstp dword [esi - 0x28]
fmul dword [esp + 0x6c]
fadd dword [eax + 0xc]
mov eax, dword [esp + 0x60]
fstp dword [esi - 0x24]
fld dword [ecx]
mov ecx, dword [esp + 0x64]
fsub dword [esp + 0x3c]
fstp dword [esi - 0x24]
mov dword [esi - 0x20], eax
mov eax, dword [esp + 0x6c]
mov dword [esi - 0x1c], ecx
mov dword [esi - 0x18], edx
mov dword [esi - 0x14], eax
jmp 0x50ad7c
mov eax, dword [esp + 0xb4]
mov edx, dword [esp + 0x10]
and edx, eax
mov eax, dword [esp + 0xb0]
test eax, edx
jne 0x50b1dc
movsx ecx, byte [edi + 0x65cef8]
movsx eax, byte [edi + 0x65cefa]
shl ecx, 4
lea ecx, [esp + ecx + 0x1f0]
shl eax, 4
lea eax, [esp + eax + 0x1f0]
fld dword [ecx]
lea edx, [esp + 0x70]
fsub dword [eax]
fstp dword [esp + 0x70]
fld dword [ecx + 4]
fsub dword [eax + 4]
fstp dword [esp + 0x74]
fld dword [ecx + 8]
fsub dword [eax + 8]
fstp dword [esp + 0x78]
fld dword [ecx + 0xc]
lea ecx, [esp + 0x1c0]
fsub dword [eax + 0xc]
push ecx
push edx
push eax
lea eax, [esp + 0xac]
fstp dword [esp + 0x88]
push eax
lea ecx, [esp + 0x90]
push ecx
call fcn.00529600
fld dword [esp + 0x50]
fadd dword [esi + 0xc]
mov edx, eax
add esp, 0x14
fld st(0)
fmul st(1)
fld dword [esp + 0x1e0]
fcompp
fnstsw ax
fstp st(0)
test ah, 5
jp 0x50b1dc
mov eax, 1
mov ecx, ebx
shl eax, cl
test edx, eax
je 0x50af57
mov al, byte [esp + 0x18]
test al, al
je 0x50b1dc
mov ebx, 1
test edx, edx
jne 0x50afb4
fld dword [esp + 0x78]
mov dword [esp + 0x2c], edx
fmul dword [esp + 0xa4]
fld dword [esp + 0x74]
fmul dword [esp + 0xa8]
fsubp st(1)
fld dword [esp + 0x70]
fmul dword [esp + 0xa8]
fld dword [esp + 0xa0]
fmul dword [esp + 0x78]
fsubp st(1)
fstp dword [esp + 0x24]
fld dword [esp + 0xa0]
fmul dword [esp + 0x74]
fld dword [esp + 0x70]
fmul dword [esp + 0xa4]
fsubp st(1)
fstp dword [esp + 0x28]
jmp 0x50b0c8
fld dword [esp + 0x1e0]
fcomp dword [0x65c3e0]
fnstsw ax
test ah, 0x41
jp 0x50b0a0
fld dword [esp + edi*4 + 0xc0]
mov dword [esp + 0x1dc], 0
fstp dword [esp + 0x1d0]
mov dword [esp + 0x2c], 0
fld dword [esp + edi*4 + 0xd0]
fstp dword [esp + 0x1d4]
fld dword [esp + edi*4 + 0xe0]
fstp dword [esp + 0x1d8]
fld dword [esp + 0x78]
fmul dword [esp + 0xa4]
fld dword [esp + 0x74]
fmul dword [esp + 0xa8]
fsubp st(1)
fld dword [esp + 0x70]
fmul dword [esp + 0xa8]
fld dword [esp + 0xa0]
fmul dword [esp + 0x78]
fsubp st(1)
fstp dword [esp + 0x24]
fld dword [esp + 0xa0]
fmul dword [esp + 0x74]
fld dword [esp + 0x70]
fmul dword [esp + 0xa4]
fsubp st(1)
fstp dword [esp + 0x28]
fld st(0)
fmul st(1)
fld dword [esp + 0x28]
fmul dword [esp + 0x28]
faddp st(1)
fld dword [esp + 0x24]
fmul dword [esp + 0x24]
faddp st(1)
fcomp dword [0x65c3e0]
fnstsw ax
test ah, 0x41
jp 0x50b0c8
mov ecx, dword [esp + 0x1d4]
fstp st(0)
mov edx, dword [esp + 0x1d8]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], 0
jmp 0x50b0c1
mov eax, dword [esp + 0x1d4]
mov ecx, dword [esp + 0x1d8]
mov edx, dword [esp + 0x1dc]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
fld dword [esp + 0x1d0]
fld st(0)
fmul st(1)
fld dword [esp + 0x28]
fmul dword [esp + 0x28]
faddp st(1)
fld dword [esp + 0x24]
fmul dword [esp + 0x24]
faddp st(1)
fld dword [0x641de0]
fld st(1)
fucompp
fnstsw ax
test ah, 0x44
jnp 0x50b0ff
fsqrt
fdivr dword [0x6419bc]
fstp dword [esp + 0x14]
jmp 0x50b109
fstp st(0)
mov dword [esp + 0x14], 0
fmul dword [esp + 0x14]
fld dword [esp + 0x14]
fmul dword [esp + 0x24]
fld dword [esp + 0x14]
fmul dword [esp + 0x28]
fstp dword [esp + 0x28]
fld dword [esp + 0x14]
fmul dword [esp + 0x2c]
fstp dword [esp + 0x2c]
fld dword [esp + 0x1d0]
fmul st(2)
fld dword [esp + 0x1d8]
fmul dword [esp + 0x28]
faddp st(1)
fld dword [esp + 0x1d4]
fmul st(2)
faddp st(1)
fcom dword [0x641de0]
fnstsw ax
test ah, 5
jp 0x50b17d
fchs
fxch st(2)
fchs
fxch st(2)
fxch st(1)
fchs
fxch st(1)
fld dword [esp + 0x28]
fchs
fstp dword [esp + 0x28]
fld dword [esp + 0x2c]
fchs
fstp dword [esp + 0x2c]
mov eax, dword [esp + 0x1c]
fld dword [eax + 0xc]
mov ecx, dword [esp + 0x28]
fsub st(1)
mov edx, dword [esp + 0x2c]
fld st(0)
fmul st(4)
fadd dword [esp + 0x1c0]
fstp dword [esi]
fld st(0)
fmul st(3)
fadd dword [esp + 0x1c4]
fstp dword [esi + 4]
fld dword [esp + 0x28]
fmul st(1)
fadd dword [esp + 0x1c8]
fstp dword [esi + 8]
fmul dword [esp + 0x2c]
fadd dword [esp + 0x1cc]
fstp dword [esi + 0xc]
fsub dword [esp + 0x3c]
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 + 0x10]
sar edx, 1
inc edi
cmp edi, 3
mov dword [esp + 0x10], edx
jl 0x50ad60
mov al, byte [esp + 0x18]
test al, al
jne 0x50ac45
add esi, 0x30
inc ebx
jmp 0x50ad7c
fstp st(0)
mov eax, dword [ebp + 0x10]
fld dword [esp + 0x16c]
fcomp dword [eax + 8]
fnstsw ax
test ah, 5
jp 0x50b29f
mov ecx, dword [esp + 0x160]
mov edx, dword [esp + 0x164]
mov eax, dword [esp + 0x168]
mov dword [esp + 0x100], ecx
mov ecx, dword [esp + 0x16c]
mov dword [esp + 0x104], edx
mov edx, dword [esp + 0x170]
mov dword [esp + 0x108], eax
mov eax, dword [esp + 0x174]
mov dword [esp + 0x10c], ecx
mov ecx, dword [esp + 0x178]
mov dword [esp + 0x110], edx
mov edx, dword [esp + 0x17c]
mov dword [esp + 0x118], ecx
mov ecx, dword [ebp + 0x14]
mov dword [esp + 0x11c], edx
lea edx, [esp + 0x100]
mov dword [esp + 0x114], eax
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov ecx, dword [0x96186c]
cmp ecx, dword [0x961870]
jae 0x50b2c9
mov dword [ecx], 0x6594f4
rdtsc
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
mov dword [ecx + 4], eax
add ecx, 0xc
mov dword [0x96186c], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret