Function at 0xcbb2e0
Capabilities:
Get thread local storage value

Disassembly:
sub esp, 0x50
mov eax, dword [str._Sk]
xor eax, esp
mov dword [esp + 0x4c], eax
push ebx
mov ebx, dword [esp + 0x58]
push ebp
push esi
mov esi, ecx
mov ecx, dword [0xdbb6dc]
xor eax, eax
push edi
mov edi, edx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], eax
cmp ecx, 0xffffffff
je 0xcbb31c
mov edx, dword [0xdbb6dc]
push edx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 8]
call eax
mov ebp, eax
mov edx, dword [ebp]
mov eax, dword [edx + 8]
mov ecx, ebp
call eax
mov ecx, dword [esi + 4]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
test eax, eax
je 0xcbb34d
mov edx, dword [eax]
push ebp
push ebx
mov ecx, eax
mov eax, dword [edx + 0x2c]
push edi
call eax
jmp 0xcbb381
mov ecx, dword [0xdbb6dc]
cmp ecx, 0xffffffff
jne 0xcbb35c
xor eax, eax
jmp 0xcbb369
mov edx, dword [0xdbb6dc]
push edx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edx, dword [eax]
push 0
push 0
push ebp
push 0
push 0
push 0
push ebx
push 0
mov ecx, eax
mov eax, dword [edx + 0x10]
push edi
call eax
mov edx, dword [ebp]
mov ecx, ebp
test al, al
jne 0xcbb3a8
mov eax, dword [edx + 0xc]
push 0
call eax
xor al, al
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x4c]
xor ecx, esp
call fcn.00cd8a41
add esp, 0x50
ret 4
mov eax, dword [edx + 0x110]
call eax
mov edi, eax
mov dword [esp + 0x20], edi
test edi, edi
je 0xcbb3f2
mov edx, dword [edi]
mov edx, dword [edx + 0xfc]
lea eax, [esp + 0x40]
push eax
mov ecx, edi
call edx
cmp dword [eax + 0x14], 0x10
mov dword [esp + 0x18], 1
jb 0xcbb3db
mov eax, dword [eax]
push 0xd5f308
push eax
call fcn.00cd9991
add esp, 8
mov byte [esp + 0x17], 0
test eax, eax
je 0xcbb3f7
mov byte [esp + 0x17], 1
test byte [esp + 0x18], 1
je 0xcbb412
cmp dword [esp + 0x54], 0x10
jb 0xcbb412
mov eax, dword [esp + 0x40]
push eax
call fcn.00cd8a36
add esp, 4
cmp byte [esp + 0x17], 0
je 0xcbb466
push ebx
push str.No_valid_root_element_in_view_file:__s
lea esi, [esp + 0x3c]
mov dword [esp + 0x3c], 2
mov dword [esp + 0x40], str.p:p_agentshpam2.eem_recipes201152726_base_branchesinputtools_win_release_branchgoogleclientimegoopy_third_partygoogle_gadgets_for_linuxggadget_scriptable_view.cc
mov dword [esp + 0x44], 0x9c
call fcn.00c21eb0
mov edx, dword [ebp]
mov eax, dword [edx + 0xc]
add esp, 8
push 0
mov ecx, ebp
call eax
xor al, al
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x4c]
xor ecx, esp
call fcn.00cd8a41
add esp, 0x50
ret 4
mov eax, dword [esi + 4]
mov eax, dword [eax + 4]
and byte [eax + 0x224], 0xef
mov ecx, dword [esi]
push edi
push ecx
mov ecx, dword [esi + 8]
mov edx, ebx
call fcn.00c2a620
mov edx, dword [esi + 4]
mov ebx, dword [edx + 4]
mov eax, dword [edi]
mov edx, dword [eax + 0x74]
add esp, 8
mov ecx, edi
add ebx, 0x188
call edx
mov edi, eax
test edi, edi
je 0xcbb4d5
nop
mov eax, dword [edi]
mov edx, dword [eax + 0x5c]
mov ecx, edi
call edx
cmp eax, 1
jne 0xcbb4c3
mov eax, dword [esp + 0x1c]
mov ecx, dword [esi + 8]
push eax
push 0
push edi
push ecx
push ebx
call fcn.00c2ae90
add esp, 0x14
mov edx, dword [edi]
mov eax, dword [edx + 0x88]
mov ecx, edi
call eax
mov edi, eax
test edi, edi
jne 0xcbb4a0
mov ecx, dword [esi + 4]
mov edx, dword [ecx]
mov eax, dword [edx + 0x50]
call eax
mov eax, dword [esi + 4]
mov eax, dword [eax + 4]
or byte [eax + 0x224], 0x10
xor edi, edi
cmp dword [esi + 8], edi
je 0xcbb52a
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
push ecx
push edx
mov ecx, esi
call fcn.00cbba50
test al, al
jne 0xcbb52a
mov eax, dword [ebp]
mov edx, dword [eax + 0xc]
push edi
mov ecx, ebp
call edx
xor al, al
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x4c]
xor ecx, esp
call fcn.00cd8a41
add esp, 0x50
ret 4
mov eax, dword [ebp]
mov edx, dword [eax + 0xc]
push edi
mov ecx, ebp
call edx
mov ecx, dword [esi + 4]
mov dword [esp + 0x2c], 6
mov dword [esp + 0x30], edi
mov eax, dword [ecx]
mov eax, dword [eax + 0x6c]
lea edx, [esp + 0x2c]
push edx
call eax
mov esi, dword [esi + 4]
mov dword [esp + 0x24], 0xa
mov dword [esp + 0x28], edi
mov edx, dword [esi]
mov edx, dword [edx + 0x6c]
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call edx
mov ecx, dword [esp + 0x5c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
mov al, 1
call fcn.00cd8a41
add esp, 0x50
ret 4