Function at 0x1000e410
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100662cb
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x1008600c]
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 esi, ecx
mov dword [ebp - 0xb8], esi
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x20], eax
sub eax, 1
je 0x1000e5fd
mov eax, dword [ebp + 0xc]
mov edx, eax
add dword [esi + 0x14], eax
mov ecx, dword [esi + 0x18]
mov eax, dword [esi + 4]
mov ebx, dword [esi + 8]
mov dword [ebp - 0x9c], ebx
lea eax, [eax + ecx*8]
cmp eax, ebx
je 0x1000e4ae
test edx, edx
je 0x1000e4ae
mov edi, dword [eax + 4]
mov ecx, dword [eax]
mov ebx, dword [esi + 0x1c]
cmp ebx, edi
mov dword [ebp - 0xc8], ecx
mov ecx, ebx
cmovae ecx, edi
sub edi, ecx
cmp edx, edi
jae 0x1000e499
lea ecx, [ebx + edx]
xor edx, edx
jmp 0x1000e4a3
inc dword [esi + 0x18]
sub edx, edi
add eax, 8
xor ecx, ecx
mov dword [esi + 0x1c], ecx
cmp eax, dword [ebp - 0x9c]
jne 0x1000e473
mov edi, dword [ebp + 8]
mov eax, dword [edi]
test eax, eax
jne 0x1000e4bc
cmp dword [ebp + 0xc], eax
je 0x1000e4c4
mov edx, dword [esi + 0x14]
cmp edx, dword [esi + 0x10]
jb 0x1000e4c9
mov edx, dword [esi + 0x14]
jmp 0x1000e4e1
xor ebx, ebx
mov ecx, 0x10000
test eax, eax
cmovne ecx, ebx
mov dword [ebp - 0xa0], ecx
je 0x1000e612
mov eax, dword [esi + 0x2c]
mov ecx, dword [esi + 0x30]
mov ebx, dword [esi + 0x24]
push dword [0x10089594]
mov dword [ebp - 0xb4], eax
mov eax, dword [edi]
mov dword [ebp - 0xb0], ecx
mov ecx, dword [edi + 4]
lea edi, [esi + 0x28]
mov esi, dword [edi]
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xa8], ecx
mov dword [ebp - 0xa4], edx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x1000e531
cmp dword [eax], esi
je 0x1000e5d7
mov eax, dword [eax + 8]
test eax, eax
jne 0x1000e522
lea eax, [ebp - 0xb4]
push eax
push 0x38
mov dword [ebp - 0xc8], eax
call fcn.10004cb0
add esp, 8
mov esi, eax
mov dword [ebp - 4], 1
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0x100103a0
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 - 0xc0], 0
mov dword [ebp - 0xc4], 0
call fcn.100081a0
jmp 0x1000e6d4
cmp dword [eax + 4], 0
je 0x1000e531
lea eax, [ebp - 0xb4]
mov dword [ebp - 4], 0
push eax
push eax
call fcn.10010ed0
add esp, 8
jmp 0x1000e6d4
mov eax, dword [ebp + 8]
xor edx, edx
mov ecx, 0x10000
cmp dword [eax], edx
cmovne ecx, edx
mov dword [ebp - 0xa0], ecx
mov eax, dword [esi]
lea edi, [ebp - 0x98]
mov dword [ebp - 0xc0], eax
mov ebx, 0x10
mov ecx, edi
call fcn.10005f60
add edi, 8
sub ebx, 1
jne 0x1000e625
mov ecx, dword [esi + 0x18]
xor edi, edi
mov eax, dword [esi + 4]
mov dword [ebp - 0x18], edi
lea eax, [eax + ecx*8]
mov ecx, dword [esi + 0x1c]
mov dword [ebp - 0x9c], ecx
cmp eax, dword [esi + 8]
je 0x1000e6b2
mov ebx, dword [ebp - 0xa0]
test ebx, ebx
je 0x1000e6b2
cmp edi, 0x10
jae 0x1000e6b2
mov edx, dword [eax + 4]
mov esi, dword [ebp - 0x9c]
cmp esi, edx
mov ecx, dword [eax]
cmovae esi, edx
mov dword [ebp - 0x9c], 0
add ecx, esi
sub edx, esi
mov esi, dword [ebp - 0xb8]
cmp edx, ebx
mov dword [ebp + edi*8 - 0x98], ecx
cmovae edx, ebx
mov dword [ebp + edi*8 - 0x94], edx
mov edi, dword [ebp - 0x18]
mov ecx, dword [ebp + edi*8 - 0x94]
sub ebx, ecx
test ecx, ecx
je 0x1000e6aa
inc edi
mov dword [ebp - 0x18], edi
add eax, 8
cmp eax, dword [esi + 8]
jne 0x1000e656
mov ecx, dword [ebp - 0xc0]
lea eax, [ecx + 0x44]
push eax
push esi
push 0
lea eax, [ebp - 0x98]
push eax
lea eax, [ecx + 4]
mov ecx, dword [ecx]
push eax
add ecx, 0x14
call fcn.1000f960
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.1004144e
mov esp, ebp
pop ebp
ret 0xc