Function at 0x1001eaf0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x11c
mov eax, dword [0x1018d0d0]
xor eax, esp
mov dword [esp + 0x118], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0xc]
lea esi, [edi + 0x1cc]
push dword [esi]
mov dword [esp + 0x3c], eax
xor ebx, ebx
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x38], eax
mov dword [esp + 0x14], ebx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x1001ed87
push esi
push dword [esi]
call fcn.10023b10
lea eax, [esp + 0x20]
push eax
call fcn.100062d0
mov eax, dword [esp + 0x24]
add esp, 0xc
sub eax, dword [edi + 0x128]
mov ecx, dword [esp + 0x1c]
sbb ecx, dword [edi + 0x12c]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x108], 0xf
test byte [eax], 1
mov dword [esp + 0x104], ebx
mov byte [esp + 0xf4], bl
je 0x1001ed12
push dword [esp + 0x34]
lea eax, [esp + 0x24]
mov dword [esp + 0x24], edi
push dword [esp + 0x34]
mov ecx, edi
mov byte [esp + 0x2c], bl
push eax
call fcn.1001f560
mov edx, eax
test edx, edx
je 0x1001ebed
mov eax, dword [esp + 0x3c]
sub eax, dword [edx]
mov ecx, dword [esp + 0x18]
sbb ecx, dword [edx + 4]
mov dword [edx + 0x10], eax
mov dword [edx + 0x14], ecx
mov ecx, dword [edx + 8]
mov eax, dword [edx + 0xc]
neg ecx
mov dword [edx + 0x18], ecx
adc eax, ebx
neg eax
mov dword [edx + 0x1c], eax
mov eax, dword [edi + 0x154]
test al, 8
je 0x1001ec80
push edx
lea eax, [esp + 0x2c]
mov ecx, edi
push eax
push 0x45
lea eax, [esp + 0x118]
push eax
call fcn.1001e760
mov ebx, eax
lea eax, [esp + 0xf4]
cmp eax, ebx
je 0x1001ec63
cmp dword [esp + 0x108], 0x10
jb 0x1001ec38
push dword [esp + 0xf4]
call fcn.1011a1ea
add esp, 4
push ebx
lea ecx, [esp + 0xf8]
mov dword [esp + 0x10c], 0xf
mov dword [esp + 0x108], 0
mov byte [esp + 0xf8], 0
call fcn.10001d80
cmp dword [esp + 0x120], 0x10
jb 0x1001ec7c
push dword [esp + 0x10c]
call fcn.1011a1ea
add esp, 4
mov ebx, dword [esp + 0x10]
cmp byte [esp + 0x24], 0
je 0x1001ec91
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [esp + 0x104], 0
je 0x1001ed12
cmp dword [0x1019387c], 2
jg 0x1001ed04
mov ebx, 2
lea ecx, [esp + 0x48]
push 1
push ebx
mov dword [esp + 0x48], ebx
call fcn.10005310
mov dword [esp + 0xe4], str.k:liebao_src_pool_release.branch_91_src_import_basedebug_trace_event_impl.cc
mov dword [esp + 0xe8], 0x863
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x863
push str.k:liebao_src_pool_release.branch_91_src_import_basedebug_trace_event_impl.cc
lea ecx, [esp + 0x48]
mov dword [esp + 0xf4], eax
call fcn.1000b280
lea eax, [esp + 0xf4]
push eax
lea eax, [esp + 0x4c]
push eax
call fcn.10009100
add esp, 8
test bl, 2
je 0x1001ed12
lea ecx, [esp + 0x40]
call fcn.1000b010
mov ebx, dword [esp + 0x14]
test byte [ebx], 4
je 0x1001ed44
mov eax, dword [edi + 0x40]
test eax, eax
je 0x1001ed44
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push dword [esp + 0x54]
push ebx
push 0x45
push dword [esp + 0x54]
push dword [esp + 0x54]
call eax
add esp, 0x30
cmp dword [esp + 0x108], 0x10
jb 0x1001ed5d
push dword [esp + 0xf4]
call fcn.1011a1ea
add esp, 4
push 0
push dword [esi]
mov dword [esp + 0x110], 0xf
mov dword [esp + 0x10c], 0
mov byte [esp + 0xfc], 0
call fcn.10023b10
add esp, 8
mov ecx, dword [esp + 0x124]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1011a3e5
mov esp, ebp
pop ebp
ret 0x10