Function at 0x1011ed50
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push eax
mov esi, dword [ebp + 8]
mov edi, dword [esi + 0xc4]
push 0x29
push esi
call fcn.10105f30
add esp, 8
test eax, eax
je 0x1011edc0
mov eax, dword [esi + 0xa1c]
lea ebx, [esi + 0x718]
cmp dword [eax + 0x10], 1
jne 0x1011eded
cmp dword [ebx], 0
je 0x1011f020
mov dword [ebp - 0x10], ebx
mov ecx, dword [esi + 0x494]
lea edx, [ecx + 0x10]
add eax, 0x20
test ecx, ecx
cmovne eax, edx
mov ebx, dword [eax]
movzx eax, word [edi + 0x9a]
push eax
call fcn.100f3c20
add esp, 4
test eax, eax
je 0x1011f04e
mov eax, dword [eax + 0x10]
jmp 0x1011f050
mov eax, dword [esi + 0x5dc]
test eax, eax
je 0x1011eddd
push eax
call sym.nss3.dll_PK11_FreeSymKey
add esp, 4
mov dword [esi + 0x5dc], 0
xor eax, eax
mov dword [esi + 0x718], eax
mov dword [esi + 0xa1c], eax
jmp 0x1011edf3
mov dword [ebx], 0
lea ebx, [esi + 0x718]
lea ecx, [esi + 0x634]
mov edx, dword [esi + 0x48c]
movups xmm0, xmmword [edx]
movups xmmword [esi + 0x634], xmm0
movsd xmm0, qword [edx + 0x10]
movsd qword [esi + 0x644], xmm0
mov dword [esi + 0x48c], ecx
test eax, eax
je 0x1011ee9a
mov dword [esi + 0x640], 9
cmp dword [esi + 0x718], 0
je 0x1011eec6
mov dword [ebp - 0x10], ebx
mov eax, dword [edi + 0x60]
mov dword [esi + 0x80], eax
mov eax, dword [edi + 0x64]
mov dword [esi + 0x84], eax
push dword [edi + 0x70]
call fcn.10114b20
add esp, 4
mov dword [esi + 0x98], eax
mov eax, dword [edi + 0x74]
mov dword [esi + 0x88], eax
mov ebx, dword [edi + 0x18]
test ebx, ebx
je 0x1011ee87
push ebx
call fcn.1009bef0
add esp, 4
test eax, eax
je 0x1011ee84
lock inc dword [eax + 4]
mov dword [esi + 0x78], ebx
lock inc dword [0x101f5a24]
lock inc dword [0x101f5a40]
mov ebx, dword [ebp - 0x10]
jmp 0x1011eed0
cmp dword [ebx], 0
je 0x1011eeb5
push 0x29
push esi
call fcn.10105f70
add esp, 8
test eax, eax
je 0x1011eeb5
lock inc dword [0x101f5a28]
cmp dword [edi + 4], 1
jne 0x1011eed0
push esi
call fcn.1010e6a0
add esp, 4
jmp 0x1011eed0
mov dword [esi + 0x80], 9
push edi
call fcn.1010d500
add esp, 4
push 0
push esi
call fcn.100f8b00
add esp, 8
mov dword [esi + 0xc4], eax
test eax, eax
je 0x1011ef9b
mov edi, eax
cmp dword [ebx], 0
mov dword [ebp - 0x10], ebx
je 0x1011ef17
mov ebx, dword [esi + 0x78]
test ebx, ebx
je 0x1011ef14
push ebx
call fcn.1009bef0
add esp, 4
test eax, eax
je 0x1011ef14
lock inc dword [eax + 4]
mov dword [edi + 0x18], ebx
movzx eax, word [esi + 0x58]
mov word [edi + 0x4a], ax
lea eax, [esi + 0x9d4]
mov edi, dword [esi + 0x9d4]
cmp edi, eax
je 0x1011f002
push dword [edi + 8]
push esi
call fcn.10116ba0
add esp, 8
test eax, eax
je 0x1011f017
mov ebx, eax
lea eax, [esi + 0x5e4]
mov ecx, esi
mov edx, edi
push eax
push dword [ebx + 0xc]
call fcn.1011aab0
add esp, 8
xor ecx, ecx
dec ecx
test eax, eax
jne 0x1011f08d
mov eax, dword [edi + 8]
mov dword [esi + 0x94], eax
mov eax, dword [eax + 8]
cmp eax, 2
je 0x1011f097
cmp eax, 4
jne 0x1011f0b5
xor ecx, ecx
mov edx, dword [ebp - 0x10]
cmp dword [edx], 0
sete cl
xor ecx, 5
jmp 0x1011f0a9
cmp dword [0x101f4f80], 0
je 0x1011f180
push dword [0x101f45d4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x1011f14a
push 0
push dword [eax + 0x28]
call sym.nss3.dll_PR_SetError
add esp, 8
cmp dword [0x101f4f80], 0
je 0x1011f18a
push dword [0x101f45d4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x1011f165
mov edi, dword [eax + 0x28]
push 0x50
push 2
push esi
call fcn.100f4470
add esp, 0xc
push 0
push edi
jmp 0x1011f082
xor edi, edi
mov ebx, 0xffffd08b
push edi
push ebx
call sym.nss3.dll_PR_SetError
add esp, 8
push 0x6d
jmp 0x1011f075
xor edi, edi
mov ebx, 0xffffd08a
jmp 0x1011f069
lea eax, [esi + 0x634]
mov ecx, dword [esi + 0x48c]
movups xmm0, xmmword [ecx]
movups xmmword [esi + 0x634], xmm0
movsd xmm0, qword [ecx + 0x10]
movsd qword [esi + 0x644], xmm0
mov dword [esi + 0x48c], eax
jmp 0x1011ee26
xor eax, eax
cmp ebx, eax
jne 0x1011f062
mov eax, dword [esi + 0xa1c]
mov ebx, dword [ebp - 0x10]
jmp 0x1011edf9
xor edi, edi
mov ebx, 0xffffd01d
push edi
push ebx
call sym.nss3.dll_PR_SetError
add esp, 8
push 0x2f
push 2
push esi
call fcn.100f4470
add esp, 0xc
push edi
push ebx
call sym.nss3.dll_PR_SetError
add esp, 8
xor ecx, ecx
dec ecx
mov eax, ecx
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
xor ecx, ecx
mov edx, dword [ebp - 0x10]
cmp dword [edx], 0
setne cl
lea ecx, [ecx*4 + 2]
mov dword [esi + 0x638], ecx
mov dword [esi + 0x8c], eax
mov eax, dword [ebx + 0xc]
push dword [eax + 4]
call fcn.1008eda0
add esp, 4
mov dword [esi + 0x90], eax
mov ecx, esi
call fcn.1011f1a0
test eax, eax
jne 0x1011f08a
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
call fcn.10125010
add esp, 0x10
test eax, eax
jne 0x1011f08a
mov ecx, esi
call fcn.1011f2f0
test eax, eax
jne 0x1011f08a
cmp dword [esi + 0x60c], 1
jne 0x1011f10a
push 0
push 2
push esi
call fcn.1011a0f0
add esp, 0xc
mov ecx, esi
mov edx, 2
push 0
push 1
call fcn.1011aee0
add esp, 8
test eax, eax
je 0x1011f139
xor edi, edi
mov ebx, 0xffffd050
push edi
push ebx
call sym.nss3.dll_PR_SetError
add esp, 8
push 0x50
jmp 0x1011f075
mov dword [esi + 0x450], 0x8f
xor ecx, ecx
jmp 0x1011f08d
sub esp, 0x10
movaps xmm0, xmmword [0x101b11e0]
movups xmmword [esp], xmm0
call fcn.1006e720
add esp, 0x10
jmp 0x1011efbc
sub esp, 0x10
movaps xmm0, xmmword [0x101b11e0]
movups xmmword [esp], xmm0
call fcn.1006e720
add esp, 0x10
jmp 0x1011efea
call fcn.1001b2e0
jmp 0x1011efa8
call fcn.1001b2e0
jmp 0x1011efd6