Function at 0x6a9f70
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7099fd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
mov ecx, dword [ebp + 8]
xorps xmm0, xmm0
cmp ecx, 0xffffffff
movq qword [ebp - 0x54], xmm0
mov eax, dword [ebp - 0x54]
cmovne eax, ecx
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x54], eax
xor eax, eax
cmp ecx, 0xffffffff
mov dword [ebp - 0x18], 0xffffffff
push esi
setne al
mov dword [ebp - 0x10], 0xffffffff
dec eax
mov dword [ebp - 0x20], eax
xor eax, eax
cmp ecx, 0xffffffff
mov ecx, dword [0x7f51b4]
push edi
setne al
mov dword [ebp + 8], eax
cmp ecx, 0xffffffff
jne 0x6a9fe2
mov edi, eax
mov dword [ebp - 0x14], edi
jmp 0x6aa043
mov edi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
push ecx
call edi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x14], esi
test eax, eax
je 0x6aa041
mov eax, dword [0x7f51b4]
cmp eax, 0xffffffff
jne 0x6aa003
xor ecx, ecx
jmp 0x6aa00d
push eax
call edi
mov ecx, eax
mov eax, dword [0x7f51b4]
cmp byte [ecx + 0x38], 0
mov dword [ebp - 0x14], esi
je 0x6aa041
mov dword [ebp - 0x18], esi
cmp eax, 0xffffffff
jne 0x6aa02f
xor eax, eax
lea edi, [esi + 1]
mov dword [ebp - 0x14], edi
mov eax, dword [eax + 0x34]
mov dword [ebp + esi*4 - 0x54], eax
jmp 0x6aa043
push eax
call edi
lea edi, [esi + 1]
mov dword [ebp - 0x14], edi
mov eax, dword [eax + 0x34]
mov dword [ebp + esi*4 - 0x54], eax
jmp 0x6aa043
mov edi, esi
xor esi, esi
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp + 0x14]
and eax, dword [ebp + 0x18]
mov dword [ebp - 4], esi
cmp eax, 0xffffffff
je 0x6aa0d4
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp + 0xc]
call fcn.006aa480
mov eax, dword [ebp - 0x34]
cmp eax, 0x14
jbe 0x6aa0b4
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateWaitableTimerA]
mov esi, eax
mov dword [ebp - 0x1c], esi
test esi, esi
je 0x6aa0d4
lea eax, [ebp + 0xc]
push eax
call fcn.006a9d10
add esp, 4
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
mov dword [ebp - 0x2c], edx
push 0
push 0
push 0
push 0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetWaitableTimer]
test eax, eax
je 0x6aa0d4
mov edx, edi
mov dword [ebp + edi*4 - 0x54], esi
inc edi
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], edi
jmp 0x6aa0d7
cmp byte [ebp + 0x1c], 0
jne 0x6aa0d4
push 0
push eax
lea ecx, [ebp - 0x74]
call fcn.0050c2d0
movups xmm0, xmmword [eax]
movups xmmword [ebp + 0xc], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [ebp + 0x1c], xmm0
or edx, 0xffffffff
mov byte [ebp + 0xb], 0
xor edi, edi
mov eax, dword [sym.imp.KERNEL32.dll_Sleep]
cmp edx, 0xffffffff
jne 0x6aa1d8
mov eax, dword [ebp + 0x14]
and eax, dword [ebp + 0x18]
cmp eax, edx
jne 0x6aa101
mov byte [ebp - 0x28], 1
lea edi, [edx - 1]
jmp 0x6aa1ca
cmp byte [ebp + 0x1c], 0
je 0x6aa173
mov ecx, dword [0x9f7978]
test ecx, ecx
jne 0x6aa138
push str.GetTickCount64
push 0x749abc
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov ecx, 0x50ea50
cmovne ecx, eax
mov dword [0x9f7978], ecx
call ecx
sub eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x18]
sbb edx, dword [ebp + 0x10]
cmp edx, ecx
ja 0x6aa166
mov edi, dword [ebp + 0x14]
jb 0x6aa150
cmp eax, edi
jae 0x6aa166
sub edi, eax
sbb ecx, edx
jne 0x6aa15b
cmp edi, 0xfffffffe
jbe 0x6aa1c3
mov byte [ebp - 0x28], 1
mov edi, 0xfffffffe
jmp 0x6aa1c7
xorps xmm0, xmm0
movlpd qword [ebp - 0x38], xmm0
mov edi, dword [ebp - 0x38]
jmp 0x6aa1c3
lea eax, [ebp - 0x30]
push fcn.006aaf90
push eax
call fcn.00512730
mov eax, dword [ebp - 0x2c]
add esp, 8
cmp eax, dword [ebp + 0x28]
jg 0x6aa1c1
jl 0x6aa196
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp + 0x24]
jae 0x6aa1c1
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp + 0x24]
call fcn.0052a7a0
push 0
push 0x3e8
push dword [eax + 4]
push dword [eax]
call fcn.006c0540
mov edi, eax
add edi, 1
adc edx, 0
jmp 0x6aa154
xor edi, edi
mov byte [ebp - 0x28], 0
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x40], eax
mov byte [ebp + 0xb], al
mov eax, dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x6aa234
cmp edx, 0xffffffff
mov eax, edi
push 0
mov edx, 0xffffffff
cmovne eax, edx
push eax
push 0
lea eax, [ebp - 0x54]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjectsEx]
cmp eax, dword [ebp - 0x14]
jae 0x6aa23e
cmp eax, dword [ebp - 0x20]
je 0x6aa25a
cmp eax, dword [ebp - 0x18]
je 0x6aa27c
mov edx, dword [ebp - 0x10]
cmp eax, edx
jne 0x6aa241
test esi, esi
je 0x6aa222
cmp esi, 0xffffffff
je 0x6aa222
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
test edi, edi
jne 0x6aa23b
push edi
jmp 0x6aa23c
push edi
call eax
mov edx, dword [ebp - 0x10]
cmp byte [ebp + 0x1c], 0
je 0x6aa24f
add dword [ebp + 0x14], 2
adc dword [ebp + 0x18], 0xffffffff
cmp byte [ebp + 0xb], 0
je 0x6aa212
jmp 0x6aa0dd
test esi, esi
je 0x6aa26a
cmp esi, 0xffffffff
je 0x6aa26a
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc]
mov al, 1
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
call fcn.006a9cf0
lea ecx, [eax + 0x34]
call fcn.004ff480
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push 0x7e2794
lea eax, [ebp + 0xb]
push eax
call fcn.006c19b9
int3