Function at 0x49cc00
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x49cc12
mov byte [eax], 0
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x49cc1c
mov byte [eax], 0
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x49cc28
mov word [eax], 0
mov eax, dword [0x7d8230]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 8], eax
mov edx, dword [0x7d8230]
push edx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 4]
mov eax, dword [eax]
cmp edx, eax
jne 0x49cc88
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x49cc68
push str.hb_vmQuit
mov eax, dword [ebp + 0xc]
push eax
call fcn.00531ba0
add esp, 8
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x49cc80
push str.hvm.c
mov eax, dword [ebp + 0x14]
push eax
call fcn.00531ba0
add esp, 8
mov eax, dword [ebp + 0xc]
jmp 0x49ce9c
mov eax, dword [ebp + 8]
push eax
call fcn.004a90c0
pop ecx
mov ebx, eax
test eax, eax
je 0x49ce99
mov esi, dword [ebx + 4]
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x49cdfc
mov eax, dword [esi]
and eax, 0x8000
je 0x49cd46
mov eax, dword [esi + 8]
cmp word [eax + 0xc], 0
je 0x49cd46
mov eax, dword [ebx]
mov eax, dword [eax + 0x18]
mov word [ebp - 2], ax
movzx eax, word [ebp - 2]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x49cd08
call fcn.0048b940
movzx eax, ax
mov edx, dword [ebp - 0xc]
cmp edx, eax
jg 0x49cd08
call fcn.0048b930
mov edx, dword [ebx]
mov edx, dword [edx + 0x18]
shl edx, 6
mov eax, dword [eax + edx - 0x40]
push eax
mov eax, dword [ebp + 0xc]
push eax
call fcn.00531ba0
add esp, 8
jmp 0x49cd1c
push esi
call fcn.004871e0
pop ecx
push eax
mov eax, dword [ebp + 0xc]
push eax
call fcn.00531ba0
add esp, 8
push 0x69bed3
mov eax, dword [ebp + 0xc]
push eax
call fcn.00532090
add esp, 8
mov eax, dword [ebx]
mov eax, dword [eax + 0x14]
mov eax, dword [eax]
push eax
mov eax, dword [ebp + 0xc]
push eax
call fcn.00532090
add esp, 8
jmp 0x49cdfc
mov eax, dword [esi]
and eax, 0x1000
je 0x49cde6
push 0x69becf
mov eax, dword [ebp + 0xc]
push eax
call fcn.00531ba0
add esp, 8
mov eax, dword [esi + 0x10]
movzx eax, word [eax + 0x1a]
test eax, eax
je 0x49cdd0
call fcn.0048b940
mov edx, dword [esi + 0x10]
movzx edx, word [edx + 0x1a]
movzx eax, ax
cmp edx, eax
jg 0x49cdba
call fcn.0048b930
mov edx, dword [esi + 0x10]
movzx edx, word [edx + 0x1a]
shl edx, 6
lea eax, [eax + edx - 0x40]
mov dword [ebp - 0xc], eax
mov eax, dword [eax]
push eax
mov eax, dword [ebp + 0xc]
push eax
call fcn.00532090
add esp, 8
push 0x69bed3
mov eax, dword [ebp + 0xc]
push eax
call fcn.00532090
add esp, 8
jmp 0x49cdd0
push 0
push 0
push str.Corrupted_codeblock__points_to_invalid_class_id_
push 0x2328
call fcn.00492ef0
add esp, 0x10
mov eax, dword [ebx]
mov eax, dword [eax + 0x14]
mov eax, dword [eax]
push eax
mov eax, dword [ebp + 0xc]
push eax
call fcn.00532090
add esp, 8
jmp 0x49cdfc
push 0x40
mov eax, dword [ebx]
mov eax, dword [eax + 0x14]
mov eax, dword [eax]
push eax
mov eax, dword [ebp + 0xc]
push eax
call fcn.00532800
add esp, 0xc
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x49ce5e
mov eax, dword [esi]
and eax, 0x8000
je 0x49ce3a
mov eax, dword [esi + 8]
movzx eax, word [eax + 0xc]
test eax, eax
je 0x49ce3a
push esi
call fcn.004871e0
pop ecx
push eax
push str.TASSOCIATIVEARRAY
call fcn.00534750
add esp, 8
test eax, eax
jne 0x49ce3a
mov eax, dword [ebp + 0x10]
mov word [eax], 0
jmp 0x49ce5e
mov eax, dword [esi]
and eax, 0x1000
je 0x49ce52
mov eax, dword [ebp + 0x10]
mov edx, dword [esi + 0x10]
mov dx, word [edx + 4]
mov word [eax], dx
jmp 0x49ce5e
mov eax, dword [ebp + 0x10]
mov edx, dword [ebx]
mov dx, word [edx + 0xc]
mov word [eax], dx
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x49ce99
mov eax, ebx
test eax, eax
je 0x49ce99
mov eax, dword [ebx]
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0xc], eax
mov edx, eax
test edx, edx
je 0x49ce99
mov eax, dword [eax + 0x20]
test eax, eax
je 0x49ce99
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x20]
push eax
mov eax, dword [ebp + 0x14]
push eax
call fcn.00531ba0
add esp, 8
mov eax, dword [ebp + 0xc]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret