Function at 0x68a13ca0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x68aab528
push 0x68a3aba0
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x68aaf040]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x40], edx
xor edi, edi
mov dword [ebp - 0x24], edi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 4], ebx
test ecx, ecx
je 0x68a13e2d
mov dword [ebp - 0x38], ebx
lea edx, [ebp - 0x38]
call fcn.68a13b80
mov ebx, eax
mov dword [ebp - 0x24], ebx
test ebx, ebx
je 0x68a13e10
xor eax, eax
cmp ax, word [ebx]
je 0x68a13e27
mov edi, dword [ebp - 0x38]
test edi, edi
je 0x68a13e27
xor ebx, ebx
mov dword [ebp - 0x44], ebx
push dword [0x68ab0490]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
mov dword [ebp - 0x48], esi
test esi, esi
jne 0x68a13d66
push 0x2000
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ebx, eax
mov dword [ebp - 0x44], ebx
test ebx, ebx
je 0x68a13d5e
mov esi, ebx
mov dword [ebp - 0x48], esi
push ebx
push dword [0x68ab0490]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test esi, esi
je 0x68a13e27
test ebx, ebx
mov ebx, dword [ebp - 0x24]
jne 0x68a13d93
cmp edi, 6
jb 0x68a13d93
mov eax, 5
cmp edi, eax
cmovb eax, edi
push eax
push str.data:
push ebx
call fcn.68a40140
add esp, 0xc
test eax, eax
je 0x68a13e27
cmp edi, 0x7ffffffe
jbe 0x68a13da2
xor eax, eax
mov word [esi], ax
jmp 0x68a13df4
mov ecx, 0x1000
xor edx, edx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x54], edi
test ecx, ecx
je 0x68a13de2
test edi, edi
je 0x68a13dde
movzx eax, word [ebx]
mov edx, eax
mov dword [ebp - 0x30], edx
test ax, ax
mov edx, dword [ebp - 0x34]
je 0x68a13dde
add ebx, 2
mov word [esi], ax
add esi, 2
dec ecx
dec edi
inc edx
jmp 0x68a13da9
test ecx, ecx
jne 0x68a13dec
sub esi, 2
mov dword [ebp - 0x3c], esi
dec edx
mov dword [ebp - 0x34], edx
xor eax, eax
mov word [esi], ax
mov ebx, dword [ebp - 0x24]
push ebx
push str.Setting_last_url:__s
push 0x1f8
push 0x68a60164
push 3
call fcn.68a2de70
add esp, 0x14
jmp 0x68a13e27
push str.A_script_started_by_chrome.exe_2716_
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edx, eax
mov ecx, str.A_script_started_by_chrome.exe_2716_
call fcn.68a09000
mov ebx, dword [ebp - 0x28]
mov edi, dword [ebp - 0x24]
call fcn.68a08f80
mov esi, eax
test esi, esi
je 0x68a13e43
xor eax, eax
cmp ax, word [esi]
je 0x68a13e43
xor al, al
jmp 0x68a13e45
mov al, 1
test al, al
jne 0x68a13f6e
mov byte [ebp - 0x29], al
test esi, esi
je 0x68a13e5f
xor eax, eax
cmp ax, word [esi]
je 0x68a13e5f
xor al, al
jmp 0x68a13e61
mov al, 1
test al, al
jne 0x68a13f6e
push 2
push 0x68a8e200
push esi
call fcn.68a41266
add esp, 0xc
test eax, eax
je 0x68a13f6e
push 0x16
push str.extensions::webRequest
push esi
call fcn.68a41266
add esp, 0xc
test eax, eax
je 0x68a13f6e
push 0x19
push str.extensions::browserAction
push esi
call fcn.68a41266
add esp, 0xc
test eax, eax
je 0x68a13f6e
push 0x13
push str.extensions::setIcon
push esi
call fcn.68a41266
add esp, 0xc
test eax, eax
je 0x68a13f6e
push 0x11
push str.extensions::utils
push esi
call fcn.68a41266
add esp, 0xc
test eax, eax
je 0x68a13f6e
push 0x18
push str.extensions::SafeBuiltins
push esi
call fcn.68a41266
add esp, 0xc
test eax, eax
je 0x68a13f6e
push 6
push str.chrome
push esi
call fcn.68a41266
add esp, 0xc
test eax, eax
je 0x68a13f6e
mov byte [ebp - 0x29], 1
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x68a13f6e
mov dword [ebp - 0x30], 0
lea edx, [ebp - 0x30]
mov ecx, eax
call fcn.68a13b80
mov ebx, eax
mov dword [ebp - 0x28], ebx
test ebx, ebx
je 0x68a13f6e
mov byte [ebp - 0x1d], 0
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x68a13f37
sub ecx, edx
sar ecx, 1
push 0x68aaffa8
push 0x1e
push dword [ebp - 0x30]
push ebx
push ecx
mov edx, esi
lea ecx, [ebp - 0x1d]
call fcn.68a09990
test eax, eax
js 0x68a13f6e
cmp byte [ebp - 0x1d], 0
je 0x68a13f6e
mov ecx, dword [ebp - 0x40]
call fcn.68a13af0
mov dword [ebp - 4], 0xfffffffe
jmp 0x68a13f8d
push ebx
call fcn.68a39891
push edi
call fcn.68a39891
add esp, 8
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.68a3943b
mov esp, ebp
pop ebp
ret