Function at 0x100d1dc0
Capabilities:
Get thread local storage value

Disassembly:
push 0xffffffffffffffff
push 0x10113160
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebp
push esi
push edi
mov eax, dword [0x10156de0]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov eax, dword [0x1015682c]
mov esi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [esp + 0x50], 0
cmp eax, 0xffffffff
je 0x100d1e07
push eax
call esi
mov ebp, eax
test ebp, ebp
jne 0x100d1e1f
call fcn.100d1ca0
mov eax, dword [0x1015682c]
cmp eax, 0xffffffff
jne 0x100d1e1a
xor ebp, ebp
jmp 0x100d1e1f
push eax
call esi
mov ebp, eax
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x5c]
push eax
sub esp, 8
mov eax, esp
mov dword [eax], ecx
mov edx, dword [esp + 0x6c]
mov dword [eax + 4], edx
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x70], esp
test eax, eax
je 0x100d1e4c
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
lea ecx, [esp + 0x1c]
call fcn.100cd2d0
mov esi, eax
mov eax, dword [esi]
sub esp, 0xc
mov edi, esp
mov dword [edi], eax
mov eax, dword [esi + 4]
mov byte [esp + 0x5c], 1
mov dword [esp + 0x70], esp
mov dword [edi + 4], eax
test eax, eax
je 0x100d1e7d
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov edx, dword [esp + 0x64]
mov ecx, dword [esi + 8]
push edx
lea eax, [esp + 0x48]
push eax
mov dword [edi + 8], ecx
call fcn.100cd940
add esp, 0x14
mov esi, eax
mov eax, dword [esi + 8]
mov ecx, dword [esi]
mov edx, dword [esi + 4]
mov byte [esp + 0x50], 2
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], eax
test eax, eax
je 0x100d1ebe
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov eax, dword [esi + 0xc]
mov dword [esp + 0x34], eax
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x20]
push edx
lea ecx, [ebp + 0x14]
mov byte [esp + 0x58], 3
call fcn.100d0440
mov esi, dword [esp + 0x30]
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov byte [esp + 0x50], 2
test esi, esi
je 0x100d1f15
lea eax, [esi + 4]
push eax
call edi
test eax, eax
jne 0x100d1f15
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
push ecx
call edi
test eax, eax
jne 0x100d1f15
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
mov esi, dword [esp + 0x40]
mov byte [esp + 0x50], 1
test esi, esi
je 0x100d1f48
lea ecx, [esi + 4]
push ecx
call edi
test eax, eax
jne 0x100d1f48
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
push ecx
call edi
test eax, eax
jne 0x100d1f48
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
mov esi, dword [esp + 0x14]
mov byte [esp + 0x50], 0
test esi, esi
je 0x100d1f7b
lea ecx, [esi + 4]
push ecx
call edi
test eax, eax
jne 0x100d1f7b
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
push ecx
call edi
test eax, eax
jne 0x100d1f7b
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
mov esi, dword [esp + 0x60]
mov dword [esp + 0x50], 0xffffffff
test esi, esi
je 0x100d1fb1
lea ecx, [esi + 4]
push ecx
call edi
test eax, eax
jne 0x100d1fb1
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
push ecx
call edi
test eax, eax
jne 0x100d1fb1
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x44
ret