Function at 0x464d40
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0xf4
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0x718084
push str.Havok_version:__s_n
push ebx
call fcn.0045ce70
mov edi, dword [ebp + 0xc]
lea ecx, [esp + 0x9c]
add esp, 0xc
xorps xmm0, xmm0
movss dword [esp + 0x34], xmm0
mov eax, dword [edi]
push 1
push 0x7180a8
push 0
mov esi, dword [eax]
add esi, 0x48
mov dword [esp + 0x44], esi
call fcn.004645d0
mov eax, dword [esi + 4]
xor esi, esi
movss xmm1, dword [0x718824]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
movss dword [esp + 0x3c], xmm1
test eax, eax
jle 0x464dde
mov edi, dword [esp + 0x38]
nop word [eax + eax]
mov eax, dword [edi]
push dword [eax + esi*4]
lea eax, [esp + 0x94]
push eax
call fcn.004671d0
inc esi
add esp, 8
cmp esi, dword [edi + 4]
jl 0x464dc0
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 0x1c]
push ecx
mov eax, esp
push esi
mov byte [eax], 1
lea eax, [esp + 0x98]
push eax
call fcn.00467110
add esp, 0xc
test eax, eax
je 0x464e36
nop dword [eax]
movss xmm0, dword [eax]
mulss xmm0, dword [esp + 0x3c]
push eax
lea eax, [esp + 0x94]
push esi
addss xmm0, dword [esp + 0x3c]
push eax
movss dword [esp + 0x40], xmm0
call fcn.00467170
add esp, 0xc
test eax, eax
jne 0x464e00
xorps xmm0, xmm0
comiss xmm0, dword [esp + 0x34]
jb 0x464e44
movss xmm0, dword [0x71884c]
movss dword [esp + 0x34], xmm0
test byte [ebp + 0x18], 1
je 0x464ea2
push 0x717fd0
push ebx
call fcn.0045ce70
push 0x7180ac
push ebx
call fcn.0045ce70
push str._Total_Times_____n
push ebx
call fcn.0045ce70
push 0x7180ac
push ebx
call fcn.0045ce70
push str.Timers_are_added_together_n
push ebx
call fcn.0045ce70
movss xmm0, dword [esp + 0x64]
lea eax, [esp + 0xb8]
add esp, 0x24
movss dword [esp], xmm0
push 0
push eax
push ebx
call fcn.004672a0
add esp, 0x10
lea ecx, [esp + 0x90]
call fcn.00464780
mov ecx, dword [ebp + 0x18]
test cl, 2
je 0x4650bf
push 0x717fd0
push ebx
call fcn.0045ce70
push 0x7180ac
push ebx
call fcn.0045ce70
push str._Per_Frame_Time__n
push ebx
call fcn.0045ce70
push 0x7180ac
push ebx
call fcn.0045ce70
push str.Ascii_Art_all_frames_overview_n
push ebx
call fcn.0045ce70
push 0x28
lea eax, [esp + 0x88]
push 0x20
push eax
call fcn.0045d830
mov eax, dword [esp + 0x6c]
xor ecx, ecx
add esp, 0x34
mov byte [esp + 0x84], 0
mov dword [esp + 0x3c], ecx
cmp dword [eax + 4], ecx
jle 0x4650bc
mov eax, dword [eax]
mov esi, dword [eax + ecx*4]
cmp dword [esi + 0x4c], 0
je 0x4650a7
mov edi, dword [ebp + 0x1c]
xorps xmm0, xmm0
push ecx
mov eax, esp
movss dword [esp + 0x5c], xmm0
push edi
push esi
mov dword [esp + 0x38], str.Unknown
mov byte [eax], 1
call fcn.00467110
add esp, 0xc
test eax, eax
je 0x464f86
nop word [eax + eax]
movss xmm0, dword [eax]
addss xmm0, dword [esp + 0x58]
mov ecx, dword [eax + 0x64]
push eax
push edi
push esi
mov dword [esp + 0x38], ecx
movss dword [esp + 0x64], xmm0
call fcn.00467170
add esp, 0xc
test eax, eax
jne 0x464f60
movss xmm0, dword [esp + 0x58]
mulss xmm0, dword [0x71883c]
divss xmm0, dword [esp + 0x34]
cvttss2si eax, xmm0
test eax, eax
jns 0x464fa6
xor eax, eax
jmp 0x464fb1
cmp eax, 0x28
mov ecx, 0x27
cmovge eax, ecx
lea edx, [esp + 0x5c]
xor esi, esi
mov dword [esp + 0x30], edx
cmp eax, 4
jle 0x464fd7
mov ecx, 4
mov byte [edx], 9
add ecx, 4
inc edx
add esi, 4
cmp ecx, eax
jl 0x464fc5
mov dword [esp + 0x30], edx
mov ecx, esi
cmp esi, eax
jge 0x465007
sub eax, esi
mov edi, edx
mov ecx, eax
mov dword [esp + 0x40], eax
mov edx, ecx
mov eax, 0x20202020
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov edx, dword [esp + 0x30]
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x40]
add edx, eax
lea ecx, [eax + esi]
add esi, 4
mov byte [edx], 0x23
inc edx
mov dword [esp + 0x40], esi
inc ecx
mov dword [esp + 0x30], edx
cmp ecx, esi
jge 0x465042
sub esi, ecx
mov edi, edx
mov ecx, esi
mov eax, 0x20202020
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov edx, dword [esp + 0x30]
and ecx, 3
add edx, esi
mov esi, dword [esp + 0x40]
rep stosb byte es:[edi], al
mov dword [esp + 0x30], edx
cmp esi, 0x28
jge 0x465071
mov esi, 0x27
mov edi, edx
sub esi, dword [esp + 0x40]
mov eax, 0x9090909
shr esi, 2
inc esi
mov ecx, esi
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov edx, dword [esp + 0x30]
and ecx, 3
add edx, esi
rep stosb byte es:[edi], al
lea eax, [esp + 0x5c]
mov byte [edx], 0
push eax
push ebx
call fcn.0045ce70
movss xmm0, dword [esp + 0x60]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push dword [esp + 0x34]
push dword [esp + 0x48]
push str._i___12s__f_n
push ebx
call fcn.0045ce70
mov ecx, dword [esp + 0x54]
add esp, 0x18
mov eax, dword [esp + 0x38]
inc ecx
mov dword [esp + 0x3c], ecx
cmp ecx, dword [eax + 4]
jl 0x464f20
mov edi, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x18]
test cl, 4
je 0x4654fc
mov edx, dword [edi + 4]
cmp edx, 1
je 0x4653e2
cmp byte [ebp + 0x20], 0
je 0x4653e2
mov eax, dword [edi]
xor esi, esi
mov dword [esp + 0x38], esi
mov eax, dword [eax]
cmp dword [eax + 0x4c], esi
jle 0x4654fc
mov eax, dword [ebp + 0x18]
and eax, 8
mov dword [esp + 0x3c], eax
nop dword [eax + eax]
push 0x718004
push ebx
call fcn.0045ce70
push 0x71816c
push ebx
call fcn.0045ce70
push esi
push str._Summary_Frame:_i__n
push ebx
call fcn.0045ce70
push 0x71816c
push ebx
call fcn.0045ce70
mov esi, dword [edi + 4]
add esp, 0x24
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], connect
mov dword [esp + 0x54], esi
test esi, esi
je 0x465199
push dword [0x884adc]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, eax
lea edx, [esi*4 + 0x7f]
and edx, 0xffffff80
mov eax, dword [ecx + 0xc]
lea ebx, [eax + edx]
mov dword [esp + 0x2c], ebx
mov ebx, dword [ebp + 8]
cmp edx, dword [ecx + 8]
jg 0x465191
lea ebx, [eax + edx]
cmp ebx, dword [ecx + 0x10]
mov ebx, dword [ebp + 8]
ja 0x465191
mov edx, dword [esp + 0x2c]
mov dword [ecx + 0xc], edx
jmp 0x46519b
push edx
call fcn.0046a3c0
jmp 0x46519b
xor eax, eax
mov edx, dword [edi + 4]
or esi, 0x80000000
mov dword [esp + 0x4c], esi
and esi, 0x3fffffff
mov dword [esp + 0x44], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x2c], edx
cmp esi, edx
jge 0x4651e5
lea ecx, [esi + esi]
mov eax, edx
cmp edx, ecx
push 4
cmovl eax, ecx
push eax
lea eax, [esp + 0x4c]
push eax
push 0x7d8954
call fcn.00467b80
mov eax, dword [esp + 0x54]
add esp, 0x10
mov edx, dword [esp + 0x2c]
xor esi, esi
mov dword [esp + 0x48], edx
cmp dword [edi + 4], esi
jle 0x46525b
mov ebx, dword [esp + 0x38]
push dword [0x884adc]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push 0x70
mov ecx, dword [eax + 0x2c]
mov eax, dword [ecx]
call dword [eax + 4]
test eax, eax
je 0x465222
push 1
push 0x7181e8
push 0
mov ecx, eax
call fcn.004645d0
mov ecx, eax
jmp 0x465224
xor ecx, ecx
mov eax, dword [esp + 0x44]
mov dword [eax + esi*4], ecx
mov eax, dword [edi]
mov eax, dword [eax + esi*4]
cmp dword [eax + 0x4c], ebx
jle 0x46524a
mov eax, dword [eax + 0x48]
push dword [eax + ebx*4]
mov eax, dword [esp + 0x48]
push dword [eax + esi*4]
call fcn.004671d0
add esp, 8
inc esi
cmp esi, dword [edi + 4]
jl 0x4651f4
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x44]
mov ebx, dword [ebp + 8]
mov esi, 1
mov dword [esp + 0x5c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0x5f3e
mov dword [esp + 0x64], 4
mov dword [esp + 0x68], 2
mov dword [esp + 0x60], 0x10
mov byte [esp + 0x6c], 0
cmp edx, esi
jle 0x4652c3
nop dword [eax]
push ecx
mov dword [esp], 0
push 0
push esi
push dword [eax + esi*4]
push dword [eax]
call fcn.00464240
mov eax, dword [esp + 0x58]
inc esi
add esp, 0x14
cmp esi, dword [esp + 0x48]
jl 0x4652a0
lea ecx, [esp + 0x5c]
push ecx
push ebx
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [eax]
call fcn.00464390
add esp, 0x14
cmp dword [esp + 0x3c], 0
je 0x4652f7
mov eax, dword [esp + 0x44]
push ecx
mov dword [esp], 0x3c23d70a
push dword [eax]
push ebx
call fcn.00467890
add esp, 0xc
xor esi, esi
cmp dword [edi + 4], esi
jle 0x465336
nop
mov eax, dword [esp + 0x44]
mov eax, dword [eax + esi*4]
mov dword [esp + 0x2c], eax
test eax, eax
je 0x465330
mov ecx, eax
call fcn.00464780
push dword [0x884adc]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push 0x70
push dword [esp + 0x30]
mov ecx, dword [eax + 0x2c]
mov eax, dword [ecx]
call dword [eax + 8]
inc esi
cmp esi, dword [edi + 4]
jl 0x465300
mov ecx, dword [esp + 0x50]
xor edx, edx
mov eax, dword [esp + 0x48]
cmp ecx, dword [esp + 0x44]
push dword [0x884adc]
cmove eax, edx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x58]
lea esi, [eax*4 + 0x7f]
and esi, 0xffffff80
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edx, eax
lea eax, [esi + 0xf]
and eax, 0xfffffff0
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x2c]
cmp esi, dword [edx + 8]
mov esi, dword [esp + 0x40]
jg 0x465394
lea ecx, [esi + eax]
cmp ecx, dword [edx + 0xc]
jne 0x465394
cmp dword [edx + 0x14], eax
je 0x465394
mov dword [edx + 0xc], eax
jmp 0x46539d
push esi
push eax
mov ecx, edx
call fcn.0046a590
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x48], 0
test eax, eax
js 0x4653c7
and eax, 0x3fffffff
mov ecx, 0x7d8954
shl eax, 2
push eax
mov eax, dword [0x7d8954]
push dword [esp + 0x48]
call dword [eax + 0x10]
mov eax, dword [edi]
mov esi, dword [esp + 0x38]
inc esi
mov dword [esp + 0x38], esi
mov eax, dword [eax]
cmp esi, dword [eax + 0x4c]
jl 0x465100
jmp 0x4654f9
mov eax, dword [edi]
xor ecx, ecx
mov dword [esp + 0x34], ecx
mov eax, dword [eax]
cmp dword [eax + 0x4c], ecx
jle 0x4654f9
xor esi, esi
test edx, edx
jle 0x4654e7
nop
mov eax, dword [edi]
mov eax, dword [eax + esi*4]
mov dword [esp + 0x2c], eax
cmp ecx, dword [eax + 0x4c]
jge 0x4654db
push 1
push 0x7180a8
push 0
lea ecx, [esp + 0x9c]
call fcn.004645d0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x34]
mov eax, dword [eax + 0x48]
push dword [eax + ecx*4]
lea eax, [esp + 0x94]
push eax
call fcn.004671d0
push 0x718004
push ebx
call fcn.0045ce70
push 0x71816c
push ebx
call fcn.0045ce70
push esi
push dword [esp + 0x50]
push str._Summary_Frame:_i_Thread:_i__n
push ebx
call fcn.0045ce70
push 0x71816c
push ebx
call fcn.0045ce70
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x64]
mov eax, dword [eax + 0x48]
mov eax, dword [eax + ecx*4]
push dword [eax + 0x64]
push 0x7181c4
push ebx
call fcn.0045ce70
add esp, 0x38
lea eax, [esp + 0x94]
mov dword [esp], 0x3f800000
push 0
push eax
push ebx
call fcn.004672a0
add esp, 0x10
test byte [ebp + 0x18], 8
je 0x4654cb
push ecx
lea eax, [esp + 0x94]
mov dword [esp], 0x3c23d70a
push eax
push ebx
call fcn.00467890
add esp, 0xc
lea ecx, [esp + 0x90]
call fcn.00464780
mov ecx, dword [esp + 0x34]
mov edx, dword [edi + 4]
inc esi
cmp esi, edx
jl 0x465400
mov eax, dword [edi]
inc ecx
mov dword [esp + 0x34], ecx
mov eax, dword [eax]
cmp ecx, dword [eax + 0x4c]
jl 0x4653f5
mov ecx, dword [ebp + 0x18]
test cl, 0x10
je 0x4655f9
mov eax, dword [edi]
xor ecx, ecx
mov dword [esp + 0x30], ecx
mov eax, dword [eax]
cmp dword [eax + 0x4c], ecx
jle 0x4655f9
nop dword [eax + eax]
xor esi, esi
cmp dword [edi + 4], esi
jle 0x4655e7
mov edx, dword [ebp + 0x10]
neg edx
mov dword [esp + 0x38], edx
mov eax, dword [edi]
mov eax, dword [eax + esi*4]
mov dword [esp + 0x2c], eax
cmp ecx, dword [eax + 0x4c]
jge 0x4655d8
push 0x717fd0
push ebx
call fcn.0045ce70
push 0x7181ec
push ebx
call fcn.0045ce70
add esp, 0x10
cmp esi, dword [ebp + 0x10]
jge 0x465570
push esi
push dword [esp + 0x34]
push str._Details_Frame__i_Thread:_i__n
jmp 0x46557d
push dword [esp + 0x38]
push dword [esp + 0x34]
push str._Details_Frame__i_Spu:_i__n
push ebx
call fcn.0045ce70
add esp, 0x10
push 0x7181ec
push ebx
call fcn.0045ce70
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov eax, dword [eax + 0x48]
mov eax, dword [eax + ecx*4]
push dword [eax + 0x64]
push 0x7181c4
push ebx
call fcn.0045ce70
mov eax, dword [esp + 0x40]
add esp, 0x10
mov ecx, dword [esp + 0x34]
mov eax, dword [eax + 0x48]
mov dword [esp], 0x3f800000
push 0
push dword [eax + ecx*4]
push ebx
call fcn.004672a0
mov ecx, dword [esp + 0x40]
add esp, 0x10
mov edx, dword [esp + 0x38]
inc esi
inc edx
mov dword [esp + 0x38], edx
cmp esi, dword [edi + 4]
jl 0x465534
mov eax, dword [edi]
inc ecx
mov dword [esp + 0x30], ecx
mov eax, dword [eax]
cmp ecx, dword [eax + 0x4c]
jl 0x465520
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret