Function at 0x460e50
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
mov eax, dword [0x7d8230]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
mov eax, dword [ebx + 4]
mov eax, dword [eax - 8]
mov dword [ebp - 4], eax
mov eax, dword [ebx + 4]
mov eax, dword [eax - 4]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
and eax, 0x400
je 0x460fe5
mov eax, dword [ebp - 8]
mov eax, dword [eax]
and eax, 0x400
je 0x460fe5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
mov dword [ebp - 0x10], eax
or eax, 0xffffffff
sub eax, dword [ebp - 0x10]
cmp dword [ebp - 0xc], eax
jae 0x460fc0
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
lea eax, [edx + eax + 1]
push eax
call fcn.0049b580
pop ecx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
add eax, edx
mov dword [ebp - 0x18], eax
jmp 0x460edf
sub dword [ebp - 0xc], 1
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x460ef6
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
movsx eax, byte [edx + eax - 1]
cmp eax, 0x20
je 0x460edb
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
push eax
mov eax, dword [ebp - 0x14]
push eax
call fcn.00531d20
add esp, 0xc
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x10]
push eax
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
add eax, edx
push eax
call fcn.00531d20
add esp, 0xc
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 8]
sub edx, eax
push edx
push 0x20
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
add eax, ecx
add eax, edx
push eax
call fcn.00531d50
add esp, 0xc
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov byte [edx + eax], 0
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
push eax
call fcn.004a4d10
add esp, 0xc
mov eax, dword [ebx + 4]
mov eax, dword [eax - 4]
mov eax, dword [eax]
and eax, 0xf405
je 0x460f86
mov eax, dword [ebx + 4]
mov eax, dword [eax - 4]
push eax
call fcn.004a45e0
pop ecx
jmp 0x460f92
mov eax, dword [ebx + 4]
mov eax, dword [eax - 4]
mov dword [eax], 0
lea eax, [ebx + 4]
mov edx, dword [eax]
lea edx, [edx - 4]
mov dword [eax], edx
mov eax, edx
mov edx, dword [ebx]
cmp eax, edx
jae 0x46172c
push 0
push 0
push 0
push 0x233b
call fcn.00492ef0
add esp, 0x10
jmp 0x46172c
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
push 2
push 0x696e4c
push 0
push 0x4ba
push 3
call fcn.00492870
add esp, 0x1c
jmp 0x46172c
mov eax, dword [ebp - 4]
mov eax, dword [eax]
and eax, 0x20
je 0x46100e
mov eax, dword [ebp - 8]
mov eax, dword [eax]
and eax, 0x1a
je 0x46100e
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call fcn.0046a780
add esp, 8
jmp 0x46172c
mov eax, dword [ebp - 4]
mov edx, dword [eax]
mov ecx, edx
and ecx, 0x400
je 0x4610f1
and edx, 0x3a
jne 0x46103a
test ecx, ecx
je 0x4610f1
mov eax, dword [eax + 8]
cmp eax, 1
jne 0x4610f1
mov eax, dword [ebp - 8]
mov edx, dword [eax]
mov ecx, edx
and ecx, 0x3a
jne 0x46105e
and edx, 0x400
je 0x4610f1
mov eax, dword [eax + 8]
cmp eax, 1
jne 0x4610f1
mov eax, dword [ebp - 8]
push eax
call fcn.0049fd50
pop ecx
fstp qword [ebp - 0x10]
push 1
fld qword [ebp - 0x10]
call fcn.00532060
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
movsx edx, byte [edx]
sub edx, eax
mov eax, edx
movzx eax, al
mov eax, dword [eax*4 + 0x7bfba8]
push eax
mov eax, dword [ebp - 4]
push eax
call fcn.004a4e80
add esp, 0xc
mov eax, dword [ebx + 4]
mov eax, dword [eax - 4]
mov eax, dword [eax]
and eax, 0xf405
je 0x4610b7
mov eax, dword [ebx + 4]
mov eax, dword [eax - 4]
push eax
call fcn.004a45e0
pop ecx
jmp 0x4610c3
mov eax, dword [ebx + 4]
mov eax, dword [eax - 4]
mov dword [eax], 0
lea eax, [ebx + 4]
mov edx, dword [eax]
lea edx, [edx - 4]
mov dword [eax], edx
mov eax, edx
mov edx, dword [ebx]
cmp eax, edx
jae 0x46172c
push 0
push 0
push 0
push 0x233b
call fcn.00492ef0
add esp, 0x10
jmp 0x46172c
mov eax, dword [ebp - 4]
mov eax, dword [eax]
and eax, 0xa
je 0x4611d9
mov eax, dword [ebp - 8]
mov eax, dword [eax]
and eax, 0xa
je 0x4611d9
call fcn.0046bf20
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
call fcn.0046bf20
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
push dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
pop edx
sub eax, dword [ebp - 0x18]
sbb edx, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push dword [0x696ed8]
push dword [0x696ed4]
call fcn.00531eb0
jae 0x46117a
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0xc]
push dword [ebp - 0x10]
call fcn.00531e50
jae 0x46116b
mov dword [ebp - 0x28], 1
jmp 0x461172
mov dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
jmp 0x4611a3
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0xc]
push dword [ebp - 0x10]
call fcn.00531ee0
jae 0x461196
mov dword [ebp - 0x2c], 1
jmp 0x46119d
mov dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x4611bc
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
call fcn.0046ab70
add esp, 8
jmp 0x46172c
push 0
fild qword [ebp - 0x10]
fild qword [ebp - 0x18]
fsubp st(1)
sub esp, 8
fstp qword [esp]
call fcn.0046af40
add esp, 0xc
jmp 0x46172c
mov eax, dword [ebp - 4]
mov edx, dword [eax]
mov ecx, edx
and ecx, 0x3a
jne 0x4611fd
and edx, 0x400
je 0x461288
mov eax, dword [eax + 8]
cmp eax, 1
jne 0x461288
mov eax, dword [ebp - 8]
mov edx, dword [eax]
mov ecx, edx
and ecx, 0x3a
jne 0x46121d
and edx, 0x400
je 0x461288
mov eax, dword [eax + 8]
cmp eax, 1
jne 0x461288
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
push eax
call fcn.0046c000
pop ecx
fst qword [ebp - 0x30]
fstp qword [ebp - 0x20]
lea eax, [ebp - 0x18]
push eax
call fcn.0046c000
pop ecx
fst qword [ebp - 0x38]
fstp qword [ebp - 0x28]
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x18], eax
jle 0x461265
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x3c], eax
jmp 0x46126b
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
push eax
fld qword [ebp - 0x28]
fsub qword [ebp - 0x20]
sub esp, 8
fstp qword [esp]
call fcn.0046aab0
add esp, 0x14
jmp 0x46172c
mov eax, dword [ebp - 4]
push eax
call fcn.004874e0
pop ecx
and eax, 2
je 0x4612c1
push 0
push 2
push 0
push str.__OPMINUS
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call fcn.004689e0
add esp, 0x18
lea eax, [ebx + 0x10]
push eax
call fcn.004a4430
pop ecx
jmp 0x46172c
mov eax, dword [ebp - 4]
mov eax, dword [eax]
and eax, 4
je 0x4613ee
mov eax, dword [ebp - 8]
mov eax, dword [eax]
and eax, 4
je 0x4613ee
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x4c], eax
lea edi, [ebp - 0x48]
lea esi, [0x6966f4]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
lea edi, [ebp - 0x28]
lea esi, [0x696714]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 4]
push eax
call fcn.00494710
add esp, 8
push 3
lea eax, [ebp - 0x48]
push eax
call fcn.004a0410
add esp, 8
lea eax, [ebp - 0x48]
push eax
mov eax, dword [ebp - 0x4c]
push eax
push 1
mov eax, dword [ebp - 8]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00494860
add esp, 0x14
mov eax, dword [ebx + 4]
mov eax, dword [eax - 4]
mov eax, dword [eax]
and eax, 0xf405
je 0x46135f
mov eax, dword [ebx + 4]
mov eax, dword [eax - 4]
push eax
call fcn.004a45e0
pop ecx
jmp 0x46136b
mov eax, dword [ebx + 4]
mov eax, dword [eax - 4]
mov dword [eax], 0
lea eax, [ebx + 4]
mov edx, dword [eax]
lea edx, [edx - 4]
mov dword [eax], edx
mov eax, edx
mov edx, dword [ebx]
cmp eax, edx
jae 0x461390
push 0
push 0
push 0
push 0x233b
call fcn.00492ef0
add esp, 0x10
mov eax, dword [ebx + 4]
mov eax, dword [eax - 4]
mov eax, dword [eax]
and eax, 0xf405
je 0x4613ae
mov eax, dword [ebx + 4]
mov eax, dword [eax - 4]
push eax
call fcn.004a45e0
pop ecx
jmp 0x4613ba
mov eax, dword [ebx + 4]
mov eax, dword [eax - 4]
mov dword [eax], 0
lea eax, [ebx + 4]
mov edx, dword [eax]
lea edx, [edx - 4]
mov dword [eax], edx
mov eax, edx
mov edx, dword [ebx]
cmp eax, edx
jae 0x4613df
push 0
push 0
push 0
push 0x233b
call fcn.00492ef0
add esp, 0x10
lea eax, [ebp - 0x28]
push eax
call fcn.004a4430
pop ecx
jmp 0x46172c
mov eax, dword [ebp - 4]
mov eax, dword [eax]
and eax, 4
je 0x461535
mov eax, dword [ebp - 8]
mov eax, dword [eax]
and eax, 0x8000
je 0x461535
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
mov eax, dword [eax + 4]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x34], 0
lea edi, [ebp - 0x30]
lea esi, [0x696734]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 4]
push eax
call fcn.00494710
add esp, 8
jmp 0x461481
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebp - 0x10]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00493f40
add esp, 0xc
test eax, eax
je 0x461474
mov eax, dword [ebp - 0x34]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00494020
add esp, 8
mov eax, dword [ebp - 0x10]
lea eax, [eax + 0x20]
mov dword [ebp - 0x10], eax
sub dword [ebp - 0xc], 1
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x46144c
mov eax, dword [ebx + 4]
mov eax, dword [eax - 4]
mov eax, dword [eax]
and eax, 0xf405
je 0x4614a6
mov eax, dword [ebx + 4]
mov eax, dword [eax - 4]
push eax
call fcn.004a45e0
pop ecx
jmp 0x4614b2
mov eax, dword [ebx + 4]
mov eax, dword [eax - 4]
mov dword [eax], 0
lea eax, [ebx + 4]
mov edx, dword [eax]
lea edx, [edx - 4]
mov dword [eax], edx
mov eax, edx
mov edx, dword [ebx]
cmp eax, edx
jae 0x4614d7
push 0
push 0
push 0
push 0x233b
call fcn.00492ef0
add esp, 0x10
mov eax, dword [ebx + 4]
mov eax, dword [eax - 4]
mov eax, dword [eax]
and eax, 0xf405
je 0x4614f5
mov eax, dword [ebx + 4]
mov eax, dword [eax - 4]
push eax
call fcn.004a45e0
pop ecx
jmp 0x461501
mov eax, dword [ebx + 4]
mov eax, dword [eax - 4]
mov dword [eax], 0
lea eax, [ebx + 4]
mov edx, dword [eax]
lea edx, [edx - 4]
mov dword [eax], edx
mov eax, edx
mov edx, dword [ebx]
cmp eax, edx
jae 0x461526
push 0
push 0
push 0
push 0x233b
call fcn.00492ef0
add esp, 0x10
lea eax, [ebp - 0x30]
push eax
call fcn.004a4430
pop ecx
jmp 0x46172c
mov eax, dword [ebp - 4]
mov eax, dword [eax]
and eax, 4
je 0x46164f
mov eax, dword [ebp - 8]
mov eax, dword [eax]
and eax, 0x43a
je 0x46164f
mov dword [ebp - 0x2c], 0
lea edi, [ebp - 0x28]
lea esi, [0x696754]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call fcn.00493f40
add esp, 0xc
test eax, eax
je 0x4615a2
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 4]
push eax
call fcn.00494710
add esp, 8
mov eax, dword [ebp - 0x2c]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00494020
add esp, 8
mov eax, dword [ebx + 4]
mov eax, dword [eax - 4]
mov eax, dword [eax]
and eax, 0xf405
je 0x4615c0
mov eax, dword [ebx + 4]
mov eax, dword [eax - 4]
push eax
call fcn.004a45e0
pop ecx
jmp 0x4615cc
mov eax, dword [ebx + 4]
mov eax, dword [eax - 4]
mov dword [eax], 0
lea eax, [ebx + 4]
mov edx, dword [eax]
lea edx, [edx - 4]
mov dword [eax], edx
mov eax, edx
mov edx, dword [ebx]
cmp eax, edx
jae 0x4615f1
push 0
push 0
push 0
push 0x233b
call fcn.00492ef0
add esp, 0x10
mov eax, dword [ebx + 4]
mov eax, dword [eax - 4]
mov eax, dword [eax]
and eax, 0xf405
je 0x46160f
mov eax, dword [ebx + 4]
mov eax, dword [eax - 4]
push eax
call fcn.004a45e0
pop ecx
jmp 0x46161b
mov eax, dword [ebx + 4]
mov eax, dword [eax - 4]
mov dword [eax], 0
lea eax, [ebx + 4]
mov edx, dword [eax]
lea edx, [edx - 4]
mov dword [eax], edx
mov eax, edx
mov edx, dword [ebx]
cmp eax, edx
jae 0x461640
push 0
push 0
push 0
push 0x233b
call fcn.00492ef0
add esp, 0x10
lea eax, [ebp - 0x28]
push eax
call fcn.004a4430
pop ecx
jmp 0x46172c
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
push 2
push 0x696e4c
push 0
push 0x43a
push 1
call fcn.00492ab0
add esp, 0x1c
mov dword [ebp - 0xc], eax
test eax, eax
je 0x46172c
mov eax, dword [ebx + 4]
mov eax, dword [eax - 4]
mov eax, dword [eax]
and eax, 0xf405
je 0x461698
mov eax, dword [ebx + 4]
mov eax, dword [eax - 4]
push eax
call fcn.004a45e0
pop ecx
jmp 0x4616a4
mov eax, dword [ebx + 4]
mov eax, dword [eax - 4]
mov dword [eax], 0
lea eax, [ebx + 4]
mov edx, dword [eax]
lea edx, [edx - 4]
mov dword [eax], edx
mov eax, edx
mov edx, dword [ebx]
cmp eax, edx
jae 0x4616c9
push 0
push 0
push 0
push 0x233b
call fcn.00492ef0
add esp, 0x10
mov eax, dword [ebx + 4]
mov eax, dword [eax - 4]
mov eax, dword [eax]
and eax, 0xf405
je 0x4616e7
mov eax, dword [ebx + 4]
mov eax, dword [eax - 4]
push eax
call fcn.004a45e0
pop ecx
jmp 0x4616f3
mov eax, dword [ebx + 4]
mov eax, dword [eax - 4]
mov dword [eax], 0
lea eax, [ebx + 4]
mov edx, dword [eax]
lea edx, [edx - 4]
mov dword [eax], edx
mov eax, edx
mov edx, dword [ebx]
cmp eax, edx
jae 0x461718
push 0
push 0
push 0
push 0x233b
call fcn.00492ef0
add esp, 0x10
mov eax, dword [ebp - 0xc]
push eax
call fcn.004a4430
pop ecx
mov eax, dword [ebp - 0xc]
push eax
call fcn.0049f7d0
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret