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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c4742
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x64306c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], 0
lea ebx, [edi + 0x10]
mov dword [edi], vtable.nbase::MessageLoop.0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [ebx], 0
mov byte [ebp - 4], 1
lea ecx, [edi + 0x18]
mov word [edi + 0x14], 0x100
mov dword [ebp - 0x14], ecx
call fcn.00447d60
lea eax, [edi + 0x2c]
push 0x7d0
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
lea ecx, [edi + 0x44]
mov byte [ebp - 4], 3
mov dword [ebp - 0x14], ecx
call fcn.00447d60
lea ecx, [edi + 0x58]
mov byte [ebp - 4], 4
mov dword [ebp - 0x14], ecx
call fcn.00447d60
mov dword [edi + 0x6c], 0
mov dword [edi + 0x70], 0
mov dword [edi + 0x74], 0
mov dword [edi + 0x7c], 0
mov dword [edi + 0x80], 0
mov dword [edi + 0x84], 0
mov dword [edi + 0x8c], 0
mov dword [edi + 0x88], vtable.ObserverList_class_nbase::MessageLoop::TaskObserver_.0
mov dword [edi + 0x90], 0
mov dword [edi + 0x94], 0
mov dword [edi + 0x98], 0
mov dword [edi + 0xa0], 0
mov dword [edi + 0x9c], vtable.ObserverList_class_nbase::MessageLoop::DestructionObserver_.0
mov dword [edi + 0xa4], 0
mov dword [edi + 0xa8], 0
mov dword [edi + 0xac], 0
mov dword [edi + 0xb0], 0
mov dword [edi + 0xb4], 0
mov byte [ebp - 4], 9
cmp dword [edi + 4], 0
jne 0x4464f8
push 0x18
call fcn.0057e13d
add esp, 4
mov esi, eax
mov dword [ebp - 0x14], esi
push 0
push 0
push 0
push 0
mov dword [esi], vtable.nbase::DefaultMessagePump.0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 4], eax
lea ecx, [ebp - 0x18]
mov byte [esi + 8], 0
push esi
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call fcn.00448660
lea eax, [ebp - 0x14]
push ebx
push eax
call fcn.0042dc00
mov ecx, dword [ebp - 0x18]
add esp, 8
mov eax, dword [edi + 0xc]
mov dword [ebp - 0x18], eax
mov dword [edi + 0xc], ecx
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x4464f4
call fcn.004353c0
mov byte [ebp - 4], 9
call fcn.00447bc0
push edi
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push 0x28
call fcn.0057e13d
mov esi, eax
add esp, 4
mov dword [ebp - 0x14], esi
mov ecx, esi
call fcn.00426240
lea ecx, [esi + 0xc]
mov dword [esi], vtable.nbase::MessageLoopProxy.0
push 0x7d0
push ecx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
mov byte [ebp - 4], 0xd
call fcn.00447bc0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push ecx
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x18]
push esi
mov dword [esi + 0x24], eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call fcn.00448710
lea eax, [edi + 0xb4]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0042dc00
mov ecx, dword [ebp - 0x18]
add esp, 8
mov eax, dword [edi + 0xb0]
mov dword [ebp - 0x18], eax
mov dword [edi + 0xb0], ecx
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x446596
call fcn.004353c0
mov eax, dword [edi + 0xb0]
mov dword [eax + 0x24], edi
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret