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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov edi, dword [ebp + 8]
mov ebx, dword [edi + 4]
mov ecx, dword [ebx + 0x14]
mov eax, dword [ebx + 0x30]
mov ecx, dword [ecx + 0x44]
mov dword [ebp - 0x14], ecx
test eax, eax
je 0x1009cea9
push edi
push eax
call fcn.1009fa40
add esp, 8
xor esi, esi
dec esi
cmp dword [edi + 8], 0
je 0x1009cf63
mov edi, dword [ebx + 0x24]
test edi, edi
je 0x1009cec5
mov al, 1
cmp dword [edi + 0xc], 0
jne 0x1009cee0
push 1
push 0
push dword [ebx + 0x14]
call fcn.100a7580
add esp, 0xc
test eax, eax
je 0x1009cf63
mov edi, eax
xor eax, eax
mov dword [ebp - 0x10], eax
mov esi, dword [edi]
test esi, esi
je 0x1009cf08
push dword [0x101de1f0]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov ebx, eax
test eax, eax
je 0x1009cf6d
lea eax, [esi + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [esi + 8], ebx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x5a]
mov eax, dword [ebp + 8]
mov esi, dword [eax]
mov ebx, dword [edi + 4]
call dword [section..00cfg]
push esi
push ebx
call ecx
add esp, 8
mov ebx, eax
mov eax, dword [edi]
test eax, eax
je 0x1009cf34
push eax
call sym.nss3.dll_PR_Unlock
add esp, 4
cmp byte [ebp - 0x10], 0
mov esi, 0xffffffff
jne 0x1009cf48
push edi
call fcn.100a75e0
add esp, 4
test ebx, ebx
je 0x1009cf61
push ebx
call fcn.1009ac70
add esp, 4
push 0x26
call fcn.1009ac70
add esp, 4
jmp 0x1009cf63
xor esi, esi
mov eax, esi
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret
sub esp, 0x10
movaps xmm0, xmmword [0x1019c190]
movups xmmword [esp], xmm0
call fcn.10072140
add esp, 0x10
mov ebx, eax
jmp 0x1009cefb
Function at 0x1009d9a0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov esi, edx
mov edi, ecx
mov eax, dword [0x101db014]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [ecx + 0x14]
mov eax, dword [eax + 0x44]
mov dword [ebp - 0x20], eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.1009bf10
add esp, 8
test eax, eax
sete bl
je 0x1009d9e6
test esi, esi
je 0x1009d9f1
mov al, 1
cmp dword [esi + 0xc], 0
jne 0x1009da1b
jmp 0x1009dab8
mov al, 1
test esi, esi
jne 0x1009da1b
mov esi, dword [edi + 0x24]
jmp 0x1009da11
mov esi, dword [edi + 0x24]
test esi, esi
je 0x1009da00
mov al, 1
cmp dword [esi + 0xc], 0
jne 0x1009da1b
push 1
push 0
push dword [edi + 0x14]
call fcn.100a7580
add esp, 0xc
mov esi, eax
mov eax, ebx
test esi, esi
je 0x1009dab8
mov byte [ebp - 0x15], al
mov dword [ebp - 0x1c], edi
mov edi, dword [esi]
test edi, edi
je 0x1009da4a
push dword [0x101de1f0]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov ebx, eax
test eax, eax
je 0x1009dad8
lea eax, [edi + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [edi + 8], ebx
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x52]
mov edi, dword [esi + 4]
call dword [section..00cfg]
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push edi
call ecx
add esp, 0x10
mov ebx, eax
mov eax, dword [esi]
test eax, eax
je 0x1009da7a
push eax
call sym.nss3.dll_PR_Unlock
add esp, 4
test ebx, ebx
mov eax, dword [ebp - 0x1c]
je 0x1009da98
push ebx
call fcn.1009ac70
add esp, 4
push 0x26
call fcn.1009ac70
add esp, 4
xor edi, edi
jmp 0x1009daa7
push dword [ebp - 0x14]
push esi
push eax
call fcn.1009e9a0
add esp, 0xc
mov edi, eax
cmp byte [ebp - 0x15], 0
jne 0x1009dac4
push esi
call fcn.100a75e0
add esp, 4
jmp 0x1009dac4
push 0x17
call fcn.1009ac70
add esp, 4
xor edi, edi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1014dc80
mov eax, edi
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret
sub esp, 0x10
movaps xmm0, xmmword [0x1019c190]
movups xmmword [esp], xmm0
call fcn.10072140
add esp, 0x10
mov ebx, eax
jmp 0x1009da3d
Function at 0x1009e4e0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov ecx, dword [0x101db014]
xor ecx, ebp
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + 0x14]
mov ecx, dword [ecx + 0x44]
test ebx, ebx
jne 0x1009e50b
mov ebx, dword [eax + 0x24]
test ebx, ebx
je 0x1009e570
mov esi, dword [ebx + 4]
test esi, esi
je 0x1009e570
mov dword [ebp - 0x18], ecx
mov edi, dword [ebx]
test edi, edi
je 0x1009e541
push dword [0x101de1f0]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, eax
test eax, eax
je 0x1009e63a
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 0x1009e595
mov eax, dword [ebx]
xor edi, edi
test eax, eax
je 0x1009e581
push eax
call sym.nss3.dll_PR_Unlock
add esp, 4
jmp 0x1009e581
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.1014dc80
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 0x1009e5b1
mov esi, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
test esi, esi
jne 0x1009e5c5
jmp 0x1009e5b3
xor eax, eax
push eax
push dword [ebp + 0x1c]
call fcn.1009a460
add esp, 8
mov esi, eax
test eax, eax
je 0x1009e55d
mov eax, dword [ebp + 0x14]
mov ecx, dword [edi + 0x9a]
mov edx, dword [eax]
mov dword [ebp - 0x18], edx
mov edi, dword [eax + 4]
mov eax, dword [ebx + 4]
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 0x1009e604
push eax
call sym.nss3.dll_PR_Unlock
add esp, 4
test edi, edi
je 0x1009e616
push esi
call fcn.1009a580
add esp, 4
jmp 0x1009e57f
xor edi, edi
cmp dword [ebp + 0x18], 0
jne 0x1009e581
push esi
push dword [ebp - 0x14]
push 0
push dword [ebp + 0x1c]
call fcn.1009b0b0
add esp, 0x10
mov edi, eax
jmp 0x1009e581
sub esp, 0x10
movaps xmm0, xmmword [0x1019c190]
movups xmmword [esp], xmm0
call fcn.10072140
add esp, 0x10
mov esi, eax
jmp 0x1009e531
Function at 0x1009ea70
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x1009ea98
push dword [esi + 4]
call fcn.1009cd70
add esp, 4
push dword [esi + 0xc]
call fcn.1009a580
add esp, 4
pop esi
pop ebp
jmp fcn.1009a580
pop esi
pop ebp
ret

