Function at 0x6d709300
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
mov edi, ecx
cmp dword [esi + 8], ebx
mov dword [ebp - 0xc], ebx
jle 0x6d709550
push 0xc
call fcn.6d645c02
add eax, ebx
push 0xc
mov esi, dword [esi + eax*4]
call fcn.6d645c02
mov edx, dword [edi + 8]
pop ecx
pop ecx
add eax, ebx
mov ecx, dword [ebp + 0xc]
cmp ebx, edx
mov eax, dword [ecx + eax*4]
mov dword [ebp - 4], eax
jge 0x6d70943d
mov eax, dword [edi]
test eax, eax
je 0x6d70934f
mov eax, dword [eax]
mov ecx, dword [edi + 4]
lea ecx, [ecx + ebx*4]
cmp dword [ecx + eax], esi
jne 0x6d70943d
push ebx
mov ecx, edi
push dword [ebp - 4]
call fcn.6d708ec7
test byte [0x6d7b5a92], 0x70
je 0x6d70953d
mov ebx, dword [ebp + 0x10]
cmp dword [ebx], 0
jne 0x6d7093d5
push dword [0x6d7a23c4]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push eax
lea ecx, [ebp - 0x1c]
call fcn.6d64bc19
push str.RedefineClasses:
push dword [0x6d7bf31c]
call fcn.6d71fd90
mov eax, dword [esi + 0xc]
pop ecx
pop ecx
mov eax, dword [eax + 0x14]
lea ecx, [eax + 8]
call fcn.6d7085ea
push eax
push str.adjust:_name_s
push dword [0x6d7bf31c]
call fcn.6d71fdc8
add esp, 0xc
lea ecx, [ebp - 0x1c]
call fcn.6d6a63ec
mov dword [ebx], 1
mov esi, 0x100000
test dword [0x6d7b5a90], esi
je 0x6d70953d
lea ecx, [ebp - 0x2c]
call fcn.6d641711
push esi
push str.RedefineClasses_0x_x:
push dword [0x6d7bf31c]
call fcn.6d71fd90
mov ecx, dword [ebp - 4]
add esp, 0xc
call fcn.6d68356c
mov ecx, eax
call fcn.6d7415c5
mov ecx, dword [ebp - 4]
push eax
call fcn.6d68355d
mov ecx, eax
call fcn.6d7415c5
push eax
push str.vtable_method_update:__s__s_
push dword [0x6d7bf31c]
call fcn.6d71fdc8
add esp, 0x10
lea ecx, [ebp - 0x2c]
jmp 0x6d709538
and dword [ebp - 8], 0
test edx, edx
jle 0x6d70953d
mov ebx, dword [edi]
mov ecx, dword [edi + 4]
test ebx, ebx
jne 0x6d709456
xor eax, eax
jmp 0x6d709458
mov eax, dword [ebx]
cmp dword [ecx + eax], esi
je 0x6d70946d
inc dword [ebp - 8]
add ecx, 4
cmp dword [ebp - 8], edx
jl 0x6d70944e
jmp 0x6d70953d
push dword [ebp - 8]
mov ecx, edi
push dword [ebp - 4]
call fcn.6d708ec7
test byte [0x6d7b5a92], 0x70
je 0x6d70953d
mov ebx, dword [ebp + 0x10]
cmp dword [ebx], 0
jne 0x6d7094d9
lea ecx, [ebp - 0x3c]
call fcn.6d641711
push str.RedefineClasses:
push dword [0x6d7bf31c]
call fcn.6d71fd90
mov eax, dword [esi + 0xc]
pop ecx
pop ecx
mov eax, dword [eax + 0x14]
lea ecx, [eax + 8]
call fcn.6d7085ea
push eax
push str.adjust:_name_s
push dword [0x6d7bf31c]
call fcn.6d71fdc8
add esp, 0xc
lea ecx, [ebp - 0x3c]
call fcn.6d6a63ec
mov dword [ebx], 1
test byte [0x6d7b5a92], 0x10
je 0x6d70953d
lea ecx, [ebp - 0x4c]
call fcn.6d641711
push 0x100000
push str.RedefineClasses_0x_x:
push dword [0x6d7bf31c]
call fcn.6d71fd90
mov ecx, dword [ebp - 4]
add esp, 0xc
call fcn.6d68356c
mov ecx, eax
call fcn.6d7415c5
mov ecx, dword [ebp - 4]
push eax
call fcn.6d68355d
mov ecx, eax
call fcn.6d7415c5
push eax
push str.vtable_method_update:__s__s_
push dword [0x6d7bf31c]
call fcn.6d71fdc8
add esp, 0x10
lea ecx, [ebp - 0x4c]
call fcn.6d6a63ec
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp + 8]
inc ebx
cmp ebx, dword [esi + 8]
mov dword [ebp - 0xc], ebx
jl 0x6d70931c
pop edi
pop esi
pop ebx
leave
ret 0xc