Function at 0x504430
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xe4
mov ecx, dword [0x96186c]
cmp ecx, dword [0x961870]
push ebx
push esi
push edi
jae 0x504469
mov dword [ecx], str.TtmultiRay_cvx
rdtsc
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
mov dword [ecx + 4], eax
add ecx, 0xc
mov dword [0x96186c], ecx
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov edx, dword [esi + 8]
mov ecx, dword [ebx]
mov eax, dword [ebx + 8]
mov edi, dword [esi]
add edx, 0x20
push edx
add eax, 0x20
mov dword [esp + 0x50], ecx
push eax
lea ecx, [esp + 0x58]
call fcn.0054c890
mov eax, dword [edi + 0x14]
test eax, eax
mov edi, dword [edi + 0x10]
mov dword [esp + 0xe0], esi
mov dword [esp + 0xe4], ebx
mov dword [esp + 0xb4], 0
jle 0x504754
lea esi, [edi + 0x18]
mov dword [esp + 0x18], eax
lea esp, [esp]
fld dword [edi]
mov ecx, dword [esp + 0x4c]
fld dword [esi - 0x14]
lea eax, [esp + 0x20]
fld dword [esi - 0x10]
mov dword [esp + 0x9c], 0
fld dword [esp + 0x70]
push eax
fmul st(1)
lea eax, [esp + 0x94]
fld dword [esp + 0x64]
mov dword [esp + 0x38], 0x3f800000
fmul st(3)
push eax
faddp st(1)
fld dword [esp + 0x58]
fmul st(4)
faddp st(1)
fadd dword [esp + 0x88]
fstp dword [esp + 0x98]
fld dword [esp + 0x7c]
fmul st(1)
fld dword [esp + 0x6c]
fmul st(3)
faddp st(1)
fld dword [esp + 0x5c]
fmul st(4)
faddp st(1)
fadd dword [esp + 0x8c]
fstp dword [esp + 0x9c]
fld dword [esp + 0x80]
fmul st(1)
fld dword [esp + 0x70]
fmul st(3)
faddp st(1)
fld dword [esp + 0x60]
fmul st(4)
faddp st(1)
fadd dword [esp + 0x90]
fstp dword [esp + 0xa0]
fstp st(0)
fstp st(0)
fstp st(0)
fld dword [esi - 8]
fld dword [esi - 4]
fld dword [esi]
mov dword [esp + 0xb4], 0
fld dword [esp + 0x78]
fmul st(1)
fld dword [esp + 0x68]
fmul st(3)
faddp st(1)
fld dword [esp + 0x58]
fmul st(4)
faddp st(1)
fadd dword [esp + 0x88]
fstp dword [esp + 0xa8]
fld dword [esp + 0x7c]
fmul st(1)
fld dword [esp + 0x6c]
fmul st(3)
faddp st(1)
fld dword [esp + 0x5c]
fmul st(4)
faddp st(1)
fadd dword [esp + 0x8c]
fstp dword [esp + 0xac]
fld dword [esp + 0x80]
fmul st(1)
fld dword [esp + 0x70]
fmul st(3)
faddp st(1)
fld dword [esp + 0x60]
fmul st(4)
faddp st(1)
fadd dword [esp + 0x90]
fstp dword [esp + 0xb0]
mov edx, dword [ecx]
fstp st(0)
fstp st(0)
fstp st(0)
lea eax, [esp + 0x24]
push eax
call dword [edx + 0x20]
mov al, byte [esp + 0x1c]
test al, al
je 0x50473f
fld dword [0x6419bc]
mov eax, dword [ebx + 8]
fsub dword [esp + 0x34]
fld dword [esp + 0x90]
fmul st(1)
fld dword [esp + 0xa0]
fmul dword [esp + 0x34]
faddp st(1)
fld dword [esp + 0x94]
fmul st(2)
fld dword [esp + 0xa4]
fmul dword [esp + 0x34]
faddp st(1)
fld dword [esp + 0x98]
fmul st(3)
fld dword [esp + 0xa8]
fmul dword [esp + 0x34]
faddp st(1)
fld st(0)
fmul dword [eax + 0x40]
fld st(2)
fmul dword [eax + 0x30]
faddp st(1)
fld st(3)
fmul dword [eax + 0x20]
faddp st(1)
fadd dword [eax + 0x50]
fstp dword [esp + 0xc0]
fld st(0)
fmul dword [eax + 0x44]
fld st(2)
fmul dword [eax + 0x34]
faddp st(1)
fld st(3)
fmul dword [eax + 0x24]
faddp st(1)
fadd dword [eax + 0x54]
fstp dword [esp + 0xc4]
fmul dword [eax + 0x48]
fxch st(1)
fmul dword [eax + 0x38]
faddp st(1)
fxch st(1)
fmul dword [eax + 0x28]
faddp st(1)
fadd dword [eax + 0x58]
mov dword [esp + 0xcc], 0
fstp dword [esp + 0xc8]
fstp st(0)
fld dword [esp + 0x34]
fsub dword [0x6419bc]
fmul dword [esi - 0xc]
fstp dword [esp + 0xcc]
fld dword [esp + 0x28]
fmul dword [eax + 0x40]
fld dword [esp + 0x24]
fmul dword [eax + 0x30]
faddp st(1)
fld dword [esp + 0x20]
fmul dword [eax + 0x20]
faddp st(1)
fstp dword [esp + 0xd0]
fld dword [esp + 0x28]
fmul dword [eax + 0x44]
fld dword [esp + 0x24]
fmul dword [eax + 0x34]
faddp st(1)
fld dword [esp + 0x20]
fmul dword [eax + 0x24]
faddp st(1)
fstp dword [esp + 0xd4]
fld dword [esp + 0x28]
fmul dword [eax + 0x48]
fld dword [esp + 0x24]
fmul dword [eax + 0x38]
faddp st(1)
fld dword [esp + 0x20]
fmul dword [eax + 0x28]
faddp st(1)
fstp dword [esp + 0xd8]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
lea eax, [esp + 0xc0]
push eax
mov dword [esp + 0xe0], 0
call dword [edx + 4]
mov eax, dword [esp + 0x18]
add edi, 0x20
add esi, 0x20
dec eax
mov dword [esp + 0x18], eax
jne 0x5044c0
mov ecx, dword [0x96186c]
cmp ecx, dword [0x961870]
jae 0x50477e
mov dword [ecx], 0x6594f4
rdtsc
mov dword [esp + 0x1c], eax
mov edx, dword [esp + 0x1c]
mov dword [ecx + 4], edx
add ecx, 0xc
mov dword [0x96186c], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret