Function at 0x1f019880
Capabilities:
Get thread local storage value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1f0562cb
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 0x1f0198ae
call section..text
jmp 0x1f0198b4
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
jne 0x1f0198d0
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 0x1f0198ba
push ebx
push ebp
mov ebp, dword [esp + 0x28]
cmp dword [0x1f0837dc], edi
je 0x1f01997d
cmp dword [ebp], 0xc00000fd
jne 0x1f01997d
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x1f0829e0], edi
je 0x1f01990c
call ebx
cmp dword [0x1f0829e0], eax
je 0x1f01997d
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.1f013ee0
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 0x1f0199dd
jmp 0x1f019990
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 0x1f0199dd
mov eax, dword [esi + 8]
test eax, eax
je 0x1f0199bd
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.1f018ef0
mov eax, dword [esi + 4]
mov edx, dword [eax]
mov ecx, dword [edx + 4]
add esp, 0xc
cmp dword [ecx + eax + 0x10], 0
jne 0x1f019990
mov eax, dword [esi + 4]
mov edx, dword [eax]
mov ecx, dword [edx + 4]
cmp dword [ecx + eax + 0x10], 0
je 0x1f019b6d
mov edx, dword [edi + 0x38]
cmp dword [edx + 0x1b44], 2
mov ebx, dword [edi + 0x40]
jne 0x1f019b85
mov ebx, dword [esi + 0xc]
mov dword [esp + 0x14], 0
test ebx, ebx
jne 0x1f019a3b
push 8
call fcn.1f03e9a2
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], ebx
test eax, eax
je 0x1f019a2c
mov dword [eax], ebx
jmp 0x1f019a2e
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 0x1f019b04
mov eax, dword [esp + 0x30]
push 1
push eax
push ebp
push edi
call fcn.1f017710
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 0x1f019ad5
lea ecx, [ecx]
mov edi, dword [esi]
mov eax, dword [edi + 0x38]
test eax, eax
je 0x1f019a82
cmp dword [eax + 0x1b74], 0
jne 0x1f019ace
mov ecx, dword [0x1f08371c]
test ecx, ecx
je 0x1f019a9e
call fcn.1f027780
test eax, eax
je 0x1f019a9e
push edi
call fcn.1f0141a0
add esp, 4
cmp dword [esp + 0x14], 0
jne 0x1f019abe
mov eax, dword [edi + 0x40]
cmp eax, 0x1f01a0c0
je 0x1f019abe
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.1f01a180
add esp, 8
mov esi, dword [esi + 8]
test esi, esi
jne 0x1f019a70
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 0x1f019af1
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, 0x1f01a0c0
jne 0x1f019adb
cmp dword [ebx + 4], edx
jne 0x1f019b22
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 0x1f019b5f
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 0x1f019b4b
mov edx, dword [edi + 0x44]
cmp dword [edx], 0x1f01a0c0
jne 0x1f019b54
mov esi, dword [esi + 8]
test esi, esi
jne 0x1f019b32
jmp 0x1f019b5f
mov eax, edx
mov ecx, dword [eax]
mov dword [esp + 0x10], ecx
mov dword [ebx + 4], esi
cmp dword [esp + 0x10], 0x1f01a0c0
jne 0x1f019adb
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.1f01a180
mov eax, dword [esp + 0x38]
push 1
push eax
push ebp
push edi
call fcn.1f017710
mov eax, dword [esi + 8]
add esp, 0x18
test eax, eax
je 0x1f019bc6
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.1f018ef0
add esp, 0xc
jmp 0x1f019adf