joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1010c480
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x10
cmp dword [0x101f4f80], 0
je 0x1010c515
mov eax, dword [0x101f45d4]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
sub esp, 4
test eax, eax
je 0x1010c503
mov esi, dword [eax + 0x28]
cmp esi, 0xffffe022
jg 0x1010c4d4
lea eax, [esi + 0x2000]
cmp eax, 3
jb 0x1010c4e8
lea eax, [esi + 0x2ffa]
cmp eax, 2
jb 0x1010c4e8
cmp esi, 0xffffd05a
je 0x1010c4e8
jmp 0x1010c4fb
cmp esi, 0xffffe023
je 0x1010c4e8
test esi, esi
je 0x1010c4e8
cmp esi, 0xffffe899
jne 0x1010c4fb
mov esi, dword [ebp + 8]
mov dword [esp], esi
mov dword [esp + 4], 0
call sym.nss3.dll_PR_SetError
mov eax, esi
add esp, 0x10
pop esi
pop ebp
ret
movaps xmm0, xmmword [0x101b11e0]
movups xmmword [esp], xmm0
call fcn.1006e720
jmp 0x1010c4a9
call fcn.1001b2e0
jmp 0x1010c494

Function at 0x1010d140
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov eax, dword [ebp + 8]
test eax, eax
je 0x1010d1aa
cmp dword [eax], 0
mov edi, dword [eax + 4]
je 0x1010d183
lea eax, [edi + 1]
cmp eax, 1
jbe 0x1010d1aa
push 0xffffffffffffffff
push edi
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
cmp eax, 0xffffffff
je 0x1010d1c0
mov ecx, eax
xor eax, eax
test ecx, ecx
je 0x1010d1bc
cmp ecx, 0x80
je 0x1010d1bc
push 0
push 0xffffe896
jmp 0x1010d1b1
test edi, edi
je 0x1010d1aa
push dword [0x101f45d4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, eax
test eax, eax
je 0x1010d1d1
lea eax, [edi + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [edi + 8], esi
xor eax, eax
jmp 0x1010d1bc
push 0
push 0xffffe89d
call sym.nss3.dll_PR_SetError
add esp, 8
xor eax, eax
dec eax
pop esi
pop edi
pop ebp
ret
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
call fcn.10129970
add esp, 4
jmp 0x1010d1b9
sub esp, 0x10
movaps xmm0, xmmword [0x101b11e0]
movups xmmword [esp], xmm0
call fcn.1006e720
add esp, 0x10
mov esi, eax
jmp 0x1010d199
Function at 0x1010d310
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
call sym.nss3.dll_PR_NewLock
mov esi, eax
mov dword [0x101f5a4c], eax
call sym.nss3.dll_PR_NewLock
mov dword [0x101f5eec], eax
test esi, esi
je 0x1010d33b
mov ecx, eax
xor eax, eax
test ecx, ecx
jne 0x1010d3df
cmp dword [0x101f4f80], 0
je 0x1010d3fe
push dword [0x101f45d4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x1010d3e3
mov esi, dword [eax + 0x28]
mov edi, dword [0x101f5a4c]
test edi, edi
je 0x1010d389
lea eax, [edi + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_DeleteCriticalSection]
push edi
call dword [sym.imp.mozglue.dll_free]
add esp, 4
mov dword [0x101f5a4c], 0
jmp 0x1010d398
push 0
push 0xffffe09a
call sym.nss3.dll_PR_SetError
add esp, 8
mov edi, dword [0x101f5eec]
test edi, edi
je 0x1010d3c2
lea eax, [edi + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_DeleteCriticalSection]
push edi
call dword [sym.imp.mozglue.dll_free]
add esp, 4
mov dword [0x101f5eec], 0
jmp 0x1010d3d1
push 0
push 0xffffe09a
call sym.nss3.dll_PR_SetError
add esp, 8
push 0
push esi
call sym.nss3.dll_PR_SetError
add esp, 8
xor eax, eax
dec eax
pop esi
pop edi
pop ebp
ret
sub esp, 0x10
movaps xmm0, xmmword [0x101b11e0]
movups xmmword [esp], xmm0
call fcn.1006e720
add esp, 0x10
jmp 0x1010d35c
call fcn.1001b2e0
jmp 0x1010d348

Function at 0x1010d500
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov edi, dword [ebp + 8]
test edi, edi
je 0x1010d56b
cmp byte [0x101f5edc], 0
jne 0x1010d528
push 0x1010d2e0
push 0x101f5ee0
call sym.nss3.dll_PR_CallOnce
add esp, 8
mov ebx, dword [0x101f5eec]
push dword [0x101f45d4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, eax
test eax, eax
je 0x1010d570
lea eax, [ebx + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [ebx + 8], esi
dec dword [edi + 8]
jne 0x1010d55d
push 1
push edi
call fcn.1010d410
add esp, 8
push dword [0x101f5eec]
call sym.nss3.dll_PR_Unlock
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
sub esp, 0x10
movaps xmm0, xmmword [0x101b11e0]
movups xmmword [esp], xmm0
call fcn.1006e720
add esp, 0x10
mov esi, eax
jmp 0x1010d540

Function at 0x1010d590
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
cmp byte [0x101f5edc], 0
jne 0x1010d5b6
mov dword [esp + 4], 0x1010d2e0
mov dword [esp], 0x101f5ee0
call sym.nss3.dll_PR_CallOnce
mov esi, dword [ebp + 8]
mov ebx, dword [0x101f5eec]
mov eax, dword [0x101f45d4]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
sub esp, 4
mov edi, eax
test eax, eax
je 0x1010d602
lea eax, [ebx + 0x1c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
sub esp, 4
mov dword [ebx + 8], edi
inc dword [esi + 8]
mov eax, dword [0x101f5eec]
mov dword [esp], eax
call sym.nss3.dll_PR_Unlock
mov eax, esi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
movaps xmm0, xmmword [0x101b11e0]
movups xmmword [esp], xmm0
call fcn.1006e720
mov edi, eax
jmp 0x1010d5d6
Function at 0x1010d620
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
cmp dword [ebp + 0x1c], 0
je 0x1010d748
cmp byte [0x101f5edc], 0
jne 0x1010d64b
push 0x1010d2e0
push 0x101f5ee0
call sym.nss3.dll_PR_CallOnce
add esp, 8
mov edi, dword [0x101f5eec]
push dword [0x101f45d4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, eax
test eax, eax
je 0x1010d75f
lea eax, [edi + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [edi + 8], esi
mov esi, dword [0x101f5ef0]
test esi, esi
je 0x1010d736
mov ecx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
mov ebx, 0x101f5ef0
mov eax, dword [esi + 0x5c]
cmp dword [esi + 0x58], edi
sbb eax, ecx
jge 0x1010d6bd
mov eax, dword [esi]
mov dword [ebx], eax
mov dword [esi + 4], 3
dec dword [esi + 8]
jne 0x1010d704
push 1
push esi
call fcn.1010d410
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
add esp, 8
jmp 0x1010d704
movdqu xmm0, xmmword [esi + 0x38]
movdqu xmm1, xmmword [edx]
pcmpeqb xmm1, xmm0
pmovmskb eax, xmm1
cmp eax, 0xffff
jne 0x1010d702
movzx eax, word [ebp + 0x14]
cmp word [esi + 0x48], ax
jne 0x1010d702
mov eax, dword [esi + 0x24]
cmp dword [ebp + 0x18], 0
je 0x1010d6fe
test eax, eax
je 0x1010d702
push dword [ebp + 0x18]
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
add esp, 8
test eax, eax
je 0x1010d70c
mov ebx, esi
mov esi, dword [ebx]
test esi, esi
jne 0x1010d690
jmp 0x1010d736
cmp byte [esi + 0xce], 0
je 0x1010d702
mov eax, dword [esi + 0x28]
test eax, eax
je 0x1010d702
push eax
push dword [ebp + 0x1c]
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
add esp, 8
test eax, eax
je 0x1010d751
mov ebx, esi
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x1010d704
xor esi, esi
push dword [0x101f5eec]
call sym.nss3.dll_PR_Unlock
add esp, 4
jmp 0x1010d74a
xor esi, esi
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esi + 0x10], edi
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x14], eax
inc dword [esi + 8]
jmp 0x1010d738
sub esp, 0x10
movdqa xmm0, xmmword [0x101b11e0]
movdqu xmmword [esp], xmm0
call fcn.1006e720
add esp, 0x10
mov esi, eax
jmp 0x1010d667
Function at 0x1010e6a0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, dword [ebp + 8]
test byte [eax + 0x1c], 0x80
jne 0x1010e6d3
mov edi, dword [eax + 0xc4]
test edi, edi
je 0x1010e6d3
cmp dword [eax + 0x60], 0
je 0x1010e6ca
push edi
call fcn.10111360
add esp, 4
jmp 0x1010e6d3
cmp dword [eax + 0x138], 0
je 0x1010e6d8
pop esi
pop edi
pop ebx
pop ebp
ret
cmp byte [0x101f5edc], 0
jne 0x1010e6f3
push 0x1010d2e0
push 0x101f5ee0
call sym.nss3.dll_PR_CallOnce
add esp, 8
mov ebx, dword [0x101f5eec]
push dword [0x101f45d4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, eax
test eax, eax
je 0x1010e75a
lea eax, [ebx + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [ebx + 8], esi
cmp dword [edi + 4], 1
jne 0x1010e74a
mov ecx, 0x101f5ef0
mov eax, ecx
mov ecx, dword [ecx]
test ecx, ecx
je 0x1010e74a
cmp ecx, edi
jne 0x1010e723
mov ecx, dword [edi]
mov dword [eax], ecx
mov dword [edi + 4], 3
dec dword [edi + 8]
jne 0x1010e74a
push 1
push edi
call fcn.1010d410
add esp, 8
push dword [0x101f5eec]
call sym.nss3.dll_PR_Unlock
jmp 0x1010e6c5
sub esp, 0x10
movaps xmm0, xmmword [0x101b11e0]
movups xmmword [esp], xmm0
call fcn.1006e720
add esp, 0x10
mov esi, eax
jmp 0x1010e70b

Function at 0x1010e780
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
cmp byte [0x101f5edc], 0
jne 0x1010e7a0
push 0x1010d2e0
push 0x101f5ee0
call sym.nss3.dll_PR_CallOnce
add esp, 8
mov edi, dword [0x101f5eec]
push dword [0x101f45d4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, eax
test eax, eax
je 0x1010e814
lea eax, [edi + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [edi + 8], esi
mov eax, dword [0x101f5ef0]
test eax, eax
je 0x1010e802
cmp dword [eax + 4], 1
jne 0x1010e7c5
mov edx, 0x101f5ef0
mov ecx, edx
mov edx, dword [edx]
test edx, edx
je 0x1010e7c5
cmp edx, eax
jne 0x1010e7d9
mov edx, dword [eax]
mov dword [ecx], edx
mov dword [eax + 4], 3
dec dword [eax + 8]
jne 0x1010e7c5
push 1
push eax
call fcn.1010d410
add esp, 8
jmp 0x1010e7c5
push dword [0x101f5eec]
call sym.nss3.dll_PR_Unlock
add esp, 4
pop esi
pop edi
pop ebp
ret
sub esp, 0x10
movaps xmm0, xmmword [0x101b11e0]
movups xmmword [esp], xmm0
call fcn.1006e720
add esp, 0x10
mov esi, eax
jmp 0x1010e7b8
Function at 0x1010fc30
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push dword [ebp + 8]
call fcn.10112950
add esp, 4
xor ebx, ebx
dec ebx
test eax, eax
je 0x1010fccc
mov esi, eax
xor edi, edi
test byte [eax + 0x1c], 1
je 0x1010fdc7
push esi
call fcn.10116900
add esp, 4
test eax, eax
jne 0x1010fd15
test byte [esi + 0x1d], 4
jne 0x1010fc7f
push dword [esi + 0x168]
call sym.nss3.dll_PR_EnterMonitor
add esp, 4
mov eax, dword [esi + 0x1fc]
test eax, eax
je 0x1010fd01
push 0
push eax
push dword [esi + 0x1f8]
push esi
call fcn.1010b590
add esp, 0x10
test eax, eax
js 0x1010fcd3
mov edx, dword [esi + 0x1fc]
mov ecx, edx
sub ecx, eax
mov dword [esi + 0x1fc], ecx
test eax, eax
je 0x1010fd01
cmp edx, eax
je 0x1010fd01
mov edx, dword [esi + 0x1f8]
add eax, edx
push ecx
push eax
push edx
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
jmp 0x1010fd01
mov edi, ebx
jmp 0x1010fdc7
cmp dword [0x101f4f80], 0
je 0x1010fdfc
push dword [0x101f45d4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x1010fde1
cmp dword [eax + 0x28], 0xffffe892
jne 0x1010fdce
test byte [esi + 0x1d], 4
jne 0x1010fd15
push dword [esi + 0x168]
call sym.nss3.dll_PR_ExitMonitor
add esp, 4
test byte [esi + 0x1d], 4
jne 0x1010fd29
push dword [esi + 0x16c]
call sym.nss3.dll_PR_EnterMonitor
add esp, 4
movzx eax, word [esi + 0x58]
cmp eax, 0x300
jb 0x1010fd87
test byte [esi + 0x1d], 4
jne 0x1010fd48
push dword [esi + 0x164]
call sym.nss3.dll_PR_EnterMonitor
add esp, 4
push 0
push esi
call fcn.10109280
add esp, 8
mov ebx, eax
test byte [esi + 0x1d], 4
jne 0x1010fd69
push dword [esi + 0x164]
call sym.nss3.dll_PR_ExitMonitor
add esp, 4
xor edi, edi
test ebx, ebx
jg 0x1010fdb1
xor edi, edi
dec edi
test ebx, ebx
jne 0x1010fdb1
push 0
push 0xffffe8ce
call sym.nss3.dll_PR_SetError
add esp, 8
jmp 0x1010fdb1
mov ecx, dword [esi + 0xcc]
test ecx, ecx
je 0x1010fdaf
call dword [section..00cfg]
push esi
call ecx
add esp, 4
mov edi, eax
mov ecx, dword [esi + 0xcc]
test ecx, ecx
je 0x1010fdb1
test edi, edi
je 0x1010fd91
jmp 0x1010fdb1
xor edi, edi
test byte [esi + 0x1d], 4
jne 0x1010fdc7
add esi, 0x16c
push dword [esi]
call sym.nss3.dll_PR_ExitMonitor
add esp, 4
mov eax, edi
pop esi
pop edi
pop ebx
pop ebp
ret
test byte [esi + 0x1d], 4
mov edi, ebx
jne 0x1010fdc7
add esi, 0x168
xor edi, edi
dec edi
jmp 0x1010fdbd
sub esp, 0x10
movaps xmm0, xmmword [0x101b11e0]
movups xmmword [esp], xmm0
call fcn.1006e720
add esp, 0x10
jmp 0x1010fcf4
call fcn.1001b2e0
jmp 0x1010fce0
Function at 0x10112950
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
mov ecx, dword [0x101f5fc8]
mov dword [esp + 4], ecx
mov dword [esp], eax
call sym.nss3.dll_PR_GetIdentitiesLayer
test eax, eax
je 0x10112976
mov ecx, dword [eax + 4]
mov dword [ecx], eax
jmp 0x101129a3
cmp dword [0x101f4f80], 0
je 0x101129bc
mov eax, dword [0x101f45d4]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
sub esp, 4
test eax, eax
je 0x101129aa
mov dword [eax + 0x28], 0xffffe891
xor ecx, ecx
mov dword [eax + 0x2c], ecx
mov dword [eax + 0x30], ecx
mov eax, ecx
add esp, 0x10
pop ebp
ret
movaps xmm0, xmmword [0x101b11e0]
movups xmmword [esp], xmm0
call fcn.1006e720
jmp 0x10112994
call fcn.1001b2e0
jmp 0x1011297f

Function at 0x10112e60
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0x100
mov eax, dword [ebp + 8]
mov ecx, dword [0x101f1014]
xor ecx, ebp
mov dword [esp + 0xf8], ecx
mov eax, dword [eax]
mov esi, dword [eax + 8]
mov dword [esp + 0x10], 0xd
xor eax, eax
cmp dword [ebp + 0xc], 0
sete al
mov dword [esp + 0x18], eax
mov eax, dword [esi]
mov ecx, dword [eax + 0x74]
test ecx, ecx
je 0x10112eb9
call dword [section..00cfg]
lea eax, [esp + 0x10]
mov dword [esp + 4], eax
mov dword [esp], esi
call ecx
mov esi, eax
jmp 0x10112ee9
cmp dword [0x101f4f80], 0
je 0x10112f11
mov eax, dword [0x101f45d4]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
sub esp, 4
test eax, eax
je 0x10112eff
mov dword [eax + 0x28], 0xffffe898
xor ecx, ecx
mov dword [eax + 0x2c], ecx
mov dword [eax + 0x30], ecx
xor esi, esi
dec esi
mov ecx, dword [esp + 0xf8]
xor ecx, ebp
call fcn.10157a00
mov eax, esi
lea esp, [ebp - 4]
pop esi
pop ebp
ret
movaps xmm0, xmmword [0x101b11e0]
movups xmmword [esp], xmm0
call fcn.1006e720
jmp 0x10112ed7
call fcn.1001b2e0
jmp 0x10112ec2
Function at 0x10113a30
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x10
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x10113a67
mov edi, dword [ebp + 8]
call fcn.10113ce0
dec edi
cmp edi, 0x28
ja case.0x10113a55.4
xor eax, eax
xor ecx, ecx
jmp dword [edi*4 + 0x101c9370]
mov ecx, dword [0x101f3d54]
jmp 0x10113c8b
cmp dword [0x101f4f80], 0
je 0x10113cc1
mov eax, dword [0x101f45d4]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
sub esp, 4
test eax, eax
je 0x10113c97
mov dword [eax + 0x28], 0xffffe005
xor ecx, ecx
mov dword [eax + 0x2c], ecx
mov dword [eax + 0x30], ecx
xor eax, eax
dec eax
jmp 0x10113c90
mov ecx, dword [0x101f3d54]
shr ecx, 0x1b
jmp 0x10113c8b
mov ecx, dword [0x101f3d54]
shr ecx, 0x16
jmp 0x10113c8b
mov ecx, dword [0x101f3d58]
jmp 0x10113b93
mov ecx, dword [0x101f3d54]
shr ecx, 0x1f
jmp case.0x10113a55.2
mov ecx, dword [0x101f3d54]
shr ecx, 0x15
jmp 0x10113c8b
mov ecx, dword [0x101f3d54]
shr ecx, 0xf
jmp 0x10113c8b
mov ecx, dword [0x101f3d54]
shr ecx, 0xa
jmp 0x10113c8b
mov ecx, dword [0x101f3d54]
shr ecx, 0x1c
jmp 0x10113c8b
mov ecx, dword [0x101f3d54]
shr ecx, 0xc
jmp 0x10113c8b
mov ecx, dword [0x101f3d54]
shr ecx, 0x10
jmp 0x10113c8b
mov ecx, dword [0x101f3d54]
shr ecx, 0x14
jmp 0x10113c8b
mov ecx, dword [0x101f3d54]
shr ecx, 0x17
jmp 0x10113c8b
mov ecx, dword [0x101f3d54]
shr ecx, 6
jmp 0x10113c8b
mov ecx, dword [0x101f3d54]
shr ecx, 0x12
jmp 0x10113c8b
mov ecx, dword [0x101f3d54]
shr ecx, 8
jmp 0x10113c8b
mov ecx, dword [0x101f3d54]
shr ecx, 0x18
jmp 0x10113c8b
movzx ecx, word [0x101f3d4c]
jmp case.0x10113a55.2
mov ecx, dword [0x101f3d54]
shr ecx, 2
jmp 0x10113c8b
movzx edx, word [0x101f3d38]
xor ecx, ecx
cmp edx, 0x300
sete cl
jmp case.0x10113a55.2
mov ecx, dword [0x101f3d54]
shr ecx, 0x11
jmp 0x10113c8b
mov ecx, dword [0x101f3d54]
shr ecx, 5
jmp 0x10113c8b
cmp dword [0x101f4f80], 0
je 0x10113ccb
mov eax, dword [0x101f45d4]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
sub esp, 4
test eax, eax
je 0x10113cac
mov dword [eax + 0x28], 0xffffe005
xor ecx, ecx
mov dword [eax + 0x2c], ecx
mov dword [eax + 0x30], ecx
xor eax, eax
dec eax
jmp case.0x10113a55.2
mov ecx, dword [0x101f3d54]
shr ecx, 0xd
jmp 0x10113c1f
mov ecx, dword [0x101f3d54]
shr ecx, 3
and ecx, 3
jmp case.0x10113a55.2
mov ecx, dword [0x101f3d58]
jmp 0x10113c8b
mov ecx, dword [0x101f3d54]
shr ecx, 0x13
jmp 0x10113c8b
mov ecx, dword [0x101f3d54]
shr ecx, 0x1a
jmp 0x10113c8b
mov ecx, dword [0x101f3d54]
shr ecx, 7
jmp 0x10113c8b
mov ecx, dword [0x101f3d54]
shr ecx, 0x1d
jmp 0x10113c8b
movzx edx, word [0x101f3d3a]
xor ecx, ecx
cmp edx, 0x301
setae cl
jmp case.0x10113a55.2
mov ecx, dword [0x101f3d54]
shr ecx, 9
jmp 0x10113c8b
mov ecx, dword [0x101f3d54]
shr ecx, 0xb
jmp 0x10113c8b
mov ecx, dword [0x101f3d54]
shr ecx, 0x1e
and ecx, 1
mov dword [esi], ecx
add esp, 0x10
pop esi
pop edi
pop ebp
ret
movaps xmm0, xmmword [0x101b11e0]
movups xmmword [esp], xmm0
call fcn.1006e720
jmp 0x10113a8d
movaps xmm0, xmmword [0x101b11e0]
movups xmmword [esp], xmm0
call fcn.1006e720
jmp 0x10113bf4
call fcn.1001b2e0
jmp 0x10113a74
call fcn.1001b2e0
jmp 0x10113bdb
Function at 0x10113ce0
Capabilities:
Get thread local storage value
Write file on windows

Disassembly:
push ebp
mov ebp, esp
cmp byte [0x101f606c], 0
jne 0x10113e5b
mov byte [0x101f606c], 1
mov dword [0x101f6070], 0
push str.SSLKEYLOGFILE
call sym.nss3.dll_PR_GetEnv
add esp, 4
test eax, eax
je 0x10113d7b
cmp byte [eax], 0
je 0x10113d7b
push 0x101d219c
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
add esp, 8
mov dword [0x101f6070], eax
test eax, eax
je 0x10113d7b
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
add esp, 4
test eax, eax
jne 0x10113d54
push dword [0x101f6070]
push 1
push 0x2d
push str._SSL_TLS_secrets_log_file__generated_by_NSS_n
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
add esp, 0x10
call sym.nss3.dll_PR_NewLock
mov dword [0x101f6074], eax
test eax, eax
jne 0x10113d7b
push dword [0x101f6070]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
mov dword [0x101f6070], 0
push str.SSLFORCELOCKS
call sym.nss3.dll_PR_GetEnv
add esp, 4
test eax, eax
je 0x10113d9f
cmp byte [eax], 0x31
jne 0x10113d9f
mov byte [0x101f5fcc], 1
and byte [0x101f3d55], 0xfb
push str.NSS_SSL_ENABLE_RENEGOTIATION
call sym.nss3.dll_PR_GetEnv
add esp, 4
test eax, eax
je case.0x10113dd2.111
movzx eax, byte [eax]
lea ecx, [eax - 0x30]
cmp ecx, 3
jbe switch.0x10113dd9
lea ecx, [eax - 0x4e]
cmp ecx, 7
ja case.default.0x10113dc3
jmp dword [ecx*4 + 0x101c9424]
add eax, 0xffffff92
cmp eax, 7
ja case.0x10113dd2.111
jmp dword [eax*4 + 0x101c9444]
jmp dword [ecx*4 + 0x101c9414]
mov eax, 0xffff9fff
and eax, dword [0x101f3d54]
jmp 0x10113e1c
mov eax, 0xffff9fff
and eax, dword [0x101f3d54]
or eax, 0x2000
jmp 0x10113e1c
mov eax, 0xffff9fff
and eax, dword [0x101f3d54]
or eax, 0x4000
jmp 0x10113e1c
mov eax, 0x6000
or eax, dword [0x101f3d54]
mov dword [0x101f3d54], eax
push str.NSS_SSL_REQUIRE_SAFE_NEGOTIATION
call sym.nss3.dll_PR_GetEnv
add esp, 4
test eax, eax
je 0x10113e3e
cmp byte [eax], 0x31
jne 0x10113e3e
or byte [0x101f3d55], 0x80
push str.NSS_SSL_CBC_RANDOM_IV
call sym.nss3.dll_PR_GetEnv
add esp, 4
test eax, eax
je 0x10113e5b
cmp byte [eax], 0x30
jne 0x10113e5b
and byte [0x101f3d56], 0xfd
pop ebp
ret
Function at 0x101142a0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov eax, dword [ebp + 8]
mov ecx, dword [0x101f1014]
xor ecx, ebp
mov dword [ebp - 0x10], ecx
push dword [0x101f5fc8]
push eax
call sym.nss3.dll_PR_GetIdentitiesLayer
add esp, 8
test eax, eax
je 0x101142f0
mov ebx, dword [ebp + 0xc]
mov edi, dword [eax + 4]
mov dword [edi], eax
lea eax, [ebp - 0x14]
push eax
push 0xd
call sym.nss3.dll_NSS_OptionGet
add esp, 8
test eax, eax
je 0x1011431d
lea eax, [ebx - 0x1f]
xor esi, esi
cmp eax, 0xfffffffc
jbe 0x1011432f
jmp 0x10114341
cmp dword [0x101f4f80], 0
je 0x1011436d
push dword [0x101f45d4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x10114355
mov dword [eax + 0x28], 0xffffe891
xor ecx, ecx
mov dword [eax + 0x2c], ecx
mov dword [eax + 0x30], ecx
xor esi, esi
dec esi
jmp 0x10114341
lea eax, [ebx - 0x1f]
xor esi, esi
cmp eax, 0xfffffffc
ja 0x10114341
mov eax, dword [ebp - 0x14]
and eax, 1
jne 0x10114341
movzx eax, bx
push dword [ebp + 0x10]
push eax
push edi
call fcn.10102fe0
add esp, 0xc
mov esi, eax
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10157a00
mov eax, esi
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret
sub esp, 0x10
movaps xmm0, xmmword [0x101b11e0]
movups xmmword [esp], xmm0
call fcn.1006e720
add esp, 0x10
jmp 0x10114309
call fcn.1001b2e0
jmp 0x101142f9

Function at 0x10114380
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x10
mov esi, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [0x101f5fc8]
mov dword [esp + 4], ecx
mov dword [esp], eax
call sym.nss3.dll_PR_GetIdentitiesLayer
test eax, eax
je 0x101143d0
mov ecx, dword [eax + 4]
mov dword [ecx], eax
test esi, esi
je 0x1011440d
mov eax, dword [ebp + 0xc]
lea edx, [eax - 0x1f]
cmp edx, 0xfffffffd
jae 0x1011443f
mov dword [esp + 8], esi
mov dword [esp], ecx
movzx eax, ax
mov dword [esp + 4], eax
call fcn.10103040
jmp 0x10114447
cmp dword [0x101f4f80], 0
je 0x10114471
mov eax, dword [0x101f45d4]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
sub esp, 4
test eax, eax
je 0x1011444d
mov dword [eax + 0x28], 0xffffe891
xor ecx, ecx
mov dword [eax + 0x2c], ecx
mov dword [eax + 0x30], ecx
test esi, esi
je 0x1011440d
mov dword [esi], 0
jmp 0x1011443a
cmp dword [0x101f4f80], 0
je 0x1011447b
mov eax, dword [0x101f45d4]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
sub esp, 4
test eax, eax
je 0x1011445f
mov dword [eax + 0x28], 0xffffe005
xor ecx, ecx
mov dword [eax + 0x2c], ecx
mov dword [eax + 0x30], ecx
xor eax, eax
dec eax
jmp 0x10114447
mov dword [esi], 0
xor eax, eax
add esp, 0x10
pop esi
pop ebp
ret
movaps xmm0, xmmword [0x101b11e0]
movups xmmword [esp], xmm0
call fcn.1006e720
jmp 0x101143f2
movaps xmm0, xmmword [0x101b11e0]
movups xmmword [esp], xmm0
call fcn.1006e720
jmp 0x1011442b
call fcn.1001b2e0
jmp 0x101143dd
call fcn.1001b2e0
jmp 0x10114416
Function at 0x101148c0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov eax, dword [0x101f1014]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
push eax
push 0x159
call sym.nss3.dll_NSS_GetAlgorithmPolicy
add esp, 8
test eax, eax
jne 0x101148ee
test byte [ebp - 0x14], 0x10
jne 0x10114932
mov ax, 0x1301
mov edi, 0x101c6912
movzx ebx, ax
lea eax, [ebx - 0x1f]
cmp eax, 0xfffffffc
ja 0x10114923
call fcn.1010cf40
test eax, eax
jne 0x10114937
cmp byte [0x101f59f0], 1
je 0x1011493b
push 1
push ebx
call fcn.10102f50
add esp, 8
test eax, eax
jne 0x10114937
movzx eax, word [edi]
add edi, 2
test ax, ax
jne 0x101148f7
xor esi, esi
jmp 0x10114966
call fcn.1010cf40
mov esi, eax
jmp 0x10114966
cmp dword [0x101f4f80], 0
je 0x10114992
push dword [0x101f45d4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x1011497a
mov dword [eax + 0x28], 0xffffe0b4
xor ecx, ecx
mov dword [eax + 0x2c], ecx
mov dword [eax + 0x30], ecx
xor esi, esi
dec esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10157a00
mov eax, esi
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret
sub esp, 0x10
movaps xmm0, xmmword [0x101b11e0]
movups xmmword [esp], xmm0
call fcn.1006e720
add esp, 0x10
jmp 0x10114954
call fcn.1001b2e0
jmp 0x10114944