Function at 0x45a7b0
Capabilities:
Get thread local storage value
Set thread local storage value
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2024
call fcn.004c2ee0
mov eax, dword [0x538a60]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
push 0x1000
mov edi, ecx
mov dword [ebp - 0x2010], edx
push 8
mov dword [ebp - 0x2020], edi
mov dword [ebp - 0x2014], eax
mov dword [ebp - 0x2018], ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
mov dword [ebp - 0x200c], esi
test esi, esi
je 0x45aa56
mov ecx, 0x1000
mov byte [eax], 0
lea eax, [eax + 1]
dec ecx
jne 0x45a813
mov edx, edi
mov ecx, ebx
call fcn.00477c90
mov dword [ebp - 0x201c], eax
test eax, eax
je 0x45aa40
xor ebx, ebx
jmp 0x45a840
cmp dword [eax], 0x97531246
jne 0x45a9dd
cmp ebx, dword [eax + 0xc]
jae 0x45aa30
mov edx, ebx
mov ecx, eax
call fcn.00477ee0
mov edi, eax
mov eax, dword [edi + 4]
test eax, eax
je 0x45a9d1
cmp dword [edi + 8], 0
je 0x45a9d1
mov ecx, dword [eax + 4]
mov esi, ecx
lea edx, [esi + 1]
lea ecx, [ecx]
mov al, byte [esi]
inc esi
test al, al
jne 0x45a880
sub esi, edx
push esi
push 0x520328
push ecx
call fcn.004bce70
add esp, 0xc
test eax, eax
je 0x45a9cb
mov eax, dword [edi + 4]
push esi
push 0x52032c
push dword [eax + 4]
call fcn.004bce70
add esp, 0xc
test eax, eax
je 0x45a9cb
mov eax, dword [edi + 4]
mov ecx, dword [eax + 4]
mov eax, dword [edi + 8]
cmp dword [eax + 0x10], 2
je 0x45a97c
push esi
mov esi, dword [ebp - 0x2014]
push ecx
push esi
call fcn.004bc0b0
add esp, 0xc
test eax, eax
jne 0x45a982
mov eax, dword [edi + 4]
push dword [eax + 4]
movsx eax, byte [0x53eb3e]
push dword [ebp - 0x2010]
push eax
push 0x561208
push 0x561418
push str._S__s__c__s__s.z
push 0xffffffffffffffff
lea eax, [ebp - 0x1008]
push 0x1000
push eax
call fcn.004bb430
mov eax, dword [edi + 8]
add esp, 0x24
mov esi, dword [ebp - 0x200c]
push dword [eax + 0xc]
push dword [eax + 8]
lea eax, [ebp - 0x1008]
push eax
push str.Acquiring__S_record__llu_n
push 0xffffffffffffffff
push 0x800
push esi
call fcn.004bb4ef
add esp, 0x1c
mov ecx, esi
call fcn.00458190
mov eax, dword [edi + 8]
lea ecx, [ebp - 0x1008]
mov edx, dword [ebp - 0x2018]
push dword [eax + 0xc]
push dword [eax + 8]
call fcn.00459bd0
mov eax, dword [ebp - 0x201c]
add esp, 8
inc ebx
jmp 0x45a840
mov esi, dword [ebp - 0x2014]
mov eax, dword [edi + 8]
cmp dword [eax + 0x10], 2
jne 0x45a9cb
mov eax, dword [edi + 4]
mov edi, dword [ebp - 0x2020]
push dword [eax + 4]
lea eax, [ebp - 0x2008]
push edi
push str._s__s
push 0xffffffffffffffff
push 0x800
push eax
call fcn.004bb430
push dword [ebp - 0x2018]
mov edx, dword [ebp - 0x2010]
lea ecx, [ebp - 0x2008]
push esi
call fcn.0045a7b0
add esp, 0x20
mov esi, dword [ebp - 0x200c]
mov eax, dword [ebp - 0x201c]
inc ebx
jmp 0x45a840
mov edi, dword [0x56161c]
push edi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
jne 0x45aa17
push 0xc08
call fcn.004bb5d5
add esp, 4
mov esi, eax
push 0xc08
push 0
push esi
call fcn.004c13c0
add esp, 0xc
push esi
push edi
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push str.tsk_fs_dir_getsize:_called_with_NULL_or_unallocated_structures
mov dword [esi], 0x8000006
call fcn.004768f0
mov esi, dword [ebp - 0x200c]
add esp, 4
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004bae74
mov esp, ebp
pop ebp
ret
push str.Failed_to_allocate_memory_on_process_heap_n
call fcn.004bc829
add esp, 4
push 1
call fcn.004bcc8d
int3