Function at 0x5133d0
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x24
mov eax, dword [0x961870]
push ebx
mov ebx, ecx
mov ecx, dword [0x96186c]
cmp ecx, eax
push esi
push edi
jae 0x513409
mov dword [ecx], str.TtSphereSphere
rdtsc
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
mov dword [ecx + 4], eax
add ecx, 0xc
mov dword [0x96186c], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [ebp + 0xc]
mov eax, dword [eax + 8]
mov edi, dword [edx + 8]
fld dword [eax + 0x50]
fsub dword [edi + 0x50]
add eax, 0x50
add edi, 0x50
mov esi, dword [edx]
fstp dword [esp + 0x20]
mov edx, dword [ebp + 0x10]
fld dword [eax + 4]
mov dword [esp + 0x18], ecx
fsub dword [edi + 4]
mov dword [esp + 0x14], esi
fstp dword [esp + 0x24]
fld dword [eax + 8]
fsub dword [edi + 8]
fstp dword [esp + 0x28]
fld dword [eax + 0xc]
fsub dword [edi + 0xc]
fstp dword [esp + 0x2c]
fld dword [esp + 0x28]
fmul dword [esp + 0x28]
fld dword [esp + 0x24]
fmul dword [esp + 0x24]
faddp st(1)
fld dword [esp + 0x20]
fmul dword [esp + 0x20]
faddp st(1)
fstp dword [esp + 0x10]
fld dword [edx + 8]
fadd dword [esi + 0xc]
fadd dword [ecx + 0xc]
fld st(0)
fmul st(1)
fld dword [esp + 0x10]
fcompp
fnstsw ax
fstp st(0)
test ah, 5
jp 0x5135e3
mov eax, dword [ebp + 0x14]
mov esi, dword [eax]
mov ecx, dword [esi + 8]
mov eax, dword [esi + 4]
and ecx, 0x7fffffff
cmp eax, ecx
mov dword [esp + 0x1c], esi
jne 0x5134b6
push 0x30
push esi
call fcn.0054d2c0
add esp, 8
mov eax, dword [esi + 4]
fld dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
fcomp dword [0x641de0]
mov edx, dword [ecx]
lea esi, [eax + eax*2]
shl esi, 4
add esi, edx
inc eax
mov dword [ecx + 4], eax
fnstsw ax
test ah, 0x41
jne 0x513522
fld dword [esp + 0x10]
mov edx, dword [esp + 0x14]
fsqrt
mov eax, dword [esp + 0x18]
fdivr dword [0x6419bc]
fld dword [esp + 0x20]
fmul st(1)
fstp dword [esi + 0x10]
fld dword [esp + 0x24]
fmul st(1)
fstp dword [esi + 0x14]
fld dword [esp + 0x28]
fmul st(1)
fstp dword [esi + 0x18]
fld dword [esp + 0x2c]
fmul st(1)
fstp dword [esi + 0x1c]
fmul dword [esp + 0x10]
fld dword [edx + 0xc]
fadd dword [eax + 0xc]
fsubp st(1)
jmp 0x513555
mov ecx, dword [0x6a80b0]
mov dword [esi + 0x10], ecx
mov edx, dword [0x6a80b4]
mov dword [esi + 0x14], edx
mov eax, dword [0x6a80b8]
mov edx, dword [esp + 0x14]
mov dword [esi + 0x18], eax
mov ecx, dword [0x6a80bc]
mov eax, dword [esp + 0x18]
mov dword [esi + 0x1c], ecx
fld dword [edx + 0xc]
fadd dword [eax + 0xc]
fchs
mov edx, dword [edi]
mov ecx, dword [esp + 0x14]
fld dword [ecx + 0xc]
mov dword [esi], edx
mov eax, dword [edi + 4]
fld st(1)
fmul dword [0x6431e4]
mov dword [esi + 4], eax
mov ecx, dword [edi + 8]
mov dword [esi + 8], ecx
mov edx, dword [edi + 0xc]
faddp st(1)
mov dword [esi + 0xc], edx
fld st(0)
fmul dword [esi + 0x10]
fadd dword [esi]
fstp dword [esi]
fld st(0)
fmul dword [esi + 0x14]
fadd dword [esi + 4]
fstp dword [esi + 4]
fld st(0)
fmul dword [esi + 0x18]
fadd dword [esi + 8]
fstp dword [esi + 8]
fmul dword [esi + 0x1c]
fadd dword [esi + 0xc]
fstp dword [esi + 0xc]
fstp dword [esi + 0xc]
cmp word [ebx + 0xc], 0xffff
jne 0x5135c8
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebx + 8]
mov eax, dword [ecx]
push esi
push edx
mov edx, dword [ebp + 0xc]
push edx
mov edx, dword [ebp + 8]
push edx
call dword [eax + 4]
mov word [ebx + 0xc], ax
mov bx, word [ebx + 0xc]
cmp bx, 0xffff
je 0x5135d9
mov word [esi + 0x20], bx
jmp 0x5135fe
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
dec dword [eax + 4]
jmp 0x5135fe
xor eax, eax
mov ax, word [ebx + 0xc]
cmp ax, 0xffff
je 0x5135fe
mov ecx, dword [ebx + 8]
mov edx, dword [ecx]
push eax
call dword [edx + 8]
mov word [ebx + 0xc], 0xffff
mov ecx, dword [0x96186c]
cmp ecx, dword [0x961870]
jae 0x513628
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 0x10