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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov ecx, dword [0x101d2014]
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
xor ecx, ebp
test ebx, ebx
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + 0x14]
mov ecx, dword [ecx + 0x44]
jne 0x101031ab
mov ebx, dword [eax + 0x24]
test ebx, ebx
je 0x10103210
mov esi, dword [ebx + 4]
test esi, esi
je 0x10103210
mov edi, dword [ebx]
mov dword [ebp - 0x18], ecx
test edi, edi
je 0x101031e1
push dword [0x101d4d30]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, eax
test eax, eax
je 0x101032da
lea eax, [edi + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [edi + 8], esi
mov esi, dword [ebx + 4]
mov edi, dword [ebp - 0x18]
mov ecx, dword [edi + 0x96]
call dword [section..00cfg]
push dword [ebp + 0x10]
push esi
call ecx
add esp, 8
test eax, eax
je 0x10103235
mov eax, dword [ebx]
xor edi, edi
test eax, eax
je 0x10103221
push eax
call sym.nss3.dll_PR_Unlock
add esp, 4
jmp 0x10103221
push 0
push 0xffffe041
call sym.nss3.dll_PR_SetError
add esp, 8
xor edi, edi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10192ef0
mov eax, edi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x14], 0
test eax, eax
je 0x10103251
mov esi, dword [eax]
mov eax, dword [eax + 4]
test esi, esi
mov dword [ebp - 0x14], eax
jne 0x10103265
jmp 0x10103253
xor eax, eax
push eax
push dword [ebp + 0x1c]
call fcn.100ff2b0
add esp, 8
mov esi, eax
test eax, eax
je 0x101031fd
mov eax, dword [ebp + 0x14]
mov ecx, dword [edi + 0x9a]
mov edx, dword [eax]
mov edi, dword [eax + 4]
mov eax, dword [ebx + 4]
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], eax
call dword [section..00cfg]
lea eax, [ebp - 0x14]
push eax
push esi
push edi
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
call ecx
add esp, 0x14
mov edi, eax
mov eax, dword [ebx]
test eax, eax
je 0x101032a4
push eax
call sym.nss3.dll_PR_Unlock
add esp, 4
test edi, edi
je 0x101032b6
push esi
call fcn.100ff3c0
add esp, 4
jmp 0x1010321f
xor edi, edi
cmp dword [ebp + 0x18], 0
jne 0x10103221
push esi
push dword [ebp - 0x14]
push 0
push dword [ebp + 0x1c]
call fcn.100ffe70
add esp, 0x10
mov edi, eax
jmp 0x10103221
xor eax, eax
push eax
push eax
push 1
push eax
call fcn.100e2c70
add esp, 0x10
mov esi, eax
jmp 0x101031d1
Function at 0x10103710
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x10103738
push dword [esi + 4]
call fcn.10101a60
add esp, 4
push dword [esi + 0xc]
call fcn.100ff3c0
add esp, 4
pop esi
pop ebp
jmp fcn.100ff3c0
pop esi
pop ebp
ret

Function at 0x101037d0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x101037fd
mov eax, dword [esi]
test eax, eax
je 0x101037f6
add esi, 4
push eax
call fcn.10101380
add esp, 4
mov eax, dword [esi]
add esi, 4
test eax, eax
jne 0x101037e4
pop esi
pop ebp
jmp fcn.100ff3c0
pop esi
pop ebp
ret

Function at 0x10103800
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x1010382d
mov eax, dword [esi]
test eax, eax
je 0x10103826
add esi, 4
push eax
call fcn.10101a60
add esp, 4
mov eax, dword [esi]
add esi, 4
test eax, eax
jne 0x10103814
pop esi
pop ebp
jmp fcn.100ff3c0
pop esi
pop ebp
ret

Function at 0x10103830
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x10103875
mov edi, dword [esi]
test edi, edi
je 0x1010386d
add esi, 4
push dword [edi + 4]
call fcn.10101a60
add esp, 4
push dword [edi + 0xc]
call fcn.100ff3c0
add esp, 4
push edi
call fcn.100ff3c0
add esp, 4
mov edi, dword [esi]
add esi, 4
test edi, edi
jne 0x10103845
pop esi
pop edi
pop ebp
jmp fcn.100ff3c0
pop esi
pop edi
pop ebp
ret

