Function at 0x100305e0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100fcaa3
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x1014f644]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x9c], ebx
mov eax, dword [ebp + 0xc]
xor edx, edx
mov dword [ebp - 4], edx
mov edi, dword [ebp + 0x18]
mov dword [ebx + 8], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebx], vtable.LinkRunBase.0
mov dword [ebx + 0x10], edx
mov dword [ebx + 0x14], edx
mov esi, eax
cmp eax, edx
je 0x10030646
add eax, 8
mov ecx, 1
lock xadd dword [eax], ecx
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x84], eax
cmp eax, edx
je 0x1003066e
add eax, 8
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x1003066e
mov ecx, dword [ebp - 0x84]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
xor edx, edx
mov dword [ebx + 0x14], esi
mov dword [ebx + 0x10], edi
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov dword [ebx + 0x1c], eax
mov dword [ebx + 0x18], ecx
mov eax, 0xf
mov dword [ebx + 0x34], eax
mov dword [ebx + 0x30], edx
mov byte [ebx + 0x20], 0
mov dword [ebx + 0x50], eax
mov dword [ebx + 0x4c], edx
mov byte [ebx + 0x3c], 0
mov dword [ebx + 0x58], 0xc8
mov byte [ebx + 0x5c], 1
mov dword [ebx + 0x70], edx
mov byte [ebp - 4], 4
mov ecx, dword [0x1015a808]
push ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebx + 0xc], eax
mov edx, dword [0x1014f25c]
mov eax, dword [edx + 0xc]
mov ecx, 0x1014f25c
call eax
add eax, 0x10
mov dword [ebp - 0x84], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebx + 0x18]
mov esi, dword [ecx + 0xe0]
test esi, esi
js 0x1003075b
push esi
push str.Object.defineProperty_screen___width___get:function__return__d___
lea edi, [ebp - 0x84]
call fcn.1000c340
push esi
push str.Object.defineProperty_screen___availWidth___get:function__return__d___
call fcn.1000c340
push esi
push str.Object.defineProperty_window___innerWidth___get:function__return__d___
call fcn.1000c340
push esi
push str.Object.defineProperty_window___outerWidth___get:function__return__d___
call fcn.1000c340
add esp, 0x20
test byte [0x1015a8a4], 1
jne 0x10030748
or dword [0x1015a8a4], 1
xor eax, eax
push 0x10103b50
mov dword [0x1015a8a8], eax
mov dword [0x1015a8ac], eax
mov dword [0x1015a8b0], eax
call fcn.10072866
add esp, 4
push esi
push str.sdkapp::LinkRunBase:_inject_js_width__d
mov esi, 0x1015a8a8
call fcn.1003a3f0
add esp, 8
mov edx, dword [ebx + 0x18]
mov esi, dword [edx + 0xe4]
test esi, esi
js 0x100307de
push esi
push str.Object.defineProperty_screen___height___get:function__return__d___
lea edi, [ebp - 0x84]
call fcn.1000c340
push esi
push str.Object.defineProperty_screen___availHeight___get:function__return__d___
call fcn.1000c340
push esi
push str.Object.defineProperty_window___innerHeight___get:function__return__d___
call fcn.1000c340
push esi
push str.Object.defineProperty_window___outerHeight___get:function__return__d___
call fcn.1000c340
add esp, 0x20
test byte [0x1015a8a4], 1
jne 0x100307cb
or dword [0x1015a8a4], 1
xor eax, eax
push 0x10103b50
mov dword [0x1015a8a8], eax
mov dword [0x1015a8ac], eax
mov dword [0x1015a8b0], eax
call fcn.10072866
add esp, 4
push esi
push str.sdkapp::LinkRunBase:_inject_js_height__d
mov esi, 0x1015a8a8
call fcn.1003a3f0
add esp, 8
mov eax, dword [ebx + 0x18]
push 0xffffffffffffffff
add eax, 0xa8
push 0
push eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
call fcn.10006dc0
mov byte [ebp - 4], 6
cmp dword [ebp - 0x1c], 0
je 0x1003087f
mov eax, dword [ebp - 0x2c]
mov esi, 0x10
cmp dword [ebp - 0x18], esi
jae 0x1003081f
lea eax, [ebp - 0x2c]
push eax
push str.Object.defineProperty_navigator___userAgent___get:function__return___s____
lea edi, [ebp - 0x84]
call fcn.1000c340
add esp, 8
cmp dword [ebp - 0x18], esi
mov esi, dword [ebp - 0x2c]
jae 0x1003083e
lea esi, [ebp - 0x2c]
test byte [0x1015a8a4], 1
jne 0x1003086c
or dword [0x1015a8a4], 1
xor eax, eax
push 0x10103b50
mov dword [0x1015a8a8], eax
mov dword [0x1015a8ac], eax
mov dword [0x1015a8b0], eax
call fcn.10072866
add esp, 4
push esi
push str.sdkapp::LinkRunBase:_inject_js_ua__s
mov esi, 0x1015a8a8
call fcn.1003a3f0
add esp, 8
mov eax, dword [ebx + 0x18]
add eax, 0x28
mov esi, 0x10
cmp dword [eax + 0x14], esi
jb 0x10030891
mov eax, dword [eax]
push 0x10133e90
push eax
call fcn.10076aba
add esp, 8
mov edx, str.Win32
test eax, eax
je 0x100308ad
mov edx, str.Linux_armv8l
mov eax, edx
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], 0
mov byte [ebp - 0x48], 0
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100308c4
sub eax, edi
push eax
push edx
lea ecx, [ebp - 0x48]
call fcn.100071e0
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0x34], esi
jae 0x100308e6
lea eax, [ebp - 0x48]
push eax
push str.Object.defineProperty_navigator___platform___get:function__return___s____
lea edi, [ebp - 0x84]
call fcn.1000c340
add esp, 8
cmp dword [ebp - 0x34], esi
mov esi, dword [ebp - 0x48]
jae 0x10030905
lea esi, [ebp - 0x48]
test byte [0x1015a8a4], 1
jne 0x10030933
or dword [0x1015a8a4], 1
xor eax, eax
push 0x10103b50
mov dword [0x1015a8a8], eax
mov dword [0x1015a8ac], eax
mov dword [0x1015a8b0], eax
call fcn.10072866
add esp, 4
push esi
push str.sdkapp::LinkRunBase:_inject_js_platform__s
mov esi, 0x1015a8a8
call fcn.1003a3f0
mov esi, dword [ebp - 0x84]
mov edi, 0xf
mov eax, esi
add esp, 8
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x54], 0
mov byte [ebp - 0x64], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10030964
sub eax, edx
push eax
push esi
lea ecx, [ebp - 0x64]
call fcn.100071e0
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 8
call fcn.10035e90
add esp, 4
push eax
lea ecx, [ebx + 0x20]
mov byte [ebp - 4], 9
call fcn.1000a250
mov esi, 0x10
cmp dword [ebp - 0x6c], esi
jb 0x100309ad
mov ecx, dword [ebp - 0x80]
push ecx
call fcn.100719b6
add esp, 4
mov byte [ebp - 4], 7
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x70], 0
mov byte [ebp - 0x80], 0
cmp dword [ebp - 0x50], esi
jb 0x100309d0
mov edx, dword [ebp - 0x64]
push edx
call fcn.100719b6
add esp, 4
mov eax, dword [ebx + 0x1c]
add eax, 0xc0
push eax
lea eax, [ebp - 0x94]
push eax
call fcn.10025b30
mov byte [ebp - 4], 0xa
mov eax, dword [ebx + 0x18]
mov ecx, dword [eax + 0xf0]
mov eax, dword [ecx]
push ecx
push eax
lea eax, [ebp - 0x94]
call fcn.10033480
mov eax, dword [ebp - 0x90]
mov esi, dword [eax]
cmp esi, eax
je 0x10030aa0
push 0xffffffffffffffff
lea eax, [esi + 0xc]
push 0
push eax
lea ecx, [ebx + 0x3c]
call fcn.10005720
push 2
push 0x10133768
lea ecx, [ebx + 0x3c]
call fcn.10005810
push 0xffffffffffffffff
lea eax, [esi + 0x28]
push 0
push eax
lea ecx, [ebx + 0x3c]
call fcn.10005720
push 2
push 0x10132f34
lea ecx, [ebx + 0x3c]
call fcn.10005810
cmp byte [esi + 0x45], 0
jne 0x10030a92
mov eax, dword [esi + 8]
cmp byte [eax + 0x45], 0
jne 0x10030a74
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0x45], 0
jne 0x10030a92
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0x45], 0
je 0x10030a68
jmp 0x10030a92
mov eax, dword [esi + 4]
cmp byte [eax + 0x45], 0
jne 0x10030a90
lea ecx, [ecx]
cmp esi, dword [eax + 8]
jne 0x10030a90
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0x45], 0
je 0x10030a80
mov esi, eax
mov eax, dword [ebp - 0x90]
cmp esi, eax
jne 0x10030a11
mov byte [ebp - 4], 0xb
mov ecx, dword [eax]
push eax
push ecx
lea edi, [ebp - 0x98]
lea esi, [ebp - 0x94]
call fcn.10008400
mov ecx, dword [ebp - 0x90]
push ecx
call fcn.100719b6
mov edi, 0x10
add esp, 4
cmp dword [ebp - 0x34], edi
jb 0x10030ade
mov edx, dword [ebp - 0x48]
push edx
call fcn.100719b6
add esp, 4
mov esi, 0xf
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], 0
mov byte [ebp - 0x48], 0
cmp dword [ebp - 0x18], edi
jb 0x10030b02
mov eax, dword [ebp - 0x2c]
push eax
call fcn.100719b6
add esp, 4
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x84]
add eax, 0xfffffff0
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10030b36
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp + 0x1c]
test esi, esi
je 0x10030b6d
lea ecx, [esi + 4]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x10030b6d
mov eax, dword [esi]
mov edx, dword [eax]
mov ecx, esi
call edx
lea eax, [esi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x10030b6d
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100719c1
mov esp, ebp
pop ebp
ret 0x18