Function at 0x10026fd0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x11c
mov eax, dword [0x1006e1e0]
xor eax, esp
mov dword [esp + 0x118], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [esp + 0x18], eax
xor ebx, ebx
mov eax, dword [ebp + 0xc]
push edi
mov dword [esp + 0x30], eax
mov edi, ecx
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x10], ebx
push dword [edi + 0x1cc]
mov dword [esp + 0x38], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x10027268
mov ecx, dword [edi + 0x1cc]
lea edx, [edi + 0x1cc]
call fcn.10017040
lea eax, [esp + 0x10]
push eax
call dword [0x1006f614]
add esp, 4
mov ecx, dword [eax]
mov eax, dword [eax + 4]
sub ecx, dword [edi + 0x128]
mov dword [esp + 0x3c], ecx
sbb eax, dword [edi + 0x12c]
mov dword [esp + 0x10], eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x108], 0xf
mov dword [esp + 0x104], ebx
test byte [eax], 1
mov byte [esp + 0xf4], bl
je 0x100271f2
push dword [esp + 0x34]
lea eax, [esp + 0x2c]
mov dword [esp + 0x2c], edi
push dword [esp + 0x3c]
mov ecx, edi
mov byte [esp + 0x34], bl
push eax
call fcn.10027750
mov edx, eax
test edx, edx
je 0x100270d2
mov eax, dword [esp + 0x3c]
sub eax, dword [edx]
mov ecx, dword [esp + 0x10]
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 0x10027162
push edx
lea eax, [esp + 0x24]
mov ecx, edi
push eax
push 0x45
lea eax, [esp + 0x118]
push eax
call fcn.10026af0
lea ecx, [esp + 0xf4]
mov dword [esp + 0x10], eax
cmp ecx, eax
je 0x10027149
cmp dword [esp + 0x108], 0x10
jb 0x10027123
push dword [esp + 0xf4]
call fcn.10042c1b
mov eax, dword [esp + 0x14]
add esp, 4
push eax
lea ecx, [esp + 0xf8]
mov dword [esp + 0x10c], 0xf
mov dword [esp + 0x108], ebx
mov byte [esp + 0xf8], bl
call fcn.10001c00
cmp dword [esp + 0x120], 0x10
jb 0x10027162
push dword [esp + 0x10c]
call fcn.10042c1b
add esp, 4
cmp byte [esp + 0x2c], bl
je 0x10027172
push dword [esp + 0x28]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [esp + 0x104], ebx
je 0x100271f2
cmp dword [0x10070d50], 2
jg 0x100271e4
mov ebx, 2
lea ecx, [esp + 0x48]
push 1
push ebx
mov dword [esp + 0x48], ebx
call fcn.10004480
mov dword [esp + 0xe4], str.b:_sienium_src_base_trace_event_trace_event_impl.cc
mov dword [esp + 0xe8], 0x869
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x869
push str.b:_sienium_src_base_trace_event_trace_event_impl.cc
lea ecx, [esp + 0x48]
mov dword [esp + 0xf4], eax
call fcn.10009960
lea eax, [esp + 0xf4]
push eax
lea eax, [esp + 0x4c]
push eax
call fcn.10008190
add esp, 8
test bl, 2
je 0x100271f2
lea ecx, [esp + 0x40]
call fcn.100096e0
mov ebx, dword [esp + 0x1c]
test byte [ebx], 4
je 0x10027224
mov eax, dword [edi + 0x3c]
test eax, eax
je 0x10027224
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push dword [esp + 0x4c]
push ebx
push 0x45
push dword [esp + 0x4c]
push dword [esp + 0x4c]
call eax
add esp, 0x30
cmp dword [esp + 0x108], 0x10
jb 0x1002723d
push dword [esp + 0xf4]
call fcn.10042c1b
add esp, 4
mov ecx, dword [edi + 0x1cc]
xor edx, edx
mov dword [esp + 0x108], 0xf
mov dword [esp + 0x104], 0
mov byte [esp + 0xf4], 0
call fcn.10017040
mov ecx, dword [esp + 0x124]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100433a9
mov esp, ebp
pop ebp
ret 0x10