Function at 0x426540
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f205d
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
push edi
mov eax, dword [0x535a40]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 2
call fcn.004c8d7a
xor ecx, ecx
mov dword [ebp - 0x10], eax
add esp, 4
mov word [eax], cx
mov esi, dword [ebp + 0x18]
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
mov dword [ebp - 4], ecx
cmp esi, 0xffffffff
jne 0x426781
push 0x4f9d20
mov dword [ebp - 0x34], ecx
call fcn.004c8d00
push 0
mov dword [ebp - 0x34], eax
call fcn.004c8d5f
push 0x4f9d20
mov dword [ebp - 0x30], 0
call fcn.004c8d00
push 0
mov dword [ebp - 0x30], eax
call fcn.004c8d5f
push 0x4f9d20
mov dword [ebp - 0x2c], 0
call fcn.004c8d00
push 0
mov dword [ebp - 0x2c], eax
call fcn.004c8d5f
push 0x4f9d20
mov dword [ebp - 0x28], 0
call fcn.004c8d00
push 0
mov dword [ebp - 0x28], eax
call fcn.004c8d5f
push 0x4f9d20
mov dword [ebp - 0x24], 0
call fcn.004c8d00
push 0
mov dword [ebp - 0x24], eax
call fcn.004c8d5f
push 0x4f9d20
mov dword [ebp - 0x20], 0
call fcn.004c8d00
push 0
mov dword [ebp - 0x20], eax
call fcn.004c8d5f
push 0x4f9d20
mov dword [ebp - 0x1c], 0
call fcn.004c8d00
push 0
mov dword [ebp - 0x1c], eax
call fcn.004c8d5f
mov esi, 0x4f9d20
mov dword [ebp - 0x18], 0
test ebx, ebx
mov edi, esi
cmovne edi, ebx
push edi
call fcn.004c8d00
push 0
mov dword [ebp - 0x18], eax
call fcn.004c8d5f
add esp, 0x40
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x40]
push eax
call fcn.00409cf0
mov ebx, eax
mov eax, dword [ebp + 0x14]
test eax, eax
mov dword [ebp - 0x14], 0
cmovne esi, eax
push esi
call fcn.004c8d00
push 0
mov dword [ebp - 0x14], eax
call fcn.004c8d5f
push edi
mov dword [ebp + 0x18], 0
call fcn.004c8d00
push 0
mov dword [ebp + 0x18], eax
call fcn.004c8d5f
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp + 0x18]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x3c]
push eax
call fcn.00409cf0
push 0xffffffffffffffff
push 0
push 0
lea ecx, [ebp - 0x34]
mov edi, dword [ebp + 8]
push ecx
mov ecx, dword [ebp + 0x1c]
movzx ecx, cl
push ecx
push 0
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xc
push ecx
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x20]
push ecx
push ebx
push eax
push 0
push 0xffffffffffffffff
push 0
push edi
call fcn.00405550
add esp, 0x74
mov esi, eax
push dword [ebp - 0x3c]
call fcn.004c8d5f
push dword [ebp + 0x18]
call fcn.004c8d5f
push dword [ebp - 0x14]
call fcn.004c8d5f
push dword [ebp - 0x40]
call fcn.004c8d5f
push dword [ebp - 0x18]
call fcn.004c8d5f
push dword [ebp - 0x1c]
call fcn.004c8d5f
push dword [ebp - 0x20]
call fcn.004c8d5f
push dword [ebp - 0x24]
call fcn.004c8d5f
push dword [ebp - 0x28]
call fcn.004c8d5f
push dword [ebp - 0x2c]
call fcn.004c8d5f
push dword [ebp - 0x30]
call fcn.004c8d5f
push dword [ebp - 0x34]
mov byte [ebp - 4], 0
call fcn.004c8d5f
mov ebx, dword [ebp + 0x10]
add esp, 0x30
lea eax, [ebp - 0x38]
push eax
push dword [0x539fd0]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
or eax, 0x20019
push eax
push 0
push ebx
push dword [ebp + 0xc]
call fcn.004086c0
add esp, 0x14
test eax, eax
jne 0x4267ff
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push dword [ebp + 0x14]
push dword [ebp - 0x38]
call fcn.004151a0
add esp, 0x14
test eax, eax
jne 0x4267f6
mov ebx, dword [ebp + 0x1c]
test bl, bl
jne 0x4267e4
push 0x4f9dfc
lea ecx, [ebp - 0x10]
call fcn.004050e0
push str.AutorunsDisabled
lea ecx, [ebp - 0x10]
call fcn.004050e0
mov eax, dword [ebp - 0x10]
push ebx
push esi
push eax
push eax
push edi
call fcn.00426820
add esp, 0x14
mov esi, eax
push dword [ebp - 0x38]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x10]
call fcn.004c8d5f
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret