Function at 0x10010db8
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10068c66
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x70
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x10010e05
mov eax, dword [ebp + 8]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x50], eax
push 1
push dword [ebp - 0x50]
push dword [ebp - 0x54]
push dword [ebp - 0x58]
call fcn.10010fde
add esp, 0x10
jmp 0x10010fd0
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x60], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
movzx eax, byte [eax]
test eax, eax
je 0x10010e43
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
movzx eax, byte [eax]
test eax, eax
je 0x10010e3e
push 0
push 0x25f8
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
jmp 0x10010fd0
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x10], 3
mov dword [ebp - 0x1c], 0xffffffff
mov dword [ebp - 0x24], 0xd44c039e
mov dword [ebp - 0x20], 6
mov dword [ebp - 0x70], 0x780f885b
mov dword [ebp - 0x48], 0x85950cfd
push 3
lea ecx, [ebp - 0x7c]
call fcn.10029e7b
and dword [ebp - 4], 0
mov dword [ebp - 0x14], 0
jmp 0x10010e92
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 3
jge 0x10010eab
push dword [ebp - 0x14]
lea ecx, [ebp - 0x7c]
call fcn.10029f5b
mov dword [eax], 0x604491d0
jmp 0x10010e8b
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x18], eax
jge 0x10010ebc
mov dword [ebp - 0x28], 1
jmp 0x10010ec0
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x18], eax
jle 0x10010f4b
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x20]
cmp eax, 0xfffffffd
jne 0x10010ee8
mov dword [ebp - 0x2c], 1
jmp 0x10010eec
and dword [ebp - 0x2c], 0
cmp dword [ebp - 0x2c], 0xffffffff
ja 0x10010efb
mov dword [ebp - 0x6c], 1
jmp 0x10010eff
and dword [ebp - 0x6c], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x10], eax
jle 0x10010f10
mov dword [ebp - 0x30], 1
jmp 0x10010f14
and dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x10010f32
mov eax, 0xffff
test eax, eax
je 0x10010f32
mov dword [ebp - 0x34], 1
jmp 0x10010f36
and dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x70], eax
mov eax, 0xa284
test eax, eax
jne 0x10010f4b
and dword [ebp - 0x38], 0
jmp 0x10010f52
mov dword [ebp - 0x38], 1
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x38]
jg 0x10010f63
mov dword [ebp - 0x3c], 1
jmp 0x10010f67
and dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x3c]
sub eax, dword [ebp - 0x10]
jne 0x10010f7b
cmp dword [ebp - 0x24], 0
jne 0x10010f7b
and dword [ebp - 0x40], 0
jmp 0x10010f82
mov dword [ebp - 0x40], 1
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x40], eax
jge 0x10010f93
mov dword [ebp - 0x44], 1
jmp 0x10010f97
and dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
add eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x24]
jne 0x10010fb1
mov dword [ebp - 0x4c], 1
jmp 0x10010fb5
and dword [ebp - 0x4c], 0
push 1
lea ecx, [ebp - 0x7c]
call fcn.10029f5b
mov ecx, dword [ebp - 0x4c]
mov dword [eax], ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x7c]
call fcn.10029f30
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret