Function at 0x100113c0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006a4cb
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
mov eax, dword [0x10086040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x20], eax
sub eax, 1
je 0x100115ab
mov eax, dword [ebp + 0xc]
mov ebx, eax
add dword [edi + 0x14], eax
mov ecx, dword [edi + 0x18]
mov eax, dword [edi + 4]
mov edx, dword [edi + 8]
mov dword [ebp - 0xa0], edx
lea esi, [eax + ecx*8]
cmp esi, edx
je 0x1001145c
nop dword [eax]
test ebx, ebx
je 0x1001145c
mov eax, dword [esi]
mov cl, 0x20
mov edx, dword [esi + 4]
call fcn.10068d40
mov edx, dword [edi + 0x1c]
cmp edx, eax
mov ecx, edx
cmovae ecx, eax
sub eax, ecx
cmp ebx, eax
jae 0x10011447
lea eax, [edx + ebx]
xor ebx, ebx
jmp 0x10011451
inc dword [edi + 0x18]
sub ebx, eax
add esi, 8
xor eax, eax
mov dword [edi + 0x1c], eax
cmp esi, dword [ebp - 0xa0]
jne 0x10011420
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x1001146f
cmp dword [ebp + 0xc], eax
jne 0x1001146f
mov esi, dword [edi + 0x14]
jmp 0x1001148f
mov esi, dword [edi + 0x14]
cmp esi, dword [edi + 0x10]
jae 0x1001148f
xor ecx, ecx
mov edx, 0x10000
test eax, eax
cmovne edx, ecx
mov dword [ebp - 0x9c], edx
je 0x100115c0
mov eax, dword [edi + 0x2c]
mov ecx, dword [edi + 0x30]
push dword [0x1008948c]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebx]
mov dword [ebp - 0xb0], ecx
mov ecx, dword [ebx + 4]
mov ebx, dword [edi + 0x24]
add edi, 0x28
mov dword [ebp - 0xa4], esi
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xa8], ecx
mov esi, dword [edi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x100114df
cmp dword [eax], esi
je 0x10011585
mov eax, dword [eax + 8]
test eax, eax
jne 0x100114d0
lea eax, [ebp - 0xb4]
push eax
push 0x38
mov dword [ebp - 0xc0], eax
call fcn.100064a0
add esp, 8
mov esi, eax
mov dword [ebp - 4], 1
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0x100130e0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x1c], 0
mov eax, dword [ebp - 0xb4]
mov ecx, dword [ebp - 0xb0]
mov dword [esi + 0x24], ecx
mov ecx, ebx
mov dword [esi + 0x20], eax
mov eax, dword [ebp - 0xac]
mov edx, dword [ebp - 0xa8]
push esi
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], edx
mov eax, dword [ebp - 0xa4]
push edi
mov dword [esi + 0x30], eax
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xbc], 0
call fcn.1000aa40
jmp 0x1001168b
cmp dword [eax + 4], 0
je 0x100114df
lea eax, [ebp - 0xb4]
mov dword [ebp - 4], 0
push eax
push eax
call fcn.10013bc0
add esp, 8
jmp 0x1001168b
mov eax, dword [ebp + 8]
xor ecx, ecx
mov edx, 0x10000
cmp dword [eax], ecx
cmovne edx, ecx
mov dword [ebp - 0x9c], edx
mov esi, dword [edi]
lea eax, [ebp - 0x98]
mov ecx, 0x10
nop dword [eax]
mov dword [eax], 0
lea eax, [eax + 8]
mov dword [eax - 4], 0
sub ecx, 1
jne 0x100115d0
mov ecx, dword [edi + 0x18]
xor ebx, ebx
mov eax, dword [edi + 4]
mov dword [ebp - 0x18], ebx
lea eax, [eax + ecx*8]
mov ecx, dword [edi + 0x1c]
mov dword [ebp - 0xa0], ecx
cmp eax, dword [edi + 8]
je 0x1001166f
test edx, edx
je 0x1001166d
cmp ebx, 0x10
jae 0x1001166d
mov esi, dword [eax + 4]
mov ecx, esi
cmp dword [ebp - 0xa0], esi
mov edx, dword [eax]
cmovb ecx, dword [ebp - 0xa0]
add edx, ecx
mov dword [ebp - 0xa0], 0
sub esi, ecx
mov dword [ebp + ebx*8 - 0x98], edx
mov ecx, dword [ebp - 0x9c]
cmp esi, ecx
mov edx, dword [ebp - 0x9c]
cmovb ecx, esi
mov dword [ebp + ebx*8 - 0x94], ecx
mov ebx, dword [ebp - 0x18]
mov ecx, dword [ebp + ebx*8 - 0x94]
sub edx, ecx
mov dword [ebp - 0x9c], edx
test ecx, ecx
je 0x10011665
inc ebx
mov dword [ebp - 0x18], ebx
add eax, 8
cmp eax, dword [edi + 8]
jne 0x10011601
mov esi, dword [edi]
mov ecx, dword [esi]
lea eax, [esi + 0x44]
push eax
push edi
push 0
lea eax, [ebp - 0x98]
add ecx, 0x14
push eax
lea eax, [esi + 4]
push eax
call fcn.10012630
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10045df2
mov esp, ebp
pop ebp
ret 0xc