Function at 0x410b70
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44d8c5
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x46d45c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00402160
mov dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [0x46f464]
push ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
or eax, 0x20019
push eax
push 0
mov ecx, dword [ebp + 0x10]
call fcn.00402270
push eax
mov edx, dword [ebp + 0xc]
push edx
call fcn.004047c0
add esp, 0x14
test eax, eax
jne 0x410d83
mov dword [ebp - 0x14], 0
jmp 0x410bf3
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x28]
call fcn.00402160
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.00402160
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x20]
call fcn.00402160
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x10]
push eax
call fcn.0041d570
add esp, 0xc
test eax, eax
je 0x410c58
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x20]
call fcn.004021c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.004021c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.004021c0
jmp 0x410d79
lea ecx, [ebp - 0x20]
push ecx
push 0x455bc8
mov edx, dword [ebp + 0x10]
push edx
lea eax, [ebp - 0x2c]
push eax
call fcn.00410960
add esp, 0xc
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x3c], ecx
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x3c]
push edx
lea eax, [ebp - 0x30]
push eax
call fcn.004108d0
add esp, 0xc
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x44], ecx
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x44]
push edx
lea ecx, [ebp - 0x28]
call fcn.00402240
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x30]
call fcn.004021c0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c]
call fcn.004021c0
push 0
push 1
push 0xffffffffffffffff
movzx eax, byte [ebp + 0x18]
push eax
movzx ecx, byte [ebp + 0x14]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00402270
push eax
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0040f5f0
add esp, 0x20
mov dword [ebp - 0x18], eax
push 0x455bcc
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x34]
push edx
call fcn.00410960
add esp, 0xc
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x4c]
push ecx
lea ecx, [ebp - 0x24]
call fcn.00402240
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x34]
call fcn.004021c0
push 0
push 0
mov edx, dword [ebp - 0x18]
push edx
movzx eax, byte [ebp + 0x18]
push eax
movzx ecx, byte [ebp + 0x14]
push ecx
lea ecx, [ebp - 0x24]
call fcn.00402270
push eax
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0040f5f0
add esp, 0x20
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x20]
call fcn.004021c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.004021c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.004021c0
jmp 0x410bea
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.004021c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret