Function at 0x100b03a0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x88
mov eax, dword [ebp + 0x3c]
mov dword [esp + 0x20], eax
mov ecx, dword [ebp + 0x30]
mov eax, dword [ebp + 0x18]
mov edi, dword [ebp + 0x14]
mov edx, dword [0x101db014]
xor edx, ebp
mov dword [esp + 0x80], edx
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 0x3c]
cmp ebx, 0x4020
jg 0x100b0429
cmp ebx, 0xce53436c
je 0x100b0438
mov esi, dword [ebp + 0x34]
cmp ebx, 0x1087
je 0x100b0481
cmp ebx, 0x1088
jne 0x100b0617
mov ebx, dword [ebp + 0x3c]
lea ecx, [esp + 0x24]
mov dword [ecx], ebx
lea ebx, [esp + 0x24]
mov dword [ebx + 4], edi
mov dword [ebx + 8], eax
mov dword [ebx + 0x10], edx
mov eax, dword [ebp + 0x10]
mov dword [ebx + 0xc], eax
mov eax, dword [ebp + 0x30]
mov dword [ebx + 0x14], eax
mov dword [ebx + 0x18], esi
jmp 0x100b049c
add ebx, 0xffffbfdf
cmp ebx, 1
ja 0x100b0617
lea ebx, [esp + 0x24]
mov dword [ebx], edi
mov dword [ebx + 4], eax
mov dword [ebx + 8], ecx
mov dword [esp + 4], 0xc
mov cl, 1
mov dword [esp], ecx
mov esi, dword [ebp + 8]
cmp dword [esi], 0x82000104
jne 0x100b047d
mov ecx, esi
push eax
push edi
push dword [ebp + 0x10]
call fcn.100b0b90
add esp, 0xc
mov ebx, eax
test eax, eax
jne 0x100b081b
xor eax, eax
lea ebx, [esp + 0x24]
jmp 0x100b04b0
xor eax, eax
jmp 0x100b04b0
lea ebx, [esp + 0x24]
mov dword [ebx], edi
mov dword [ebx + 4], eax
mov dword [ebx + 0xc], edx
mov eax, dword [ebp + 0x10]
mov dword [ebx + 8], eax
mov dword [ebx + 0x10], ecx
shl esi, 3
mov dword [ebx + 0x14], esi
mov dword [esp + 4], 0x18
mov al, 1
mov dword [esp], 0
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0x2c]
mov edx, dword [ebp + 0x28]
mov dword [esp + 0x40], edi
mov dword [edx], 0
movzx ecx, byte [esi + 3]
shl ecx, 0x18
cmp ecx, 0x82000000
jne 0x100b0809
mov ecx, dword [ebp + 0x38]
mov dword [esp + 0x1c], ecx
cmp dword [esi + 0x38], 0
je 0x100b054a
mov dword [esp + 4], edi
mov dword [esp + 0x7c], edi
mov edi, dword [esi + 0x3c]
xor ecx, ecx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x60], ecx
mov dword [edx], ecx
xor edx, edx
mov ecx, dword [esi]
cmp ecx, 0x82000104
je 0x100b0515
cmp ecx, 0x82000105
jne 0x100b0809
mov dl, 1
cmp edi, 0x4020
jg 0x100b05cf
cmp edi, 0xce53436c
je 0x100b0673
cmp edi, 0x1087
je 0x100b0739
cmp edi, 0x1088
je 0x100b0809
jmp 0x100b0617
mov dword [esp + 8], ebx
cmp dword [esi + 0x18], 0
mov eax, dword [esi + 0xc]
je 0x100b0562
cmp dword [eax + 0x30], 0
je 0x100b0562
mov ebx, dword [esi + 0x14]
jmp 0x100b0565
mov ebx, dword [eax + 0x3c]
push dword [0x101de1f0]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x100b0b49
mov edi, eax
lea eax, [ebx + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [ebx + 8], edi
cmp dword [esi + 0x18], 0
je 0x100b0623
mov eax, 0x91
mov ecx, 0x7dfffefc
add ecx, dword [esi]
cmp ecx, 6
ja case.0x100b05aa.2
mov ebx, dword [ebp + 0x28]
jmp dword [ecx*4 + 0x101a7df8]
mov ecx, esi
lea esi, [esp + 0x40]
mov eax, dword [ebp + 0x2c]
mov dword [esi], eax
mov eax, dword [ecx + 0xc]
mov edi, dword [ecx + 0x10]
mov eax, dword [eax]
mov ecx, dword [eax + 0x126]
jmp 0x100b0880
lea eax, [edi - 0x4021]
cmp eax, 1
ja 0x100b0617
cmp byte [esp], 0
je 0x100b0809
mov eax, dword [ebx]
lea ecx, [esp + 0x64]
mov dword [ecx], eax
mov eax, dword [ebx + 4]
mov dword [ecx + 4], eax
mov eax, dword [ebp + 0x1c]
mov dword [ecx + 8], eax
mov eax, dword [ebp + 0x20]
mov dword [ecx + 0xc], eax
mov dword [esp + 8], ebx
mov eax, dword [ebx + 8]
mov dword [esp + 0x18], eax
mov dword [esp + 0x5c], ecx
mov eax, 0x10
jmp 0x100b06b2
push 0
push 0xffffe006
jmp 0x100b0810
mov ebx, dword [esi + 0x20]
test ebx, ebx
je 0x100b0941
mov eax, dword [esi + 0x24]
mov dword [esp], eax
mov eax, dword [esi + 8]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0xc]
mov eax, dword [eax]
mov ecx, dword [eax + 0x46]
mov edi, dword [esi + 0x10]
call dword [section..00cfg]
push 0
push dword [esp + 0x18]
push dword [esp + 8]
push ebx
push edi
call ecx
add esp, 0x14
test eax, eax
je 0x100b0592
push eax
call fcn.100b1140
add esp, 4
jmp 0x100b0946
cmp byte [esp], 0
je 0x100b0809
mov eax, dword [ebx]
lea ecx, [esp + 0x64]
mov dword [ecx], eax
mov eax, dword [ebx + 4]
mov dword [ecx + 4], eax
mov dword [esp + 8], ebx
mov eax, dword [ebx + 8]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x1c]
mov dword [ecx + 8], eax
mov eax, dword [ebp + 0x20]
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], 0x10
mov dword [esp + 0x5c], ecx
mov eax, 0x14
mov dword [esp + 0x60], eax
mov dword [esp], 0x10
test dl, dl
jne 0x100b07a2
mov dword [esp + 0x14], edx
mov edx, dword [ebp + 0x3c]
mov esi, dword [ebp + 0x2c]
cmp esi, edx
jl 0x100b0809
mov eax, dword [esp]
lea ecx, [eax + edx]
mov dword [esp + 0x10], 0
mov eax, dword [ebp + 0x24]
cmp ecx, esi
mov ebx, dword [ebp + 0x38]
jbe 0x100b070d
mov esi, ecx
push ecx
call sym.nss3.dll_PORT_Alloc_Util
add esp, 4
test eax, eax
je 0x100b0818
mov dword [esp + 0x7c], esi
mov dword [esp + 0x10], eax
mov edx, dword [ebp + 0x3c]
lea ecx, [esp + 0x7c]
push edx
push ebx
mov dword [esp + 0xc], esi
push esi
push ecx
mov dword [esp + 0x1c], eax
push eax
lea eax, [esp + 0x6c]
push eax
push edi
mov esi, dword [ebp + 8]
push dword [esi + 4]
call sym.nss3.dll_PK11_Encrypt
add esp, 0x20
mov ebx, eax
jmp 0x100b09c7
test al, al
je 0x100b0809
mov eax, dword [ebx]
lea ecx, [esp + 0x64]
mov dword [esp + 0x10], eax
mov dword [ecx], eax
mov esi, dword [ebx + 4]
mov dword [ecx + 4], esi
mov dword [esp + 0x14], edx
lea edx, [esi*8]
mov dword [ecx + 8], edx
mov edx, dword [ebp + 0x1c]
mov dword [ecx + 0xc], edx
mov edx, dword [ebp + 0x20]
mov dword [ecx + 0x10], edx
mov edx, dword [esp + 0x14]
mov eax, dword [ebx + 0x14]
mov dword [ecx + 0x14], eax
mov dword [esp + 0x5c], ecx
mov ecx, dword [ebx + 0x10]
mov dword [esp + 0x18], ecx
add eax, 7
shr eax, 3
mov dword [esp], eax
mov dword [esp + 0x60], 0x18
test dl, dl
mov dword [esp + 8], ebx
je 0x100b0a71
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0x3c]
mov ebx, dword [ebp + 0x38]
add eax, ebx
mov dword [esp + 0x1c], eax
mov ecx, dword [esp]
mov eax, dword [ebp + 0x3c]
add ecx, eax
mov eax, dword [esp + 0x1c]
cmp dword [esp + 0x18], eax
mov dword [esp + 0x14], edx
mov dword [esp + 0xc], ecx
je 0x100b0988
push ecx
call sym.nss3.dll_PORT_Alloc_Util
add esp, 4
test eax, eax
je 0x100b0818
mov edx, eax
mov eax, dword [ebp + 0x3c]
push eax
push ebx
push edx
mov ebx, edx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, ebx
add eax, dword [ebp + 0x3c]
push dword [esp]
push dword [esp + 0x1c]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov dword [esp + 0x10], ebx
jmp 0x100b0990
push 0
push 0xffffe005
call sym.nss3.dll_PR_SetError
add esp, 8
xor ebx, ebx
dec ebx
mov ecx, dword [esp + 0x80]
xor ecx, ebp
call fcn.1014dc80
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, esi
lea esi, [esp + 0x40]
mov eax, dword [ebp + 0x2c]
mov dword [esi], eax
mov eax, dword [ecx + 0xc]
mov edi, dword [ecx + 0x10]
mov eax, dword [eax]
mov ecx, dword [eax + 0x14e]
call dword [section..00cfg]
push esi
push dword [ebp + 0x24]
push dword [ebp + 0x3c]
push dword [ebp + 0x38]
push dword [esp + 0x14]
push dword [esp + 0x1c]
push edi
jmp 0x100b08d6
mov ecx, esi
lea esi, [esp + 0x40]
mov eax, dword [ebp + 0x2c]
mov dword [esi], eax
mov eax, dword [ecx + 0xc]
mov edi, dword [ecx + 0x10]
mov eax, dword [eax]
mov ecx, dword [eax + 0x13a]
call dword [section..00cfg]
push esi
push dword [ebp + 0x24]
push dword [ebp + 0x3c]
push dword [ebp + 0x38]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [esp + 0x1c]
push dword [esp + 0x24]
push edi
call ecx
add esp, 0x24
jmp 0x100b08db
mov eax, dword [ebp + 0x2c]
mov edi, eax
mov dword [esp + 0x40], eax
mov eax, dword [esi + 0xc]
mov esi, dword [esi + 0x10]
mov eax, dword [eax]
mov ecx, dword [eax + 0x162]
call dword [section..00cfg]
push edi
push dword [ebp + 0x24]
push dword [ebp + 0x3c]
push dword [ebp + 0x38]
push dword [esp + 0x14]
push dword [esp + 0x1c]
push esi
call ecx
add esp, 0x1c
test eax, eax
mov esi, dword [ebp + 8]
je 0x100b08fb
push eax
call fcn.100b1140
add esp, 4
push 0
push eax
call sym.nss3.dll_PR_SetError
add esp, 8
xor ebx, ebx
dec ebx
jmp 0x100b0903
mov eax, dword [esp + 0x40]
mov dword [ebx], eax
xor ebx, ebx
cmp dword [esi + 0x18], 0
jne 0x100b0933
lea eax, [esi + 0x24]
mov edx, dword [esi + 0x20]
mov ecx, esi
push eax
call fcn.100ae860
add esp, 4
mov dword [esi + 0x20], eax
xor ecx, ecx
cmp eax, 1
sbb ecx, ecx
or ebx, ecx
mov ecx, esi
call fcn.100af050
cmp dword [esi + 0x18], 0
je 0x100b0975
mov eax, dword [esi + 0xc]
cmp dword [eax + 0x30], 0
je 0x100b0978
push dword [esi + 0x14]
jmp 0x100b097b
mov eax, 0xffffe001
push 0
push eax
call sym.nss3.dll_PR_SetError
add esp, 8
cmp dword [esi + 0x18], 0
mov eax, dword [esi + 0xc]
je 0x100b0965
cmp dword [eax + 0x30], 0
je 0x100b0965
push dword [esi + 0x14]
jmp 0x100b0968
push dword [eax + 0x3c]
call sym.nss3.dll_PR_Unlock
add esp, 4
jmp 0x100b0818
mov eax, dword [esi + 0xc]
push dword [eax + 0x3c]
call sym.nss3.dll_PR_Unlock
add esp, 4
jmp 0x100b081b
mov dword [esp + 0x10], 0
lea eax, [esp + 0x7c]
lea ecx, [esp + 0x58]
push dword [esp + 0xc]
mov dword [esp + 0x20], ebx
push ebx
push dword [ebp + 0x2c]
push eax
mov eax, dword [ebp + 0x24]
push eax
push ecx
push edi
push dword [esi + 4]
call sym.nss3.dll_PK11_Decrypt
add esp, 0x20
mov ebx, eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x24]
mov dword [esp + 0xc], eax
test ebx, ebx
mov eax, dword [esp + 0x14]
je 0x100b0ac2
cmp edi, 0x1087
jne 0x100b0b31
mov edi, eax
cmp dword [0x101de200], 0
je 0x100b0b7f
push dword [0x101de1f0]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x100b0b64
cmp dword [eax + 0x28], 0xffffe002
jne 0x100b0b31
mov eax, edi
mov ebx, edi
mov edx, dword [esp + 8]
mov eax, dword [edx]
lea ecx, [esp + 0x44]
mov dword [ecx], eax
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov eax, dword [ebp + 0x1c]
mov dword [ecx + 8], eax
mov eax, dword [ebp + 0x20]
mov dword [ecx + 0xc], eax
mov eax, dword [edx + 0x14]
mov dword [ecx + 0x10], eax
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], 0x14
mov eax, dword [esi + 4]
lea ecx, [esp + 0x7c]
lea edx, [esp + 0x58]
test bl, bl
je 0x100b0a9a
push dword [esp + 0x20]
push dword [esp + 0x20]
push dword [esp + 0xc]
push ecx
push dword [esp + 0x1c]
push edx
push 0x1087
push eax
call sym.nss3.dll_PK11_Decrypt
jmp 0x100b0ab7
mov edx, dword [ebx + 0xc]
mov ecx, dword [ebp + 8]
push esi
push dword [esp + 0x14]
push dword [ebx + 8]
call fcn.100b0b90
mov edx, dword [esp + 0x20]
add esp, 0xc
mov ebx, eax
test eax, eax
jne 0x100b081b
jmp 0x100b06c5
push dword [esp + 0x20]
push dword [esp + 0x20]
push dword [esp + 0xc]
push ecx
push dword [esp + 0x1c]
push edx
push 0x1087
push eax
call sym.nss3.dll_PK11_Encrypt
add esp, 0x20
mov ebx, eax
test eax, eax
mov eax, edi
jne 0x100b0b31
test al, al
mov edi, dword [ebp + 0x28]
jne 0x100b0b15
mov eax, dword [esp + 0x7c]
mov esi, eax
mov edx, dword [esp]
sub esi, edx
jb 0x100b0b1f
mov ecx, dword [esp + 0x20]
add ecx, edx
cmp eax, ecx
ja 0x100b0b1f
mov dword [esp + 0x7c], esi
mov eax, dword [esp + 0x10]
test eax, eax
je 0x100b0af9
push esi
push eax
push dword [ebp + 0x24]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov ecx, dword [esp + 0xc]
add ecx, esi
cmp dword [esp + 0x18], ecx
je 0x100b0b15
push dword [esp]
push ecx
push dword [esp + 0x20]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [esp + 0x7c]
mov dword [edi], eax
xor ebx, ebx
jmp 0x100b0b31
push 0
push 0xffffe001
call sym.nss3.dll_PR_SetError
add esp, 8
xor ebx, ebx
dec ebx
mov eax, dword [esp + 0x10]
test eax, eax
je 0x100b081b
push eax
call dword [sym.imp.mozglue.dll_free]
jmp 0x100b0980
sub esp, 0x10
movaps xmm0, xmmword [0x1019c190]
movups xmmword [esp], xmm0
call fcn.10072140
add esp, 0x10
jmp 0x100b0579
sub esp, 0x10
movaps xmm0, xmmword [0x1019c190]
movups xmmword [esp], xmm0
call fcn.10072140
add esp, 0x10
jmp 0x100b0a02
call fcn.100745e0
jmp 0x100b09ee