Function at 0x10103900
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x10103934
mov ecx, esi
call fcn.101039a0
mov esi, dword [esi + 4]
test esi, esi
je 0x1010392d
lea eax, [esi + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_DeleteCriticalSection]
push esi
call dword [sym.imp.mozglue.dll_free]
add esp, 4
pop esi
pop ebp
jmp fcn.100ff3c0
pop esi
pop ebp
ret

Function at 0x10103940
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x10103981
mov ebx, dword [esi + 4]
push dword [0x101d4d30]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov edi, eax
test eax, eax
je 0x10103986
lea eax, [ebx + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov ecx, esi
mov dword [ebx + 8], edi
call fcn.101039a0
push dword [esi + 4]
call sym.nss3.dll_PR_Unlock
add esp, 4
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
mov edi, eax
jmp 0x10103962
Function at 0x10103b00
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov edi, dword [eax + 4]
push dword [0x101d4d30]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, eax
test eax, eax
je 0x10103b6f
lea eax, [edi + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
cmp ebx, 0xce534351
mov dword [edi + 8], esi
je 0x10103b4d
cmp ebx, 0xce534353
je 0x10103b55
mov ecx, dword [ebp + 8]
xor esi, esi
cmp ebx, 1
jne 0x10103b5d
lea eax, [ecx + 0xc]
jmp 0x10103b5b
mov ecx, dword [ebp + 8]
lea eax, [ecx + 0x14]
jmp 0x10103b5b
mov ecx, dword [ebp + 8]
lea eax, [ecx + 0x10]
mov esi, dword [eax]
push dword [ecx + 4]
call sym.nss3.dll_PR_Unlock
add esp, 4
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
mov esi, eax
jmp 0x10103b21
Function at 0x10104690
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
mov esi, dword [eax + 0x14]
lock inc dword [esi + 8]
push esi
call fcn.10101400
add esp, 4
mov edi, eax
push esi
call fcn.10101380
add esp, 4
test edi, edi
je 0x101047ad
mov esi, ebx
mov ebx, dword [ebx + 4]
push dword [0x101d4d30]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov edi, eax
test eax, eax
je 0x1010484a
lea eax, [ebx + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov ecx, esi
xor edx, edx
mov dword [ebx + 8], edi
call fcn.10104390
test eax, eax
mov edi, esi
je 0x10104728
mov ebx, dword [edi + 0x24]
test ebx, ebx
je 0x10104728
mov eax, dword [ebx]
test eax, eax
je 0x10104728
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx + 4]
mov eax, dword [eax + 4]
cmp dword [eax + 4], ecx
jne 0x1010471e
mov edx, dword [eax]
mov esi, dword [ebp + 0xc]
cmp edx, dword [esi]
je 0x101047b5
mov eax, dword [ebx + 4]
add ebx, 4
test eax, eax
jne 0x10104709
xor edx, edx
mov ecx, edi
inc edx
mov dword [ebp - 0x10], edx
call fcn.10104390
mov esi, dword [ebp + 0xc]
test eax, eax
je 0x10104764
mov ebx, dword [edi + 0x28]
test ebx, ebx
je 0x10104764
mov eax, dword [ebx]
test eax, eax
je 0x10104764
mov ecx, dword [esi + 4]
mov eax, dword [eax + 4]
cmp dword [eax + 4], ecx
jne 0x1010475a
mov edx, dword [eax]
cmp edx, dword [esi]
je 0x101047c5
mov eax, dword [ebx + 4]
add ebx, 4
test eax, eax
jne 0x1010474c
mov ecx, edi
mov edx, 2
call fcn.10104390
test eax, eax
je 0x1010483a
mov ebx, dword [edi + 0x2c]
test ebx, ebx
je 0x1010483a
mov eax, dword [ebx]
test eax, eax
je 0x1010483a
mov ecx, dword [esi + 4]
mov eax, dword [eax + 4]
cmp dword [eax + 4], ecx
jne 0x1010479e
mov edx, dword [eax]
cmp edx, dword [esi]
je 0x101047be
mov eax, dword [ebx + 4]
add ebx, 4
test eax, eax
jne 0x10104790
jmp 0x1010483a
add esp, 4
jmp 0x10104845
mov dword [ebp - 0x10], 0
jmp 0x101047c5
mov dword [ebp - 0x10], 2
lea esi, [ebx - 4]
cmp dword [esi + 8], 0
lea esi, [esi + 4]
jne 0x101047c8
mov dword [eax + 4], 0
mov eax, dword [ebx]
mov edi, dword [eax + 4]
test edi, edi
je 0x10104802
push dword [edi + 4]
call fcn.10101a60
add esp, 4
push dword [edi + 0xc]
call fcn.100ff3c0
add esp, 4
push edi
call fcn.100ff3c0
add esp, 4
mov eax, dword [ebx]
push dword [eax]
call fcn.100ff520
add esp, 4
mov eax, dword [esi]
mov edi, dword [ebp + 8]
mov dword [ebx], eax
mov dword [esi], 0
mov esi, dword [ebp - 0x10]
mov eax, dword [edi + esi*4 + 0x24]
test eax, eax
je 0x1010483a
cmp dword [eax], 0
jne 0x1010483a
push eax
call fcn.100ff3c0
add esp, 4
mov dword [edi + esi*4 + 0x24], 0
push dword [edi + 4]
call sym.nss3.dll_PR_Unlock
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
mov edi, eax
jmp 0x101046da
Function at 0x10104ae0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x10104bfb
mov edi, dword [ebx + 0x1c]
mov eax, dword [ebx + 0x54]
test edi, edi
mov dword [ebp - 0x18], eax
je 0x10104b53
mov eax, dword [edi + 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 0x14], eax
push dword [0x101d4d30]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
mov dword [ebp - 0x10], eax
je 0x10104c05
mov esi, dword [ebp - 0x14]
lea eax, [esi + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov eax, dword [ebp - 0x10]
mov dword [esi + 8], eax
lock dec dword [ebx + 4]
mov eax, dword [edi + 0x14]
jne 0x10104be6
push ebx
push eax
call fcn.101091e0
add esp, 8
mov eax, dword [edi + 0x14]
add eax, 8
jmp 0x10104b99
mov eax, dword [0x101d5808]
mov dword [ebp - 0x10], eax
mov eax, dword [eax + 0x14]
mov edi, dword [eax]
push dword [0x101d4d30]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, eax
test eax, eax
je 0x10104c1c
lea eax, [edi + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [edi + 8], esi
lock dec dword [ebx + 4]
jne 0x10104beb
push ebx
mov esi, dword [ebp - 0x10]
push esi
call fcn.1010a060
add esp, 8
mov eax, dword [esi + 0x14]
push dword [eax]
call sym.nss3.dll_PR_Unlock
add esp, 4
cmp dword [ebx + 0x14], 0
je 0x10104bbf
xor esi, esi
mov eax, dword [ebx + 0x10]
push dword [eax + esi*4]
call fcn.10103710
add esp, 4
inc esi
cmp esi, dword [ebx + 0x14]
jb 0x10104bab
push ebx
call fcn.10107790
add esp, 4
push dword [ebx]
call fcn.100ff520
add esp, 4
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x10104bfb
cmp dword [eax], 1
jne 0x10104bfb
push eax
call fcn.10106170
jmp 0x10104bf8
push dword [eax + 8]
jmp 0x10104bf3
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x14]
push dword [eax]
call sym.nss3.dll_PR_Unlock
add esp, 4
xor eax, eax
add esp, 0xc
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
mov dword [ebp - 0x10], eax
jmp 0x10104b21
xor eax, eax
push eax
push eax
push 1
push eax
call fcn.100e2c70
add esp, 0x10
mov esi, eax
jmp 0x10104b76
Function at 0x10107700
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
cmp ecx, 1
je 0x10107722
cmp ecx, 2
jne 0x10107744
push dword [eax + 8]
call sym.nss3.dll_PR_EnterMonitor
add esp, 4
jmp 0x10107744
mov edi, dword [eax + 8]
push dword [0x101d4d30]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, eax
test eax, eax
je 0x10107748
lea eax, [edi + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [edi + 8], esi
pop esi
pop edi
pop ebp
ret
xor eax, eax
push eax
push eax
push 1
push eax
call fcn.100e2c70
add esp, 0x10
mov esi, eax
jmp 0x10107737

Function at 0x101078a0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0xc]
cmp eax, 1
je 0x101078c3
cmp eax, 2
jne 0x101078e9
push dword [edi + 8]
call sym.nss3.dll_PR_EnterMonitor
add esp, 4
jmp 0x101078e9
mov ebx, dword [edi + 8]
push dword [0x101d4d30]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, eax
test eax, eax
je 0x101079c1
lea eax, [ebx + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [ebx + 8], esi
mov ebx, dword [ebp + 0xc]
cmp dword [edi + 0x14], 0
je 0x10107921
xor esi, esi
mov eax, dword [edi + 0x10]
push ebx
push dword [eax + esi*4]
call fcn.101037b0
add esp, 8
test eax, eax
jne 0x10107959
mov eax, dword [edi + 0x14]
inc esi
cmp esi, eax
jb 0x101078f4
lea eax, [eax*4 + 4]
push eax
push dword [edi + 0x10]
call fcn.100ff760
jmp 0x1010792a
push 4
push dword [edi]
call fcn.100ff2b0
add esp, 8
mov esi, eax
test eax, eax
je 0x10107942
mov dword [edi + 0x10], esi
mov eax, dword [edi + 0x14]
lea ecx, [eax + 1]
mov dword [edi + 0x14], ecx
mov dword [esi + eax*4], ebx
mov eax, dword [edi + 0xc]
cmp eax, 1
je 0x1010798d
cmp eax, 2
jne 0x10107998
push dword [edi + 8]
call sym.nss3.dll_PR_ExitMonitor
jmp 0x10107995
mov eax, dword [edi + 0x10]
mov eax, dword [eax + esi*4]
push dword [eax + 0xc]
call fcn.100ff3c0
add esp, 4
mov ecx, dword [edi + 0x10]
mov eax, dword [ebx + 0xc]
mov ecx, dword [ecx + esi*4]
mov dword [ecx + 0xc], eax
mov eax, dword [edi + 0xc]
cmp eax, 1
je 0x1010799f
cmp eax, 2
jne 0x101079aa
push dword [edi + 8]
call sym.nss3.dll_PR_ExitMonitor
jmp 0x101079a7
push dword [edi + 8]
call sym.nss3.dll_PR_Unlock
add esp, 4
cmp esi, 1
sbb eax, eax
jmp 0x101079bc
push dword [edi + 8]
call sym.nss3.dll_PR_Unlock
add esp, 4
mov dword [ebx + 0xc], 0
push ebx
call fcn.10103710
add esp, 4
xor eax, eax
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
mov esi, eax
jmp 0x101078dc
Function at 0x10107a60
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0xc]
cmp eax, 1
je 0x10107a83
cmp eax, 2
jne 0x10107aa9
push dword [edi + 8]
call sym.nss3.dll_PR_EnterMonitor
add esp, 4
jmp 0x10107aa9
mov ebx, dword [edi + 8]
push dword [0x101d4d30]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, eax
test eax, eax
je 0x10107b3c
lea eax, [ebx + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [ebx + 8], esi
mov eax, dword [edi + 0x14]
test eax, eax
je 0x10107b13
mov ebx, dword [ebp + 0xc]
mov ecx, dword [edi + 0x10]
xor edx, edx
mov esi, dword [ecx + edx*4]
cmp dword [esi + 4], ebx
je 0x10107ac9
inc edx
cmp eax, edx
jne 0x10107ab8
xor esi, esi
jmp 0x10107ae1
mov eax, dword [ecx + eax*4 - 4]
mov dword [ecx + edx*4], eax
mov eax, dword [edi + 0x10]
mov ecx, dword [edi + 0x14]
mov dword [eax + ecx*4 - 4], 0
mov eax, dword [edi + 0x14]
dec eax
mov dword [edi + 0x14], eax
je 0x10107aff
shl eax, 2
push eax
push dword [edi + 0x10]
call fcn.100ff760
add esp, 8
test eax, eax
je 0x10107b0a
mov dword [edi + 0x10], eax
jmp 0x10107b0a
push dword [edi + 0x10]
call fcn.100ff3c0
add esp, 4
push esi
call fcn.10103710
add esp, 4
mov eax, dword [edi + 0xc]
cmp eax, 1
je 0x10107b2a
cmp eax, 2
jne 0x10107b35
push dword [edi + 8]
call sym.nss3.dll_PR_ExitMonitor
jmp 0x10107b32
push dword [edi + 8]
call sym.nss3.dll_PR_Unlock
add esp, 4
xor eax, eax
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
mov esi, eax
jmp 0x10107a9c
Function at 0x10107b60
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0xc]
cmp eax, 1
je 0x10107b86
cmp eax, 2
jne 0x10107baf
push dword [ecx + 8]
call sym.nss3.dll_PR_EnterMonitor
mov ecx, dword [ebp + 8]
add esp, 4
jmp 0x10107baf
mov edi, dword [ecx + 8]
push dword [0x101d4d30]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, eax
test eax, eax
je 0x10107c45
lea eax, [edi + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov ecx, dword [ebp + 8]
mov dword [edi + 8], esi
cmp dword [ecx + 0x14], 0
mov eax, 0
je 0x10107c01
xor edi, edi
xor ebx, ebx
mov eax, dword [ecx + 0x10]
mov esi, dword [eax + edi*4]
push esi
call fcn.10101b60
mov ecx, dword [ebp + 8]
add esp, 4
mov edx, dword [ecx + 0x10]
test eax, eax
mov dword [edx + edi*4], 0
je 0x10107be7
mov edx, dword [ecx + 0x10]
mov dword [edx + ebx*4], esi
inc ebx
jmp 0x10107bf7
push esi
mov esi, eax
call fcn.10103710
mov ecx, dword [ebp + 8]
mov eax, esi
add esp, 4
inc edi
cmp edi, dword [ecx + 0x14]
jb 0x10107bbe
test ebx, ebx
jne 0x10107c15
push dword [ecx + 0x10]
mov esi, eax
call fcn.100ff3c0
mov ecx, dword [ebp + 8]
mov eax, esi
add esp, 4
xor ebx, ebx
mov dword [ecx + 0x14], ebx
mov edx, dword [ecx + 0xc]
cmp edx, 1
je 0x10107c31
cmp edx, 2
jne 0x10107c40
push dword [ecx + 8]
mov esi, eax
call sym.nss3.dll_PR_ExitMonitor
jmp 0x10107c3b
push dword [ecx + 8]
mov esi, eax
call sym.nss3.dll_PR_Unlock
mov eax, esi
add esp, 4
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
mov esi, eax
jmp 0x10107b9f

Function at 0x10107c60
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0xc]
cmp eax, 1
je 0x10107c83
cmp eax, 2
jne 0x10107ca9
push dword [edi + 8]
call sym.nss3.dll_PR_EnterMonitor
add esp, 4
jmp 0x10107ca9
mov ebx, dword [edi + 8]
push dword [0x101d4d30]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, eax
test eax, eax
je 0x10107d1e
lea eax, [ebx + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [ebx + 8], esi
mov eax, dword [edi + 0x14]
xor esi, esi
test eax, eax
je 0x10107ce8
lea eax, [eax*4 + 4]
push eax
push 0
call fcn.100ff2b0
add esp, 8
test eax, eax
je 0x10107ce8
cmp dword [edi + 0x14], 0
je 0x10107ce6
xor ecx, ecx
mov edx, dword [edi + 0x10]
mov edx, dword [edx + ecx*4]
mov edx, dword [edx + 4]
lock inc dword [edx + 8]
mov dword [eax + ecx*4], edx
inc ecx
cmp ecx, dword [edi + 0x14]
jb 0x10107cd0
mov esi, eax
mov eax, dword [edi + 0xc]
mov ebx, dword [ebp + 0xc]
cmp eax, 1
je 0x10107d02
cmp eax, 2
jne 0x10107d0d
push dword [edi + 8]
call sym.nss3.dll_PR_ExitMonitor
jmp 0x10107d0a
push dword [edi + 8]
call sym.nss3.dll_PR_Unlock
add esp, 4
test ebx, ebx
je 0x10107d17
mov dword [ebx], 0
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
mov esi, eax
jmp 0x10107c9c
Function at 0x10107d40
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0xc]
cmp eax, 1
je 0x10107d64
cmp eax, 2
jne 0x10107d8a
push dword [ebx + 8]
call sym.nss3.dll_PR_EnterMonitor
add esp, 4
jmp 0x10107d8a
mov edi, dword [ebx + 8]
push dword [0x101d4d30]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, eax
test eax, eax
je 0x10107e2b
lea eax, [edi + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [edi + 8], esi
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x10107db8
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebx + 0x10]
mov dword [ebp - 0x10], 0
mov edi, dword [edx]
test ecx, ecx
jne 0x10107dab
mov esi, dword [edi + 0xc]
test esi, esi
jne 0x10107dc8
cmp dword [edi + 4], ecx
je 0x10107dc1
add edx, 4
dec eax
jne 0x10107d9e
jmp 0x10107df3
mov dword [ebp - 0x10], 0
jmp 0x10107df3
mov esi, dword [edi + 0xc]
test esi, esi
je 0x10107e41
push esi
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
mov edi, eax
inc edi
push edi
push 0
call fcn.100ff2b0
add esp, 8
test eax, eax
je 0x10107df3
mov ebx, eax
push edi
push esi
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov dword [ebp - 0x10], ebx
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0xc]
cmp eax, 1
je 0x10107e13
mov esi, dword [ebp - 0x10]
cmp eax, 2
jne 0x10107e21
push dword [ecx + 8]
call sym.nss3.dll_PR_ExitMonitor
add esp, 4
jmp 0x10107e21
push dword [ecx + 8]
call sym.nss3.dll_PR_Unlock
add esp, 4
mov esi, dword [ebp - 0x10]
mov eax, esi
add esp, 4
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
mov esi, eax
jmp 0x10107d7d
xor edi, edi
xor esi, esi
jmp 0x10107dd3

Function at 0x10107e50
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov edi, dword [ebp + 8]
cmp dword [edi + 0x14], 0
je 0x10107e79
mov eax, dword [edi + 0xc]
cmp eax, 1
je 0x10107e7d
cmp eax, 2
jne 0x10107e9f
push dword [edi + 8]
call sym.nss3.dll_PR_EnterMonitor
add esp, 4
jmp 0x10107e9f
xor esi, esi
jmp 0x10107efb
mov ebx, dword [edi + 8]
push dword [0x101d4d30]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, eax
test eax, eax
je 0x10107f02
lea eax, [ebx + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [ebx + 8], esi
mov eax, dword [edi + 0x14]
lea eax, [eax*4 + 4]
push eax
push 0
call fcn.100ff2b0
add esp, 8
mov esi, eax
test eax, eax
je 0x10107ed9
cmp dword [edi + 0x14], 0
je 0x10107ed9
xor ebx, ebx
mov eax, dword [edi + 0x10]
push dword [eax + ebx*4]
call fcn.10103740
add esp, 4
mov dword [esi + ebx*4], eax
inc ebx
cmp ebx, dword [edi + 0x14]
jb 0x10107ec2
mov eax, dword [edi + 0xc]
cmp eax, 1
je 0x10107ef0
cmp eax, 2
jne 0x10107efb
push dword [edi + 8]
call sym.nss3.dll_PR_ExitMonitor
jmp 0x10107ef8
push dword [edi + 8]
call sym.nss3.dll_PR_Unlock
add esp, 4
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
mov esi, eax
jmp 0x10107e92
Function at 0x10107f20
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x10107f66
mov ecx, dword [esi]
test ecx, ecx
je 0x10107f5f
add esi, 4
cmp dword [ecx + 0x54], 0
je 0x10107f4d
xor edx, edx
call fcn.101064f0
test eax, eax
je 0x10107f56
push eax
call sym.nss3.dll_CERT_DestroyCertificate
jmp 0x10107f53
push ecx
call fcn.10104ae0
add esp, 4
mov ecx, dword [esi]
add esi, 4
test ecx, ecx
jne 0x10107f34
pop esi
pop ebp
jmp fcn.100ff3c0
pop esi
pop ebp
ret

Function at 0x101082a0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x101082cd
mov eax, dword [esi]
test eax, eax
je 0x101082c6
add esi, 4
push eax
call fcn.101079e0
add esp, 4
mov eax, dword [esi]
add esi, 4
test eax, eax
jne 0x101082b4
pop esi
pop ebp
jmp fcn.100ff3c0
pop esi
pop ebp
ret
Function at 0x10108e80
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 0x10]
mov edi, dword [ebx + 8]
push dword [0x101d4d30]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, eax
test eax, eax
je 0x10108f1e
lea eax, [edi + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [edi + 8], esi
mov esi, dword [ebx + 0x10]
push dword [ebx + 8]
call sym.nss3.dll_PR_Unlock
add esp, 4
test esi, esi
je 0x10108ecf
push 0x24
call fcn.100ffa40
add esp, 4
xor eax, eax
dec eax
jmp 0x10108f19
mov edi, dword [ebp + 8]
mov esi, dword [edi + 8]
lea eax, [esi + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_DeleteCriticalSection]
push esi
call dword [sym.imp.mozglue.dll_free]
add esp, 4
push dword [edi + 0x10]
call fcn.100ffbf0
add esp, 4
push dword [edi + 0xc]
call fcn.100ffbf0
add esp, 4
cmp dword [edi], 0
je 0x10108f0e
push dword [edi + 4]
call fcn.100ff520
jmp 0x10108f14
push edi
call fcn.100ff3c0
add esp, 4
xor eax, eax
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
mov esi, eax
jmp 0x10108ea1