Function at 0x10125e20
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x4b0
mov ebx, dword [ebp + 0x10]
mov eax, dword [0x101ef014]
xor eax, ebp
mov dword [esp + 0x4a8], eax
xor ecx, ecx
lea eax, [esp + 0x7c]
mov dword [eax], ecx
xorps xmm0, xmm0
movaps xmmword [esp + 0x60], xmm0
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x58], ecx
movups xmmword [esp + 0x8c], xmm0
movaps xmmword [esp + 0x80], xmm0
mov dword [esp + 0x44], ecx
mov dword [esp + 0x40], ecx
lea esi, [esp + 0xa8]
push 0x400
push eax
push esi
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.100f2370
add esp, 0x18
test eax, eax
jne 0x10125f40
lea edi, [esp + 0x24]
mov dword [edi], esi
mov eax, dword [esp + 0x7c]
mov dword [edi + 4], eax
mov dword [edi + 8], 0
lea eax, [esp + 0x50]
push eax
push 1
push edi
call fcn.1010aab0
add esp, 0xc
test eax, eax
jne 0x10125f16
mov eax, dword [esp + 0x50]
xor eax, 0xff
or eax, dword [esp + 0x54]
jne 0x10125f16
lea eax, [esp + 0x48]
push eax
push 2
push edi
call fcn.1010aab0
add esp, 0xc
test eax, eax
jne 0x10125f16
lea eax, [esp + 0x38]
push eax
push 2
push edi
call fcn.1010aab0
add esp, 0xc
test eax, eax
jne 0x10125f16
push dword [esp + 0x38]
call fcn.10113560
add esp, 4
mov esi, eax
lea eax, [esp + 0x30]
push eax
push 1
push edi
call fcn.1010aab0
add esp, 0xc
test eax, eax
je 0x10125f5b
xor esi, esi
mov edi, 0xffffd01c
push esi
push edi
call sym.nss3.dll_PR_SetError
add esp, 8
push 0x2f
push 2
push dword [ebp + 8]
call fcn.100f2eb0
add esp, 0xc
push esi
push edi
call sym.nss3.dll_PR_SetError
add esp, 8
xor edi, edi
dec edi
mov ecx, dword [esp + 0x4a8]
xor ecx, ebp
call fcn.10156ff0
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esp + 0xc], esi
lea esi, [esp + 0x30]
mov eax, dword [ebp + 0x1c]
mov ecx, dword [esp + 0x30]
xor ecx, 1
xor edx, edx
or ecx, dword [esp + 0x34]
sete dl
mov dword [eax], edx
jne 0x10126051
push esi
push 1
push edi
call fcn.1010aab0
add esp, 0xc
test eax, eax
jne 0x10125f16
mov al, byte [esp + 0x30]
mov byte [esp + 0x84], al
push esi
push 2
push edi
call fcn.1010aab0
add esp, 0xc
test eax, eax
jne 0x10125f16
mov eax, dword [esp + 0x30]
mov dword [esp + 0x88], eax
push esi
push 2
push edi
call fcn.1010aab0
add esp, 0xc
test eax, eax
jne 0x10125f16
mov eax, dword [esp + 0x30]
mov dword [esp + 0x8c], eax
lea eax, [esp + 0x40]
push eax
push 8
push edi
call fcn.1010a980
add esp, 0xc
test eax, eax
jne 0x10125f16
mov eax, dword [esp + 0x40]
movsd xmm0, qword [eax]
movsd qword [esp + 0x94], xmm0
lea eax, [esp + 0x58]
push eax
push 2
push edi
call fcn.1010a9e0
add esp, 0xc
test eax, eax
jne 0x10125f16
cmp dword [ebp + 0x20], 0
je 0x10126051
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x10126051
xor ecx, ecx
lea edx, [esp + 0x18]
mov dword [edx], ecx
mov esi, dword [esp + 0x58]
mov dword [edx + 4], esi
mov dword [edx + 8], eax
push ecx
push edx
call fcn.100aa0b0
add esp, 8
mov dword [esp + 0x90], eax
test eax, eax
je 0x1012626a
lea eax, [esp + 0x18]
push eax
push 2
push edi
call fcn.1010aab0
add esp, 0xc
test eax, eax
jne 0x10125f16
xor ecx, ecx
lea eax, [esp + 0x10]
mov dword [eax + 4], ecx
mov dword [eax], ecx
push eax
push dword [esp + 0x1c]
push edi
call fcn.1010a980
add esp, 0xc
test eax, eax
je 0x101260ad
xor edi, edi
mov esi, 0xffffd01c
push edi
push esi
call sym.nss3.dll_PR_SetError
add esp, 8
push 0x2f
push 2
push dword [ebp + 8]
call fcn.100f2eb0
add esp, 0xc
push edi
push esi
jmp 0x10125f38
cmp dword [ebp + 0x24], 0
mov edi, dword [ebp + 8]
je 0x1012619b
lea eax, [edi + 0xa00]
push dword [esp + 0x18]
push eax
push 0
call sym.nss3.dll_SECITEM_AllocItem_Util
add esp, 0xc
test eax, eax
je 0x101261e0
push dword [esp + 0x18]
push dword [esp + 0x14]
push dword [edi + 0xa04]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [esp + 0x18]
mov dword [edi + 0xa08], eax
mov esi, edi
mov edi, dword [esp + 0x28]
sub edi, dword [esp + 0x2c]
push esi
call fcn.10118cc0
add esp, 4
cmp edi, eax
jne 0x10126246
mov eax, dword [esp + 0x24]
add eax, dword [esp + 0x2c]
push 0x100f5840
push edi
push eax
push 0
push 0xfe
push esi
call fcn.100fb980
add esp, 0x18
xor edi, edi
dec edi
test eax, eax
jne 0x10125f43
lea eax, [esp + 0x94]
movzx ecx, word [esp + 0x48]
lea edx, [esp + 0x60]
push edx
push eax
push ebx
push dword [ebp + 0xc]
push dword [esp + 0x1c]
push ecx
push esi
call fcn.1011d290
add esp, 0x1c
test eax, eax
jne 0x10125f43
push 0x100f5840
push dword [esp + 0x68]
push dword [esp + 0x68]
push 0
push 2
push dword [ebp + 8]
call fcn.100fb980
add esp, 0x18
mov ebx, eax
lea eax, [esp + 0x60]
push eax
call fcn.1010a940
add esp, 4
test ebx, ebx
jne 0x10125f43
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x101261ad
movzx edx, word [esp + 0x48]
mov word [ecx], dx
test eax, eax
mov ecx, dword [esp + 0xc]
je 0x101261b7
mov dword [eax], ecx
xor edi, edi
mov eax, dword [ebp + 0x20]
test eax, eax
je 0x10125f43
movups xmm0, xmmword [esp + 0x8c]
movups xmmword [eax + 0xc], xmm0
movaps xmm0, xmmword [esp + 0x80]
movups xmmword [eax], xmm0
jmp 0x10125f43
cmp dword [0x101f2f50], 0
je 0x10126329
push dword [0x101f25a4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x101262c0
push 0
push dword [eax + 0x28]
call sym.nss3.dll_PR_SetError
add esp, 8
cmp dword [0x101f2f50], 0
je 0x10126333
push dword [0x101f25a4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x101262db
mov esi, dword [eax + 0x28]
push 0x50
push 2
push edi
call fcn.100f2eb0
add esp, 0xc
push 0
jmp 0x101260a7
xor ebx, ebx
mov edi, 0xffffd01c
push ebx
push edi
call sym.nss3.dll_PR_SetError
add esp, 8
push 0x2f
push 2
push esi
call fcn.100f2eb0
add esp, 0xc
push ebx
jmp 0x10125f37
cmp dword [0x101f2f50], 0
je 0x1012633d
push dword [0x101f25a4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x101262f6
push 0
push dword [eax + 0x28]
call sym.nss3.dll_PR_SetError
add esp, 8
cmp dword [0x101f2f50], 0
je 0x10126347
push dword [0x101f25a4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x10126311
mov esi, dword [eax + 0x28]
push 0x2f
push 2
push dword [ebp + 8]
jmp 0x10126237
sub esp, 0x10
movaps xmm0, xmmword [0x101af1a0]
movups xmmword [esp], xmm0
call fcn.1006d800
add esp, 0x10
jmp 0x10126201
sub esp, 0x10
movaps xmm0, xmmword [0x101af1a0]
movups xmmword [esp], xmm0
call fcn.1006d800
add esp, 0x10
jmp 0x1012622f
sub esp, 0x10
movaps xmm0, xmmword [0x101af1a0]
movups xmmword [esp], xmm0
call fcn.1006d800
add esp, 0x10
jmp 0x10126287
sub esp, 0x10
movaps xmm0, xmmword [0x101af1a0]
movups xmmword [esp], xmm0
call fcn.1006d800
add esp, 0x10
jmp 0x101262b1
call fcn.100029d0
jmp 0x101261ed
call fcn.100029d0
jmp 0x1012621b
call fcn.100029d0
jmp 0x10126277
call fcn.100029d0
jmp 0x101262a1