Function at 0x1f0197e0
Capabilities:
Get thread local storage value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1f05615b
push eax
mov dword fs:[0], esp
mov eax, dword [0x1f0837c0]
sub esp, 8
push esi
push edi
xor edi, edi
push eax
cmp eax, 0x40
jae 0x1f01980e
call section..text
jmp 0x1f019814
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
jne 0x1f019830
pop edi
mov eax, 1
pop esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret
cmp dword [esi + 4], edi
je 0x1f01981a
push ebx
push ebp
mov ebp, dword [esp + 0x28]
cmp dword [0x1f0837dc], edi
je 0x1f0198dd
cmp dword [ebp], 0xc00000fd
jne 0x1f0198dd
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x1f0829e0], edi
je 0x1f01986c
call ebx
cmp dword [0x1f0829e0], eax
je 0x1f0198dd
mov eax, dword [0x1f0837e0]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call ebx
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov dword [0x1f0829e0], eax
mov eax, dword [esp + 0x34]
mov dword [0x1f07e9bc], ecx
mov dword [0x1f07e9c8], edx
mov dword [0x1f07e9b8], ebp
mov dword [0x1f07e9c0], eax
mov dword [0x1f07e9c4], 1
call fcn.1f013e30
mov ecx, dword [0x1f0837e0]
push ecx
mov esi, eax
mov dword [0x1f0829e0], edi
call dword [sym.imp.KERNEL32.dll_SetEvent]
pop ebp
pop ebx
pop edi
mov eax, esi
pop esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret
mov eax, dword [esi + 4]
mov edx, dword [eax]
mov ecx, dword [edx + 4]
cmp dword [ecx + eax + 0x10], edi
je 0x1f01993d
jmp 0x1f0198f0
mov eax, dword [esi + 4]
mov edx, dword [eax]
mov ecx, dword [edx + 4]
mov edx, dword [ecx + eax + 0x10]
mov edi, dword [edx]
cmp dword [edi + 0x48], 0
je 0x1f01993d
mov eax, dword [esi + 8]
test eax, eax
je 0x1f01991d
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
lea ecx, [edx + eax]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
push edi
push 0
call edx
mov eax, dword [ebp]
mov ecx, dword [esi + 4]
push eax
push ecx
push esi
call fcn.1f018e50
mov eax, dword [esi + 4]
mov edx, dword [eax]
mov ecx, dword [edx + 4]
add esp, 0xc
cmp dword [ecx + eax + 0x10], 0
jne 0x1f0198f0
mov eax, dword [esi + 4]
mov edx, dword [eax]
mov ecx, dword [edx + 4]
cmp dword [ecx + eax + 0x10], 0
je 0x1f019acd
mov edx, dword [edi + 0x38]
cmp dword [edx + 0x1b44], 2
mov ebx, dword [edi + 0x40]
jne 0x1f019ae5
mov ebx, dword [esi + 0xc]
mov dword [esp + 0x14], 0
test ebx, ebx
jne 0x1f01999b
push 8
call fcn.1f03e832
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], ebx
test eax, eax
je 0x1f01998c
mov dword [eax], ebx
jmp 0x1f01998e
xor eax, eax
mov dword [esp + 0x20], 0xffffffff
mov ebx, eax
mov dword [esi + 0xc], eax
cmp dword [ebx], 0
mov dword [esp + 0x10], 0
jne 0x1f019a64
mov eax, dword [esp + 0x30]
push 1
push eax
push ebp
push edi
call fcn.1f017670
mov esi, dword [esi + 4]
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
mov esi, dword [edx + esi + 0x10]
add esp, 0x10
test esi, esi
je 0x1f019a35
lea ecx, [ecx]
mov edi, dword [esi]
mov eax, dword [edi + 0x38]
test eax, eax
je 0x1f0199e2
cmp dword [eax + 0x1b74], 0
jne 0x1f019a2e
mov ecx, dword [0x1f08371c]
test ecx, ecx
je 0x1f0199fe
call fcn.1f0276e0
test eax, eax
je 0x1f0199fe
push edi
call fcn.1f014100
add esp, 4
cmp dword [esp + 0x14], 0
jne 0x1f019a1e
mov eax, dword [edi + 0x40]
cmp eax, 0x1f01a030
je 0x1f019a1e
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 1
mov dword [ebx + 4], esi
mov eax, dword [edi + 0x44]
mov ecx, dword [edi + 0x40]
push eax
push ecx
call fcn.1f01a0f0
add esp, 8
mov esi, dword [esi + 8]
test esi, esi
jne 0x1f0199d0
mov dword [ebx], 1
mov ebx, dword [esp + 0x10]
push ebx
call dword [sym.imp.KERNEL32.dll_IsBadCodePtr]
test eax, eax
mov eax, 1
jne 0x1f019a51
mov eax, ebx
pop ebp
pop ebx
pop edi
pop esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret
xor edx, edx
cmp edx, 0x1f01a030
jne 0x1f019a3b
cmp dword [ebx + 4], edx
jne 0x1f019a82
mov esi, dword [esi + 4]
mov eax, dword [esi]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + esi + 0x10]
mov dword [ebx + 4], edx
mov eax, dword [ebx + 4]
mov esi, dword [eax + 8]
test esi, esi
je 0x1f019abf
mov ebp, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
mov edi, dword [esi]
mov ecx, dword [edi + 0x44]
push 4
push ecx
call ebp
test eax, eax
jne 0x1f019aab
mov edx, dword [edi + 0x44]
cmp dword [edx], 0x1f01a030
jne 0x1f019ab4
mov esi, dword [esi + 8]
test esi, esi
jne 0x1f019a92
jmp 0x1f019abf
mov eax, edx
mov ecx, dword [eax]
mov dword [esp + 0x10], ecx
mov dword [ebx + 4], esi
cmp dword [esp + 0x10], 0x1f01a030
jne 0x1f019a3b
mov ecx, dword [esp + 0x18]
pop ebp
pop ebx
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
mov edx, dword [edi + 0x44]
push edx
push ebx
call fcn.1f01a0f0
mov eax, dword [esp + 0x38]
push 1
push eax
push ebp
push edi
call fcn.1f017670
mov eax, dword [esi + 8]
add esp, 0x18
test eax, eax
je 0x1f019b26
mov edx, dword [esi + 4]
mov edi, dword [edx]
mov ecx, dword [eax]
mov edi, dword [edi + 4]
mov ecx, dword [ecx + 4]
mov edx, dword [edi + edx + 0x10]
mov edx, dword [edx]
add ecx, eax
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
push edx
push 0
call eax
mov ecx, dword [ebp]
mov edx, dword [esi + 4]
push ecx
push edx
push esi
call fcn.1f018e50
add esp, 0xc
jmp 0x1f019a3f