Function at 0x64eb00
Capabilities:
Execute anti-debugging instructions
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xd4
push ebx
push esi
push edi
push dword [0x884c50]
mov ebx, ecx
mov dword [esp + 0x14], ebx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
mov ecx, ebx
push 0
lea eax, [esp + 0x64]
push eax
call fcn.0064efa0
test eax, eax
jne 0x64ede1
jmp 0x64eb44
mov ebx, dword [esp + 0x10]
movzx eax, byte [esp + 0x61]
cmp eax, 0x14
ja case.0x64eb52.14
jmp dword [eax*4 + 0x64ede8]
mov ecx, dword [esi + 4]
cmp ecx, dword [esi + 0xc]
jae 0x64ed93
mov dword [ecx], str.TtPhysics
rdtsc
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
jmp 0x64ed8a
mov ecx, dword [esi + 4]
cmp ecx, dword [esi + 0xc]
jae 0x64ed93
mov dword [ecx], str.TtPhysics
rdtsc
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
jmp 0x64ed8a
mov ecx, dword [esi + 4]
cmp ecx, dword [esi + 0xc]
jae 0x64ed93
mov dword [ecx], 0x7bfd94
rdtsc
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
jmp 0x64ed8a
mov ecx, dword [esi + 4]
cmp ecx, dword [esi + 0xc]
jae 0x64ed93
mov dword [ecx], str.TtRayCast_Query
rdtsc
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x20]
jmp 0x64ed8a
mov ecx, dword [esi + 4]
cmp ecx, dword [esi + 0xc]
jae 0x64ed93
mov dword [ecx], str.TtAnimation_Sampling
rdtsc
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x24]
jmp 0x64ed8a
mov ecx, dword [esi + 4]
cmp ecx, dword [esi + 0xc]
jae 0x64ed93
mov dword [ecx], str.TtAnimation_Sampling
rdtsc
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x28]
jmp 0x64ed8a
mov ecx, dword [esi + 4]
cmp ecx, dword [esi + 0xc]
jae 0x64ed93
mov dword [ecx], str.TtAnimation_Mapping
rdtsc
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x2c]
jmp 0x64ed8a
mov ecx, dword [esi + 4]
cmp ecx, dword [esi + 0xc]
jae 0x64ed93
mov dword [ecx], str.TtBehavior
rdtsc
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x30]
jmp 0x64ed8a
mov ecx, dword [esi + 4]
cmp ecx, dword [esi + 0xc]
jae 0x64ed93
mov dword [ecx], str.TtCloth
rdtsc
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x34]
jmp 0x64ed8a
mov ecx, dword [esi + 4]
cmp ecx, dword [esi + 0xc]
jae 0x64ed93
mov dword [ecx], str.TtPathfinding_Jobs
rdtsc
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x38]
jmp 0x64ed8a
mov ecx, dword [esi + 4]
cmp ecx, dword [esi + 0xc]
jae 0x64ed93
mov dword [ecx], str.TtLocalSteering_Jobs
rdtsc
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x3c]
jmp 0x64ed8a
mov ecx, dword [esi + 4]
cmp ecx, dword [esi + 0xc]
jae 0x64ed93
mov dword [ecx], str.TtAI_Dynamic_Jobs
rdtsc
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x40]
jmp 0x64ed8a
mov ecx, dword [esi + 4]
cmp ecx, dword [esi + 0xc]
jae 0x64ed93
mov dword [ecx], str.TtDestruction
rdtsc
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x44]
jmp 0x64ed8a
mov ecx, dword [esi + 4]
cmp ecx, dword [esi + 0xc]
jae 0x64ed93
mov dword [ecx], str.TtCharacter_Proxy
rdtsc
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x48]
jmp 0x64ed8a
mov ecx, dword [esi + 4]
cmp ecx, dword [esi + 0xc]
jae 0x64ed93
mov dword [ecx], str.TtVehicle
rdtsc
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x4c]
jmp 0x64ed8a
mov ecx, dword [esi + 4]
cmp ecx, dword [esi + 0xc]
jae 0x64ed93
mov dword [ecx], str.TtUserJob
rdtsc
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x50]
jmp 0x64ed8a
mov ecx, dword [esi + 4]
cmp ecx, dword [esi + 0xc]
jae 0x64ed93
mov dword [ecx], str.TtNewPhysics
rdtsc
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x54]
jmp 0x64ed8a
mov ecx, dword [esi + 4]
cmp ecx, dword [esi + 0xc]
jae 0x64ed93
mov dword [ecx], str.TtUnknownJobs
rdtsc
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x58]
mov dword [ecx + 4], eax
lea eax, [ecx + 0xc]
mov dword [esi + 4], eax
movzx eax, byte [esp + 0x61]
lea edx, [esp + 0x60]
movzx ecx, byte [esp + 0x60]
add eax, eax
push edx
push ebx
mov eax, dword [ebx + eax*8 + 0x128]
mov eax, dword [eax + ecx*4]
call eax
mov edi, dword [esi + 4]
add esp, 8
mov ebx, eax
cmp edi, dword [esi + 0xc]
jae 0x64edd7
mov dword [edi], 0x77f5ec
rdtsc
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 0x5c]
lea eax, [edi + 0xc]
mov dword [edi + 4], ecx
mov dword [esi + 4], eax
test ebx, ebx
je 0x64eb40
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret