Function at 0x31b590
Capabilities:
Get thread local storage value

Disassembly:
push 0xffffffffffffffff
push 0x3aa7d5
mov eax, dword fs:[0]
push eax
sub esp, 0xcc
mov eax, dword [0x4116ec]
xor eax, esp
mov dword [esp + 0xc8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4116ec]
xor eax, esp
push eax
lea eax, [esp + 0xe0]
mov dword fs:[0], eax
mov eax, dword [esp + 0xf0]
mov ebp, dword [esp + 0xf4]
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0x24], ebx
mov edx, dword [esi]
mov dword [esp + 0x1c], eax
mov eax, dword [edx + 0xd0]
call eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x64], 0xf
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
push 0x3bf318
mov ecx, esi
lea edx, [esp + 0x38]
mov dword [esp + 0xec], ebx
call fcn.0028b340
add esp, 4
mov byte [esp + 0xe8], 1
cmp dword [esp + 0x44], ebx
je 0x31b807
mov eax, dword [esp + 0x34]
mov esi, 0x10
cmp dword [esp + 0x48], esi
jae 0x31b642
lea eax, [esp + 0x34]
push 0xb
push eax
push 0x3bf31c
call fcn.0033a967
add esp, 0xc
test eax, eax
jne 0x31b6e7
mov ecx, dword [0x41c194]
cmp ecx, 0xffffffff
je 0x31b672
mov edx, dword [0x41c194]
push edx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, dword [esp + 0x34]
cmp dword [esp + 0x48], esi
jae 0x31b680
lea ecx, [esp + 0x34]
mov edx, dword [eax]
lea edi, [esp + 0x50]
push edi
push ecx
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
test al, al
jne 0x31b77b
mov byte [esp + 0xe8], al
cmp dword [esp + 0x48], esi
jb 0x31b6b1
mov ecx, dword [esp + 0x34]
push ecx
call fcn.00338a36
add esp, 4
mov dword [esp + 0xe8], 0xffffffff
mov dword [esp + 0x48], 0xf
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], 0
cmp dword [esp + 0x64], esi
jb 0x31b6e0
mov edx, dword [esp + 0x50]
push edx
call fcn.00338a36
add esp, 4
xor al, al
jmp 0x31ba1a
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 4]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
cmp eax, ebx
je 0x31b704
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x20]
call eax
jmp 0x31b706
xor eax, eax
mov ecx, dword [esp + 0x34]
cmp dword [esp + 0x48], esi
jae 0x31b714
lea ecx, [esp + 0x34]
mov edx, dword [eax]
lea edi, [esp + 0x50]
push edi
push ecx
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
test al, al
jne 0x31b77b
mov byte [esp + 0xe8], al
cmp dword [esp + 0x48], esi
jb 0x31b741
mov ecx, dword [esp + 0x34]
push ecx
call fcn.00338a36
add esp, 4
mov dword [esp + 0xe8], 0xffffffff
mov dword [esp + 0x48], 0xf
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], 0
cmp dword [esp + 0x64], esi
jb 0x31b6e0
mov edx, dword [esp + 0x50]
push edx
call fcn.00338a36
add esp, 4
xor al, al
jmp 0x31ba1a
mov ebp, dword [esp + 0x34]
cmp dword [esp + 0x48], esi
jae 0x31b789
lea ebp, [esp + 0x34]
mov edi, 0xf
mov dword [esp + 0x20], 1
mov dword [esp + 0x80], edi
mov dword [esp + 0x7c], ebx
mov byte [esp + 0x6c], 0
lea eax, [esp + 0x6c]
push eax
lea ecx, [esp + 0x54]
mov byte [esp + 0xec], 2
call fcn.00265000
add esp, 4
test al, al
je 0x31b7d4
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x74]
push ecx
lea ecx, [esp + 0x5c]
call fcn.001f9870
mov byte [esp + 0xe8], 1
cmp dword [esp + 0x80], esi
jb 0x31b7f2
mov edx, dword [esp + 0x6c]
push edx
call fcn.00338a36
add esp, 4
mov dword [esp + 0x80], edi
mov dword [esp + 0x7c], ebx
mov byte [esp + 0x6c], 0
jmp 0x31b9a5
mov eax, dword [esi]
mov edx, dword [eax + 0x70]
mov ecx, esi
call edx
mov edi, eax
test edi, edi
je 0x31b9a0
lea ebx, [ebx]
mov eax, dword [edi]
mov edx, dword [eax + 0x5c]
mov ecx, edi
call edx
mov ecx, edi
cmp eax, 8
je 0x31b95a
mov eax, dword [edi]
mov edx, dword [eax + 0x5c]
call edx
cmp eax, 3
jne 0x31b881
mov eax, dword [edi]
mov edx, dword [eax + 0xc4]
lea ecx, [esp + 0xa4]
push ecx
mov ecx, edi
call edx
mov byte [esp + 0xe8], 4
or ebx, 1
push eax
lea esi, [esp + 0x8c]
mov dword [esp + 0x28], ebx
call fcn.00283fa0
add esp, 4
or ebx, 2
cmp dword [eax + 0x10], 0
mov byte [esp + 0x1b], 0
je 0x31b886
mov byte [esp + 0x1b], 1
test bl, 2
je 0x31b8ca
and ebx, 0xfffffffd
cmp dword [esp + 0x9c], 0x10
mov dword [esp + 0x24], ebx
jb 0x31b8ac
mov eax, dword [esp + 0x88]
push eax
call fcn.00338a36
add esp, 4
mov dword [esp + 0x9c], 0xf
mov dword [esp + 0x98], 0
mov byte [esp + 0x88], 0
mov dword [esp + 0xe8], 1
test bl, 1
je 0x31b8f7
and ebx, 0xfffffffe
cmp dword [esp + 0xb8], 0x10
jb 0x31b8f7
mov ecx, dword [esp + 0xa4]
push ecx
call fcn.00338a36
add esp, 4
cmp byte [esp + 0x1b], 0
je 0x31b942
mov edx, dword [edi]
mov eax, dword [edx + 0xd8]
mov ecx, edi
mov dword [esp + 0x28], 2
mov dword [esp + 0x2c], str.p:p_agentshpam2.eem_recipes201152726_base_branchesinputtools_win_release_branchgoogleclientimegoopy_third_partygoogle_gadgets_for_linuxggadget_scriptable_view.cc
mov dword [esp + 0x30], 0xe3
call eax
mov edx, dword [edi]
push eax
mov eax, dword [edx + 0xd0]
mov ecx, edi
call eax
push eax
push ebp
push str._s:_d:_d:_This_content_is_not_allowed_in_script_element
lea esi, [esp + 0x38]
call fcn.00281eb0
add esp, 0x10
mov edx, dword [edi]
mov eax, dword [edx + 0x88]
mov ecx, edi
call eax
mov edi, eax
test edi, edi
jne 0x31b820
jmp 0x31b9a0
mov edx, dword [edi]
mov edx, dword [edx + 0xc4]
lea eax, [esp + 0xc0]
push eax
call edx
push eax
lea ecx, [esp + 0x54]
mov byte [esp + 0xec], 3
call fcn.001f7740
mov byte [esp + 0xe8], 1
cmp dword [esp + 0xd4], 0x10
jb 0x31b9a0
mov eax, dword [esp + 0xc0]
push eax
call fcn.00338a36
add esp, 4
xor ebx, ebx
lea esi, [ebx + 0x10]
cmp dword [esp + 0x60], ebx
je 0x31b9ce
mov eax, dword [esp + 0x50]
cmp dword [esp + 0x64], esi
jae 0x31b9b9
lea eax, [esp + 0x50]
mov edi, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov ecx, dword [ecx + 8]
mov edx, dword [ecx]
push edi
push ebp
push eax
mov eax, dword [edx + 8]
call eax
mov byte [esp + 0xe8], 0
cmp dword [esp + 0x48], esi
jb 0x31b9e9
mov ecx, dword [esp + 0x34]
push ecx
call fcn.00338a36
add esp, 4
mov dword [esp + 0xe8], 0xffffffff
mov dword [esp + 0x48], 0xf
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], 0
cmp dword [esp + 0x64], esi
jb 0x31ba18
mov edx, dword [esp + 0x50]
push edx
call fcn.00338a36
add esp, 4
mov al, 1
mov ecx, dword [esp + 0xe0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xc8]
xor ecx, esp
call fcn.00338a41
add esp, 0xd8
ret 8