Function at 0x6d6a1907
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xbc
mov ecx, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov eax, dword [esi]
mov edi, dword [eax + ecx*4 + 0x1c]
mov eax, dword [edi + 4]
lea ecx, [eax + 8]
mov eax, dword [eax + 8]
call dword [eax + 0x8c]
test eax, eax
je 0x6d6a1939
mov eax, edi
jmp 0x6d6a1b85
mov edi, dword [ebp + 0x10]
and dword [ebp - 4], 0
and dword [ebp + 8], 0
push 1
push edi
push esi
lea ecx, [ebp - 0x14]
call fcn.6d741b5e
mov eax, dword [esi]
push 8
mov ebx, dword [eax + 0xc]
call fcn.6d645c02
lea eax, [ebx + eax*4]
mov ebx, dword [ebp + 0xc]
pop ecx
mov al, byte [eax + ebx]
xor ecx, ecx
cmp al, 0x64
sete cl
test ecx, ecx
mov dword [ebp + 0xc], ecx
je 0x6d6a19aa
mov eax, dword [esi]
push dword [eax + ebx*4 + 0x1c]
push edi
lea ecx, [ebp + 8]
call fcn.6d645ee5
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [esi]
mov eax, dword [eax + 0x14]
lea ecx, [eax + 8]
mov eax, dword [eax + 8]
call dword [eax + 0x38]
test eax, eax
je 0x6d6a19a7
mov ecx, dword [edi + 0x90]
push eax
call fcn.6d67a638
mov dword [ebp + 8], eax
lea ecx, [ebp - 0x14]
call fcn.6d741b93
cmp dword [ebp + 0xc], 0
je 0x6d6a1b7b
mov eax, dword [esi]
mov eax, dword [eax + 0x14]
lea ecx, [eax + 8]
mov eax, dword [eax + 8]
call dword [eax + 0x34]
test eax, eax
je 0x6d6a19da
mov ecx, dword [edi + 0x90]
push eax
call fcn.6d67a638
push edi
push 1
push eax
push dword [ebp + 8]
push dword [ebp - 4]
call fcn.6d742550
add esp, 0x14
cmp dword [edi + 4], 0
jne 0x6d6a1a0f
push eax
push edi
lea ecx, [ebp + 0xc]
call fcn.6d645ee5
push edi
push dword [ebp + 0xc]
push esi
call fcn.6d6a1dea
add esp, 0xc
cmp dword [edi + 4], 0
je 0x6d6a1a16
xor eax, eax
jmp 0x6d6a1b85
cmp dword [0x6d7b5a94], 0
je 0x6d6a1b3f
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x6d6a1a2c
mov eax, dword [eax]
lea ecx, [eax + 8]
mov eax, dword [eax + 8]
call dword [eax + 0x80]
test eax, eax
jne 0x6d6a1b3f
push dword [0x6d7a23c4]
mov edi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
call edi
push eax
lea ecx, [ebp - 0x14]
call fcn.6d64bc19
push dword [0x6d7a23c4]
or dword [ebp + 8], 0xffffffff
xor ebx, ebx
call edi
cmp dword [eax + 0xa8], ebx
je 0x6d6a1ab0
push dword [0x6d7a23c4]
call edi
push ebx
push eax
lea ecx, [ebp - 0xbc]
call fcn.6d7624bf
cmp dword [ebp - 0x2c], 2
je 0x6d6a1ab0
push dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
call fcn.6d713284
mov dword [ebp + 8], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x14]
mov ecx, dword [eax + 0x98]
test ecx, ecx
je 0x6d6a1ab0
call fcn.6d7415c5
mov ebx, eax
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x6d6a1abb
xor ecx, ecx
jmp 0x6d6a1abd
mov ecx, dword [eax]
mov edx, dword [esi]
mov esi, dword [edx + 0x14]
cmp ecx, esi
je 0x6d6a1b29
test ebx, ebx
je 0x6d6a1afb
test eax, eax
je 0x6d6a1ad0
mov eax, dword [eax]
push dword [ebp + 8]
lea ecx, [eax + 8]
push ebx
call fcn.6d7085ea
push eax
lea ecx, [esi + 8]
call fcn.6d7085ea
push eax
push str.RESOLVE__s__s__s:_d_n
push dword [0x6d7bf31c]
call fcn.6d71fd90
add esp, 0x18
jmp 0x6d6a1b26
test eax, eax
je 0x6d6a1b01
mov eax, dword [eax]
lea ecx, [eax + 8]
call fcn.6d7085ea
push eax
lea ecx, [esi + 8]
call fcn.6d7085ea
push eax
push str.RESOLVE__s__s_n
push dword [0x6d7bf31c]
call fcn.6d71fd90
add esp, 0x10
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x6d6a1b31
xor esi, esi
jmp 0x6d6a1b33
mov esi, dword [eax]
lea ecx, [ebp - 0x14]
call fcn.6d6a63ec
mov eax, esi
jmp 0x6d6a1b85
push 1
push edi
push esi
lea ecx, [ebp - 0x14]
call fcn.6d741b5e
mov eax, dword [esi]
push 8
mov edi, dword [eax + 0xc]
call fcn.6d645c02
lea eax, [edi + eax*4]
pop ecx
cmp byte [eax + ebx], 0x64
jne 0x6d6a1b73
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x6d6a1b6a
mov eax, dword [eax]
mov ecx, dword [esi]
push eax
push ebx
call fcn.6d6a28e4
lea ecx, [ebp - 0x14]
call fcn.6d741b93
mov esi, dword [esi]
push ebx
mov ecx, esi
call fcn.6d68351d
pop edi
pop esi
pop ebx
leave
ret