Function at 0x51a11a
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebx
mov ebx, esp
push ecx
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, esp
sub esp, 0x160
mov dword [ebp - 4], ecx
mov eax, dword [0x96186c]
cmp eax, dword [0x961870]
setb cl
push ecx
lea ecx, [ebp - 5]
call fcn.00425c38
lea ecx, [ebp - 5]
call fcn.00425c43
movzx edx, al
test edx, edx
je 0x51a177
mov eax, dword [0x96186c]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov dword [ecx], str.LtBvTree
rdtsc
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 0xc]
add ecx, 0xc
mov dword [0x96186c], ecx
push 0x5185e0
mov edx, dword [ebx + 0x10]
push edx
mov eax, dword [ebx + 0xc]
push eax
mov ecx, dword [ebx + 8]
push ecx
mov ecx, dword [ebp - 4]
call fcn.00518b50
mov edx, dword [0x96186c]
cmp edx, dword [0x961870]
setb al
push eax
lea ecx, [ebp - 0x11]
call fcn.00425c38
lea ecx, [ebp - 0x11]
call fcn.00425c43
movzx ecx, al
test ecx, ecx
je 0x51a1e2
mov edx, dword [0x96186c]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
mov dword [eax], str.StNarrowPhase
rdtsc
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
mov dword [ecx + 4], edx
mov eax, dword [ebp - 0x18]
add eax, 0xc
mov dword [0x96186c], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 4]
add eax, 0xc
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 4]
imul edx, edx, 0xc
mov eax, dword [ebp - 0x24]
add edx, dword [eax]
mov dword [ebp - 0x28], edx
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebx + 0xc]
mov eax, dword [edx + 8]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebx + 0xc]
mov edx, dword [ecx]
mov dword [ebp - 0x3c], edx
mov ecx, dword [ebp - 0x3c]
call fcn.00454b62
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x28]
je 0x51a2bc
lea ecx, [ebp - 0x140]
push ecx
mov edx, dword [ebp - 0x20]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp - 0x40]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x40]
call dword [edx + 0x34]
mov dword [ebp - 0x144], eax
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
mov dword [ebp - 0x148], ecx
mov edx, dword [ebp - 0x144]
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x148]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebx + 0x14]
push ecx
mov edx, dword [ebx + 0x10]
push edx
lea eax, [ebp - 0x38]
push eax
mov ecx, dword [ebx + 8]
push ecx
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 8]
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx + 8]
mov edx, dword [eax]
call dword [edx + 4]
lea eax, [ebp - 0x149]
push eax
mov ecx, dword [ebx + 0x14]
call fcn.00515c50
mov ecx, eax
call fcn.00425c43
movzx ecx, al
test ecx, ecx
je 0x51a2ae
jmp 0x51a2bc
mov edx, dword [ebp - 0x20]
add edx, 0xc
mov dword [ebp - 0x20], edx
jmp 0x51a227
mov eax, dword [0x96186c]
cmp eax, dword [0x961870]
setb cl
push ecx
lea ecx, [ebp - 0x14a]
call fcn.00425c38
lea ecx, [ebp - 0x14a]
call fcn.00425c43
movzx edx, al
test edx, edx
je 0x51a325
mov eax, dword [0x96186c]
mov dword [ebp - 0x150], eax
mov ecx, dword [ebp - 0x150]
mov dword [ecx], 0x65b984
rdtsc
mov dword [ebp - 0x154], eax
mov edx, dword [ebp - 0x150]
mov eax, dword [ebp - 0x154]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 0x150]
add ecx, 0xc
mov dword [0x96186c], ecx
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x10