Function at 0x1009eb30
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x1009eb5d
mov eax, dword [esi]
test eax, eax
je 0x1009eb56
add esi, 4
push eax
call fcn.1009c620
add esp, 4
mov eax, dword [esi]
add esi, 4
test eax, eax
jne 0x1009eb44
pop esi
pop ebp
jmp fcn.1009a580
pop esi
pop ebp
ret

Function at 0x1009eb60
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x1009eb8d
mov eax, dword [esi]
test eax, eax
je 0x1009eb86
add esi, 4
push eax
call fcn.1009cd70
add esp, 4
mov eax, dword [esi]
add esi, 4
test eax, eax
jne 0x1009eb74
pop esi
pop ebp
jmp fcn.1009a580
pop esi
pop ebp
ret

Function at 0x1009eb90
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 0x1009ebd5
mov edi, dword [esi]
test edi, edi
je 0x1009ebcd
add esi, 4
push dword [edi + 4]
call fcn.1009cd70
add esp, 4
push dword [edi + 0xc]
call fcn.1009a580
add esp, 4
push edi
call fcn.1009a580
add esp, 4
mov edi, dword [esi]
add esi, 4
test edi, edi
jne 0x1009eba5
pop esi
pop edi
pop ebp
jmp fcn.1009a580
pop esi
pop edi
pop ebp
ret

Function at 0x1009ec60
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x1009ec94
mov ecx, esi
call fcn.1009ed10
mov esi, dword [esi + 4]
test esi, esi
je 0x1009ec8d
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.1009a580
pop esi
pop ebp
ret

