Function at 0x468e20
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
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 [0x7be2ac]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], 0
mov eax, dword [0x7be260]
mov dword [ebp - 8], eax
add dword [0x7be298], 1
lea eax, [ebx + 0x13e4]
mov edx, dword [eax]
test edx, edx
je 0x468ec2
movzx ecx, word [ebp + 8]
lea edx, [edx*4 - 4]
mov edx, dword [ebx + edx + 0x12e4]
lea edx, [edx + ecx + 2]
neg edx
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + edx*4]
mov dword [ebp - 4], edx
mov edx, dword [edx]
and edx, 0x100
je 0x468ec2
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x14]
mov eax, dword [eax]
lea eax, [eax*4 - 4]
mov eax, dword [ebx + eax + 0x13e8]
cmp edx, eax
jne 0x468ec2
lea eax, [ebx + 0x13e4]
mov edx, dword [eax]
dec edx
mov dword [eax], edx
movzx eax, word [ebp + 8]
mov edx, dword [ebx + edx*4 + 0x12e4]
add eax, edx
mov word [ebp + 8], ax
movzx eax, word [ebp + 8]
inc eax
neg eax
mov edx, dword [ebx + 4]
mov eax, dword [edx + eax*4]
mov eax, dword [eax]
test eax, eax
je 0x468ee5
movzx eax, word [ebp + 8]
push eax
call fcn.00469190
pop ecx
jmp 0x469086
cmp dword [ebp - 8], 0
je 0x468ef3
call fcn.00533d70
mov dword [ebp - 0x18], eax
movzx eax, word [ebp + 8]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.004a8d70
add esp, 8
mov dword [ebp - 4], eax
mov esi, dword [eax + 0x14]
mov eax, dword [ebx + 0x30]
mov edi, dword [eax + 4]
mov eax, dword [0x7cd4c8]
mov dword [ebp - 0x14], eax
mov dword [0x7cd4c8], 0
mov eax, dword [edi]
test eax, eax
jne 0x469000
mov eax, dword [esi + 8]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x468fe8
cmp dword [ebp - 8], 0
je 0x468f49
mov eax, dword [esi + 0xc]
lea eax, [eax + 0x14]
add dword [eax], 1
cmp dword [0x7be264], 0
je 0x468f8a
call fcn.004aabf0
test eax, eax
jl 0x468f8a
lea eax, str.source_vmhvm.c
mov dword [0x7c0028], eax
mov dword [0x7c002c], 0x1b10
mov dword [0x7c0030], 0
mov eax, dword [esi]
push eax
push str.Calling:__s
call fcn.004aacf0
add esp, 8
movsx eax, word [esi + 4]
and eax, 0x100
je 0x468fa9
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax + 4]
push edx
mov eax, dword [eax]
push eax
call fcn.0045bae0
add esp, 8
jmp 0x468fac
call dword [ebp - 0x1c]
cmp dword [ebp - 8], 0
je 0x469057
mov eax, dword [esi + 0xc]
lea eax, [eax + 0xc]
add dword [eax], 1
mov eax, dword [esi + 0xc]
mov eax, dword [eax + 0x14]
cmp eax, 1
jne 0x468fda
call fcn.00533d70
mov edx, dword [esi + 0xc]
lea edx, [edx + 0x10]
sub eax, dword [ebp - 0x18]
add dword [edx], eax
mov eax, dword [esi + 0xc]
lea eax, [eax + 0x14]
sub dword [eax], 1
jmp 0x469057
push 0xffffffffffffffff
mov eax, dword [esi]
push eax
push 0
push 0x3e9
push 0xc
call fcn.00492c70
add esp, 0x14
jmp 0x469057
call fcn.004aabf0
cmp eax, 2
jl 0x469040
lea eax, str.source_vmhvm.c
mov dword [0x7c0028], eax
mov dword [0x7c002c], 0x1b3a
mov dword [0x7c0030], 2
mov eax, dword [edi]
push eax
mov eax, dword [esi + 8]
push eax
mov eax, dword [esi]
push eax
push str.hb_vmDo___internal_logic_error__Symbol:__s_Fun:__p__Self_Type:__i
call fcn.004aacf0
add esp, 0x10
push 0
mov eax, dword [esi]
push eax
push str.Error__hb_vmDo___internal_logic_failure__Symbol:__s.
push 0x2328
call fcn.00492ef0
add esp, 0x10
cmp dword [0x7cd4c8], 0
je 0x469065
call fcn.0046a370
lea eax, [ebp - 0xc]
push eax
call fcn.004a8e00
pop ecx
mov eax, dword [ebp - 0x14]
mov dword [0x7cd4c8], eax
sub dword [0x7be298], 1
mov eax, dword [ebp - 0x10]
mov dword [0x7be2ac], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret