Function at 0x453950
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
push 5
pop edx
lea ecx, [ebp - 0xc]
call fcn.004536eb
call fcn.00445313
mov ecx, eax
call fcn.0043a258
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x453973
mov ebx, dword [sym.imp.KERNEL32.DLL_TlsGetValue]
sub eax, edx
mov dword [ebp - 4], eax
cmp byte [0x4c3bb0], cl
je 0x4539c2
mov eax, dword [0x4c3bb4]
cmp eax, 0xffffffff
je 0x4539c2
push eax
call ebx
mov esi, eax
test esi, esi
jne 0x4539c4
push 0x20
call sub.MSVCRT.dll_malloc
pop ecx
push 8
mov esi, eax
pop ecx
xor eax, eax
mov edi, esi
push esi
rep stosd dword es:[edi], eax
push dword [0x4c3bb4]
call dword [sym.imp.KERNEL32.DLL_TlsSetValue]
jmp 0x4539c4
xor esi, esi
mov eax, dword [ebp - 4]
inc eax
mov dword [esi + 0x14], eax
cmp byte [0x4c3bb0], 0
mov esi, dword [0x4c3bb4]
je 0x453a12
cmp esi, 0xffffffff
je 0x453a12
push esi
call ebx
mov esi, eax
test esi, esi
jne 0x453a08
push 0x20
call sub.MSVCRT.dll_malloc
pop ecx
push 8
mov esi, eax
pop ecx
xor eax, eax
mov edi, esi
push esi
rep stosd dword es:[edi], eax
push dword [0x4c3bb4]
call dword [sym.imp.KERNEL32.DLL_TlsSetValue]
mov eax, esi
mov esi, dword [0x4c3bb4]
jmp 0x453a14
xor eax, eax
mov eax, dword [eax + 0x14]
call section..text
cmp byte [0x4c3bb0], 0
mov dword [ebp - 4], esp
je 0x453a58
cmp esi, 0xffffffff
je 0x453a58
push esi
call ebx
mov esi, eax
test esi, esi
jne 0x453a5a
push 0x20
call sub.MSVCRT.dll_malloc
pop ecx
push 8
mov esi, eax
pop ecx
xor eax, eax
mov edi, esi
push esi
rep stosd dword es:[edi], eax
push dword [0x4c3bb4]
call dword [sym.imp.KERNEL32.DLL_TlsSetValue]
jmp 0x453a5a
xor esi, esi
mov eax, dword [ebp - 4]
mov dword [esi + 0x18], eax
cmp byte [0x4c3bb0], 0
mov eax, dword [0x4c3bb4]
je 0x453aa6
cmp eax, 0xffffffff
je 0x453aa6
push eax
call ebx
mov esi, eax
test esi, esi
jne 0x453a9c
push 0x20
call sub.MSVCRT.dll_malloc
pop ecx
push 8
mov esi, eax
pop ecx
xor eax, eax
mov edi, esi
push esi
rep stosd dword es:[edi], eax
push dword [0x4c3bb4]
call dword [sym.imp.KERNEL32.DLL_TlsSetValue]
mov eax, dword [0x4c3bb4]
mov dword [ebp - 4], esi
jmp 0x453aaa
and dword [ebp - 4], 0
cmp byte [0x4c3bb0], 0
je 0x453ae5
cmp eax, 0xffffffff
je 0x453ae5
push eax
call ebx
mov esi, eax
test esi, esi
jne 0x453ae1
push 0x20
call sub.MSVCRT.dll_malloc
pop ecx
push 8
mov esi, eax
pop ecx
xor eax, eax
mov edi, esi
push esi
rep stosd dword es:[edi], eax
push dword [0x4c3bb4]
call dword [sym.imp.KERNEL32.DLL_TlsSetValue]
mov edi, esi
jmp 0x453ae7
xor edi, edi
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x14]
call fcn.00445313
mov ecx, eax
call fcn.0043a258
mov ecx, dword [edi + 0x18]
push esi
push eax
push ecx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov edi, eax
call fcn.0045375e
mov esi, eax
test esi, esi
jne 0x453b19
mov eax, 0x48e143
push 0x48ef88
push str.main
lea ecx, [ebp - 0xc]
push ecx
push edi
push 0x4415cde
push eax
push str.http:__apps.bittorrent.com_store_store.btapp
push str._s_h_sv_dol_Uul_Utk_Uc_U
call fcn.0043b73c
add esp, 0x20
mov ecx, esi
mov edi, eax
call fcn.004433ab
mov eax, edi
lea esp, [ebp - 0x18]
pop edi
pop esi
pop ebx
leave
ret