Function at 0x450996
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4afbd5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x6c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x1c]
test eax, eax
je 0x450a4f
lea eax, [ebp + 0x18]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x30]
movzx eax, byte [eax]
test eax, eax
je 0x4509ff
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x28]
mov dword [ecx], eax
jmp 0x450a4a
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x18]
mov dword [eax], 0
jmp 0x450a2d
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x18]
mov dword [ecx], eax
mov eax, dword [ebp - 0x18]
cmp dword [eax], 4
jge 0x450a4a
mov eax, dword [ebp - 0x18]
push dword [eax]
mov ecx, dword [ebp - 0x4c]
call fcn.00409fe1
mov dword [eax], 1
jmp 0x450a22
jmp 0x450b79
lea eax, [ebp + 8]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x2c], 0x75e8
mov dword [ebp - 0x50], str.lrtxbvmoi_abqehegy_lqauiqw_tdehkfjpq_tyhy_gifqgddr_jxgdsog_hiprm
cmp dword [ebp - 0x2c], 0x791d
jle 0x450ad7
and dword [ebp - 0x1c], 0
jmp 0x450a79
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x2c91
jge 0x450acf
and dword [ebp - 0x20], 0
jmp 0x450a8f
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x5520
jge 0x450acd
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x20]
cdq
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], edx
push dword [ebp - 0x60]
push dword [ebp - 0x64]
lea ecx, [ebp - 0x7c]
call fcn.00401a71
pop ecx
pop ecx
mov ecx, eax
call fcn.00409bb9
push eax
call fcn.00499a27
pop ecx
lea ecx, [ebp - 0x7c]
call fcn.00409baf
jmp 0x450a88
jmp 0x450a72
push 0
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x58], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x2c], 0x72a6
jge 0x450af3
push dword [ebp - 0x50]
call fcn.00499a27
pop ecx
jmp 0x450b0f
or dword [ebp - 4], 0xffffffff
jmp 0x450b19
mov eax, dword [ebp - 0x54]
movzx eax, byte [eax]
test eax, eax
je 0x450b68
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov dword [eax], 0xffffffe7
jmp 0x450b45
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x24]
mov dword [ecx], eax
mov eax, dword [ebp - 0x24]
cmp dword [eax], 0x29
jne 0x450b66
mov byte [ebp - 0x11], 0
push 0
lea eax, [ebp - 0x11]
push eax
push 0x50c1
call fcn.00461758
add esp, 0xc
jmp 0x450b3a
jmp 0x450b79
push 0
push 0x1f51
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetStringTypeW]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret