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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push dword [ebp + 8]
call fcn.1017c820
add esp, 4
xor ebx, ebx
dec ebx
test eax, eax
je 0x10179ce2
xor edi, edi
test byte [eax + 0x1c], 1
mov esi, eax
je 0x10179ce4
push esi
call fcn.10180570
add esp, 4
test eax, eax
jne 0x10179c1c
test byte [esi + 0x1d], 4
jne 0x10179b8f
push dword [esi + 0x168]
call sym.nss3.dll_PR_EnterMonitor
add esp, 4
mov eax, dword [esi + 0x1fc]
test eax, eax
je 0x10179c08
push 0
push eax
push dword [esi + 0x1f8]
push esi
call fcn.10175700
add esp, 0x10
test eax, eax
js 0x10179bda
mov ecx, dword [esi + 0x1fc]
sub ecx, eax
test eax, eax
mov dword [esi + 0x1fc], ecx
je 0x10179c08
test ecx, ecx
je 0x10179c08
mov edx, dword [esi + 0x1f8]
add eax, edx
push ecx
push eax
push edx
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
jmp 0x10179c08
cmp dword [0x101d4d40], 0
je 0x10179cff
push dword [0x101d4d30]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x10179ceb
cmp dword [eax + 0x28], 0xffffe892
jne 0x10179cce
test byte [esi + 0x1d], 4
jne 0x10179c1c
push dword [esi + 0x168]
call sym.nss3.dll_PR_ExitMonitor
add esp, 4
test byte [esi + 0x1d], 4
jne 0x10179c30
push dword [esi + 0x16c]
call sym.nss3.dll_PR_EnterMonitor
add esp, 4
movzx eax, word [esi + 0x58]
cmp eax, 0x300
jb 0x10179c8e
test byte [esi + 0x1d], 4
jne 0x10179c4f
push dword [esi + 0x164]
call sym.nss3.dll_PR_EnterMonitor
add esp, 4
push 0
push esi
call fcn.10173560
add esp, 8
test byte [esi + 0x1d], 4
mov ebx, eax
jne 0x10179c70
push dword [esi + 0x164]
call sym.nss3.dll_PR_ExitMonitor
add esp, 4
xor edi, edi
test ebx, ebx
jg 0x10179cb8
xor edi, edi
dec edi
test ebx, ebx
jne 0x10179cb8
push 0
push 0xffffe8ce
call sym.nss3.dll_PR_SetError
add esp, 8
jmp 0x10179cb8
mov ecx, dword [esi + 0xcc]
test ecx, ecx
je 0x10179cb6
call dword [section..00cfg]
push esi
call ecx
add esp, 4
mov edi, eax
test eax, eax
jne 0x10179cb8
mov ecx, dword [esi + 0xcc]
test ecx, ecx
jne 0x10179c98
jmp 0x10179cb8
xor edi, edi
test byte [esi + 0x1d], 4
jne 0x10179ce4
push dword [esi + 0x16c]
call sym.nss3.dll_PR_ExitMonitor
add esp, 4
jmp 0x10179ce4
test byte [esi + 0x1d], 4
jne 0x10179ce2
push dword [esi + 0x168]
call sym.nss3.dll_PR_ExitMonitor
add esp, 4
mov edi, ebx
mov eax, edi
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
push eax
push eax
push 1
push eax
call fcn.100e2c70
add esp, 0x10
jmp 0x10179bfb
call sym.nss3.dll_PR_Init
jmp 0x10179be7
Function at 0x1017c820
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push dword [0x101d6710]
push dword [ebp + 8]
call sym.nss3.dll_PR_GetIdentitiesLayer
add esp, 8
test eax, eax
je 0x1017c83f
mov ecx, dword [eax + 4]
mov dword [ecx], eax
jmp 0x1017c867
cmp dword [0x101d4d40], 0
je 0x1017c87c
push dword [0x101d4d30]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x1017c86b
xor ecx, ecx
mov dword [eax + 0x28], 0xffffe891
mov dword [eax + 0x2c], ecx
mov dword [eax + 0x30], ecx
mov eax, ecx
pop ebp
ret
xor eax, eax
push eax
push eax
push 1
push eax
call fcn.100e2c70
add esp, 0x10
jmp 0x1017c858
call sym.nss3.dll_PR_Init
jmp 0x1017c848

Function at 0x1017cd00
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0xf0
mov ecx, dword [0x101d2014]
mov eax, dword [ebp + 8]
xor ecx, ebp
mov dword [esp + 0xe8], ecx
mov eax, dword [eax]
mov esi, dword [eax + 8]
xor eax, eax
cmp dword [ebp + 0xc], 0
mov dword [esp], 0xd
sete al
mov dword [esp + 8], eax
mov eax, dword [esi]
mov ecx, dword [eax + 0x74]
test ecx, ecx
je 0x1017cd54
call dword [section..00cfg]
mov eax, esp
push eax
push esi
call ecx
add esp, 8
mov esi, eax
jmp 0x1017cd7f
cmp dword [0x101d4d40], 0
je 0x1017cda6
push dword [0x101d4d30]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x1017cd95
xor ecx, ecx
xor esi, esi
mov dword [eax + 0x28], 0xffffe898
dec esi
mov dword [eax + 0x2c], ecx
mov dword [eax + 0x30], ecx
mov ecx, dword [esp + 0xe8]
xor ecx, ebp
call fcn.10192ef0
mov eax, esi
lea esp, [ebp - 4]
pop esi
pop ebp
ret
xor eax, eax
push eax
push eax
push 1
push eax
call fcn.100e2c70
add esp, 0x10
jmp 0x1017cd6d
call sym.nss3.dll_PR_Init
jmp 0x1017cd5d
Function at 0x1017d880
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x1017d8b4
mov edi, dword [ebp + 8]
call fcn.1017db20
dec edi
cmp edi, 0x28
ja case.0x1017d8a2.4
xor eax, eax
xor ecx, ecx
jmp dword [edi*4 + 0x101ab3dc]
mov ecx, dword [0x101d4400]
jmp 0x1017dace
cmp dword [0x101d4d40], 0
je 0x1017daff
push dword [0x101d4d30]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x1017dad7
xor ecx, ecx
mov dword [eax + 0x28], 0xffffe005
mov dword [eax + 0x2c], ecx
mov dword [eax + 0x30], ecx
xor eax, eax
dec eax
jmp 0x1017dad3
mov ecx, dword [0x101d4400]
shr ecx, 0x1b
jmp 0x1017dace
mov ecx, dword [0x101d4400]
shr ecx, 0x16
jmp 0x1017dace
mov ecx, dword [0x101d4404]
jmp 0x1017d9db
mov ecx, dword [0x101d4400]
shr ecx, 0x1f
jmp case.0x1017d8a2.2
mov ecx, dword [0x101d4400]
shr ecx, 0x15
jmp 0x1017dace
mov ecx, dword [0x101d4400]
shr ecx, 0xf
jmp 0x1017dace
mov ecx, dword [0x101d4400]
shr ecx, 0xa
jmp 0x1017dace
mov ecx, dword [0x101d4400]
shr ecx, 0x1c
jmp 0x1017dace
mov ecx, dword [0x101d4400]
shr ecx, 0xc
jmp 0x1017dace
mov ecx, dword [0x101d4400]
shr ecx, 0x10
jmp 0x1017dace
mov ecx, dword [0x101d4400]
shr ecx, 0x14
jmp 0x1017dace
mov ecx, dword [0x101d4400]
shr ecx, 0x17
jmp 0x1017dace
mov ecx, dword [0x101d4400]
shr ecx, 6
jmp 0x1017dace
mov ecx, dword [0x101d4400]
shr ecx, 0x12
jmp 0x1017dace
mov ecx, dword [0x101d4400]
shr ecx, 8
jmp 0x1017dace
mov ecx, dword [0x101d4400]
shr ecx, 0x18
jmp 0x1017dace
movzx ecx, word [0x101d43f8]
jmp case.0x1017d8a2.2
mov ecx, dword [0x101d4400]
shr ecx, 2
jmp 0x1017dace
movzx edx, word [0x101d43e4]
xor ecx, ecx
cmp edx, 0x300
sete cl
jmp case.0x1017d8a2.2
mov ecx, dword [0x101d4400]
shr ecx, 0x11
jmp 0x1017dace
mov ecx, dword [0x101d4400]
shr ecx, 5
jmp 0x1017dace
cmp dword [0x101d4d40], 0
je 0x1017db09
push dword [0x101d4d30]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x1017daeb
xor ecx, ecx
mov dword [eax + 0x28], 0xffffe005
mov dword [eax + 0x2c], ecx
mov dword [eax + 0x30], ecx
xor eax, eax
dec eax
jmp case.0x1017d8a2.2
mov ecx, dword [0x101d4400]
shr ecx, 0xd
jmp 0x1017da62
mov ecx, dword [0x101d4400]
shr ecx, 3
and ecx, 3
jmp case.0x1017d8a2.2
mov ecx, dword [0x101d4404]
jmp 0x1017dace
mov ecx, dword [0x101d4400]
shr ecx, 0x13
jmp 0x1017dace
mov ecx, dword [0x101d4400]
shr ecx, 0x1a
jmp 0x1017dace
mov ecx, dword [0x101d4400]
shr ecx, 7
jmp 0x1017dace
mov ecx, dword [0x101d4400]
shr ecx, 0x1d
jmp 0x1017dace
movzx edx, word [0x101d43e6]
xor ecx, ecx
cmp edx, 0x300
seta cl
jmp case.0x1017d8a2.2
mov ecx, dword [0x101d4400]
shr ecx, 9
jmp 0x1017dace
mov ecx, dword [0x101d4400]
shr ecx, 0xb
jmp 0x1017dace
mov ecx, dword [0x101d4400]
shr ecx, 0x1e
and ecx, 1
mov dword [esi], ecx
pop esi
pop edi
pop ebp
ret
xor eax, eax
push eax
push eax
push 1
push eax
call fcn.100e2c70
add esp, 0x10
jmp 0x1017d8d5
xor eax, eax
push eax
push eax
push 1
push eax
call fcn.100e2c70
add esp, 0x10
jmp 0x1017da37
call sym.nss3.dll_PR_Init
jmp 0x1017d8c1
call sym.nss3.dll_PR_Init
jmp 0x1017da23
Function at 0x1017db20
Capabilities:
Get thread local storage value
Write file on windows

