Function at 0x50d820
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xe8
mov ecx, dword [0x96186c]
cmp ecx, dword [0x961870]
push esi
push edi
jae 0x50d858
mov dword [ecx], str.TtCapsCaps
rdtsc
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x2c]
mov dword [ecx + 4], eax
add ecx, 0xc
mov dword [0x96186c], ecx
mov eax, dword [ebp + 8]
mov esi, dword [eax]
mov dword [esp + 0x60], eax
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x64], ecx
fld dword [esi + 0x10]
fld dword [esi + 0x14]
mov eax, dword [eax + 8]
fld dword [esi + 0x18]
add eax, 0x20
fld st(0)
mov edi, dword [ecx]
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(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 + 0xa4]
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 + 0xac], 0
fstp dword [esp + 0xa8]
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 + 0xb0]
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 + 0xb4]
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 [ecx + 8]
mov dword [esp + 0xbc], 0
add eax, 0x20
fstp dword [esp + 0xb8]
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 + 0x80]
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 + 0x84]
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 + 0x8c], 0
fstp dword [esp + 0x88]
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 + 0x90]
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 + 0x94]
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 + 0x9c], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x7c], 0
fstp dword [esp + 0x98]
fld dword [esp + 0xb0]
fsub dword [esp + 0xa0]
fstp dword [esp + 0x10]
fld dword [esp + 0xb4]
fsub dword [esp + 0xa4]
fstp dword [esp + 0x14]
fld dword [esp + 0xb8]
fsub dword [esp + 0xa8]
fstp dword [esp + 0x18]
fld dword [esp + 0x90]
fsub dword [esp + 0x80]
fstp dword [esp + 0x70]
fld dword [esp + 0x94]
fsub dword [esp + 0x84]
fstp dword [esp + 0x74]
fld dword [esp + 0x98]
fsub dword [esp + 0x88]
fstp dword [esp + 0x78]
lea ecx, [esp + 0xc0]
push ecx
lea edx, [esp + 0x74]
push edx
lea eax, [esp + 0x88]
push eax
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0xb0]
push edx
call fcn.00529600
fld dword [esi + 0xc]
fadd dword [edi + 0xc]
mov ecx, eax
mov eax, dword [ebp + 0x10]
add esp, 0x14
fld st(0)
fadd dword [eax + 8]
fld st(0)
fmul st(1)
fld dword [esp + 0xe0]
fcompp
fnstsw ax
fstp st(0)
test ah, 0x41
je 0x50dd27
test ecx, ecx
fld dword [esp + 0xe0]
fsqrt
je 0x50db38
fld dword [esp + 0xe0]
fcomp dword [0x641de0]
fnstsw ax
test ah, 0x41
jne 0x50dbff
mov ecx, dword [esp + 0xd0]
fld dword [esp + 0xdc]
mov edx, dword [esp + 0xd4]
mov eax, dword [esp + 0xd8]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], edx
mov dword [esp + 0x58], eax
jmp 0x50dc6f
fld dword [esp + 0x78]
fmul dword [esp + 0x14]
fld dword [esp + 0x74]
fmul dword [esp + 0x18]
fsubp st(1)
fld dword [esp + 0x18]
fmul dword [esp + 0x70]
fld dword [esp + 0x78]
fmul dword [esp + 0x10]
fsubp st(1)
fstp dword [esp + 0x34]
fld dword [esp + 0x74]
fmul dword [esp + 0x10]
fld dword [esp + 0x14]
fmul dword [esp + 0x70]
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 [0x65c40c]
fnstsw ax
test ah, 0x41
jne 0x50dbfd
fld dword [esp + 0xd0]
fmul st(1)
fld dword [esp + 0x38]
fmul dword [esp + 0xd8]
faddp st(1)
fld dword [esp + 0x34]
fmul dword [esp + 0xd4]
faddp st(1)
fcomp dword [0x641de0]
fnstsw ax
test ah, 5
jp 0x50dbe1
fchs
fld dword [esp + 0x34]
fchs
fstp dword [esp + 0x34]
fld dword [esp + 0x38]
fchs
fstp dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
fstp dword [esp + 0x50]
mov edx, dword [esp + 0x38]
fld dword [0x641de0]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], edx
jmp 0x50dc6f
fstp st(0)
fld dword [esp + 0x10]
xor ecx, ecx
fabs
mov edx, 1
fld dword [esp + 0x14]
fabs
mov esi, 2
fst dword [esp + 0x2c]
fld dword [esp + 0x18]
fabs
fstp dword [esp + 0x28]
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x50dc3b
fstp st(0)
xor edx, edx
fld dword [esp + 0x2c]
mov ecx, 1
fld dword [esp + 0x28]
fcomp st(1)
fnstsw ax
fstp st(0)
test ah, 5
jp 0x50dc51
mov esi, ecx
mov ecx, 2
mov dword [esp + ecx*4 + 0x50], 0
mov eax, dword [esp + esi*4 + 0x10]
mov dword [esp + edx*4 + 0x50], eax
fld dword [esp + edx*4 + 0x10]
fchs
fstp dword [esp + esi*4 + 0x50]
fld dword [esp + 0x5c]
fld dword [esp + 0x58]
fmul dword [esp + 0x58]
fld dword [esp + 0x54]
fmul dword [esp + 0x54]
faddp st(1)
fld dword [esp + 0x50]
fmul dword [esp + 0x50]
faddp st(1)
fld dword [0x641de0]
fld st(1)
fucompp
fnstsw ax
test ah, 0x44
jnp 0x50dca6
fsqrt
fdivr dword [0x6419bc]
jmp 0x50dcae
fstp st(0)
fld dword [0x641de0]
fld dword [esp + 0x50]
mov ecx, dword [ebp + 0x14]
fmul st(1)
mov edx, dword [ecx]
lea eax, [esp + 0x40]
push eax
fstp dword [esp + 0x54]
fld dword [esp + 0x58]
fmul st(1)
fstp dword [esp + 0x58]
fld dword [esp + 0x5c]
fmul st(1)
fstp dword [esp + 0x5c]
fxch st(1)
fmul st(1)
fstp dword [esp + 0x60]
fstp st(0)
fld dword [edi + 0xc]
fsub st(1)
fld dword [esp + 0x54]
fmul st(1)
fadd dword [esp + 0xc4]
fstp dword [esp + 0x44]
fld dword [esp + 0x58]
fmul st(1)
fadd dword [esp + 0xc8]
fstp dword [esp + 0x48]
fld dword [esp + 0x5c]
fmul st(1)
fadd dword [esp + 0xcc]
fstp dword [esp + 0x4c]
fstp st(0)
fsub st(1)
fstp dword [esp + 0x50]
fstp st(0)
call dword [edx + 4]
jmp 0x50dd29
fstp st(0)
mov ecx, dword [0x96186c]
cmp ecx, dword [0x961870]
jae 0x50dd53
mov dword [ecx], 0x6594f4
rdtsc
mov dword [esp + 0x28], eax
mov edx, dword [esp + 0x28]
mov dword [ecx + 4], edx
add ecx, 0xc
mov dword [0x96186c], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10