Function at 0x710850
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
lea ebp, [esp - 0x1164]
mov eax, 0x1164
call fcn.00757180
push 0xffffffffffffffff
push 0x77578e
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x69bc80]
xor eax, ebp
mov dword [ebp + 0x1160], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0x1178]
mov edi, dword [ebp + 0x116c]
mov ebx, dword [ebp + 0x1174]
push 0x10
mov esi, ecx
mov ecx, dword [ebp + 0x1180]
lea edx, [ebp - 0x4c]
push edx
mov dword [ebp - 0x14], eax
xor eax, eax
push 0x20
mov dword [ebp - 0x24], ecx
push edi
mov ecx, esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
call fcn.0070b240
cmp eax, 0x10
jne 0x710aa9
cmp word [ebp - 0x4c], 0
je 0x710aa9
push 0x90
lea eax, [ebp + 0x1088]
push 0
push eax
mov dword [ebp - 4], 0
call fcn.00755e40
add esp, 0xc
push 0x90
lea ecx, [ebp + 0x1088]
push ecx
push 1
push edi
mov ecx, esi
call fcn.0070b240
cmp eax, 0x90
jne 0x710a91
xor eax, eax
mov dword [ebp - 0x3c], 0x69d7b0
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x2c], 1
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 1
cmp ebx, eax
je 0x710969
push 0x2b000
push eax
lea ecx, [ebp - 0x3c]
call fcn.006ae450
mov eax, dword [ebp - 0x34]
mov ebx, eax
neg ebx
sbb ebx, ebx
and ebx, dword [ebp - 0x38]
mov dword [ebp - 0x14], eax
jmp 0x710975
mov edx, dword [ebp + 0x117c]
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x14], edx
push 0x1088
lea eax, [ebp]
push 0
push eax
call fcn.00755e40
mov ecx, dword [ebp - 0x14]
add esp, 0xc
push ecx
push ebx
push 0x1088
lea edx, [ebp]
push edx
push 0x19
push edi
mov ecx, esi
mov dword [ebp + 0x80], 0
call fcn.0070ff00
mov edi, dword [ebp - 0x24]
mov dword [edi], eax
test eax, eax
je 0x710a89
cmp eax, dword [ebp - 0x14]
ja 0x710a89
mov esi, dword [ebp - 0x20]
test esi, esi
je 0x710a82
lea ecx, [ebp + 0x1140]
call fcn.006f23b0
mov eax, dword [ebp + 0x1170]
and eax, 0xf00
mov byte [ebp - 4], 2
push esi
lea ecx, [ebp + 0x1140]
cmp eax, 0x100
je 0x710a08
cmp eax, 0x200
je 0x710a01
call fcn.006ebe80
jmp 0x710a0d
call fcn.006ec030
jmp 0x710a0d
call fcn.006eb450
lea ecx, [ebp + 0x1118]
call fcn.00727010
cmp dword [ebp + 0x1158], 0
mov byte [ebp - 4], 3
mov esi, 3
je 0x710a3c
lea eax, [ebp + 0x1140]
push eax
lea ecx, [ebp + 0x111c]
call fcn.006f20d0
push 0
push esi
lea ecx, [ebp + 0x1118]
call fcn.00727b60
mov ecx, dword [edi]
push ecx
push ebx
lea ecx, [ebp + 0x1118]
call fcn.007273a0
lea ecx, [ebp + 0x1118]
call fcn.007270d0
lea ecx, [ebp + 0x1118]
mov byte [ebp - 4], 2
call fcn.00727060
lea ecx, [ebp + 0x1140]
mov byte [ebp - 4], 1
call fcn.007158a0
mov dword [ebp - 0x18], 1
lea ecx, [ebp - 0x3c]
call fcn.006aece0
mov eax, dword [ebp - 0x18]
jmp 0x710ae1
mov edx, dword [0x7cad84]
push edx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
jne 0x710ad9
push 4
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
test esi, esi
je 0x710ad9
mov eax, dword [0x7cad84]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [esi], 0x10e
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x1160]
xor ecx, ebp
call fcn.007562ca
add ebp, 0x1164
mov esp, ebp
pop ebp
ret 0x18