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

Disassembly:
push 0x34
push 0x6d613bb0
call fcn.6d60d8c0
mov esi, dword [ebp + 8]
xor ebx, ebx
cmp esi, ebx
je 0x6d607dd0
mov eax, dword [esi]
cmp eax, 1
jl 0x6d607dd0
cmp eax, 0xa
jg 0x6d607dd0
mov eax, dword [0x6d616910]
cmp eax, ebx
je 0x6d607dd0
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov edi, eax
cmp edi, ebx
je 0x6d607dd0
push edi
call fcn.6d6084ab
pop ecx
mov dword [ebp - 0x24], ebx
lea eax, [ebp - 0x24]
push eax
mov ecx, 0x6d616908
call fcn.6d601a58
test eax, eax
js 0x6d607dd0
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x20], ebx
mov eax, dword [ebp - 0x24]
cmp eax, ebx
je 0x6d607dd0
mov dword [ebp - 4], ebx
mov ecx, dword [eax]
lea edx, [ebp - 0x28]
push edx
push 0x6d610868
push 0x6d610878
push eax
call dword [ecx + 0xc]
test eax, eax
js 0x6d607dc4
mov dword [ebp - 0x1c], ebx
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x6d607b76
lea ecx, [ebp - 0x1c]
push ecx
movzx ecx, byte [esi + 8]
push ecx
push eax
call fcn.6d607a66
add esp, 0xc
mov dword [ebp + 8], ebx
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
lea edx, [ebp + 8]
push edx
push ebx
push eax
call dword [ecx + 0xc]
test eax, eax
js 0x6d607dc4
call fcn.6d607908
mov dword [ebp - 0x40], eax
cmp eax, ebx
je 0x6d607bb1
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov dword [ebp - 0x44], eax
push dword [esi + 0x10]
push dword [ebp - 0x40]
call dword [sym.imp.kernel32.dll_TlsSetValue]
mov eax, dword [esi + 0x1c]
cmp eax, ebx
je 0x6d607bca
lea ecx, [ebp - 0x20]
push ecx
push eax
call fcn.6d60db2a
test eax, eax
js 0x6d607dc4
mov eax, dword [ebp - 0x20]
cmp eax, ebx
jne 0x6d607bf3
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
lea edx, [ebp - 0x20]
push edx
push 0x6d610848
push 0x6d610888
push eax
call dword [ecx + 0xc]
test eax, eax
js 0x6d607dc4
mov eax, dword [ebp - 0x20]
mov ecx, dword [esi]
dec ecx
cmp ecx, 9
ja case.default.0x6d607bff
jmp dword [ecx*4 + 0x6d607e16]
lea ecx, [esi + 0x14]
mov edx, dword [eax]
push ecx
push dword [ebp - 0x1c]
push ebx
push ebx
push dword [esi + 0x1c]
push dword [ebp + 8]
push eax
call dword [edx + 0x28]
mov eax, dword [esi + 0x14]
cmp eax, ebx
je case.default.0x6d607bff
push eax
push dword [0x6d6169e0]
push dword [0x6d6169d8]
push edi
call fcn.6d603edd
add esp, 0x10
mov dword [ebp - 0x3c], eax
mov ecx, dword [edi]
push eax
push edi
call dword [ecx + 0x54]
mov dword [esi + 0x18], eax
mov eax, dword [edi]
push dword [ebp - 0x3c]
push edi
call dword [eax + 0x5c]
jmp case.default.0x6d607bff
mov dword [ebp - 0x2c], ebx
mov ecx, dword [eax]
lea edx, [ebp - 0x2c]
push edx
push dword [esi + 0x14]
push dword [ebp + 8]
push eax
call dword [ecx + 0x30]
cmp dword [ebp - 0x2c], ebx
je case.default.0x6d607bff
push dword [ebp - 0x2c]
mov eax, dword [edi]
push edi
call dword [eax + 0x54]
mov dword [esi + 0x18], eax
jmp case.default.0x6d607bff
mov ecx, dword [eax]
push dword [esi + 0x14]
push dword [ebp + 8]
push eax
call dword [ecx + 0x2c]
jmp case.default.0x6d607bff
mov dword [ebp - 0x30], ebx
mov ecx, dword [eax]
lea edx, [ebp - 0x30]
push edx
push dword [ebp - 0x1c]
push ebx
push ebx
push dword [esi + 0x28]
push dword [esi + 0x24]
push dword [esi + 0x20]
push dword [esi + 0x14]
push dword [ebp + 8]
push eax
call dword [ecx + 0x20]
cmp dword [ebp - 0x30], ebx
je case.default.0x6d607bff
push dword [ebp - 0x30]
jmp 0x6d607c76
mov dword [ebp - 0x34], ebx
mov ecx, dword [eax]
lea edx, [ebp - 0x34]
push edx
push dword [ebp - 0x1c]
push ebx
push ebx
push dword [esi + 0x24]
push dword [esi + 0x20]
push dword [esi + 0x14]
push dword [ebp + 8]
push eax
call dword [ecx + 0x24]
cmp dword [ebp - 0x34], ebx
je case.default.0x6d607bff
push dword [ebp - 0x34]
jmp 0x6d607c76
mov dword [ebp - 0x38], ebx
mov ecx, dword [eax]
lea edx, [ebp - 0x38]
push edx
push dword [ebp - 0x1c]
push ebx
push ebx
push dword [esi + 0x24]
push dword [esi + 0x20]
push dword [esi + 0x14]
push dword [ebp + 8]
push eax
call dword [ecx + 0xc]
cmp dword [ebp - 0x38], ebx
je case.default.0x6d607bff
push dword [ebp - 0x38]
jmp 0x6d607c76
mov ecx, dword [eax]
push dword [ebp - 0x1c]
push ebx
push ebx
push dword [esi + 0x28]
push dword [esi + 0x24]
push dword [esi + 0x20]
push dword [esi + 0x14]
push dword [ebp + 8]
push eax
call dword [ecx + 0x14]
jmp case.default.0x6d607bff
mov ecx, dword [eax]
push dword [ebp - 0x1c]
push ebx
push ebx
push dword [esi + 0x24]
push dword [esi + 0x20]
push dword [esi + 0x14]
push dword [ebp + 8]
push eax
call dword [ecx + 0x1c]
jmp case.default.0x6d607bff
mov dword [ebp - 0x3c], ebx
mov ecx, dword [eax]
lea edx, [ebp - 0x3c]
push edx
push dword [ebp - 0x1c]
push ebx
push ebx
push dword [esi + 0x20]
push dword [esi + 0x14]
push dword [ebp + 8]
push eax
call dword [ecx + 0x10]
cmp dword [ebp - 0x3c], ebx
je case.default.0x6d607bff
push dword [ebp - 0x3c]
jmp 0x6d607c76
mov ecx, dword [eax]
push dword [ebp - 0x1c]
push ebx
push ebx
push dword [esi + 0x24]
push dword [esi + 0x20]
push dword [esi + 0x14]
push dword [ebp + 8]
push eax
call dword [ecx + 0x18]
mov eax, dword [edi]
push edi
call dword [eax + 0x3c]
mov dword [ebp - 0x3c], eax
cmp eax, ebx
je 0x6d607db7
mov eax, dword [edi]
push edi
call dword [eax + 0x44]
mov eax, dword [edi]
push dword [ebp - 0x3c]
push edi
call dword [eax + 0x54]
mov dword [esi + 0xc], eax
mov eax, dword [edi]
push dword [ebp - 0x3c]
push edi
call dword [eax + 0x5c]
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x6d607dc4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 4], 0xfffffffe
call fcn.6d607dda
call fcn.6d60d905
ret 4