Function at 0x4678a0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
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 - 4]
mov dword [ebp - 8], eax
mov eax, dword [ebx + 4]
mov eax, dword [eax - 8]
mov dword [ebp - 4], eax
push eax
call fcn.004874e0
pop ecx
and eax, 0x100000
je 0x4678ff
push 0
push 2
push 0
push str.__OPARRAYINDEX
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 0x467bbe
mov eax, dword [ebp - 4]
mov eax, dword [eax]
and eax, 4
je 0x46791f
mov eax, dword [ebp - 8]
mov eax, dword [eax]
and eax, 0x43a
je 0x46791f
call fcn.00467070
jmp 0x467bbe
mov eax, dword [ebp - 4]
mov eax, dword [eax]
and eax, 0x8000
je 0x467b9a
mov eax, dword [ebp - 8]
mov eax, dword [eax]
and eax, 2
je 0x467947
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0xc], eax
jmp 0x467a8f
mov eax, dword [ebp - 8]
mov eax, dword [eax]
and eax, 8
je 0x467963
mov eax, dword [ebp - 8]
push dword [eax + 0xc]
mov eax, dword [eax + 8]
pop edx
mov dword [ebp - 0xc], eax
jmp 0x467a8f
mov eax, dword [ebp - 8]
mov eax, dword [eax]
and eax, 0x10
je 0x467980
mov eax, dword [ebp - 8]
fld qword [eax + 8]
call fcn.00532060
mov dword [ebp - 0xc], eax
jmp 0x467a8f
mov eax, dword [ebp - 8]
mov edx, dword [eax]
and edx, 0x400
je 0x4679a9
mov eax, dword [eax + 8]
cmp eax, 1
jne 0x4679a9
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x10]
movsx eax, byte [eax]
movzx eax, al
mov dword [ebp - 0xc], eax
jmp 0x467a8f
push 0x2e
call fcn.004ab070
pop ecx
mov edx, dword [ebp - 8]
push edx
mov edx, dword [ebp - 4]
push edx
push 2
push eax
push 0
push 0x42c
push 1
call fcn.00492ab0
add esp, 0x1c
mov dword [ebp - 0x10], eax
test eax, eax
je 0x467bbe
mov eax, dword [ebx + 4]
mov eax, dword [eax - 4]
mov eax, dword [eax]
and eax, 0xf405
je 0x4679f6
mov eax, dword [ebx + 4]
mov eax, dword [eax - 4]
push eax
call fcn.004a45e0
pop ecx
jmp 0x467a02
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 0x467a27
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 0x467a45
mov eax, dword [ebx + 4]
mov eax, dword [eax - 4]
push eax
call fcn.004a45e0
pop ecx
jmp 0x467a51
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 0x467a76
push 0
push 0
push 0
push 0x233b
call fcn.00492ef0
add esp, 0x10
mov eax, dword [ebp - 0x10]
push eax
call fcn.004a4430
pop ecx
mov eax, dword [ebp - 0x10]
push eax
call fcn.0049f7d0
pop ecx
jmp 0x467bbe
cmp dword [ebp - 0xc], 0
jge 0x467aa8
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 8]
mov edx, dword [edx + 4]
lea eax, [edx + eax + 1]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
test eax, eax
jle 0x467b74
mov edx, dword [ebp - 4]
mov edx, dword [edx + 8]
cmp eax, dword [edx + 4]
ja 0x467b74
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
cmp dword [eax + 8], 1
jbe 0x467b4e
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
push eax
call fcn.004a44a0
add esp, 8
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
call fcn.004a2e10
add esp, 0xc
mov eax, dword [ebx + 4]
mov eax, dword [eax - 4]
mov eax, dword [eax]
and eax, 0xf405
je 0x467b14
mov eax, dword [ebx + 4]
mov eax, dword [eax - 4]
push eax
call fcn.004a45e0
pop ecx
jmp 0x467b20
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 0x467bbe
push 0
push 0
push 0
push 0x233b
call fcn.00492ef0
add esp, 0x10
jmp 0x467bbe
push 0x2e
call fcn.004ab070
pop ecx
mov edx, dword [ebp - 8]
push edx
mov edx, dword [ebp - 4]
push edx
push 2
push eax
push 0
push 0x42c
push 1
call fcn.00492870
add esp, 0x1c
jmp 0x467bbe
push 0x2e
call fcn.004ab070
pop ecx
mov edx, dword [ebp - 8]
push edx
mov edx, dword [ebp - 4]
push edx
push 2
push eax
push 0
push 0x46c
push 2
call fcn.00492870
add esp, 0x1c
jmp 0x467bbe
push 0x2e
call fcn.004ab070
pop ecx
mov edx, dword [ebp - 8]
push edx
mov edx, dword [ebp - 4]
push edx
push 2
push eax
push 0
push 0x42c
push 1
call fcn.00492870
add esp, 0x1c
pop ebx
mov esp, ebp
pop ebp
ret