Disassembly:
push ebp
mov ebp, esp
cmp byte [0x101d67c0], 0
jne 0x1017dc9d
mov byte [0x101d67c0], 1
mov dword [0x101d671c], 0
push str.SSLKEYLOGFILE
call sym.nss3.dll_PR_GetEnv
add esp, 4
test eax, eax
je 0x1017dbbb
cmp byte [eax], 0
je 0x1017dbbb
push 0x101b3e87
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
add esp, 8
test eax, eax
mov dword [0x101d671c], eax
je 0x1017dbbb
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
add esp, 4
test eax, eax
jne 0x1017db94
push dword [0x101d671c]
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
test eax, eax
mov dword [0x101d6720], eax
jne 0x1017dbbb
push dword [0x101d671c]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
mov dword [0x101d671c], 0
push str.SSLFORCELOCKS
call sym.nss3.dll_PR_GetEnv
add esp, 4
test eax, eax
je 0x1017dbdf
cmp byte [eax], 0x31
jne 0x1017dbdf
and byte [0x101d4401], 0xfb
mov byte [0x101d6714], 1
push str.NSS_SSL_ENABLE_RENEGOTIATION
call sym.nss3.dll_PR_GetEnv
add esp, 4
test eax, eax
je case.0x1017dc19.145
mov al, byte [eax]
mov ecx, eax
add cl, 0xd0
cmp cl, 3
jbe 0x1017dc20
mov ecx, eax
add cl, 0xb2
cmp cl, 7
ja case.default.0x1017dc09
movzx eax, cl
jmp dword [eax*4 + 0x101ab490]
add al, 0x92
cmp al, 7
ja case.0x1017dc19.145
movzx eax, al
jmp dword [eax*4 + 0x101ab4b0]
movzx eax, cl
jmp dword [eax*4 + 0x101ab480]
and byte [0x101d4401], 0x9f
jmp case.0x1017dc19.145
mov eax, 0xffff9fff
and eax, dword [0x101d4400]
or eax, 0x2000
jmp 0x1017dc55
mov eax, 0xffff9fff
and eax, dword [0x101d4400]
or eax, 0x4000
mov dword [0x101d4400], eax
jmp case.0x1017dc19.145
or byte [0x101d4401], 0x60
push str.NSS_SSL_REQUIRE_SAFE_NEGOTIATION
call sym.nss3.dll_PR_GetEnv
add esp, 4
test eax, eax
je 0x1017dc80
cmp byte [eax], 0x31
jne 0x1017dc80
or byte [0x101d4401], 0x80
push str.NSS_SSL_CBC_RANDOM_IV
call sym.nss3.dll_PR_GetEnv
add esp, 4
test eax, eax
je 0x1017dc9d
cmp byte [eax], 0x30
jne 0x1017dc9d
and byte [0x101d4402], 0xfd
pop ebp
ret
Function at 0x1017e0b0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 8
mov ecx, dword [0x101d2014]
mov eax, dword [ebp + 8]
xor ecx, ebp
mov dword [ebp - 0xc], ecx
push dword [0x101d6710]
push eax
call sym.nss3.dll_PR_GetIdentitiesLayer
add esp, 8
test eax, eax
je 0x1017e11d
mov edi, dword [eax + 4]
test edi, edi
mov dword [edi], eax
je 0x1017e145
lea eax, [ebp - 0x10]
push eax
push 0xd
call sym.nss3.dll_NSS_OptionGet
add esp, 8
test eax, eax
jne 0x1017e0fc
xor esi, esi
test byte [ebp - 0x10], 1
jne 0x1017e148
mov eax, dword [ebp + 0xc]
xor esi, esi
lea ecx, [eax - 0x1c]
cmp ecx, 3
jb 0x1017e148
movzx eax, ax
push dword [ebp + 0x10]
push eax
push edi
call fcn.1016d320
add esp, 0xc
mov esi, eax
jmp 0x1017e148
cmp dword [0x101d4d40], 0
je 0x1017e16c
push dword [0x101d4d30]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x1017e15b
xor ecx, ecx
mov dword [eax + 0x28], 0xffffe891
mov dword [eax + 0x2c], ecx
mov dword [eax + 0x30], ecx
xor esi, esi
dec esi
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.10192ef0
mov eax, esi
add esp, 8
pop esi
pop edi
pop ebp
ret
xor eax, eax
push eax
push eax
push 1
push eax
call fcn.100e2c70
add esp, 0x10
jmp 0x1017e136
call sym.nss3.dll_PR_Init
jmp 0x1017e126

