Function at 0x1003fae0
Capabilities:
Allocate thread local storage
Set thread local storage value

Disassembly:
push 0xffffffffffffffff
push 0x100789c2
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10098428]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov ebp, ecx
mov dword [esp + 0x14], ebp
mov dword [ebp], vtable.qmbase::MessageLoop.0
mov dword [esp + 0x20], 5
xor edi, edi
lea esp, [esp]
mov eax, ebp
call fcn.1003fe00
mov esi, ebp
call fcn.10040490
mov eax, ebp
call fcn.1003fe00
test al, al
je 0x1003fb41
add edi, 1
cmp edi, 0x64
jl 0x1003fb20
mov ecx, dword [ebp + 0x70]
test ecx, ecx
je 0x1003fb7d
mov eax, dword [ecx]
mov edx, dword [eax + 0x1c]
call edx
mov eax, dword [ebp + 0x70]
test eax, eax
je 0x1003fb76
lea esi, [eax + 4]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x1003fb76
test esi, esi
je 0x1003fb6d
lea ecx, [esi - 4]
jmp 0x1003fb6f
xor ecx, ecx
mov eax, dword [ecx]
mov edx, dword [eax + 0x18]
call edx
mov dword [ebp + 0x70], 0
mov eax, dword [0x1009d328]
test eax, eax
mov ebx, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
jne 0x1003fc23
call fcn.10043efc
cmp byte [eax + 0x39], 0
je 0x1003fbf2
call fcn.10043efc
mov esi, eax
cmp byte [esi + 0x30], 0
jne 0x1003fbde
mov ecx, dword [esi + 0x34]
mov eax, ecx
cdq
mov edi, 0xa
idiv edi
add ecx, 1
mov dword [esi + 0x34], ecx
test edx, edx
jne 0x1003fbd8
lea edi, [esi + 0xc]
push edi
call ebx
lea eax, [esi + 0x24]
push eax
call fcn.10042924
push edi
mov byte [esi + 0x38], al
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp byte [esi + 0x38], 0
je 0x1003fbf2
push str.Create_Thread_LocalPoint
push 0xb
push str.D:jenkins_TrunkworkspaceCEN_Hive_QQPCDownload_ForTestqqpcmgr_projincludeAsyncFrame_MessageLoop.h
call fcn.10042f4a
add esp, 0xc
push 8
call fcn.100539ba
mov esi, eax
add esp, 4
test esi, esi
je 0x1003fc1c
mov dword [esi], 0
mov dword [esi + 4], 0xffffffff
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [esi + 4], eax
mov eax, esi
jmp 0x1003fc1e
xor eax, eax
mov dword [0x1009d328], eax
mov ecx, dword [eax + 4]
cmp ecx, 0xffffffff
je 0x1003fc39
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, dword [0x1009d328]
test eax, eax
jne 0x1003fcd4
call fcn.10043efc
cmp byte [eax + 0x39], 0
je 0x1003fca3
call fcn.10043efc
mov esi, eax
cmp byte [esi + 0x30], 0
jne 0x1003fc8f
mov ecx, dword [esi + 0x34]
mov eax, ecx
cdq
mov edi, 0xa
idiv edi
add ecx, 1
mov dword [esi + 0x34], ecx
test edx, edx
jne 0x1003fc89
lea edi, [esi + 0xc]
push edi
call ebx
lea ecx, [esi + 0x24]
push ecx
call fcn.10042924
push edi
mov byte [esi + 0x38], al
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp byte [esi + 0x38], 0
je 0x1003fca3
push str.Create_Thread_LocalPoint
push 0xb
push str.D:jenkins_TrunkworkspaceCEN_Hive_QQPCDownload_ForTestqqpcmgr_projincludeAsyncFrame_MessageLoop.h
call fcn.10042f4a
add esp, 0xc
push 8
call fcn.100539ba
mov esi, eax
add esp, 4
test esi, esi
je 0x1003fccd
mov dword [esi], 0
mov dword [esi + 4], 0xffffffff
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [esi + 4], eax
mov eax, esi
jmp 0x1003fccf
xor eax, eax
mov dword [0x1009d328], eax
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
push eax
mov esi, eax
call edi
test eax, eax
jne 0x1003fd2c
test esi, esi
je 0x1003fd22
or ebx, 0xffffffff
cmp dword [esi + 4], ebx
je 0x1003fd19
call fcn.100430bb
test al, al
je 0x1003fd0c
push str.Destroy_Thread_LocalPoint
push 0xb
push str.D:jenkins_TrunkworkspaceCEN_Hive_QQPCDownload_ForTestqqpcmgr_projincludeAsyncFrame_MessageLoop.h
call fcn.10042f4a
add esp, 0xc
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.KERNEL32.dll_TlsFree]
mov dword [esi + 4], ebx
push esi
call fcn.10053c60
add esp, 4
mov dword [0x1009d328], 0
lea esi, [ebp + 0x74]
call fcn.10041330
mov byte [esp + 0x20], 3
mov eax, dword [ebp + 0x70]
xor ebx, ebx
cmp eax, ebx
je 0x1003fd5e
lea esi, [eax + 4]
push esi
call edi
test eax, eax
jne 0x1003fd5e
cmp esi, ebx
je 0x1003fd55
lea ecx, [esi - 4]
jmp 0x1003fd57
xor ecx, ecx
mov eax, dword [ecx]
mov edx, dword [eax + 0x18]
call edx
mov eax, dword [ebp + 0x48]
cmp eax, ebx
je 0x1003fd6e
push eax
call fcn.10053c60
add esp, 4
lea eax, [ebp + 0x2c]
push eax
mov dword [ebp + 0x48], ebx
mov dword [ebp + 0x4c], ebx
mov dword [ebp + 0x50], ebx
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
lea esi, [ebp + 0x18]
call fcn.10041330
lea esi, [ebp + 4]
call fcn.10041330
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret