Function at 0x1000e5f0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2c
mov eax, dword [0x1002900c]
mov edi, dword [ebp + 8]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
sub esp, 4
test eax, eax
je 0x1000e903
mov esi, eax
mov eax, dword [sym.imp.ucrtbase.dll_malloc]
mov dword [esp], 0x48
mov dword [ebp - 0x18], eax
call eax
mov ebx, eax
test eax, eax
je 0x1000e90d
mov eax, dword [esi]
lea edx, [ebp - 0x10]
mov dword [esp + 4], str.I_ne
mov dword [esp + 8], edx
mov dword [esp], esi
call dword [eax]
mov eax, dword [ebp - 0x10]
lea ecx, [ebx + 0x44]
sub esp, 0xc
mov edx, dword [eax]
mov dword [esp + 8], ecx
mov dword [esp + 4], edi
mov dword [esp], eax
call dword [edx + 0xc]
mov eax, dword [ebp - 0x10]
sub esp, 0xc
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
mov edx, dword [ebx + 0x44]
sub esp, 4
test edx, edx
je 0x1000e8f0
mov eax, dword [edi]
mov dword [ebx + 0x38], 0
mov dword [ebx + 0x40], 0
mov dword [ebx], eax
mov eax, dword [edi + 4]
mov dword [ebx + 4], eax
mov eax, dword [edi + 8]
mov dword [ebx + 8], eax
mov eax, dword [edi + 0xc]
mov dword [ebx + 0xc], eax
mov eax, dword [edi + 0x10]
mov dword [ebx + 0x10], eax
mov eax, dword [edi + 0x14]
mov dword [ebx + 0x14], eax
mov eax, dword [edi + 0x18]
mov dword [ebx + 0x18], eax
mov eax, dword [edi + 0x1c]
mov dword [ebx + 0x1c], eax
mov eax, dword [edi + 0x20]
mov dword [ebx + 0x20], eax
mov eax, dword [edi + 0x24]
mov dword [ebx + 0x24], eax
mov eax, dword [edi + 0x28]
mov dword [ebx + 0x28], eax
mov eax, dword [edi + 0x2c]
mov dword [ebx + 0x2c], eax
mov eax, dword [edi + 0x30]
mov dword [ebx + 0x30], eax
mov eax, dword [edi + 0x34]
mov dword [ebx + 0x34], eax
lea eax, [ebp - 0x14]
mov dword [esp + 4], eax
mov dword [esp], 0
call sym._CategoryMgr_Constructor
lea ecx, [ebx + 0x14]
mov dword [ebp - 0x1c], ecx
test eax, eax
js 0x1000e828
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
mov dword [esp + 8], ecx
mov dword [esp + 0x10], 3
mov dword [esp + 0xc], 0x100150a0
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [edx + 0x1c]
mov eax, dword [ebp - 0x14]
sub esp, 0x14
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
mov eax, dword [0x10021748]
sub esp, 4
cmp dword [ebx + 0x14], eax
je 0x1000e863
mov edi, dword [0x100150ac]
mov eax, dword [edi]
cmp edi, 0x100150ac
je 0x1000e7e0
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ebx
mov edx, dword [ecx]
mov ebx, ecx
mov dword [ebp - 0x1c], edx
mov edx, dword [edi + 8]
mov esi, dword [ebp - 0x1c]
cmp esi, dword [edx + 0x14]
je 0x1000e78c
nop
mov edx, dword [eax]
mov edi, eax
cmp eax, 0x100150ac
je 0x1000e8b0
mov eax, edx
mov edx, dword [edi + 8]
mov esi, dword [ebp - 0x1c]
cmp esi, dword [edx + 0x14]
jne 0x1000e770
mov esi, dword [edx + 0x18]
cmp dword [ebx + 4], esi
jne 0x1000e770
mov esi, dword [edx + 0x1c]
cmp dword [ebx + 8], esi
jne 0x1000e770
mov esi, dword [edx + 0x20]
cmp dword [ebx + 0xc], esi
jne 0x1000e770
lea ecx, [edx + 0x3c]
lea eax, [edx + 0x38]
mov esi, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x24]
mov edx, ecx
call sym._deactivate_given_ts.isra.0
mov eax, dword [edi + 4]
mov edx, dword [edi]
mov dword [edx + 4], eax
mov edx, dword [edi]
mov dword [eax], edx
mov eax, dword [edi + 8]
mov dword [esp], eax
mov eax, dword [sym.imp.ucrtbase.dll_free]
mov dword [ebp - 0x1c], eax
call eax
mov dword [esp], edi
mov eax, dword [ebp - 0x1c]
call eax
nop
lea esi, [esi]
mov eax, dword [0x10029010]
test eax, eax
jne 0x1000e8a0
mov dword [esp], 0xc
mov eax, dword [ebp - 0x18]
call eax
test eax, eax
je 0x1000e8f0
mov edx, dword [0x100150ac]
mov dword [eax + 8], ebx
mov dword [eax + 4], 0x100150ac
mov dword [eax], edx
mov dword [0x100150ac], eax
mov dword [edx + 4], eax
xor eax, eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
test byte [0x100150b4], 2
jne 0x1000e8c0
mov eax, dword [0x10021748]
mov dword [ebx + 0x14], eax
mov eax, dword [0x1002174c]
mov dword [ebx + 0x18], eax
mov eax, dword [0x10021750]
mov dword [ebx + 0x1c], eax
mov eax, dword [0x10021754]
mov dword [ebx + 0x20], eax
mov eax, dword [0x10021748]
cmp dword [ebx + 0x14], eax
jne 0x1000e740
mov eax, dword [ebp - 0x1c]
mov ecx, dword [0x1002174c]
cmp dword [eax + 4], ecx
jne 0x1000e740
mov ecx, dword [0x10021750]
cmp dword [eax + 8], ecx
jne 0x1000e740
mov ecx, dword [0x10021754]
cmp dword [eax + 0xc], ecx
jne 0x1000e740
jmp 0x1000e7e0
mov edx, esi
mov eax, ebx
call sym._activate_given_ts
jmp 0x1000e7ed
mov esi, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x24]
jmp 0x1000e7e0
mov dword [esp + 0xc], str.CategoryMgr_construction_failed_n
mov dword [esp + 8], str.add_active_textservice
mov dword [esp + 4], 0x100150b4
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_7
jmp 0x1000e835
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_free]
mov eax, 0x8007000e
jmp 0x1000e81d
mov eax, 0x8000ffff
jmp 0x1000e81d
mov eax, 0x8007000e
jmp 0x1000e81d