Function at 0x1000e5fe
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006e3fc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0xbc
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x1000e8b8
mov eax, dword [ebp + 8]
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x3c], 0x8ef
mov dword [ebp - 0xa8], 0x100077c0
cmp dword [ebp - 0x3c], 0xbd2
jle 0x1000e717
and dword [ebp - 0x1c], 0
jmp 0x1000e663
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x530c
jge 0x1000e717
and dword [ebp - 0x18], 0
jmp 0x1000e67d
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x78d1
jge 0x1000e712
and dword [ebp - 0x20], 0
jmp 0x1000e697
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x3349
jge 0x1000e70d
and dword [ebp - 0x14], 0
jmp 0x1000e6ad
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x7179
jge 0x1000e70b
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
shl eax, cl
mov ecx, dword [ebp - 0x14]
shl eax, cl
and eax, dword [ebp - 0x1c]
cdq
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xac], edx
push dword [ebp - 0xac]
push dword [ebp - 0xb0]
lea ecx, [ebp - 0xcc]
call fcn.1000a76e
pop ecx
pop ecx
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x68]
call fcn.100214f8
push eax
call fcn.10055ddf
pop ecx
lea ecx, [ebp - 0xcc]
call fcn.100214ee
jmp 0x1000e6a6
jmp 0x1000e690
jmp 0x1000e676
jmp 0x1000e65c
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x60], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x3c], 0x57a
jge 0x1000e736
push dword [ebp - 0xa8]
call fcn.10055ddf
pop ecx
jmp 0x1000e752
or dword [ebp - 4], 0xffffffff
jmp 0x1000e75c
lea eax, [ebp + 0x2c]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x58]
movzx eax, byte [eax]
test eax, eax
je 0x1000e88e
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x24]
cmp dword [eax], 0
je 0x1000e808
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x50]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov eax, dword [ebp - 0x28]
cmp dword [eax], 0
je 0x1000e808
mov dword [ebp - 0x30], 1
jmp 0x1000e80c
and dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x34]
cmp dword [eax], 0
jne 0x1000e851
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x24]
mov ecx, dword [ecx]
cmp dword [eax], ecx
je 0x1000e829
mov dword [ebp - 0x44], 1
jmp 0x1000e82d
and dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x44]
neg eax
cmp eax, 0xfffffffb
jge 0x1000e840
mov dword [ebp - 0x2c], 1
jmp 0x1000e844
and dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x2c]
neg eax
jne 0x1000e851
and dword [ebp - 0x38], 0
jmp 0x1000e858
mov dword [ebp - 0x38], 1
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x38]
jne 0x1000e869
mov dword [ebp - 0x40], 1
jmp 0x1000e86d
and dword [ebp - 0x40], 0
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x40]
jl 0x1000e880
mov dword [ebp - 0x48], 1
jmp 0x1000e884
and dword [ebp - 0x48], 0
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x48]
mov dword [eax], ecx
jmp 0x1000e8b6
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x84]
mov ecx, dword [ecx]
mov dword [eax], ecx
jmp 0x1000e92a
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x94], eax
lea eax, [ebp + 0x30]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x8c]
movzx eax, byte [eax]
test eax, eax
je 0x1000e920
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0xa4]
movzx eax, byte [eax]
test eax, eax
je 0x1000e91e
push 0x1336
push 0
push 1
push 0x4bf
push 0x4505
push 1
push 0x6ca4
call fcn.1000ea51
add esp, 0x1c
jmp 0x1000e92a
push 0
push 0
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret