Function at 0x1000e673
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008091a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
push edi
and dword [ebp - 0x70], 0
push 6
pop ecx
xor eax, eax
lea edi, [ebp - 0x6c]
rep stosd dword es:[edi], eax
push 0x1c
lea eax, [ebp - 0x70]
push eax
push dword [ebp + 8]
push 0x612a
push 0x48e2
call fcn.1002e17b
pop ecx
pop ecx
call eax
test eax, eax
je 0x1000e82e
push 2
lea ecx, [ebp - 0x54]
call fcn.10011da1
and dword [ebp - 4], 0
push 1
lea ecx, [ebp - 0x48]
call fcn.10011da1
mov byte [ebp - 4], 1
mov dword [ebp - 0x38], 0x6ff609d7
lea eax, [ebp - 0x2c]
push eax
push 0x4daa
push 1
lea eax, [ebp - 0x54]
push eax
push 0x58c4
call fcn.1000e062
add esp, 0x14
lea eax, [ebp - 0x48]
push eax
push 1
lea eax, [ebp - 0x2c]
push eax
call fcn.1000e10c
add esp, 0xc
push 0
lea ecx, [ebp - 0x48]
call fcn.10011e0e
and dword [eax], 0
jmp 0x1000e739
push 0
lea ecx, [ebp - 0x48]
call fcn.10011e0e
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x1c]
mov dword [ecx], eax
push 0
lea ecx, [ebp - 0x48]
call fcn.10011e0e
cmp dword [eax], 1
jg 0x1000e7d0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x34], 0xc520ea0c
mov dword [ebp - 0x30], 0x4392
mov dword [ebp - 0x24], 0xe96f8f9e
push 0x4aaa
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
push eax
push 0x658c
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x38]
push eax
push 0x30dc
push 0x59b4
push 1
push 0x4d37
call fcn.1000e186
add esp, 0x34
push 1
lea eax, [ebp - 0x48]
push eax
push 0x7e92
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x54]
push eax
push 0x2304
lea eax, [ebp - 0x24]
push eax
call fcn.1000e3d3
add esp, 0x1c
jmp 0x1000e721
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.10011e09
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.10011e09
mov dword [ebp - 0x3c], 0xee
push 1
push 0x451
call fcn.1000e492
pop ecx
pop ecx
mov eax, dword [ebp - 0x5c]
and eax, dword [ebp - 0x3c]
jne 0x1000e80e
mov dword [ebp - 0x28], 1
jmp 0x1000e812
and dword [ebp - 0x28], 0
mov al, byte [ebp - 0x28]
mov byte [ebp - 0xd], al
mov eax, dword [ebp - 0x5c]
and eax, 0x101
je 0x1000e826
mov byte [ebp - 0xd], 1
mov al, byte [ebp - 0xd]
jmp 0x1000e8b3
mov dword [ebp - 0x14], 3
mov eax, dword [ebp - 0x14]
dec eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x14], 0xffffffec
jmp 0x1000e84c
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x15
jne 0x1000e8b1
mov dword [ebp - 0x18], 0x6210b999
mov dword [ebp - 0x18], 0x15
jmp 0x1000e869
mov eax, dword [ebp - 0x18]
dec eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xa
jge 0x1000e8af
mov byte [ebp - 0xe], 0
movzx eax, byte [ebp - 0xe]
test eax, eax
je 0x1000e888
push 0
push 0x193
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov byte [ebp - 0xf], 0
movzx eax, byte [ebp - 0xf]
test eax, eax
je 0x1000e8ad
push 0x4514
push 0x12a7
push 1
push 0x586a
call fcn.1000e5fd
add esp, 0x10
jmp 0x1000e862
jmp 0x1000e845
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
mov esp, ebp
pop ebp
ret