Function at 0x4e35d0
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x54
mov eax, dword [0x961870]
push ebx
mov dword [esp + 0xc], ecx
mov ecx, dword [0x96186c]
cmp ecx, eax
push esi
push edi
jae 0x4e360b
mov dword [ecx], str.TtConvexSweep
rdtsc
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
mov dword [ecx + 4], eax
add ecx, 0xc
mov dword [0x96186c], ecx
mov ebx, dword [ebp + 0x10]
mov ecx, dword [ebx + 0xc]
mov dl, byte [ecx]
mov edi, dword [ebp + 8]
mov ecx, dword [edi]
mov eax, dword [ecx]
xor esi, esi
mov byte [esp + 0x1c], 0
mov byte [esp + 0x13], dl
mov dword [esp + 0x18], esi
call dword [eax + 0x14]
cmp eax, 0x17
jne 0x4e3709
mov edx, dword [edi + 0xc]
cmp edx, esi
mov ecx, dword [edi]
mov eax, edi
je 0x4e3649
mov eax, edx
mov edx, dword [eax + 0xc]
cmp edx, esi
jne 0x4e3640
mov eax, dword [eax + 0x20]
mov edx, dword [eax + 0x3c]
fld dword [edx + 0x48]
fld dword [edx + 0x44]
fld dword [edx + 0x40]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fld st(3)
fmul st(4)
faddp st(1)
fcomp dword [ecx + 0x20]
fstp st(0)
fnstsw ax
fstp st(0)
test ah, 0x41
fstp st(0)
jne 0x4e36fd
fld dword [edx + 0x40]
mov eax, dword [edi + 8]
fld dword [edx + 0x44]
add eax, 0x20
fld dword [edx + 0x48]
mov dword [esp + 0x18], 1
fld st(0)
mov byte [esp + 0x1c], 1
fmul dword [eax + 8]
fld st(2)
fmul dword [eax + 4]
faddp st(1)
fld st(3)
fmul dword [eax]
faddp st(1)
fstp dword [ecx + 0x10]
fld st(0)
fmul dword [eax + 0x18]
fld st(2)
fmul dword [eax + 0x14]
faddp st(1)
fld st(3)
fmul dword [eax + 0x10]
faddp st(1)
fstp dword [ecx + 0x14]
fmul dword [eax + 0x28]
fxch st(1)
fmul dword [eax + 0x24]
faddp st(1)
fxch st(1)
fmul dword [eax + 0x20]
faddp st(1)
fstp dword [ecx + 0x18]
mov dword [ecx + 0x1c], esi
fld dword [ebx + 0x10]
fld st(0)
fmul dword [ecx + 0x10]
fstp dword [ecx + 0x10]
fld st(0)
fmul dword [ecx + 0x14]
fstp dword [ecx + 0x14]
fld st(0)
fmul dword [ecx + 0x18]
fstp dword [ecx + 0x18]
fmul dword [ecx + 0x1c]
fstp dword [ecx + 0x1c]
jmp 0x4e3709
mov dword [ecx + 0x1c], esi
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x10], esi
mov esi, dword [ebp + 0xc]
mov ecx, dword [esi]
mov edx, dword [ecx]
call dword [edx + 0x14]
cmp eax, 0x17
jne 0x4e37f9
mov edx, dword [esi + 0xc]
test edx, edx
mov ecx, dword [esi]
mov eax, esi
je 0x4e3730
mov eax, edx
mov edx, dword [eax + 0xc]
test edx, edx
jne 0x4e3727
mov eax, dword [eax + 0x20]
mov edx, dword [eax + 0x3c]
fld dword [edx + 0x48]
fld dword [edx + 0x44]
fld dword [edx + 0x40]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fld st(3)
fmul st(4)
faddp st(1)
fcomp dword [ecx + 0x20]
fstp st(0)
fnstsw ax
fstp st(0)
test ah, 0x41
fstp st(0)
jne 0x4e37eb
fld dword [edx + 0x40]
mov eax, dword [esi + 8]
fld dword [edx + 0x44]
add eax, 0x20
fld dword [edx + 0x48]
mov byte [esp + 0x1c], 1
fld st(0)
fmul dword [eax + 8]
fld st(2)
fmul dword [eax + 4]
faddp st(1)
fld st(3)
fmul dword [eax]
faddp st(1)
fstp dword [ecx + 0x10]
fld st(0)
fmul dword [eax + 0x18]
fld st(2)
fmul dword [eax + 0x14]
faddp st(1)
fld st(3)
fmul dword [eax + 0x10]
faddp st(1)
fstp dword [ecx + 0x14]
fmul dword [eax + 0x28]
fxch st(1)
fmul dword [eax + 0x24]
faddp st(1)
fxch st(1)
fmul dword [eax + 0x20]
mov eax, dword [esp + 0x18]
add eax, 2
mov dword [esp + 0x18], eax
faddp st(1)
fstp dword [ecx + 0x18]
mov dword [ecx + 0x1c], 0
fld dword [ebx + 0x10]
fld st(0)
fmul dword [ecx + 0x10]
fstp dword [ecx + 0x10]
fld st(0)
fmul dword [ecx + 0x14]
fstp dword [ecx + 0x14]
fld st(0)
fmul dword [ecx + 0x18]
fstp dword [ecx + 0x18]
fmul dword [ecx + 0x1c]
fstp dword [ecx + 0x1c]
jmp 0x4e37f9
xor eax, eax
mov dword [ecx + 0x1c], eax
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x10], eax
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
cmp eax, dword [ecx + 0xf0]
je 0x4e3811
mov edx, dword [ebx + 0xc]
mov byte [edx], 0
jmp 0x4e3819
mov al, byte [esp + 0x1c]
test al, al
je 0x4e3882
mov ecx, dword [esi + 8]
mov edx, dword [edi + 8]
mov eax, dword [edi]
mov ebx, dword [esi]
add ecx, 0x20
push ecx
add edx, 0x20
push edx
lea ecx, [esp + 0x28]
mov dword [esp + 0x24], eax
call fcn.0054c890
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x14]
cmp eax, 5
jne 0x4e385d
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x18]
push ebx
push edx
add ecx, 0xc
call fcn.005011c0
jmp 0x4e3874
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x20]
push eax
push ebx
push ecx
mov ecx, dword [esp + 0x20]
add ecx, 0xc
call fcn.00501080
mov edx, dword [esp + 0x14]
mov ebx, dword [ebp + 0x10]
mov dword [edx + 0x2c], 0xbf800000
mov eax, dword [ebp + 0x14]
mov ecx, dword [esp + 0x14]
push eax
push ebx
push esi
push edi
call fcn.004fe710
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov dword [edx + 0xf0], ecx
mov eax, dword [ebx + 0xc]
mov cl, byte [esp + 0x13]
mov byte [eax], cl
mov eax, dword [0x96186c]
cmp eax, dword [0x961870]
jae 0x4e38d4
mov ecx, eax
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 0x10