Function at 0x100b4292
Capabilities:
Get thread local storage value

Disassembly:
push 0xcc
mov eax, 0x10045ca7
call fcn.10042456
mov esi, ecx
mov edi, dword [ebp + 8]
mov eax, 0x40ec6
mov ebx, dword [ebp + 0x14]
test edi, edi
js 0x100b42c7
cmp edi, eax
jne 0x100b4475
cmp dword [esi + 0x290], 0
je 0x100b4475
cmp edi, eax
je 0x100b42d7
cmp edi, 0x80040e1e
jne 0x100b4465
mov ecx, dword [esi + 0x154]
call fcn.10056fd0
test eax, eax
jne 0x100b42f9
mov ecx, dword [esi + 0x158]
call fcn.10056fd0
test eax, eax
je 0x100b445d
push 0
push 0x11
push esi
lea ecx, [ebp - 0xb8]
call fcn.10053c5f
xor ecx, ecx
mov dword [ebp - 4], ecx
movzx eax, word [esi + 0x23c]
mov dword [ebp - 0xd4], eax
movzx eax, word [esi + 0x23e]
mov dword [ebp - 0xd8], eax
xor eax, eax
mov word [ebp - 0xbc], ax
mov word [ebp - 0xc0], ax
mov eax, 0x400b
mov word [ebp - 0x98], ax
lea eax, [ebp - 0xbc]
mov dword [ebp - 0x90], eax
mov eax, 0x4003
mov word [ebp - 0xa8], ax
lea eax, [ebp - 0xc4]
mov dword [ebp - 0xc8], ecx
mov dword [ebp - 0xcc], ecx
mov dword [ebp - 0xd0], ecx
mov ecx, dword [esi + 0x158]
mov dword [ebp - 0xc4], 1
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x24], eax
call fcn.10056fd0
test eax, eax
je 0x100b43b9
mov ecx, dword [esi + 0x158]
lea eax, [ebp - 0xb8]
push eax
lea eax, [ebp - 0xcc]
push eax
call fcn.10059f8c
mov dword [ebp - 0xc8], eax
test eax, eax
js 0x100b442d
mov ecx, dword [esi + 0x154]
call fcn.10056fd0
test eax, eax
je 0x100b43f6
mov ecx, dword [esi + 0x154]
lea eax, [ebp - 0xc0]
mov dword [ebp - 0x90], eax
lea eax, [ebp - 0xb8]
push eax
lea eax, [ebp - 0xd0]
mov dword [ebp - 0x1c], 1
push eax
call fcn.10059f8c
jmp 0x100b43fc
mov eax, dword [ebp - 0xc8]
test eax, eax
js 0x100b442d
cmp word [ebp - 0xbc], 0
jne 0x100b4414
cmp word [ebp - 0xc0], 0
je 0x100b442d
test ebx, ebx
je 0x100b441b
mov byte [ebx], 1
lea ecx, [ebp - 0xb8]
call fcn.1005421e
xor eax, eax
jmp 0x100b45af
mov eax, dword [ebp - 0xd4]
mov word [esi + 0x23c], ax
mov eax, dword [ebp - 0xd8]
mov word [esi + 0x23e], ax
test ebx, ebx
je 0x100b444e
mov byte [ebx], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb8]
call fcn.1005421e
cmp edi, 0x80040e1e
je 0x100b447a
cmp edi, 0x80040e12
je 0x100b447a
test edi, edi
js 0x100b45ad
mov ebx, dword [ebp + 0xc]
jmp 0x100b4484
xor ebx, ebx
push ebx
push ebx
call dword [sym.imp.OLEAUT32.dll_CreateErrorInfo]
push ecx
push ecx
push dword [ebp + 0x10]
mov ecx, esi
push ebx
push edi
call fcn.100a1482
mov edi, eax
test edi, edi
jns 0x100b4500
test byte [0x100e5114], 2
je 0x100b45ad
lea ecx, [esi + 0x338]
call fcn.1005a518
push 0x25fd
cmp eax, 0xffffffff
je 0x100b44e3
lea ecx, [esi + 0x338]
call fcn.1005a518
push eax
push 0x1002dee0
push 0x97f409
push dword [0x100e8114]
call fcn.100d5b23
add esp, 0x14
jmp 0x100b45ad
push 0x1002df48
push 0x97f409
push dword [0x100e8114]
call fcn.100d5b23
add esp, 0x10
jmp 0x100b45ad
test ebx, ebx
jne 0x100b45a5
mov eax, dword [ebp + 0x10]
test al, al
jne 0x100b4518
cmp word [esi + 0x23c], bx
jmp 0x100b451f
cmp word [esi + 0x23e], bx
jne 0x100b4547
cmp word [esi + 0x23c], bx
je 0x100b4533
cmp word [esi + 0x23e], bx
jne 0x100b4547
mov ecx, esi
test al, al
jne 0x100b4540
call fcn.100b972e
jmp 0x100b45ad
call fcn.100b9659
jmp 0x100b45ad
mov eax, dword [0x100e5110]
push dword [eax + 0xc]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x100b459e
mov eax, dword [0x100e5110]
push dword [eax + 0xc]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp dword [eax + 8], ebx
je 0x100b459e
mov eax, dword [0x100e5110]
push dword [eax + 0xc]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov eax, dword [eax + 8]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x100e6364]
call esi
mov eax, dword [0x100e5110]
push dword [eax + 0xc]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [eax + 8], ebx
mov eax, 0x800a0bcd
jmp 0x100b45af
xor eax, eax
mov dword [esi + 0x23c], eax
mov eax, edi
call fcn.10042414
ret 0x18