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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ff936
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x53806c]
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 esi, [edi + 0x18]
mov word [edi + 0x14], 0x100
mov dword [ebp - 0x14], esi
push 1
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.00425820
push eax
call fcn.0040ae30
push eax
push 8
mov dword [esi], eax
call fcn.004015c0
add esp, 0x10
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [esi]
mov dword [eax], esi
lea eax, [edi + 0x2c]
push 0x7d0
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
mov byte [ebp - 4], 3
lea esi, [edi + 0x44]
mov dword [ebp - 0x14], esi
push 1
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.00425820
push eax
call fcn.0040ae30
push eax
push 8
mov dword [esi], eax
call fcn.004015c0
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [esi]
mov dword [eax], esi
mov byte [ebp - 4], 4
lea esi, [edi + 0x58]
mov dword [ebp - 0x14], esi
push 1
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.00425820
push eax
call fcn.0040ae30
push eax
push 8
mov dword [esi], eax
call fcn.004015c0
add esp, 0x20
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [esi]
mov dword [eax], esi
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 0x436bd0
push 0x18
call fcn.004ba211
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 [ebp - 0x14], 0
lea ecx, [ebp - 0x18]
push dword [ebp - 0x14]
mov dword [esi + 4], eax
mov byte [esi + 8], 0
push esi
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [ebp - 0x18], 0
call fcn.00439250
mov eax, dword [edi + 0xc]
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x14]
push ebx
push eax
mov dword [edi + 0xc], ecx
call fcn.00420630
add esp, 8
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x436bcc
call fcn.004120c0
mov byte [ebp - 4], 9
call fcn.00438350
push edi
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push 0x28
call fcn.004ba211
mov esi, eax
add esp, 4
mov dword [ebp - 0x14], esi
mov ecx, esi
call fcn.00428980
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.00438350
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push 0x43af60
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.004392e0
mov eax, dword [edi + 0xb0]
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x18], eax
lea eax, [edi + 0xb4]
push eax
lea eax, [ebp - 0x14]
mov dword [edi + 0xb0], ecx
push eax
call fcn.00420630
add esp, 8
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x436c72
call fcn.004120c0
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