Function at 0x100c3df0
Capabilities:
Get thread local storage value

Disassembly:
push 0xffffffffffffffff
push 0x10104c00
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push esi
push edi
mov eax, dword [0x10145df0]
xor eax, esp
push eax
lea eax, [esp + 0x44]
mov dword fs:[0], eax
mov eax, dword [0x101455a0]
mov edi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [esp + 0x4c], 0
cmp eax, 0xffffffff
je 0x100c3e36
push eax
call edi
mov esi, eax
test esi, esi
jne 0x100c3e4e
call fcn.100c3cd0
mov eax, dword [0x101455a0]
cmp eax, 0xffffffff
jne 0x100c3e49
xor esi, esi
jmp 0x100c3e4e
push eax
call edi
mov esi, eax
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x58]
push eax
sub esp, 8
mov eax, esp
mov dword [eax], ecx
mov edx, dword [esp + 0x68]
mov dword [eax + 4], edx
mov eax, dword [esp + 0x68]
mov dword [esp + 0x6c], esp
test eax, eax
je 0x100c3e7d
add eax, 4
mov ecx, 1
lock xadd dword [eax], ecx
lea ecx, [esp + 0x18]
call fcn.100bed80
mov edx, dword [eax]
sub esp, 0xc
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov byte [esp + 0x58], 1
mov dword [esp + 0x6c], esp
mov dword [ecx + 4], edx
test edx, edx
je 0x100c3eae
add edx, 4
mov edi, 1
lock xadd dword [edx], edi
mov eax, dword [eax + 8]
mov dword [ecx + 8], eax
mov ecx, dword [esp + 0x60]
push ecx
lea edx, [esp + 0x44]
push edx
call fcn.100bf4b0
add esp, 0x14
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x24], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], ecx
test ecx, ecx
je 0x100c3eea
add ecx, 4
mov edx, 1
lock xadd dword [ecx], edx
mov eax, dword [eax + 0xc]
mov dword [esp + 0x30], eax
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x1c]
push edx
lea ecx, [esi + 0x14]
mov byte [esp + 0x54], 3
call fcn.100c1f30
mov esi, dword [esp + 0x2c]
mov byte [esp + 0x4c], 2
test esi, esi
je 0x100c3f3f
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x100c3f3f
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x100c3f3f
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
mov esi, dword [esp + 0x3c]
mov byte [esp + 0x4c], 1
test esi, esi
je 0x100c3f76
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x100c3f76
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x100c3f76
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
mov esi, dword [esp + 0x10]
mov byte [esp + 0x4c], 0
test esi, esi
je 0x100c3fad
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x100c3fad
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x100c3fad
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
mov esi, dword [esp + 0x5c]
mov dword [esp + 0x4c], 0xffffffff
test esi, esi
je 0x100c3fe7
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x100c3fe7
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x100c3fe7
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x44
ret