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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
push 5
mov dword [ebp - 8], ecx
pop edx
lea ecx, [ebp - 0x10]
call fcn.0045495c
call fcn.00446420
mov ecx, eax
call fcn.0043b2f1
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x454bc9
mov ebx, dword [sym.imp.KERNEL32.DLL_TlsGetValue]
sub eax, ecx
mov dword [ebp - 4], eax
cmp byte [0x4c6d08], dl
je 0x454c18
mov eax, dword [0x4c6d0c]
cmp eax, 0xffffffff
je 0x454c18
push eax
call ebx
mov esi, eax
test esi, esi
jne 0x454c1a
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 [0x4c6d0c]
call dword [sym.imp.KERNEL32.DLL_TlsSetValue]
jmp 0x454c1a
xor esi, esi
mov eax, dword [ebp - 4]
inc eax
mov dword [esi + 0x14], eax
cmp byte [0x4c6d08], 0
mov esi, dword [0x4c6d0c]
je 0x454c68
cmp esi, 0xffffffff
je 0x454c68
push esi
call ebx
mov esi, eax
test esi, esi
jne 0x454c5e
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 [0x4c6d0c]
call dword [sym.imp.KERNEL32.DLL_TlsSetValue]
mov eax, esi
mov esi, dword [0x4c6d0c]
jmp 0x454c6a
xor eax, eax
mov eax, dword [eax + 0x14]
call section..text
cmp byte [0x4c6d08], 0
mov dword [ebp - 4], esp
je 0x454cae
cmp esi, 0xffffffff
je 0x454cae
push esi
call ebx
mov esi, eax
test esi, esi
jne 0x454cb0
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 [0x4c6d0c]
call dword [sym.imp.KERNEL32.DLL_TlsSetValue]
jmp 0x454cb0
xor esi, esi
mov eax, dword [ebp - 4]
mov dword [esi + 0x18], eax
cmp byte [0x4c6d08], 0
mov eax, dword [0x4c6d0c]
je 0x454cfc
cmp eax, 0xffffffff
je 0x454cfc
push eax
call ebx
mov esi, eax
test esi, esi
jne 0x454cf2
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 [0x4c6d0c]
call dword [sym.imp.KERNEL32.DLL_TlsSetValue]
mov eax, dword [0x4c6d0c]
mov dword [ebp - 4], esi
jmp 0x454d00
and dword [ebp - 4], 0
cmp byte [0x4c6d08], 0
je 0x454d3b
cmp eax, 0xffffffff
je 0x454d3b
push eax
call ebx
mov esi, eax
test esi, esi
jne 0x454d37
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 [0x4c6d0c]
call dword [sym.imp.KERNEL32.DLL_TlsSetValue]
mov edi, esi
jmp 0x454d3d
xor edi, edi
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x14]
call fcn.00446420
mov ecx, eax
call fcn.0043b2f1
mov ecx, dword [edi + 0x18]
push esi
push eax
push ecx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov edi, eax
call fcn.004549f2
mov esi, eax
test esi, esi
jne 0x454d6f
mov eax, 0x49013b
push 0x490f90
push str.main
lea ecx, [ebp - 0x10]
push ecx
push edi
push 0x443622a
push eax
push dword [ebp - 8]
push str._s_h_sv_dol_Uul_Utk_Uc_U
call fcn.0043c7d5
add esp, 0x20
mov ecx, esi
mov edi, eax
call fcn.004444cc
mov eax, edi
lea esp, [ebp - 0x1c]
pop edi
pop esi
pop ebx
leave
ret