Function at 0x101273e0
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 [0x101f1014]
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.100f3930
add esp, 0x18
test eax, eax
jne 0x10127500
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.1010c070
add esp, 0xc
test eax, eax
jne 0x101274d6
mov eax, dword [esp + 0x50]
xor eax, 0xff
or eax, dword [esp + 0x54]
jne 0x101274d6
lea eax, [esp + 0x48]
push eax
push 2
push edi
call fcn.1010c070
add esp, 0xc
test eax, eax
jne 0x101274d6
lea eax, [esp + 0x38]
push eax
push 2
push edi
call fcn.1010c070
add esp, 0xc
test eax, eax
jne 0x101274d6
push dword [esp + 0x38]
call fcn.10114b20
add esp, 4
mov esi, eax
lea eax, [esp + 0x30]
push eax
push 1
push edi
call fcn.1010c070
add esp, 0xc
test eax, eax
je 0x1012751b
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.100f4470
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.10157a00
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 0x10127611
push esi
push 1
push edi
call fcn.1010c070
add esp, 0xc
test eax, eax
jne 0x101274d6
mov al, byte [esp + 0x30]
mov byte [esp + 0x84], al
push esi
push 2
push edi
call fcn.1010c070
add esp, 0xc
test eax, eax
jne 0x101274d6
mov eax, dword [esp + 0x30]
mov dword [esp + 0x88], eax
push esi
push 2
push edi
call fcn.1010c070
add esp, 0xc
test eax, eax
jne 0x101274d6
mov eax, dword [esp + 0x30]
mov dword [esp + 0x8c], eax
lea eax, [esp + 0x40]
push eax
push 8
push edi
call fcn.1010bf40
add esp, 0xc
test eax, eax
jne 0x101274d6
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.1010bfa0
add esp, 0xc
test eax, eax
jne 0x101274d6
cmp dword [ebp + 0x20], 0
je 0x10127611
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x10127611
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.100ab670
add esp, 8
mov dword [esp + 0x90], eax
test eax, eax
je 0x1012782a
lea eax, [esp + 0x18]
push eax
push 2
push edi
call fcn.1010c070
add esp, 0xc
test eax, eax
jne 0x101274d6
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.1010bf40
add esp, 0xc
test eax, eax
je 0x1012766d
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.100f4470
add esp, 0xc
push edi
push esi
jmp 0x101274f8
cmp dword [ebp + 0x24], 0
mov edi, dword [ebp + 8]
je 0x1012775b
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 0x101277a0
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.1011a280
add esp, 4
cmp edi, eax
jne 0x10127806
mov eax, dword [esp + 0x24]
add eax, dword [esp + 0x2c]
push 0x100f6e00
push edi
push eax
push 0
push 0xfe
push esi
call fcn.100fcf40
add esp, 0x18
xor edi, edi
dec edi
test eax, eax
jne 0x10127503
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.1011e850
add esp, 0x1c
test eax, eax
jne 0x10127503
push 0x100f6e00
push dword [esp + 0x68]
push dword [esp + 0x68]
push 0
push 2
push dword [ebp + 8]
call fcn.100fcf40
add esp, 0x18
mov ebx, eax
lea eax, [esp + 0x60]
push eax
call fcn.1010bf00
add esp, 4
test ebx, ebx
jne 0x10127503
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x1012776d
movzx edx, word [esp + 0x48]
mov word [ecx], dx
test eax, eax
mov ecx, dword [esp + 0xc]
je 0x10127777
mov dword [eax], ecx
xor edi, edi
mov eax, dword [ebp + 0x20]
test eax, eax
je 0x10127503
movups xmm0, xmmword [esp + 0x8c]
movups xmmword [eax + 0xc], xmm0
movaps xmm0, xmmword [esp + 0x80]
movups xmmword [eax], xmm0
jmp 0x10127503
cmp dword [0x101f4f80], 0
je 0x101278e9
push dword [0x101f45d4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x10127880
push 0
push dword [eax + 0x28]
call sym.nss3.dll_PR_SetError
add esp, 8
cmp dword [0x101f4f80], 0
je 0x101278f3
push dword [0x101f45d4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x1012789b
mov esi, dword [eax + 0x28]
push 0x50
push 2
push edi
call fcn.100f4470
add esp, 0xc
push 0
jmp 0x10127667
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.100f4470
add esp, 0xc
push ebx
jmp 0x101274f7
cmp dword [0x101f4f80], 0
je 0x101278fd
push dword [0x101f45d4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x101278b6
push 0
push dword [eax + 0x28]
call sym.nss3.dll_PR_SetError
add esp, 8
cmp dword [0x101f4f80], 0
je 0x10127907
push dword [0x101f45d4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x101278d1
mov esi, dword [eax + 0x28]
push 0x2f
push 2
push dword [ebp + 8]
jmp 0x101277f7
sub esp, 0x10
movaps xmm0, xmmword [0x101b11e0]
movups xmmword [esp], xmm0
call fcn.1006e720
add esp, 0x10
jmp 0x101277c1
sub esp, 0x10
movaps xmm0, xmmword [0x101b11e0]
movups xmmword [esp], xmm0
call fcn.1006e720
add esp, 0x10
jmp 0x101277ef
sub esp, 0x10
movaps xmm0, xmmword [0x101b11e0]
movups xmmword [esp], xmm0
call fcn.1006e720
add esp, 0x10
jmp 0x10127847
sub esp, 0x10
movaps xmm0, xmmword [0x101b11e0]
movups xmmword [esp], xmm0
call fcn.1006e720
add esp, 0x10
jmp 0x10127871
call fcn.1001b2e0
jmp 0x101277ad
call fcn.1001b2e0
jmp 0x101277db
call fcn.1001b2e0
jmp 0x10127837
call fcn.1001b2e0
jmp 0x10127861