Function at 0x610a8a30
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2c
mov esi, dword [ebp + 0x14]
call sym.cygwin1.dll_pthread_testcancel
mov eax, dword [ebp + 0x10]
and eax, 0xfffffffc
mov dword [ebp - 0x10], eax
call fcn.61089f00
mov ecx, dword [ebp - 0x10]
test ecx, ecx
jne 0x610a8cfd
test esi, esi
je 0x610a8a6b
cld
mov eax, dword [ebp - 0x10]
mov ecx, 0x12
mov edi, esi
rep stosd dword es:[edi], eax
mov eax, dword [0x610eda8c]
mov dword [esp], eax
call sub.KERNEL32.dll_TlsGetValue
sub esp, 4
mov ebx, eax
test eax, eax
je 0x610a8ca9
mov dword [ebx + 0x10], esi
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov dword [ebx], edx
mov dword [ebx + 4], eax
mov edx, dword [0x610f08a0]
test edx, edx
jne 0x610a8c76
mov edx, ebx
mov eax, 4
call fcn.61089300
test eax, eax
je 0x610a8c35
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x610a8bfb
mov dword [esp + 8], 1
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
call fcn.6109c250
mov edi, eax
mov eax, dword [0x610f08a0]
test eax, eax
jne 0x610a8c08
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x610a8bfb
mov eax, dword [ebx + 8]
cmp eax, 0xffffffff
je 0x610a8bd0
test edi, edi
jne 0x610a8bba
mov edi, dword [ebx]
test edi, edi
je 0x610a8b18
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x610a8b18
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov edx, dword [0x610f08a0]
test edx, edx
jne 0x610a8b71
mov dword [ebx + 8], 0xffffffff
test edi, edi
js 0x610a8b37
mov eax, edi
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [0x610f08a0]
test eax, eax
je 0x610a8b2d
call sym.cygwin1.dll___errno
mov eax, dword [eax]
mov dword [esp + 0xc], 0x610a8965
mov dword [esp + 8], 0x610a8940
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x800
mov dword [esp], 0x610f089c
call fcn.6108fd50
jmp 0x610a8b2d
mov dword [esp + 0x20], edi
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 8]
mov dword [esp + 0x14], edx
mov dword [esp + 0xc], 0x610a8980
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 8]
mov dword [esp + 8], 0x610a8940
mov dword [esp + 4], 0x800
mov dword [esp + 0x10], eax
mov dword [esp], 0x610f089c
call fcn.6108fd50
jmp 0x610a8b22
call sym.cygwin1.dll___errno
mov dword [eax], 0x16
mov edi, 0xffffffff
jmp 0x610a8b18
mov dword [esp], 4
mov edi, 0xffffffff
call fcn.610258a0
sub esp, 4
call fcn.61026ab0
call fcn.61026ab0
test eax, eax
jne 0x610a8a4a
jmp 0x610a8b18
call sym.cygwin1.dll___errno
mov dword [eax], 0xa
jmp 0x610a8bc5
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], 0x610a89c0
mov dword [esp + 8], 0x610a8940
mov dword [esp + 4], 0x800
mov dword [esp], 0x610f089c
call fcn.6108fd50
jmp 0x610a8ae7
call sym.cygwin1.dll___errno
mov dword [eax], 0x58
mov eax, dword [0x610f08a0]
test eax, eax
je 0x610a8bc5
mov dword [esp + 0xc], 0x610a89df
mov dword [esp + 8], 0x610a8940
mov dword [esp + 4], pe_nt_image_headers32
mov dword [esp], 0x610f089c
call fcn.6108fd50
jmp 0x610a8bc5
mov dword [esp + 0x14], eax
mov eax, dword [ebx]
mov dword [esp + 0xc], 0x610a8a00
mov dword [esp + 8], 0x610a8940
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x800
mov dword [esp], 0x610f089c
call fcn.6108fd50
jmp 0x610a8aa1
mov dword [esp], 0x610eda88
mov eax, dword [0x610eda88]
call dword [eax + 4]
mov dword [esp], eax
call fcn.61001cc0
mov dword [esp], 0x610eda88
mov ebx, eax
mov eax, dword [0x610eda88]
call dword [eax + 4]
mov dword [esp + 4], 0
mov dword [esp], ebx
mov dword [esp + 8], eax
call sym.cygwin1.dll__memset
mov dword [esp + 4], ebx
mov eax, dword [0x610eda88]
mov dword [esp], 0x610eda88
call dword [eax + 8]
jmp 0x610a8a85
call sym.cygwin1.dll___errno
mov dword [eax], 0x16
mov eax, 0xffffffff
jmp 0x610a8b2f