Function at 0x10026ac0
Capabilities:
Get thread local storage value
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x244
mov eax, dword [0x100751e0]
xor eax, esp
mov dword [esp + 0x240], eax
push ebx
push esi
push edi
mov ebx, ecx
mov dword [esp + 0x24], ebx
mov eax, dword [ebp + 0xc]
xor edx, edx
mov dword [esp + 0x38], eax
mov byte [esp + 0x5c], al
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0x20]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x24]
mov dword [esp + 0x64], eax
mov eax, dword [ebp + 0x2c]
mov dword [esp + 0x3c], eax
mov eax, dword [ebp + 0x30]
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 0x34]
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x48], eax
mov eax, dword [ebp + 0x38]
mov dword [esp + 0x74], eax
xor eax, eax
mov esi, dword [ebp + 8]
mov dword [esp + 0x8c], esi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], eax
cmp byte [ecx], al
jne 0x10026b50
mov ecx, eax
mov dword [esi], edx
mov dword [esi + 4], ecx
jmp 0x100270a6
push dword [ebx + 0x1dc]
lea edi, [ebx + 0x1dc]
mov dword [esp + 0x8c], edi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x10026b7f
mov eax, dword [esp + 0x30]
mov dword [esi], 0
mov dword [esi + 4], eax
jmp 0x100270a6
mov ecx, dword [edi]
mov edx, edi
call fcn.10016420
test byte [ebp + 0x3c], 4
je 0x10026baa
mov esi, dword [ebp + 0x18]
xor esi, dword [ebx + 0x118]
mov dword [esp + 0x40], esi
mov esi, dword [ebp + 0x1c]
xor esi, dword [ebx + 0x11c]
mov dword [esp + 0x44], esi
jmp 0x10026bb8
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x44], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x40], eax
push dword [esp + 0x64]
lea eax, [esp + 0x54]
mov ecx, ebx
push eax
call fcn.100230d0
test byte [ebp + 0x3c], 0x20
je 0x10026bf7
lea eax, [esp + 0xb0]
push eax
call fcn.10015b60
add esp, 4
mov ecx, ebx
push eax
lea eax, [esp + 0xac]
push eax
call fcn.100230d0
lea ecx, [esp + 0xa8]
jmp 0x10026c14
mov eax, dword [esp + 0x50]
lea ecx, [esp + 0xa0]
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0xa4], eax
mov eax, dword [ecx]
xorps xmm0, xmm0
mov dword [esp + 0x90], eax
mov eax, dword [ecx + 4]
mov ecx, ebx
mov dword [esp + 0x94], eax
movlpd qword [esp + 0x68], xmm0
mov eax, dword [esp + 0x68]
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x9c], eax
call fcn.10025bd0
push dword [ebx + 0x1d4]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
mov dword [esp + 0x20], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [esp + 0x1c], eax
jne 0x10026da3
call fcn.1001ebc0
push dword [esp + 0x1c]
mov ecx, eax
call fcn.1001e620
mov esi, eax
mov dword [esp + 0x4c], esi
call fcn.100289c0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp esi, eax
je 0x10026d9f
test esi, esi
je 0x10026d9f
cmp byte [esi], 0
je 0x10026d9f
call fcn.100289c0
mov edx, esi
mov ecx, dword [eax]
call fcn.10016420
lea edi, [ebx + 0x1c]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x88]
push ecx
lea ecx, [ebx + 0xb0]
call fcn.100101c0
mov esi, dword [esp + 0x84]
lea ecx, [ebx + 0xb0]
cmp esi, dword [ecx]
jne 0x10026d0a
push dword [esp + 0x4c]
lea eax, [esp + 0x20]
push ecx
push eax
call fcn.10028090
add esp, 4
mov ecx, eax
call fcn.100108d0
jmp 0x10026d91
sub esp, 8
mov ecx, esp
push 0x1006efc0
call fcn.10004ba0
sub esp, 8
lea eax, [esi + 0xc]
mov ecx, esp
push eax
call fcn.100090f0
push ecx
lea ecx, [esp + 0x8c]
call fcn.10010f20
mov edx, dword [esp + 0x90]
lea eax, [esp + 0x60]
mov ecx, dword [esp + 0x8c]
add esp, 0x14
mov byte [esp + 0x70], 0
push dword [esp + 0x70]
push eax
call fcn.10029f90
mov ecx, dword [esp + 0x84]
add esp, 8
cmp eax, ecx
jne 0x10026d88
sub ecx, dword [esp + 0x78]
test ecx, 0xfffffff8
je 0x10026d7c
push 0x2c
lea ecx, [esi + 0xc]
call fcn.1000c400
push dword [esp + 0x4c]
lea ecx, [esi + 0xc]
call fcn.10001bb0
lea ecx, [esp + 0x78]
call fcn.100113a0
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edi, dword [esp + 0x88]
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
test byte [eax], 8
je 0x10026dd8
call fcn.1002dbb0
test eax, eax
je 0x10026dd4
push dword [esp + 0x48]
mov edx, dword [esp + 0x2c]
push dword [esp + 0x38]
mov cl, byte [esp + 0x40]
push dword [esp + 0x44]
push dword [ebp + 0x28]
call fcn.1002d270
add esp, 0x10
mov eax, dword [esp + 0x18]
test byte [eax], 3
mov dword [esp + 0x230], 0xf
mov dword [esp + 0x22c], 0
mov byte [esp + 0x21c], 0
je 0x10026f45
mov byte [esp + 0x13], 0
lea eax, [ebx + 4]
test esi, esi
je 0x10026e19
lea eax, [esp + 0x2c]
mov ecx, esi
push eax
call fcn.100251a0
jmp 0x10026e33
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 1
lea eax, [esp + 0x30]
mov byte [esp + 0x17], 1
push eax
mov ecx, ebx
call fcn.100268f0
mov esi, eax
test esi, esi
je 0x10026e84
push dword [esp + 0x6c]
mov ecx, esi
push dword [esp + 0x6c]
push dword [esp + 0x5c]
push dword [esp + 0x5c]
push dword [ebp + 0x3c]
push dword [esp + 0x88]
push dword [esp + 0x60]
push dword [esp + 0x50]
push dword [esp + 0x5c]
push dword [ebp + 0x28]
push dword [esp + 0x6c]
push dword [esp + 0x6c]
push dword [esp + 0x58]
push dword [esp + 0x4c]
push dword [esp + 0x94]
push dword [esp + 0x58]
call fcn.10024140
mov eax, dword [ebx + 0x154]
test al, 8
je 0x10026ed1
mov ecx, dword [esp + 0x38]
cmp cl, 0x58
movzx eax, cl
mov ecx, 0x42
push esi
push dword [esp + 0x68]
cmove eax, ecx
mov ecx, ebx
movzx eax, al
push eax
lea eax, [esp + 0x240]
push eax
call fcn.100270c0
push eax
lea ecx, [esp + 0x220]
call fcn.10001b40
lea ecx, [esp + 0x234]
call fcn.10001b80
cmp byte [esp + 0x13], 0
je 0x10026ee2
lea eax, [ebx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [esp + 0x22c], 0
je 0x10026f45
cmp dword [0x10077d84], 2
jg 0x10026f2a
push 2
push 0x85d
mov eax, 4
lea ecx, [esp + 0xc0]
push str.e:core_45_src_base_trace_event_trace_event_impl.cc
mov dword [esp + 0x20], eax
call fcn.10003310
lea ecx, [esp + 0x21c]
add eax, 8
push ecx
push eax
call fcn.10006c50
add esp, 8
mov eax, dword [esp + 0x14]
test al, 4
je 0x10026f49
and eax, 0xfffffffb
lea ecx, [esp + 0xb8]
mov dword [esp + 0x14], eax
call fcn.10003360
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
cmp dword [ebx + 0x138], ecx
jne 0x10026fe3
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
test al, 0x20
je 0x10026f79
lea ecx, [esp + 0x168]
call fcn.10003360
lea esi, [ebx + 4]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [esp + 0x28]
lea ecx, [ebx + 0x13c]
call fcn.10013220
mov ecx, dword [esp + 0x24]
mov bl, al
add ecx, 0x130
push ecx
lea ecx, [esp + 0x60]
call fcn.1000c490
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [esp + 0x5c]
test bl, bl
je 0x10026fc3
test esi, esi
je 0x10026fdf
push esi
call dword [esp + 0x64]
add esp, 4
test esi, esi
je 0x10026fdf
or eax, 0xffffffff
lock xadd dword [esi], eax
dec eax
setne al
test al, al
jne 0x10026fdf
mov eax, dword [esi + 4]
push esi
call eax
add esp, 4
mov ebx, dword [esp + 0x24]
mov eax, dword [esp + 0x18]
test byte [eax], 4
je 0x10027035
mov ecx, dword [ebx + 0x40]
test ecx, ecx
je 0x10027035
push dword [ebp + 0x3c]
mov edx, dword [esp + 0x3c]
cmp dl, 0x58
push dword [esp + 0x4c]
push dword [esp + 0x3c]
push dword [esp + 0x48]
push dword [ebp + 0x28]
push dword [esp + 0x58]
push dword [esp + 0x58]
push dword [esp + 0x44]
push eax
movzx eax, dl
mov edx, 0x42
cmove eax, edx
movzx eax, al
push eax
push dword [esp + 0x7c]
push dword [esp + 0x7c]
call ecx
add esp, 0x30
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x10027052
lea eax, [esp + 0x98]
push eax
lea eax, [esp + 0x94]
push eax
call fcn.100252d0
cmp dword [esp + 0x230], 0x10
mov esi, dword [esp + 0x8c]
mov eax, dword [esp + 0x2c]
mov dword [esi], eax
mov eax, dword [esp + 0x30]
mov dword [esi + 4], eax
jb 0x1002707f
push dword [esp + 0x21c]
call fcn.100499a5
add esp, 4
mov ecx, dword [edi]
xor edx, edx
mov dword [esp + 0x230], 0xf
mov dword [esp + 0x22c], 0
mov byte [esp + 0x21c], 0
call fcn.10016420
mov ecx, dword [esp + 0x24c]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1004a139
mov esp, ebp
pop ebp
ret 0x38