Function at 0x41dfa0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4749ff
mov eax, dword fs:[0]
push eax
sub esp, 0x17c
push ebx
push esi
push edi
mov eax, dword [0x498068]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], ebx
cmp dword [0x49ad1c], 1
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
jne 0x41e047
cmp dword [0x49ad2c], 3
jg 0x41e047
cmp byte [edi + 4], bl
jne 0x41e047
sub esp, 8
mov dword [ebp - 0xd8], 3
lea ecx, [ebp - 0xd0]
call fcn.00422bb0
mov dword [ebp - 0x34], str.d:devopsworkspacep_37d34ce895ed4865ac95061b653d796fmisc_setup3uninstalluninstall_main_runner.cpp
mov dword [ebp - 0x30], 0x55
call esi
push 0x55
push str.d:devopsworkspacep_37d34ce895ed4865ac95061b653d796fmisc_setup3uninstalluninstall_main_runner.cpp
lea ecx, [ebp - 0xd8]
mov dword [ebp - 0x2c], eax
call fcn.00425610
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0xd0]
mov ebx, 1
mov edx, str.Check_failed:_is_initialized_.
mov dword [ebp - 0x10], ebx
call fcn.00407130
mov dword [ebp - 4], 0xffffffff
test bl, 1
je 0x41e064
and ebx, 0xfffffffe
lea ecx, [ebp - 0xd8]
mov dword [ebp - 0x10], ebx
call fcn.00425110
cmp dword [0x49ad1c], 1
jne 0x41e0d6
cmp dword [0x49ad2c], 3
jg 0x41e0d6
cmp byte [edi + 5], 0
je 0x41e0d6
sub esp, 8
mov dword [ebp - 0xd8], 3
lea ecx, [ebp - 0xd0]
call fcn.00422bb0
mov dword [ebp - 0x34], str.d:devopsworkspacep_37d34ce895ed4865ac95061b653d796fmisc_setup3uninstalluninstall_main_runner.cpp
mov dword [ebp - 0x30], 0x56
call esi
push 0x56
push str.d:devopsworkspacep_37d34ce895ed4865ac95061b653d796fmisc_setup3uninstalluninstall_main_runner.cpp
lea ecx, [ebp - 0xd8]
mov dword [ebp - 0x2c], eax
call fcn.00425610
or ebx, 2
mov dword [ebp - 4], 1
mov edx, str.Check_failed:__is_shutdown_.
mov dword [ebp - 0x10], ebx
lea ecx, [ebp - 0xd0]
call fcn.00407130
mov dword [ebp - 4], 0xffffffff
test bl, 2
je 0x41e0f3
and ebx, 0xfffffffd
lea ecx, [ebp - 0xd8]
mov dword [ebp - 0x10], ebx
call fcn.00425110
call fcn.00421510
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp dword [0x49ad1c], 1
mov esi, eax
jne 0x41e179
cmp dword [0x49ad2c], 3
jg 0x41e179
test esi, esi
jne 0x41e179
sub esp, 8
mov dword [ebp - 0xd8], 3
lea ecx, [ebp - 0xd0]
call fcn.00422bb0
mov dword [ebp - 0x34], str.d:devopsworkspacep_37d34ce895ed4865ac95061b653d796fmisc_setup3_basemessage_loop.h
mov dword [ebp - 0x30], 0x22d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x22d
push str.d:devopsworkspacep_37d34ce895ed4865ac95061b653d796fmisc_setup3_basemessage_loop.h
lea ecx, [ebp - 0xd8]
mov dword [ebp - 0x2c], eax
call fcn.00425610
or ebx, 4
mov dword [ebp - 4], 2
mov edx, str.Check_failed:_loop.
mov dword [ebp - 0x10], ebx
lea ecx, [ebp - 0xd0]
call fcn.00407130
mov dword [ebp - 4], 0xffffffff
test bl, 4
je 0x41e190
lea ecx, [ebp - 0xd8]
call fcn.00425110
cmp dword [0x49ad1c], 1
jne 0x41e1f4
cmp dword [0x49ad2c], 3
jg 0x41e1f4
mov eax, dword [esi + 4]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], 1
cmp eax, 1
je 0x41e1f4
push str.MessageLoop::TYPE_UI__loop__type__
lea edx, [ebp - 0x10]
lea ecx, [ebp - 0x14]
call fcn.004230e0
add esp, 4
test eax, eax
je 0x41e1f4
push eax
push ecx
push 0x22e
push str.d:devopsworkspacep_37d34ce895ed4865ac95061b653d796fmisc_setup3_basemessage_loop.h
lea ecx, [ebp - 0x188]
call fcn.00425070
lea ecx, [ebp - 0x188]
mov dword [ebp - 4], 0xffffffff
call fcn.00425110
mov dword [ebp - 0x1c], esi
mov eax, dword [esi + 0xb4]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x41e20c
mov eax, dword [eax]
inc eax
mov dword [ebp - 0x28], eax
jmp 0x41e213
mov dword [ebp - 0x28], 1
lea eax, [ebp - 0x28]
mov ecx, esi
mov dword [esi + 0xb4], eax
mov eax, dword [esi + 0xb4]
mov byte [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [eax + 8], 0
cmp byte [esi + 0x69], 0
je 0x41e243
call fcn.00420140
jmp 0x41e248
call fcn.004201c0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
mov dword [eax + 0xb4], ecx
mov eax, dword [edi + 8]
mov eax, dword [eax + 0xc]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret