Function at 0x1000d2ab
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
push ebx
mov bl, byte [ebp + 8]
xor eax, eax
push esi
push edi
mov edi, ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], eax
mov eax, dword [edi + 0x10]
mov dword [esp + 0x10], edx
mov esi, dword [eax]
add eax, 4
mov dword [esp + 0x28], esi
mov dword [edi + 0x10], eax
test bl, bl
jns 0x1000d32b
test esi, esi
je 0x1000d32b
push 4
pop edx
mov ecx, esi
call fcn.1000739c
test eax, eax
jne 0x1000d321
push 4
pop edx
mov ecx, esi
call fcn.100073c7
test eax, eax
jne 0x1000d321
mov edx, dword [esp + 0x10]
mov al, bl
and al, 0x40
je 0x1000d319
mov ecx, dword [esi]
jmp 0x1000d31b
xor ecx, ecx
mov dword [esp + 0x2c], ecx
jmp 0x1000d335
mov eax, 0x80070057
jmp 0x1000d5b6
mov al, bl
mov dword [esp + 0x2c], esi
mov ecx, esi
and al, 0x40
test al, al
je 0x1000d3a5
test ecx, ecx
je 0x1000d39d
mov al, bl
and al, 0x3f
cmp al, 0x20
lea eax, [esp + 0x24]
push eax
jne 0x1000d37b
lea eax, [esp + 0x24]
push eax
push ecx
mov ecx, dword [edi + 0x28]
call fcn.100066d2
mov dword [esp + 0xc], eax
lea ecx, [esp + 0x38]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x38], eax
call fcn.10005173
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x34], 1
jmp 0x1000d38f
push edx
push 0
push ecx
mov ecx, dword [edi + 0x28]
push 0
call fcn.10005f12
mov ecx, eax
mov dword [esp + 0xc], eax
test ecx, ecx
jne 0x1000d3a9
mov eax, 0x8007000e
jmp 0x1000d5b6
xor ecx, ecx
mov dword [esp + 0xc], ecx
jmp 0x1000d3a9
mov ecx, dword [esp + 0xc]
test bl, bl
jns 0x1000d403
test esi, esi
je 0x1000d403
push dword [esp + 0x10]
mov ecx, dword [edi + 0x28]
call fcn.10006492
mov dword [esp + 0x18], eax
test eax, eax
je 0x1000d41d
push 4
push dword [0x100151dc]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, eax
call fcn.10010f3c
mov edx, eax
mov dword [esp + 0x14], edx
test edx, edx
je 0x1000d416
mov esi, dword [0x100156d0]
mov ecx, esi
push 1
push 4
push edx
call dword [0x10016308]
call esi
mov ecx, dword [esp + 0xc]
mov dword [eax], ecx
mov ecx, dword [esp + 0x14]
cmp dword [edi + 8], 0
mov eax, dword [edi + 4]
jge 0x1000d424
add eax, 0xfffffffc
mov dword [edi + 4], eax
mov dword [eax], ecx
jmp 0x1000d42a
mov ecx, 0x8007000e
jmp 0x1000d44f
mov ecx, 0x8007000e
jmp 0x1000d44b
mov dword [eax], ecx
add dword [edi + 4], 4
mov eax, dword [edi + 0x14]
push edi
movzx eax, byte [eax]
and eax, 0x3f
mov esi, dword [eax*4 + 0x100010f8]
mov ecx, esi
call dword [0x10016308]
call esi
mov esi, dword [esp + 0x28]
mov ecx, eax
mov edx, dword [esp + 0x14]
mov dword [esp + 0x20], ecx
test bl, bl
jns 0x1000d536
test esi, esi
je 0x1000d536
xor eax, eax
mov dword [esp + 0x1c], eax
test ecx, ecx
js 0x1000d534
mov esi, dword [0x100156d0]
mov ecx, esi
push 1
push 4
push edx
call dword [0x10016308]
call esi
mov esi, dword [eax]
test esi, esi
je 0x1000d52c
cmp dword [ebp + 0xc], 0
je 0x1000d4ca
push dword [0x100151dc]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
and dword [esp + 0x30], 0
lea ecx, [esp + 0x30]
push ecx
mov ecx, dword [edi + 0x28]
mov eax, dword [eax + 0x48]
push 0
push dword [esp + 0x18]
push dword [eax]
push esi
push dword [esp + 0x2c]
call fcn.10006ba1
mov edx, dword [esp + 0x30]
jmp 0x1000d4e8
mov ecx, dword [edi + 0x28]
lea eax, [esp + 0x24]
push eax
push 0
push dword [esp + 0x18]
push 0
push esi
push dword [esp + 0x2c]
call fcn.10006ba1
mov edx, dword [esp + 0x24]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x1000d50d
mov cl, bl
and cl, 0x3f
cmp cl, 0x21
jne 0x1000d506
cmp edx, 4
je 0x1000d506
mov dword [eax + 0x1c], 0x20
and dword [esp + 0x18], 0
jmp 0x1000d515
mov dword [esp + 0x20], 0x8007000e
push esi
push dword [0x10015598]
mov esi, dword [0x100156e8]
mov ecx, esi
call dword [0x10016308]
call esi
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x28]
mov dword [esi], eax
mov eax, dword [esp + 0xc]
test eax, eax
je 0x1000d573
and bl, 0xc0
cmp bl, 0xc0
jne 0x1000d55c
mov ecx, dword [esp + 0x2c]
push ecx
mov eax, dword [ecx]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x10016308]
call esi
jmp 0x1000d573
mov esi, dword [0x100156e8]
mov ecx, esi
push eax
push dword [0x10015598]
call dword [0x10016308]
call esi
mov eax, dword [esp + 0x18]
test eax, eax
je 0x1000d588
push dword [esp + 0x10]
mov ecx, dword [edi + 0x28]
push eax
call fcn.100064da
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x1000d5a6
push 4
push ecx
push dword [0x100151dc]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, eax
call fcn.10011023
cmp dword [esp + 0x34], 0
je 0x1000d5b2
call fcn.1000519b
mov eax, dword [esp + 0x20]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8