Function at 0x1017e180
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x10]
push dword [0x101d6710]
push dword [ebp + 8]
call sym.nss3.dll_PR_GetIdentitiesLayer
add esp, 8
test eax, eax
je 0x1017e1c4
mov ecx, dword [eax + 4]
test esi, esi
mov dword [ecx], eax
je 0x1017e1fe
test ecx, ecx
je 0x1017e1f4
mov eax, dword [ebp + 0xc]
lea edx, [eax - 0x1c]
cmp edx, 2
jbe 0x1017e22c
movzx eax, ax
push esi
push eax
push ecx
call fcn.1016d380
add esp, 0xc
jmp 0x1017e229
cmp dword [0x101d4d40], 0
je 0x1017e258
push dword [0x101d4d30]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x1017e236
xor ecx, ecx
test esi, esi
mov dword [eax + 0x28], 0xffffe891
mov dword [eax + 0x2c], ecx
mov dword [eax + 0x30], ecx
je 0x1017e1fe
xor eax, eax
mov dword [esi], 0
jmp 0x1017e228
cmp dword [0x101d4d40], 0
je 0x1017e262
push dword [0x101d4d30]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x1017e247
xor ecx, ecx
mov dword [eax + 0x28], 0xffffe005
mov dword [eax + 0x2c], ecx
mov dword [eax + 0x30], ecx
xor eax, eax
dec eax
pop esi
pop ebp
ret
mov dword [esi], 0
xor eax, eax
jmp 0x1017e229
xor eax, eax
push eax
push eax
push 1
push eax
call fcn.100e2c70
add esp, 0x10
jmp 0x1017e1e1
xor eax, eax
push eax
push eax
push 1
push eax
call fcn.100e2c70
add esp, 0x10
jmp 0x1017e217
call sym.nss3.dll_PR_Init
jmp 0x1017e1d1
call sym.nss3.dll_PR_Init
jmp 0x1017e207
Function at 0x1017e680
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov eax, dword [0x101d2014]
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 0x1017e6ae
test byte [ebp - 0x14], 0x10
jne 0x1017e6f2
mov ax, 0x1301
mov edi, 0x101a89ae
movzx ebx, ax
lea eax, [ebx - 0x1c]
cmp eax, 3
jb 0x1017e6e3
call fcn.10176fa0
test eax, eax
jne 0x1017e6f7
cmp byte [0x101d6138], 1
je 0x1017e6fb
push 1
push ebx
call fcn.1016d290
add esp, 8
test eax, eax
jne 0x1017e6f7
movzx eax, word [edi]
add edi, 2
test ax, ax
jne 0x1017e6b7
xor esi, esi
jmp 0x1017e726
call fcn.10176fa0
mov esi, eax
jmp 0x1017e726
cmp dword [0x101d4d40], 0
je 0x1017e74b
push dword [0x101d4d30]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x1017e73a
xor ecx, ecx
xor esi, esi
mov dword [eax + 0x28], 0xffffe0b4
mov dword [eax + 0x2c], ecx
mov dword [eax + 0x30], ecx
dec esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10192ef0
mov eax, esi
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
push eax
push eax
push 1
push eax
call fcn.100e2c70
add esp, 0x10
jmp 0x1017e714
call sym.nss3.dll_PR_Init
jmp 0x1017e704
Function at 0x1017e760
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push eax
push dword [0x101d6710]
push dword [ebp + 8]
call sym.nss3.dll_PR_GetIdentitiesLayer
add esp, 8
test eax, eax
je 0x1017e7c1
mov esi, dword [eax + 4]
test esi, esi
mov dword [esi], eax
je 0x1017e7f1
cmp dword [ebp + 0xc], 0
je 0x1017e797
mov ebx, dword [ebp + 0x10]
cmp ebx, 0x20
jb 0x1017e82e
cmp dword [0x101d4d40], 0
je 0x1017e8f0
push dword [0x101d4d30]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x1017e8c8
mov dword [eax + 0x28], 0xffffe005
jmp 0x1017e819
cmp dword [0x101d4d40], 0
je 0x1017e8e6
push dword [0x101d4d30]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x1017e8b4
xor ecx, ecx
mov dword [eax + 0x28], 0xffffe891
mov dword [eax + 0x2c], ecx
mov dword [eax + 0x30], ecx
cmp dword [0x101d4d40], 0
je 0x1017e8dc
push dword [0x101d4d30]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x1017e8a0
mov dword [eax + 0x28], 0xffffe09a
xor ecx, ecx
xor edx, edx
mov dword [eax + 0x2c], ecx
mov dword [eax + 0x30], ecx
dec edx
mov eax, edx
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
lea edi, [esi + 0x32c]
xor edx, edx
xor eax, eax
mov ecx, 0x1f
test ebx, ebx
rep stosd dword es:[edi], eax
je 0x1017e824
xor eax, eax
mov dword [ebp - 0x10], 0
mov edx, dword [ebp + 0xc]
mov ecx, ebx
mov ebx, 0x1f
mov edi, dword [edx + eax*4]
mov edx, 0x101aa224
cmp dword [edx], edi
je 0x1017e86c
add edx, 0x14
dec ebx
jne 0x1017e85e
xor edx, edx
jmp 0x1017e883
mov edi, 0xffffffe1
mov ebx, dword [esi + edi*4 + 0x3a8]
test ebx, ebx
je 0x1017e880
cmp ebx, edx
je 0x1017e895
inc edi
jne 0x1017e871
mov ebx, ecx
mov ecx, dword [ebp - 0x10]
mov dword [esi + ecx*4 + 0x32c], edx
inc ecx
mov dword [ebp - 0x10], ecx
jmp 0x1017e897
mov ebx, ecx
inc eax
cmp eax, ebx
jne 0x1017e84c
xor edx, edx
jmp 0x1017e824
xor eax, eax
push eax
push eax
push 1
push eax
call fcn.100e2c70
add esp, 0x10
jmp 0x1017e812
xor eax, eax
push eax
push eax
push 1
push eax
call fcn.100e2c70
add esp, 0x10
jmp 0x1017e7e2
xor eax, eax
push eax
push eax
push 1
push eax
call fcn.100e2c70
add esp, 0x10
jmp 0x1017e7b8
call sym.nss3.dll_PR_Init
jmp 0x1017e7fe
call sym.nss3.dll_PR_Init
jmp 0x1017e7ce
call sym.nss3.dll_PR_Init
jmp 0x1017e7a4
Function at 0x1017eb20
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
cmp dword [ecx + 0x6a0], 0
je 0x1017eb49
movzx edx, word [ecx + 0x58]
cmp edx, 0x303
ja 0x1017eb49
cmp dword [ecx + 0x958], 0
je 0x1017ebc0
mov edx, dword [ecx + 0x6a4]
test edx, edx
je 0x1017eb6a
mov esi, 0xffffffe1
mov edi, dword [ecx + esi*4 + 0x3a8]
test edi, edi
je 0x1017eb67
cmp edi, edx
je 0x1017ebb8
inc esi
jne 0x1017eb58
mov edx, 0xffffff84
mov esi, dword [ecx + edx + 0x3a8]
test esi, esi
je 0x1017eb80
cmp dword [esi + 8], 2
je 0x1017ebbc
add edx, 4
jne 0x1017eb6f
mov dword [eax], 0
cmp dword [0x101d4d40], 0
je 0x1017ebdd
push dword [0x101d4d30]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x1017ebcc
xor ecx, ecx
mov dword [eax + 0x28], 0xffffd002
mov dword [eax + 0x2c], ecx
mov dword [eax + 0x30], ecx
xor eax, eax
dec eax
jmp 0x1017ebc8
mov dword [eax], edx
jmp 0x1017ebc6
mov dword [eax], esi
jmp 0x1017ebc6
mov dword [eax], 0x101aa51c
xor eax, eax
pop esi
pop edi
pop ebp
ret
xor eax, eax
push eax
push eax
push 1
push eax
call fcn.100e2c70
add esp, 0x10
jmp 0x1017eba4
call sym.nss3.dll_PR_Init
jmp 0x1017eb94
Function at 0x1017ec10
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x78
mov eax, dword [0x101d2014]
mov esi, edx
mov ebx, ecx
xor eax, ebp
mov dword [esp + 0x70], eax
call fcn.10176fa0
xor edi, edi
test eax, eax
jne 0x1017ed0c
mov edx, dword [ebp + 8]
test ebx, ebx
je 0x1017ec7b
push dword [0x101d6710]
push ebx
call sym.nss3.dll_PR_GetIdentitiesLayer
add esp, 8
test eax, eax
je 0x1017ecdc
mov ecx, dword [eax + 4]
test ecx, ecx
mov dword [ecx], eax
je 0x1017ed0c
mov eax, dword [ebp + 8]
cmp dword [ecx + 0x9f8], eax
jne 0x1017ed0c
call fcn.101814c0
jmp 0x1017ec8d
xor ecx, ecx
bt dword [0x101d4400], 0xa
setae cl
call fcn.10181060
mov ebx, eax
test eax, eax
je 0x1017ed0c
push 0x10181960
push 0x101d6724
call sym.nss3.dll_PR_CallOnce
add esp, 8
test eax, eax
je 0x1017ed21
push ebx
call fcn.1017c890
add esp, 4
cmp dword [0x101d4d40], 0
je 0x1017edb4
push dword [0x101d4d30]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x1017ed8c
mov dword [eax + 0x28], 0xffffe001
jmp 0x1017ed04
cmp dword [0x101d4d40], 0
je 0x1017edbe
push dword [0x101d4d30]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x1017eda0
mov dword [eax + 0x28], 0xffffe891
xor edi, edi
mov dword [eax + 0x2c], edi
mov dword [eax + 0x30], edi
mov ecx, dword [esp + 0x70]
xor ecx, ebp
call fcn.10192ef0
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x101d6730
push dword [0x101d6710]
call sym.nss3.dll_PR_CreateIOLayerStub
add esp, 8
test eax, eax
je 0x1017eca9
mov edi, eax
mov dword [eax + 4], ebx
push eax
push 0xfffffffffffffffe
push esi
call sym.nss3.dll_PR_PushIOLayer
add esp, 0xc
test eax, eax
je 0x1017ed65
mov ecx, dword [edi + 0x10]
call dword [section..00cfg]
push edi
call ecx
add esp, 4
jmp 0x1017eca9
mov dword [ebx], esi
mov edi, dword [esi + 8]
mov eax, dword [edi]
mov ecx, dword [eax + 0x64]
call dword [section..00cfg]
mov eax, esp
push eax
push edi
call ecx
add esp, 8
xor ecx, ecx
test eax, eax
mov edi, esi
sete cl
mov dword [ebx + 0x4c], ecx
jmp 0x1017ed0c
xor eax, eax
push eax
push eax
push 1
push eax
call fcn.100e2c70
add esp, 0x10
jmp 0x1017ecd3
xor eax, eax
push eax
push eax
push 1
push eax
call fcn.100e2c70
add esp, 0x10
jmp 0x1017ecfd
call sym.nss3.dll_PR_Init
jmp 0x1017ecbf
call sym.nss3.dll_PR_Init
jmp 0x1017ece9
Function at 0x1017edf0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push dword [0x101d6710]
push dword [ebp + 8]
call sym.nss3.dll_PR_GetIdentitiesLayer
add esp, 8
test eax, eax
je 0x1017ef16
mov ebx, dword [eax + 4]
xor esi, esi
dec esi
test ebx, ebx
mov dword [ebx], eax
je 0x1017ef41
mov edi, dword [ebp + 0x10]
push edi
push dword [ebp + 0xc]
call fcn.10171760
add esp, 8
test eax, eax
jne 0x1017ef41
test byte [ebx + 0x1d], 4
jne 0x1017ee4a
push dword [ebx + 0x170]
call sym.nss3.dll_PR_EnterMonitor
add esp, 4
xor eax, eax
lea esi, [ebx + 8]
push eax
push esi
call sym.nss3.dll_SECITEM_FreeItem_Util
add esp, 8
push edi
push esi
xor eax, eax
push eax
call sym.nss3.dll_SECITEM_AllocItem_Util
add esp, 0xc
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebx + 0xc]
movzx esi, byte [edx]
lea eax, [esi + 1]
sub edi, eax
add ecx, edi
push eax
push edx
push ecx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [ebp + 0xc]
lea eax, [eax + esi + 1]
push edi
push eax
push dword [ebx + 0xc]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
test byte [ebx + 0x1d], 4
jne 0x1017eea9
push dword [ebx + 0x170]
call sym.nss3.dll_PR_ExitMonitor
add esp, 4
push dword [0x101d6710]
push dword [ebp + 8]
call sym.nss3.dll_PR_GetIdentitiesLayer
add esp, 8
test eax, eax
mov esi, 0xffffffff
je 0x1017ef48
mov edi, dword [eax + 4]
test edi, edi
mov dword [edi], eax
je 0x1017ef41
mov eax, dword [edi + 0x1c]
bt eax, 0xa
jb 0x1017eeea
push dword [edi + 0x170]
call sym.nss3.dll_PR_EnterMonitor
add esp, 4
mov eax, dword [edi + 0x1c]
xor esi, esi
bt eax, 0xa
mov dword [edi + 0x120], 0x1017efb0
mov dword [edi + 0x124], 0
jb 0x1017ef41
push dword [edi + 0x170]
call sym.nss3.dll_PR_ExitMonitor
add esp, 4
jmp 0x1017ef41
cmp dword [0x101d4d40], 0
je 0x1017ef94
push dword [0x101d4d30]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x1017ef72
xor ecx, ecx
xor esi, esi
mov dword [eax + 0x28], 0xffffe891
mov dword [eax + 0x2c], ecx
mov dword [eax + 0x30], ecx
dec esi
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
cmp dword [0x101d4d40], 0
je 0x1017ef9b
push dword [0x101d4d30]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x1017ef83
xor ecx, ecx
mov dword [eax + 0x28], 0xffffe891
mov dword [eax + 0x2c], ecx
mov dword [eax + 0x30], ecx
jmp 0x1017ef41
xor eax, eax
push eax
push eax
push 1
push eax
call fcn.100e2c70
add esp, 0x10
jmp 0x1017ef2f
xor eax, eax
push eax
push eax
push 1
push eax
call fcn.100e2c70
add esp, 0x10
jmp 0x1017ef61
call sym.nss3.dll_PR_Init
jmp 0x1017ef1f
call sym.nss3.dll_PR_Init
jmp 0x1017ef51
Function at 0x1017f140
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push dword [0x101d6710]
push dword [ebp + 8]
call sym.nss3.dll_PR_GetIdentitiesLayer
add esp, 8
test eax, eax
je 0x1017f1fd
mov ebx, dword [eax + 4]
xor esi, esi
dec esi
test ebx, ebx
mov dword [ebx], eax
je 0x1017f26b
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x1017f22e
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x1017f22e
mov edi, dword [ebp + 0x14]
test edi, edi
je 0x1017f22e
mov edx, dword [ebx + 0x99c]
xor esi, esi
mov dword [ecx], edx
mov edx, 0
cmp dword [ebx + 0x99c], 0
je 0x1017f269
mov ecx, dword [ebx + 0x994]
mov edx, 0
test ecx, ecx
je 0x1017f269
mov edx, dword [ebx + 0x998]
cmp edx, dword [ebp + 0x18]
jbe 0x1017f258
cmp dword [0x101d4d40], 0
je 0x1017f2bc
push dword [0x101d4d30]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
mov esi, 0xffffffff
je 0x1017f294
mov dword [eax + 0x28], 0xffffe003
jmp 0x1017f24e
cmp dword [0x101d4d40], 0
je 0x1017f2a8
push dword [0x101d4d30]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x1017f272
xor ecx, ecx
xor esi, esi
mov dword [eax + 0x28], 0xffffe891
mov dword [eax + 0x2c], ecx
mov dword [eax + 0x30], ecx
dec esi
jmp 0x1017f26b
cmp dword [0x101d4d40], 0
je 0x1017f2b2
push dword [0x101d4d30]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x1017f283
mov dword [eax + 0x28], 0xffffe005
xor ecx, ecx
mov dword [eax + 0x2c], ecx
mov dword [eax + 0x30], ecx
jmp 0x1017f26b
push edx
push ecx
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov edx, dword [ebx + 0x998]
mov dword [edi], edx
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
push eax
push eax
push 1
push eax
call fcn.100e2c70
add esp, 0x10
jmp 0x1017f21a
xor eax, eax
push eax
push eax
push 1
push eax
call fcn.100e2c70
add esp, 0x10
jmp 0x1017f247
xor eax, eax
push eax
push eax
push 1
push eax
call fcn.100e2c70
add esp, 0x10
jmp 0x1017f1f4
call sym.nss3.dll_PR_Init
jmp 0x1017f20a
call sym.nss3.dll_PR_Init
jmp 0x1017f237
call sym.nss3.dll_PR_Init
jmp 0x1017f1db