Function at 0x1009eca0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov esi, dword [ebp + 8]
test esi, esi
je 0x1009ecee
mov ebx, dword [esi + 4]
mov eax, dword [0x101de1f0]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
sub esp, 4
mov edi, eax
test eax, eax
je 0x1009ecf6
lea eax, [ebx + 0x1c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
sub esp, 4
mov dword [ebx + 8], edi
mov ecx, esi
call fcn.1009ed10
mov eax, dword [esi + 4]
mov dword [esp], eax
call sym.nss3.dll_PR_Unlock
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
movaps xmm0, xmmword [0x1019c190]
movups xmmword [esp], xmm0
call fcn.10072140
mov edi, eax
jmp 0x1009ecca
Function at 0x1009ee70
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov edi, dword [eax + 4]
mov eax, dword [0x101de1f0]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
sub esp, 4
mov esi, eax
test eax, eax
je 0x1009eeef
lea eax, [edi + 0x1c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
sub esp, 4
mov dword [edi + 8], esi
cmp ebx, 0xce534351
je 0x1009eeca
cmp ebx, 0xce534353
je 0x1009eed2
xor esi, esi
cmp ebx, 1
mov ecx, dword [ebp + 8]
jne 0x1009eeda
lea eax, [ecx + 0xc]
jmp 0x1009eed8
mov ecx, dword [ebp + 8]
lea eax, [ecx + 0x14]
jmp 0x1009eed8
mov ecx, dword [ebp + 8]
lea eax, [ecx + 0x10]
mov esi, dword [eax]
mov eax, dword [ecx + 4]
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 [0x1019c190]
movups xmmword [esp], xmm0
call fcn.10072140
mov esi, eax
jmp 0x1009ee99
Function at 0x1009fa40
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
mov esi, dword [eax + 0x14]
lock inc dword [esi + 8]
mov dword [esp], esi
call fcn.1009c6a0
mov edi, eax
mov dword [esp], esi
call fcn.1009c620
test edi, edi
je 0x1009fbf5
mov esi, ebx
mov ebx, dword [ebx + 4]
mov eax, dword [0x101de1f0]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
sub esp, 4
mov edi, eax
test eax, eax
je 0x1009fbfd
lea eax, [ebx + 0x1c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
sub esp, 4
mov dword [ebx + 8], edi
mov ecx, esi
xor edx, edx
call fcn.1009f730
test eax, eax
mov edi, esi
je 0x1009fae2
mov ebx, dword [edi + 0x24]
test ebx, ebx
je 0x1009fae2
mov eax, dword [ebx]
test eax, eax
je 0x1009fae2
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx + 4]
mov eax, dword [eax + 4]
cmp dword [eax + 4], ecx
jne 0x1009fad8
mov edx, dword [eax]
mov esi, dword [ebp + 0xc]
cmp edx, dword [esi]
je 0x1009fb67
mov eax, dword [ebx + 4]
add ebx, 4
test eax, eax
jne 0x1009fac3
xor edx, edx
inc edx
mov ecx, edi
mov dword [ebp - 0x10], edx
call fcn.1009f730
test eax, eax
mov esi, dword [ebp + 0xc]
je 0x1009fb1e
mov ebx, dword [edi + 0x28]
test ebx, ebx
je 0x1009fb1e
mov eax, dword [ebx]
test eax, eax
je 0x1009fb1e
mov ecx, dword [esi + 4]
mov eax, dword [eax + 4]
cmp dword [eax + 4], ecx
jne 0x1009fb14
mov edx, dword [eax]
cmp edx, dword [esi]
je 0x1009fb77
mov eax, dword [ebx + 4]
add ebx, 4
test eax, eax
jne 0x1009fb06
mov ecx, edi
mov edx, 2
call fcn.1009f730
test eax, eax
je 0x1009fbea
mov ebx, dword [edi + 0x2c]
test ebx, ebx
je 0x1009fbea
mov eax, dword [ebx]
test eax, eax
je 0x1009fbea
mov ecx, dword [esi + 4]
mov eax, dword [eax + 4]
cmp dword [eax + 4], ecx
jne 0x1009fb58
mov edx, dword [eax]
cmp edx, dword [esi]
je 0x1009fb70
mov eax, dword [ebx + 4]
add ebx, 4
test eax, eax
jne 0x1009fb4a
jmp 0x1009fbea
mov dword [ebp - 0x10], 0
jmp 0x1009fb77
mov dword [ebp - 0x10], 2
lea esi, [ebx - 4]
cmp dword [esi + 8], 0
lea esi, [esi + 4]
jne 0x1009fb7a
mov dword [eax + 4], 0
mov eax, dword [ebx]
mov edi, dword [eax + 4]
test edi, edi
je 0x1009fbb3
mov eax, dword [edi + 4]
mov dword [esp], eax
call fcn.1009cd70
mov eax, dword [edi + 0xc]
mov dword [esp], eax
call fcn.1009a580
mov dword [esp], edi
call fcn.1009a580
mov eax, dword [ebx]
mov eax, dword [eax]
mov dword [esp], eax
call fcn.1009a6f0
mov eax, dword [esi]
mov dword [ebx], eax
mov dword [esi], 0
mov edi, dword [ebp + 8]
mov esi, dword [ebp - 0x10]
mov eax, dword [edi + esi*4 + 0x24]
test eax, eax
je 0x1009fbea
cmp dword [eax], 0
jne 0x1009fbea
mov dword [esp], eax
call fcn.1009a580
mov dword [edi + esi*4 + 0x24], 0
mov eax, dword [edi + 4]
mov dword [esp], eax
call sym.nss3.dll_PR_Unlock
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret
movaps xmm0, xmmword [0x1019c190]
movups xmmword [esp], xmm0
call fcn.10072140
mov edi, eax
jmp 0x1009fa8f
Function at 0x1009fed0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x100a0004
mov edi, dword [ebx + 0x1c]
mov eax, dword [ebx + 0x54]
mov dword [ebp - 0x18], eax
test edi, edi
je 0x1009ff4f
mov eax, dword [edi + 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 0x14], eax
mov eax, dword [0x101de1f0]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
sub esp, 4
mov dword [ebp - 0x10], eax
test eax, eax
je 0x100a000e
mov esi, dword [ebp - 0x14]
lea eax, [esi + 0x1c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
sub esp, 4
mov eax, dword [ebp - 0x10]
mov dword [esi + 8], eax
lock dec dword [ebx + 4]
mov eax, dword [edi + 0x14]
jne 0x1009ffef
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.100a4710
mov eax, dword [edi + 0x14]
add eax, 8
jmp 0x1009ffa1
mov eax, dword [0x101decc8]
mov dword [ebp - 0x10], eax
mov eax, dword [eax + 0x14]
mov edi, dword [eax]
mov eax, dword [0x101de1f0]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
sub esp, 4
mov esi, eax
test eax, eax
je 0x100a0026
lea eax, [edi + 0x1c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
sub esp, 4
mov dword [edi + 8], esi
lock dec dword [ebx + 4]
jne 0x1009fff4
mov dword [esp + 4], ebx
mov esi, dword [ebp - 0x10]
mov dword [esp], esi
call fcn.100a56b0
mov eax, dword [esi + 0x14]
mov eax, dword [eax]
mov dword [esp], eax
call sym.nss3.dll_PR_Unlock
cmp dword [ebx + 0x14], 0
je 0x1009ffc7
xor esi, esi
mov eax, dword [ebx + 0x10]
mov eax, dword [eax + esi*4]
mov dword [esp], eax
call fcn.1009ea70
inc esi
cmp esi, dword [ebx + 0x14]
jb 0x1009ffb3
mov dword [esp], ebx
call fcn.100a2c20
mov eax, dword [ebx]
mov dword [esp], eax
call fcn.1009a6f0
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x100a0004
cmp dword [eax], 1
jne 0x100a0004
mov dword [esp], eax
call fcn.100a15b0
jmp 0x100a0004
mov eax, dword [eax + 8]
jmp 0x1009fffc
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x14]
mov eax, dword [eax]
mov dword [esp], eax
call sym.nss3.dll_PR_Unlock
xor eax, eax
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret
movaps xmm0, xmmword [0x1019c190]
movups xmmword [esp], xmm0
call fcn.10072140
mov dword [ebp - 0x10], eax
jmp 0x1009ff16
movaps xmm0, xmmword [0x1019c190]
movups xmmword [esp], xmm0
call fcn.10072140
mov esi, eax
jmp 0x1009ff77
Function at 0x100a2b80
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x10
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
cmp ecx, 1
je 0x100a2ba5
cmp ecx, 2
jne 0x100a2bd1
mov eax, dword [eax + 8]
mov dword [esp], eax
call sym.nss3.dll_PR_EnterMonitor
jmp 0x100a2bd1
mov edi, dword [eax + 8]
mov eax, dword [0x101de1f0]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
sub esp, 4
mov esi, eax
test eax, eax
je 0x100a2bd8
lea eax, [edi + 0x1c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
sub esp, 4
mov dword [edi + 8], esi
add esp, 0x10
pop esi
pop edi
pop ebp
ret
movaps xmm0, xmmword [0x1019c190]
movups xmmword [esp], xmm0
call fcn.10072140
mov esi, eax
jmp 0x100a2bbf

Function at 0x100a2d30
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 0x100a2d53
cmp eax, 2
jne 0x100a2d79
push dword [edi + 8]
call sym.nss3.dll_PR_EnterMonitor
add esp, 4
jmp 0x100a2d79
mov ebx, dword [edi + 8]
push dword [0x101de1f0]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, eax
test eax, eax
je 0x100a2e51
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 0x100a2db1
xor esi, esi
mov eax, dword [edi + 0x10]
push ebx
push dword [eax + esi*4]
call fcn.1009eb10
add esp, 8
test eax, eax
jne 0x100a2de9
inc esi
mov eax, dword [edi + 0x14]
cmp esi, eax
jb 0x100a2d84
lea eax, [eax*4 + 4]
push eax
push dword [edi + 0x10]
call fcn.1009a980
jmp 0x100a2dba
push 4
push dword [edi]
call fcn.1009a460
add esp, 8
mov esi, eax
test eax, eax
je 0x100a2dd2
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 0x100a2e1d
cmp eax, 2
jne 0x100a2e28
push dword [edi + 8]
call sym.nss3.dll_PR_ExitMonitor
jmp 0x100a2e25
mov eax, dword [edi + 0x10]
mov eax, dword [eax + esi*4]
push dword [eax + 0xc]
call fcn.1009a580
add esp, 4
mov eax, dword [ebx + 0xc]
mov ecx, dword [edi + 0x10]
mov ecx, dword [ecx + esi*4]
mov dword [ecx + 0xc], eax
mov eax, dword [edi + 0xc]
cmp eax, 1
je 0x100a2e2f
cmp eax, 2
jne 0x100a2e3a
push dword [edi + 8]
call sym.nss3.dll_PR_ExitMonitor
jmp 0x100a2e37
push dword [edi + 8]
call sym.nss3.dll_PR_Unlock
add esp, 4
cmp esi, 1
sbb eax, eax
jmp 0x100a2e4c
push dword [edi + 8]
call sym.nss3.dll_PR_Unlock
add esp, 4
mov dword [ebx + 0xc], 0
push ebx
call fcn.1009ea70
add esp, 4
xor eax, eax
pop esi
pop edi
pop ebx
pop ebp
ret
sub esp, 0x10
movaps xmm0, xmmword [0x1019c190]
movups xmmword [esp], xmm0
call fcn.10072140
add esp, 0x10
mov esi, eax
jmp 0x100a2d6c
Function at 0x100a2ef0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0xc]
cmp eax, 1
je 0x100a2f16
cmp eax, 2
jne 0x100a2f46
mov eax, dword [edi + 8]
mov dword [esp], eax
call sym.nss3.dll_PR_EnterMonitor
jmp 0x100a2f46
mov ebx, dword [edi + 8]
mov eax, dword [0x101de1f0]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
sub esp, 4
mov esi, eax
test eax, eax
je 0x100a2fe1
lea eax, [ebx + 0x1c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
sub esp, 4
mov dword [ebx + 8], esi
mov eax, dword [edi + 0x14]
test eax, eax
je 0x100a2fb2
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 0x100a2f66
inc edx
cmp eax, edx
jne 0x100a2f55
xor esi, esi
jmp 0x100a2f7e
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 0x100a2f9f
shl eax, 2
mov ecx, dword [edi + 0x10]
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.1009a980
test eax, eax
je 0x100a2faa
mov dword [edi + 0x10], eax
jmp 0x100a2faa
mov eax, dword [edi + 0x10]
mov dword [esp], eax
call fcn.1009a580
mov dword [esp], esi
call fcn.1009ea70
mov eax, dword [edi + 0xc]
cmp eax, 1
je 0x100a2fcc
cmp eax, 2
jne 0x100a2fd7
mov eax, dword [edi + 8]
mov dword [esp], eax
call sym.nss3.dll_PR_ExitMonitor
jmp 0x100a2fd7
mov eax, dword [edi + 8]
mov dword [esp], eax
call sym.nss3.dll_PR_Unlock
xor eax, eax
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
movaps xmm0, xmmword [0x1019c190]
movups xmmword [esp], xmm0
call fcn.10072140
mov esi, eax
jmp 0x100a2f34
Function at 0x100a3000
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0xc]
cmp eax, 1
je 0x100a3026
cmp eax, 2
jne 0x100a3059
mov eax, dword [ecx + 8]
mov dword [esp], eax
call sym.nss3.dll_PR_EnterMonitor
jmp 0x100a3056
mov edi, dword [ecx + 8]
mov eax, dword [0x101de1f0]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
sub esp, 4
mov esi, eax
test eax, eax
je 0x100a30f3
lea eax, [edi + 0x1c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
sub esp, 4
mov dword [edi + 8], esi
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x14], 0
mov eax, 0
je 0x100a30a9
xor edi, edi
xor ebx, ebx
mov eax, dword [ecx + 0x10]
mov esi, dword [eax + edi*4]
mov dword [esp], esi
call fcn.1009ce80
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x10]
mov dword [edx + edi*4], 0
test eax, eax
je 0x100a3090
mov edx, dword [ecx + 0x10]
mov dword [edx + ebx*4], esi
inc ebx
jmp 0x100a309f
mov dword [esp], esi
mov esi, eax
call fcn.1009ea70
mov eax, esi
mov ecx, dword [ebp + 8]
inc edi
cmp edi, dword [ecx + 0x14]
jb 0x100a3068
test ebx, ebx
jne 0x100a30bd
mov ecx, dword [ecx + 0x10]
mov dword [esp], ecx
mov esi, eax
call fcn.1009a580
mov eax, esi
mov ecx, dword [ebp + 8]
xor ebx, ebx
mov dword [ecx + 0x14], ebx
mov edx, dword [ecx + 0xc]
cmp edx, 1
je 0x100a30dc
cmp edx, 2
jne 0x100a30eb
mov ecx, dword [ecx + 8]
mov dword [esp], ecx
mov esi, eax
call sym.nss3.dll_PR_ExitMonitor
jmp 0x100a30e9
mov ecx, dword [ecx + 8]
mov dword [esp], ecx
mov esi, 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 [0x1019c190]
movups xmmword [esp], xmm0
call fcn.10072140
mov esi, eax
jmp 0x100a3044
Function at 0x100a3110
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0xc]
cmp eax, 1
je 0x100a3136
cmp eax, 2
jne 0x100a3166
mov eax, dword [edi + 8]
mov dword [esp], eax
call sym.nss3.dll_PR_EnterMonitor
jmp 0x100a3166
mov ebx, dword [edi + 8]
mov eax, dword [0x101de1f0]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
sub esp, 4
mov esi, eax
test eax, eax
je 0x100a31e6
lea eax, [ebx + 0x1c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
sub esp, 4
mov dword [ebx + 8], esi
mov eax, dword [edi + 0x14]
xor esi, esi
test eax, eax
je 0x100a31aa
lea eax, [eax*4 + 4]
mov dword [esp + 4], eax
mov dword [esp], 0
call fcn.1009a460
test eax, eax
je 0x100a31aa
cmp dword [edi + 0x14], 0
je 0x100a31a8
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 0x100a3192
mov esi, eax
mov ebx, dword [ebp + 0xc]
mov eax, dword [edi + 0xc]
cmp eax, 1
je 0x100a31c7
cmp eax, 2
jne 0x100a31d2
mov eax, dword [edi + 8]
mov dword [esp], eax
call sym.nss3.dll_PR_ExitMonitor
jmp 0x100a31d2
mov eax, dword [edi + 8]
mov dword [esp], eax
call sym.nss3.dll_PR_Unlock
test ebx, ebx
je 0x100a31dc
mov dword [ebx], 0
mov eax, esi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
movaps xmm0, xmmword [0x1019c190]
movups xmmword [esp], xmm0
call fcn.10072140
mov esi, eax
jmp 0x100a3154