Function at 0x6d6bc417
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx + 0x104], 0
mov dword [ebp - 4], ebx
jne 0x6d6bc454
push 0
push 0x10
call fcn.6d641772
mov esi, eax
pop ecx
test esi, esi
pop ecx
je 0x6d6bc44c
push 1
push 2
mov ecx, esi
call fcn.6d6b55d1
jmp 0x6d6bc44e
xor esi, esi
mov dword [ebx + 0x104], esi
mov edi, dword [ebp + 8]
mov esi, 0x100
test dword [0x6d7b5a90], esi
je 0x6d6bc4c7
push dword [0x6d7a23c4]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push eax
lea ecx, [ebp - 0x30]
call fcn.6d64bc19
push esi
push str.RedefineClasses_0x_x:
push dword [0x6d7bf31c]
call fcn.6d71fd90
mov eax, dword [ebx + 0x104]
add esp, 0xc
test edi, edi
mov eax, dword [eax]
jne 0x6d6bc49d
xor ecx, ecx
jmp 0x6d6bc49f
mov ecx, dword [edi]
push dword [ebp + 0x10]
add ecx, 8
push eax
call fcn.6d7085ea
push eax
push str.adding_previous_version_ref_for__s___d__EMCP_cnt_d
push dword [0x6d7bf31c]
call fcn.6d71fdc8
add esp, 0x14
lea ecx, [ebp - 0x30]
call fcn.6d6a63ec
test edi, edi
jne 0x6d6bc4cf
xor eax, eax
jmp 0x6d6bc4d1
mov eax, dword [edi]
push dword [eax + 0x88]
lea ecx, [ebp - 0x1c]
call fcn.6d6819e5
push dword [ebp - 0x1c]
call fcn.6d6dc0ae
test edi, edi
pop ecx
mov dword [ebp - 0x10], eax
jne 0x6d6bc4f3
xor eax, eax
jmp 0x6d6bc4f5
mov eax, dword [edi]
mov edi, dword [eax + 0x74]
xor esi, esi
cmp dword [ebp + 0x10], esi
mov dword [ebp - 0xc], edi
mov ebx, 0x400
jne 0x6d6bc578
push 8
call fcn.6d641742
cmp eax, esi
pop ecx
je 0x6d6bc523
push esi
mov ecx, eax
push dword [ebp - 0x10]
call fcn.6d6ae614
mov dword [ebp + 8], eax
jmp 0x6d6bc526
mov dword [ebp + 8], esi
test dword [0x6d7b5a90], ebx
je 0x6d6bc634
push dword [0x6d7a23c4]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push eax
lea ecx, [ebp - 0x30]
call fcn.6d64bc19
push ebx
push str.RedefineClasses_0x_x:
push dword [0x6d7bf31c]
call fcn.6d71fd90
push str.add:_all_methods_are_obsolete__flushing_any_EMCP_weak_refs
push dword [0x6d7bf31c]
call fcn.6d71fdc8
add esp, 0x14
lea ecx, [ebp - 0x30]
call fcn.6d6a63ec
jmp 0x6d6bc634
push esi
push 0x10
mov dword [ebp - 8], esi
call fcn.6d641772
mov esi, eax
pop ecx
test esi, esi
pop ecx
je 0x6d6bc599
push 1
mov ecx, esi
push dword [ebp + 0x10]
call fcn.6d6b55d1
jmp 0x6d6bc59b
xor esi, esi
and dword [ebp + 8], 0
cmp dword [edi + 8], 0
jle 0x6d6bc614
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
push 1
and ecx, 0x1f
mov edx, dword [edx]
pop eax
shl eax, cl
mov ecx, dword [ebp + 8]
shr ecx, 5
test dword [edx + ecx*4], eax
je 0x6d6bc609
push 0xc
call fcn.6d645c02
add eax, dword [ebp + 8]
pop ecx
lea ecx, [ebp - 0x18]
push dword [edi + eax*4]
call fcn.6d6819e5
push dword [ebp - 0x18]
call fcn.6d6dc0ae
mov dword [ebp - 0x14], eax
mov eax, dword [esi]
cmp eax, dword [esi + 4]
pop ecx
jne 0x6d6bc5f1
push eax
mov ecx, esi
call fcn.6d6b56d9
mov eax, dword [esi]
mov ecx, dword [esi + 8]
mov edx, dword [ebp - 0x14]
mov dword [ecx + eax*4], edx
inc dword [esi]
inc dword [ebp - 8]
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 0x10]
jge 0x6d6bc614
inc dword [ebp + 8]
mov eax, dword [ebp + 8]
cmp eax, dword [edi + 8]
jl 0x6d6bc5a5
push 8
call fcn.6d641742
test eax, eax
pop ecx
je 0x6d6bc630
push esi
mov ecx, eax
push dword [ebp - 0x10]
call fcn.6d6ae614
mov dword [ebp + 8], eax
jmp 0x6d6bc634
and dword [ebp + 8], 0
mov edi, dword [ebp - 4]
mov esi, dword [edi + 0x104]
mov eax, dword [esi]
cmp eax, dword [esi + 4]
jne 0x6d6bc64c
push eax
mov ecx, esi
call fcn.6d6b56d9
mov eax, dword [esi]
mov ecx, dword [esi + 8]
mov edx, dword [ebp + 8]
mov dword [ecx + eax*4], edx
inc dword [esi]
test dword [0x6d7b5a90], ebx
je 0x6d6bc6aa
push dword [0x6d7a23c4]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push eax
lea ecx, [ebp - 0x30]
call fcn.6d64bc19
push ebx
push str.RedefineClasses_0x_x:
push dword [0x6d7bf31c]
call fcn.6d71fd90
mov eax, dword [edi + 0x104]
push dword [eax]
push str.add:_previous_version_length_d
push dword [0x6d7bf31c]
call fcn.6d71fdc8
add esp, 0x18
lea ecx, [ebp - 0x30]
call fcn.6d6a63ec
mov eax, dword [edi + 0x104]
mov eax, dword [eax]
sub eax, 2
mov dword [ebp + 8], eax
js 0x6d6bc700
mov eax, dword [edi + 0x104]
mov ecx, dword [ebp + 8]
mov eax, dword [eax + 8]
mov esi, dword [eax + ecx*4]
mov eax, dword [esi]
test eax, eax
je 0x6d6bc6d8
cmp dword [eax], 0
jne 0x6d6bc7d2
test esi, esi
je 0x6d6bc6ea
mov ecx, esi
call fcn.6d6bc9f5
push esi
call fcn.6d641767
pop ecx
push dword [ebp + 8]
mov ecx, dword [edi + 0x104]
call fcn.6d6b592d
dec dword [ebp + 8]
mov edi, dword [ebp - 4]
jns 0x6d6bc6ba
mov eax, dword [ebp - 0xc]
xor edx, edx
mov ecx, dword [eax + 8]
mov eax, ecx
sub eax, dword [ebp + 0x10]
cmp dword [ebp + 0x10], edx
mov dword [ebp - 0x20], eax
je 0x6d6bc9ee
cmp eax, edx
je 0x6d6bc9ee
mov eax, dword [edi + 0x104]
cmp dword [eax], 1
jle 0x6d6bc9ee
cmp ecx, edx
mov dword [ebp - 8], edx
mov dword [ebp + 0x10], edx
jle 0x6d6bc9ee
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
push 1
and ecx, 0x1f
mov edx, dword [edx]
pop eax
shl eax, cl
mov ecx, dword [ebp + 0x10]
shr ecx, 5
test dword [edx + ecx*4], eax
jne 0x6d6bc9dc
push 0xc
call fcn.6d645c02
add eax, dword [ebp + 0x10]
pop ecx
mov ecx, dword [ebp - 0xc]
mov esi, dword [ecx + eax*4]
mov ecx, esi
call fcn.6d68355d
mov ecx, esi
mov dword [ebp - 0x14], eax
call fcn.6d68356c
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x104]
mov esi, dword [eax]
sub esi, 2
js 0x6d6bc9d1
mov ebx, dword [ebp - 4]
mov eax, dword [ebx + 0x104]
mov eax, dword [eax + 8]
mov edi, dword [eax + esi*4]
mov eax, dword [edi]
test eax, eax
je 0x6d6bc7b4
cmp dword [eax], 0
jne 0x6d6bc8f8
test edi, edi
je 0x6d6bc7c6
mov ecx, edi
call fcn.6d6bc9f5
push edi
call fcn.6d641767
pop ecx
mov ecx, dword [ebx + 0x104]
push esi
jmp 0x6d6bc9c5
test dword [0x6d7b5a90], ebx
je 0x6d6bc811
lea ecx, [ebp - 0x30]
call fcn.6d641711
push ebx
push str.RedefineClasses_0x_x:
push dword [0x6d7bf31c]
call fcn.6d71fd90
push dword [ebp + 8]
push str.add:_previous_version___d_is_alive
push dword [0x6d7bf31c]
call fcn.6d71fdc8
add esp, 0x18
lea ecx, [ebp - 0x30]
call fcn.6d6a63ec
mov esi, dword [esi + 4]
test esi, esi
je 0x6d6bc6f8
test dword [0x6d7b5a90], ebx
je 0x6d6bc85a
lea ecx, [ebp - 0x40]
call fcn.6d641711
push ebx
push str.RedefineClasses_0x_x:
push dword [0x6d7bf31c]
call fcn.6d71fd90
push dword [esi]
push str.add:_previous_methods_length_d
push dword [0x6d7bf31c]
call fcn.6d71fdc8
add esp, 0x18
lea ecx, [ebp - 0x40]
call fcn.6d6a63ec
mov edi, dword [esi]
dec edi
js 0x6d6bc6f8
mov eax, dword [esi + 8]
mov eax, dword [eax + edi*4]
test eax, eax
je 0x6d6bc8eb
mov ecx, dword [eax]
test ecx, ecx
mov dword [ebp - 0x10], ecx
je 0x6d6bc8e4
cmp dword [ebp + 0x10], 0
je 0x6d6bc8e4
test dword [0x6d7b5a90], ebx
je 0x6d6bc85c
lea ecx, [ebp - 0x50]
call fcn.6d641711
push ebx
push str.RedefineClasses_0x_x:
push dword [0x6d7bf31c]
call fcn.6d71fd90
mov ecx, dword [ebp - 0x10]
add esp, 0xc
push dword [ebp + 8]
push edi
call fcn.6d68356c
mov ecx, eax
call fcn.6d7415c5
mov ecx, dword [ebp - 0x10]
push eax
call fcn.6d68355d
mov ecx, eax
call fcn.6d7415c5
push eax
push str.add:__s__s_:_previous_method___d_in_version___d_is_alive
push dword [0x6d7bf31c]
call fcn.6d71fdc8
add esp, 0x18
lea ecx, [ebp - 0x50]
call fcn.6d6a63ec
jmp 0x6d6bc85c
push eax
call fcn.6d6dc123
pop ecx
push edi
mov ecx, esi
call fcn.6d6b592d
jmp 0x6d6bc85c
mov ebx, dword [edi + 4]
test ebx, ebx
je 0x6d6bc9d1
mov edi, dword [ebx]
dec edi
js 0x6d6bc9ca
mov eax, dword [ebx + 8]
mov eax, dword [eax + edi*4]
test eax, eax
mov dword [ebp - 0x18], eax
jne 0x6d6bc923
push edi
mov ecx, ebx
call fcn.6d6b592d
jmp 0x6d6bc905
mov eax, dword [eax]
test eax, eax
mov dword [ebp + 8], eax
jne 0x6d6bc937
push dword [ebp - 0x18]
call fcn.6d6dc123
pop ecx
jmp 0x6d6bc919
mov ecx, dword [ebp + 8]
call fcn.6d68355d
cmp eax, dword [ebp - 0x14]
jne 0x6d6bc905
mov ecx, dword [ebp + 8]
call fcn.6d68356c
cmp eax, dword [ebp - 0x10]
jne 0x6d6bc905
test byte [0x6d7b5a91], 4
je 0x6d6bc9a9
lea ecx, [ebp - 0x50]
call fcn.6d641711
push 0x400
push str.RedefineClasses_0x_x:
push dword [0x6d7bf31c]
call fcn.6d71fd90
mov ecx, dword [ebp - 0x10]
add esp, 0xc
push esi
push edi
call fcn.6d7415c5
mov ecx, dword [ebp - 0x14]
push eax
call fcn.6d7415c5
push eax
push str.add:__s__s_:_flush_obsolete_method___d_in_version___d
push dword [0x6d7bf31c]
call fcn.6d71fdc8
add esp, 0x18
lea ecx, [ebp - 0x50]
call fcn.6d6a63ec
mov eax, dword [ebp + 8]
push 0x10000
lea ecx, [eax + 0x10]
call section..text
push dword [ebp - 0x18]
call fcn.6d6dc123
pop ecx
push edi
mov ecx, ebx
call fcn.6d6b592d
dec esi
jns 0x6d6bc796
inc dword [ebp - 8]
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x20]
jge 0x6d6bc9ee
inc dword [ebp + 0x10]
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 0x10]
cmp ecx, dword [eax + 8]
jl 0x6d6bc73e
pop edi
pop esi
pop ebx
leave
ret 0xc