Function at 0x6d69ceef
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
mov eax, dword [ebx + 0x2c]
push edi
mov edi, dword [ebx + 0x28]
mov ecx, ebx
mov dword [ebp - 4], eax
call fcn.6d69a9c3
mov ecx, dword [ebp + 0xc]
and dword [ebp - 8], 0
cmp edi, dword [ebp - 4]
mov dword [ebp - 0xc], edi
mov dword [ecx + 0x14], eax
mov ecx, dword [ecx + 0x20]
mov dword [ecx + 0x5c], eax
jae 0x6d69d0ee
jmp 0x6d69cf2e
mov ebx, dword [ebp + 8]
push dword [0x6d7a23c4]
mov edi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
call edi
push eax
lea ecx, [ebp - 0x40]
call fcn.6d64bc19
push dword [0x6d7a23c4]
call edi
push eax
lea ecx, [ebp - 0x68]
call fcn.6d6b5a73
xor edi, edi
push 1
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
call fcn.6d6a08d8
pop ecx
mov ecx, esi
call fcn.6d69c895
cmp dword [0x6d7b5b48], edi
je 0x6d69cf80
lea ecx, [esi + 0x230]
call fcn.6d75592d
push dword [ebp - 4]
lea ecx, [ebp - 0x20]
push dword [ebp - 0xc]
call fcn.6d67a5fd
mov edx, dword [eax]
push ecx
push ecx
mov ecx, esp
mov dword [ecx], edx
mov eax, dword [eax + 4]
mov dword [ecx + 4], eax
mov ecx, dword [esi + 0x30]
lea eax, [ebp - 0x28]
push eax
call fcn.6d6a04c4
mov ecx, eax
call fcn.6d6809cd
mov ecx, dword [eax]
push 1
mov dword [ebp - 0x18], ecx
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
call fcn.6d6a0983
mov eax, dword [ebp - 0x14]
pop ecx
mov ecx, dword [ebp - 0x18]
mov edi, eax
shr edi, 7
lea ecx, [ecx + eax*4]
test eax, eax
mov dword [ebp - 0x10], ecx
je 0x6d69d0de
cmp dword [0x6d7b5b48], 0
je 0x6d69cfef
lea ecx, [esi + 0x230]
call fcn.6d75594a
lea eax, [esi + 0x80]
push 0
push eax
mov ecx, ebx
call fcn.6d69a9c3
push eax
push 1
lea ecx, [ebp - 0x50]
call fcn.6d69c50d
mov ecx, esi
call fcn.6d69c895
cmp dword [0x6d7b5b48], 0
je 0x6d69d025
lea ecx, [esi + 0x230]
call fcn.6d75592d
mov ecx, ebx
call fcn.6d6a01c9
push dword [ebp + 0xc]
mov ebx, dword [eax]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x18]
push ecx
push ecx
mov ecx, esp
push eax
call fcn.6d646953
mov ecx, dword [ebp - 0xc]
call dword [ebx + 0x9c]
mov ebx, eax
test ebx, ebx
je 0x6d69d096
lea ecx, [ebp - 0x18]
call fcn.6d680ede
push eax
push ebx
lea ecx, [ebp - 0x30]
call fcn.6d67a5fd
mov edx, dword [eax]
push ecx
push ecx
mov ecx, esp
mov dword [ecx], edx
mov eax, dword [eax + 4]
mov dword [ecx + 4], eax
mov ecx, dword [esi + 0x30]
call fcn.6d6a04c4
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x74]
mov ecx, esi
call fcn.6d69c868
test eax, eax
jne 0x6d69d0d6
push ebx
mov ecx, esi
call fcn.6d69e8a8
mov ebx, eax
jmp 0x6d69d099
mov ebx, dword [ebp - 0x10]
cmp dword [0x6d7b5b48], 0
je 0x6d69d0ad
lea ecx, [esi + 0x230]
call fcn.6d75594a
lea ecx, [ebp - 0x50]
call fcn.6d69c553
lea ecx, [ebp - 0x68]
call fcn.6d6b5aa6
lea ecx, [ebp - 0x40]
call fcn.6d6a63ec
add dword [ebp - 8], edi
cmp ebx, dword [ebp - 4]
mov dword [ebp - 0xc], ebx
jb 0x6d69cf2b
jmp 0x6d69d0ee
lea ecx, [ebp - 0x50]
call fcn.6d69c553
lea ecx, [ebp - 0x68]
call fcn.6d6b5aa6
lea ecx, [ebp - 0x40]
call fcn.6d6a63ec
cmp dword [0x6d7b5b48], 0
je 0x6d69d102
lea ecx, [esi + 0x230]
call fcn.6d75594a
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret 8