Function at 0x6d706cb3
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd4
mov ecx, dword [ecx + 0x18]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov eax, dword [ebx + 0xa4]
push eax
push eax
call fcn.6d706e87
mov ecx, eax
call fcn.6d705fa4
xor esi, esi
cmp eax, esi
jne 0x6d706ce7
mov dword [ebp - 8], esi
mov dword [ebp - 4], esi
jmp 0x6d706cf3
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
push 1
mov dword [eax + 8], ecx
mov ecx, dword [ebp - 4]
pop edi
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], edi
mov ecx, dword [ebx + 0x24]
push eax
call fcn.6d6dc33e
cmp dword [ebx + 0xa8], esi
je 0x6d706e7d
push dword [0x6d7a23c4]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
lea ecx, [ebp - 0x20]
push esi
call fcn.6d64bc19
push esi
lea ecx, [ebp - 0x44]
call fcn.6d6b5a73
push edi
push ebx
lea ecx, [ebp - 0xd4]
call fcn.6d6ac9f1
lea eax, [ebp - 0x50]
mov ecx, ebx
push eax
call fcn.6d67a6e6
sub esp, 0xc
mov esi, eax
mov edi, esp
lea eax, [ebp - 0x5c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push eax
mov ecx, ebx
movsd dword es:[edi], dword [esi]
call fcn.6d75246d
mov esi, eax
lea edi, [ebp - 0x2c]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0xd4]
push ebx
movsd dword es:[edi], dword [esi]
push eax
lea eax, [ebp - 0x2c]
push eax
movsd dword es:[edi], dword [esi]
call fcn.6d761add
add esp, 0xc
and dword [ebp + 8], 0
mov esi, eax
test esi, esi
je 0x6d706e6d
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x10]
test eax, eax
je 0x6d706e19
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
mov ecx, eax
call fcn.6d7136ae
mov dword [ebp - 0xc], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
test byte [eax + 0x11], 1
jne 0x6d706e14
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x24]
mov ebx, eax
xor edi, edi
mov eax, dword [ebx]
cmp dword [eax], edi
jle 0x6d706e14
mov eax, dword [eax + 8]
mov eax, dword [eax + edi*4]
cmp dword [eax], 0xc
jne 0x6d706e0d
lea eax, [ebp - 0x10]
push edi
push eax
mov ecx, ebx
call fcn.6d73cf9e
mov eax, dword [eax]
test eax, eax
je 0x6d706e0d
mov eax, dword [eax]
test eax, eax
je 0x6d706e0d
push eax
push edi
push dword [ebp - 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [ebp - 8]
push 4
call fcn.6d706c27
add esp, 0x1c
test eax, eax
je 0x6d706e59
mov eax, dword [ebx]
inc edi
cmp edi, dword [eax]
jl 0x6d706dce
inc dword [ebp + 8]
jmp 0x6d706e4c
lea edi, [esi + 8]
mov ecx, edi
call fcn.6d6ad959
test eax, eax
je 0x6d706e4c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
push eax
mov dword [eax + 8], ecx
mov ecx, dword [ebp - 4]
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], 1
mov eax, dword [edi + 8]
mov eax, dword [eax + 8]
mov ecx, dword [eax + 4]
call fcn.6d6dc33e
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov esi, eax
jmp 0x6d706d8c
lea ecx, [ebp - 0x44]
call fcn.6d6b5aa6
lea ecx, [ebp - 0x20]
call fcn.6d6a63ec
xor eax, eax
jmp 0x6d706e80
lea ecx, [ebp - 0x44]
call fcn.6d6b5aa6
lea ecx, [ebp - 0x20]
call fcn.6d6a63ec
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret 8