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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push eax
mov edi, dword [ebp + 8]
xor esi, esi
dec esi
cmp dword [edi + 0x70], 1
jne 0x100f7507
mov ebx, dword [0x101dec3c]
mov eax, dword [edi + 0x2c]
test eax, eax
je 0x100f7426
cmp dword [eax], 0
je 0x100f7426
push 1
push 0xb6
push eax
call fcn.100f2c80
add esp, 0xc
test eax, eax
je 0x100f7426
push eax
call fcn.100f2c00
add esp, 4
test eax, eax
je 0x100f7507
push eax
push ebx
call fcn.100f7d00
add esp, 8
test eax, eax
je 0x100f7507
mov edi, eax
xor ebx, ebx
jmp 0x100f744a
mov edi, dword [edi + 0x5c]
test edi, edi
je 0x100f74c0
mov eax, dword [edi + 0x118]
test eax, eax
je 0x100f7507
mov bl, 1
cmp byte [eax], 0
je 0x100f7507
cmp dword [0x101de200], 0
je 0x100f7552
push dword [0x101de1f0]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x100f7537
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x2c]
xor eax, eax
test ecx, ecx
je 0x100f74de
cmp dword [ecx], 0
mov esi, 0
je 0x100f74e0
xor eax, eax
inc eax
push eax
push 0x28
push ecx
call fcn.100f2c80
add esp, 0xc
push eax
call fcn.100f2c00
add esp, 4
mov esi, eax
xor eax, eax
inc eax
push eax
push 0x23
mov eax, dword [ebp + 8]
push dword [eax + 0x2c]
call fcn.100f2c80
add esp, 0xc
push eax
call fcn.100f2c00
add esp, 4
jmp 0x100f74e0
test ebx, ebx
je 0x100f7507
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0xc]
test eax, eax
je 0x100f7511
cmp eax, 1
jne 0x100f752e
push dword [edi + 0x10]
push ebx
call fcn.10084bd0
jmp 0x100f751a
xor esi, esi
push eax
push esi
push edi
call sym.nss3.dll_CERT_SaveSMimeProfile
add esp, 0xc
mov esi, eax
test bl, bl
jne 0x100f74fa
push edi
call sym.nss3.dll_CERT_DestroyCertificate
add esp, 4
push 0
push dword [ebp - 0x10]
call sym.nss3.dll_PR_SetError
add esp, 8
mov eax, esi
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
push dword [edi + 0x10]
push ebx
call sym.nss3.dll_CERT_FindCertByIssuerAndSN
add esp, 8
mov ecx, edi
mov edi, eax
mov dword [ecx + 0x5c], eax
test eax, eax
jne 0x100f7431
jmp 0x100f7507
mov dword [edi + 0x5c], 0
jmp 0x100f7507
sub esp, 0x10
movaps xmm0, xmmword [0x1019c190]
movups xmmword [esp], xmm0
call fcn.10072140
add esp, 0x10
jmp 0x100f746b
call fcn.100745e0
jmp 0x100f7457
Function at 0x100fc700
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 + 0xc]
test esi, esi
je 0x100fc752
mov ebx, dword [ebp + 0x10]
test ebx, ebx
js 0x100fc752
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x1fc], 0x401
jb 0x100fc73a
push ecx
call fcn.1011c180
mov ecx, dword [ebp + 8]
add esp, 4
test eax, eax
je 0x100fc884
xor edx, edx
test ebx, ebx
je 0x100fc75e
mov eax, dword [ecx + 0x50]
test eax, eax
je 0x100fc75e
cmp byte [esi], al
jne 0x100fc752
inc esi
dec ebx
xor eax, eax
inc eax
jmp 0x100fc760
push 0
push 0xffffe89d
jmp 0x100fc88b
xor eax, eax
cmp ebx, 2
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], eax
jl 0x100fc78e
test byte [ecx + 0x1e], 2
je 0x100fc78e
movzx eax, word [ecx + 0x58]
cmp eax, 0x301
ja 0x100fc78e
mov eax, dword [ecx + 0x3b8]
mov eax, dword [eax + 0x14]
xor edx, edx
cmp dword [eax + 0x10], 1
sete dl
xor esi, esi
mov dword [ebp - 0x1c], ebx
mov edi, ebx
sub edi, esi
jle 0x100fc85c
test esi, esi
jle 0x100fc7e6
mov dword [ebp - 0x18], edx
test byte [ecx + 0x1d], 4
mov ebx, ecx
jne 0x100fc7ba
push dword [ebx + 0x168]
call sym.nss3.dll_PR_ExitMonitor
add esp, 4
push 0
call sym.nss3.dll_PR_Sleep
add esp, 4
test byte [ebx + 0x1d], 4
mov ecx, ebx
mov ebx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
jne 0x100fc7e6
push dword [ecx + 0x168]
call sym.nss3.dll_PR_EnterMonitor
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp + 8]
add esp, 4
mov eax, 0x4000
cmp edi, eax
cmovge edi, eax
test edx, edx
mov eax, 1
cmovne edi, eax
mov eax, dword [ebp - 0x14]
add eax, esi
push dword [ebp + 0x14]
push edi
push eax
push 0x17
push 0
push ecx
mov edi, ecx
call fcn.100fbd00
add esp, 0x18
test eax, eax
js 0x100fc82c
add esi, eax
xor edx, edx
cmp dword [edi + 0x1fc], 0
mov ecx, edi
je 0x100fc793
jmp 0x100fc865
xor edi, edi
dec edi
test esi, esi
jle 0x100fc896
cmp dword [0x101de200], 0
je 0x100fc8cc
push dword [0x101de1f0]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x100fc8b4
cmp dword [eax + 0x28], 0xffffe892
mov ecx, dword [ebp + 8]
jne 0x100fc896
cmp dword [ecx + 0x1fc], 0
je 0x100fc8a6
test esi, esi
jle 0x100fc879
mov eax, dword [ebp - 0x14]
movzx eax, byte [esi + eax - 1]
or eax, 0x100
mov dword [ecx + 0x50], eax
mov ecx, dword [ebp - 0x10]
lea eax, [esi + ecx]
cmp eax, 1
jg 0x100fc8a0
push 0
push 0xffffe892
call sym.nss3.dll_PR_SetError
add esp, 8
xor edi, edi
dec edi
mov eax, edi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
lea edi, [esi + ecx]
dec edi
jmp 0x100fc896
mov dword [ecx + 0x50], 0
add esi, dword [ebp - 0x10]
mov edi, esi
jmp 0x100fc896
sub esp, 0x10
movaps xmm0, xmmword [0x1019c190]
movups xmmword [esp], xmm0
call fcn.10072140
add esp, 0x10
jmp 0x100fc850
call fcn.100745e0
jmp 0x100fc840
Function at 0x100fc8e0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov edi, dword [ebp + 8]
cmp dword [edi + 0x9f8], 1
jne 0x100fc8f9
pop esi
pop edi
pop ebp
jmp fcn.100f8bf0
mov eax, dword [edi + 0xa0]
xor esi, esi
test eax, eax
je 0x100fc9a6
mov ecx, dword [edi + 0xa4]
test ecx, ecx
je 0x100fc9a6
mov edx, dword [ebp + 0xc]
test edx, 0xbfffffff
je 0x100fc936
push 0
push 0xffffe005
call sym.nss3.dll_PR_SetError
add esp, 8
xor esi, esi
dec esi
jmp 0x100fc9a6
push edx
push ecx
push eax
push 0x16
push 0
push edi
call fcn.100fbd00
add esp, 0x18
test eax, eax
js 0x100fc968
xor esi, esi
cmp eax, dword [edi + 0xa4]
jae 0x100fc99c
push 0
push 0xffffe001
call sym.nss3.dll_PR_SetError
add esp, 8
xor esi, esi
dec esi
jmp 0x100fc99c
cmp dword [0x101de200], 0
je 0x100fc9c4
push dword [0x101de1f0]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x100fc9ac
xor esi, esi
dec esi
cmp dword [eax + 0x28], 0xffffe892
jne 0x100fc99c
push 0
push 0xffffe001
call sym.nss3.dll_PR_SetError
add esp, 8
mov dword [edi + 0xa4], 0
mov eax, esi
pop esi
pop edi
pop ebp
ret
sub esp, 0x10
movaps xmm0, xmmword [0x1019c190]
movups xmmword [esp], xmm0
call fcn.10072140
add esp, 0x10
jmp 0x100fc981
call fcn.100745e0
jmp 0x100fc971

Function at 0x100fef90
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x10
mov edi, dword [0x101df654]
test edi, edi
je 0x100ff09b
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 0x100ff0a4
lea eax, [edi + 0x1c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
sub esp, 4
mov dword [edi + 8], esi
mov esi, 0xfffffe98
mov eax, dword [esi + 0x101df7c0]
test eax, eax
je 0x100feff4
mov dword [esp], eax
call sym.nss3.dll_PK11_FreeSymKey
mov dword [esi + 0x101df7c0], 0
mov eax, dword [esi + 0x101df7c4]
test eax, eax
je 0x100ff010
mov dword [esp], eax
call sym.nss3.dll_PK11_FreeSymKey
mov dword [esi + 0x101df7c4], 0
mov eax, dword [esi + 0x101df7c8]
test eax, eax
je 0x100ff02c
mov dword [esp], eax
call sym.nss3.dll_PK11_FreeSymKey
mov dword [esi + 0x101df7c8], 0
mov eax, dword [esi + 0x101df7cc]
test eax, eax
je 0x100ff048
mov dword [esp], eax
call sym.nss3.dll_PK11_FreeSymKey
mov dword [esi + 0x101df7cc], 0
mov eax, dword [esi + 0x101df7d0]
test eax, eax
je 0x100ff064
mov dword [esp], eax
call sym.nss3.dll_PK11_FreeSymKey
mov dword [esi + 0x101df7d0], 0
mov eax, dword [esi + 0x101df7d4]
test eax, eax
je 0x100ff080
mov dword [esp], eax
call sym.nss3.dll_PK11_FreeSymKey
mov dword [esi + 0x101df7d4], 0
add esi, 0x18
jne 0x100fefd8
mov eax, dword [0x101df654]
mov dword [esp], eax
call sym.nss3.dll_PR_Unlock
call fcn.10112c50
xor eax, eax
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 0x100fefc1
Function at 0x10102a80
Capabilities:
Get thread local storage value
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xe4
mov eax, dword [0x101db014]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp dword [0x101dfbdc], 0
je 0x10102aaf
mov edi, dword [ebp + 0x10]
push edi
call sym.nss3.dll_PK11_ExtractKeyValue
add esp, 4
test eax, eax
je 0x10102ac4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1014dc80
add esp, 0xe4
pop esi
pop edi
pop ebx
pop ebp
ret
mov esi, dword [edi + 0x1c]
test esi, esi
je 0x10102aaf
mov ebx, dword [ebp + 0xc]
push ebx
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
mov ecx, dword [edi + 0x20]
lea eax, [eax + ecx*2]
add eax, 0x43
cmp eax, 0xc8
ja 0x10102aaf
mov dword [ebp - 0xe8], esi
mov dword [ebp - 0xf0], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0xec], ecx
lea eax, [ecx + ecx]
mov dword [ebp - 0xe4], eax
lea eax, [ebp - 0xd8]
push ebx
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strcpy
add esp, 8
push ebx
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
mov dword [ebp - 0xe0], eax
lea edx, [eax + ebp]
add edx, 0xffffff29
add byte [edx - 1], 0x20
xor ecx, ecx
movzx edi, byte [esi + ecx + 0x410]
mov ebx, edi
shr ebx, 4
mov bl, byte [ebx + 0x101b08db]
mov byte [edx + ecx*2], bl
and edi, 0xf
mov bl, byte [edi + 0x101b08db]
mov byte [edx + ecx*2 + 1], bl
inc ecx
cmp ecx, 0x20
jne 0x10102b33
add eax, 0x42
mov dword [ebp - 0xdc], eax
lea ecx, [ebp - 0xd8]
mov eax, dword [ebp - 0xe0]
mov byte [eax + ecx + 0x41], 0x20
mov eax, dword [ebp - 0xec]
test eax, eax
mov esi, dword [ebp - 0xe8]
je 0x10102bbc
mov ecx, dword [ebp - 0xdc]
add ecx, ebp
add ecx, 0xffffff28
xor edx, edx
movzx edi, byte [esi + edx]
shr edi, 4
mov bl, byte [edi + 0x101b08db]
mov byte [ecx + edx*2], bl
movzx edi, byte [esi + edx]
and edi, 0xf
mov bl, byte [edi + 0x101b08db]
mov byte [ecx + edx*2 + 1], bl
inc edx
cmp eax, edx
jne 0x10102b96
mov eax, dword [ebp - 0xdc]
add eax, dword [ebp - 0xe4]
mov byte [ebp + eax - 0xd8], 0xa
mov edi, dword [0x101dfbe0]
push dword [0x101de1f0]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, eax
test eax, eax
je 0x10102c3a
lea eax, [edi + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [edi + 8], esi
push dword [0x101dfbdc]
push 1
push dword [ebp - 0xf0]
lea eax, [ebp - 0xd8]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp eax, 1
jne 0x10102c27
push dword [0x101dfbdc]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
add esp, 4
push dword [0x101dfbe0]
call sym.nss3.dll_PR_Unlock
add esp, 4
jmp 0x10102aaf
sub esp, 0x10
movaps xmm0, xmmword [0x1019c190]
movups xmmword [esp], xmm0
call fcn.10072140
add esp, 0x10
mov esi, eax
jmp 0x10102be8
Function at 0x1010bfd0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
movzx eax, word [eax + 0x58]
movzx esi, word [ebp + 0x10]
cmp eax, 0x303
jbe 0x1010c029
push 2
push esi
call fcn.101256f0
add esp, 8
test eax, eax
je 0x1010c029
push 8
push esi
call fcn.101256f0
add esp, 8
test eax, eax
je 0x1010c023
push 0xb
push esi
call fcn.101256f0
add esp, 8
test eax, eax
jne 0x1010c1b7
add edi, 0x150
jmp 0x1010c029
add edi, 0xa8
cmp dword [edi + 4], 0
je 0x1010c1cd
cmp dword [edi], esi
je 0x1010c1b7
lea eax, [edi + 8]
cmp dword [edi + 0xc], 0
je 0x1010c1cb
cmp dword [eax], esi
je 0x1010c1b7
lea eax, [edi + 0x10]
cmp dword [edi + 0x14], 0
je 0x1010c1cb
cmp dword [eax], esi
je 0x1010c1b7
lea eax, [edi + 0x18]
cmp dword [edi + 0x1c], 0
je 0x1010c1cb
cmp dword [eax], esi
je 0x1010c1b7
lea eax, [edi + 0x20]
cmp dword [edi + 0x24], 0
je 0x1010c1cb
cmp dword [eax], esi
je 0x1010c1b7
lea eax, [edi + 0x28]
cmp dword [edi + 0x2c], 0
je 0x1010c1cb
cmp dword [eax], esi
je 0x1010c1b7
lea eax, [edi + 0x30]
cmp dword [edi + 0x34], 0
je 0x1010c1cb
cmp dword [eax], esi
je 0x1010c1b7
lea eax, [edi + 0x38]
cmp dword [edi + 0x3c], 0
je 0x1010c1cb
cmp dword [eax], esi
je 0x1010c1b7
lea eax, [edi + 0x40]
cmp dword [edi + 0x44], 0
je 0x1010c1cb
cmp dword [eax], esi
je 0x1010c1b7
lea eax, [edi + 0x48]
cmp dword [edi + 0x4c], 0
je 0x1010c1cb
cmp dword [eax], esi
je 0x1010c1b7
lea eax, [edi + 0x50]
cmp dword [edi + 0x54], 0
je 0x1010c1cb
cmp dword [eax], esi
je 0x1010c1b7
lea eax, [edi + 0x58]
cmp dword [edi + 0x5c], 0
je 0x1010c1cb
cmp dword [eax], esi
je 0x1010c1b7
lea eax, [edi + 0x60]
cmp dword [edi + 0x64], 0
je 0x1010c1cb
cmp dword [eax], esi
je 0x1010c1b7
lea eax, [edi + 0x68]
cmp dword [edi + 0x6c], 0
je 0x1010c1cb
cmp dword [eax], esi
je 0x1010c1b7
lea eax, [edi + 0x70]
cmp dword [edi + 0x74], 0
je 0x1010c1cb
cmp dword [eax], esi
je 0x1010c1b7
lea eax, [edi + 0x78]
cmp dword [edi + 0x7c], 0
je 0x1010c1cb
cmp dword [eax], esi
je 0x1010c1b7
lea eax, [edi + 0x80]
cmp dword [edi + 0x84], 0
je 0x1010c1cb
cmp dword [eax], esi
je 0x1010c1b7
lea eax, [edi + 0x88]
cmp dword [edi + 0x8c], 0
je 0x1010c1cb
cmp dword [eax], esi
je 0x1010c1b7
lea eax, [edi + 0x90]
cmp dword [edi + 0x94], 0
je 0x1010c1cb
cmp dword [eax], esi
je 0x1010c1b7
lea eax, [edi + 0x98]
cmp dword [edi + 0x9c], 0
je 0x1010c1cb
cmp dword [eax], esi
je 0x1010c1b7
cmp dword [edi + 0xa4], 0
je 0x1010c1db
push 0
push 0xffffe001
call sym.nss3.dll_PR_SetError
add esp, 8
xor eax, eax
dec eax
jmp 0x1010c1d7
mov edi, eax
mov eax, dword [ebp + 0x14]
mov dword [edi], esi
mov dword [edi + 4], eax
xor eax, eax
pop esi
pop edi
pop ebp
ret
add edi, 0xa0
jmp 0x1010c1cd
Function at 0x10110fa0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov ebx, dword [eax + 0x150]
mov esi, dword [ecx + 8]
mov eax, dword [esi]
mov ecx, dword [eax + 0x44]
mov edi, dword [ebp + 0x14]
call dword [section..00cfg]
push ebx
push edi
mov edi, dword [ebp + 0x10]
push edi
push dword [ebp + 0xc]
push esi
call ecx
add esp, 0x14
mov esi, eax
test eax, eax
js 0x10110fef
cmp esi, edi
jle 0x10111020
push 0
push 0xffffe8b6
call sym.nss3.dll_PR_SetError
add esp, 8
xor esi, esi
dec esi
jmp 0x10111020
cmp dword [0x101de200], 0
je 0x1011103f
push dword [0x101de1f0]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x10111027
cmp dword [eax + 0x28], 0xffffe8d7
jne 0x10111020
push 0
push 0xffffe8b7
call sym.nss3.dll_PR_SetError
add esp, 8
mov eax, esi
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
jmp 0x10111008
call fcn.100745e0
jmp 0x10110ff8

Function at 0x10111050
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 + 0x10]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov eax, dword [eax + 8]
mov dword [ebp - 0x10], eax
xor edi, edi
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov ecx, dword [eax + 0x48]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x154]
mov dword [ebp - 0x18], eax
mov esi, ebx
sub esi, edi
mov eax, dword [ebp + 0xc]
add eax, edi
mov dword [ebp - 0x14], eax
call dword [section..00cfg]
push dword [ebp - 0x18]
push dword [ebp + 0x14]
push esi
push dword [ebp - 0x14]
push dword [ebp - 0x10]
call ecx
add esp, 0x14
mov esi, eax
test eax, eax
js 0x101110cb
add edi, esi
cmp edi, ebx
jge 0x101110b9
mov eax, dword [ebp + 8]
cmp dword [eax + 0x9f8], 1
je 0x101110c7
cmp edi, ebx
jl 0x10111069
mov eax, dword [ebp + 8]
mov dword [eax + 0x44], 0
mov esi, edi
jmp 0x10111123
cmp dword [0x101de200], 0
je 0x10111145
push dword [0x101de1f0]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x1011112d
mov eax, dword [eax + 0x28]
cmp eax, 0xffffe892
jne 0x10111103
mov eax, dword [ebp + 8]
mov dword [eax + 0x44], 1
xor esi, esi
cmp edi, 1
sbb esi, esi
or esi, edi
jmp 0x10111123
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x44], 0
cmp eax, 0xffffe8d8
jne 0x10111123
push 0
push 0xffffe8b7
call sym.nss3.dll_PR_SetError
add esp, 8
mov eax, esi
add esp, 0xc
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
jmp 0x101110e4
call fcn.100745e0
jmp 0x101110d4
Function at 0x10111ec0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x10
cmp dword [0x101de200], 0
je 0x10111f55
mov eax, dword [0x101de1f0]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
sub esp, 4
test eax, eax
je 0x10111f43
mov esi, dword [eax + 0x28]
cmp esi, 0xffffe022
jg 0x10111f14
lea eax, [esi + 0x2000]
cmp eax, 3
jb 0x10111f28
lea eax, [esi + 0x2ffa]
cmp eax, 2
jb 0x10111f28
cmp esi, 0xffffd05a
je 0x10111f28
jmp 0x10111f3b
cmp esi, 0xffffe023
je 0x10111f28
test esi, esi
je 0x10111f28
cmp esi, 0xffffe899
jne 0x10111f3b
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 [0x1019c190]
movups xmmword [esp], xmm0
call fcn.10072140
jmp 0x10111ee9
call fcn.100745e0
jmp 0x10111ed4

Function at 0x10112ba0
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 0x10112c0d
cmp dword [eax], 0
je 0x10112be3
mov eax, dword [eax + 4]
lea ecx, [eax + 1]
cmp ecx, 1
jbe 0x10112c0d
push 0xffffffffffffffff
push eax
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
cmp eax, 0xffffffff
je 0x10112c23
mov ecx, eax
xor eax, eax
test ecx, ecx
je 0x10112c1f
cmp ecx, 0x80
je 0x10112c1f
push 0
push 0xffffe896
jmp 0x10112c14
mov edi, dword [eax + 4]
test edi, edi
je 0x10112c0d
push dword [0x101de1f0]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, eax
test eax, eax
je 0x10112c34
lea eax, [edi + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [edi + 8], esi
xor eax, eax
jmp 0x10112c1f
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.1012e330
add esp, 4
jmp 0x10112c1c
sub esp, 0x10
movaps xmm0, xmmword [0x1019c190]
movups xmmword [esp], xmm0
call fcn.10072140
add esp, 0x10
mov esi, eax
jmp 0x10112bfc
Function at 0x10112cf0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
xor esi, esi
cmp byte [0x101dfae4], 0
jne 0x10112df3
cmp dword [ebp + 8], 0
je 0x10112d25
push 0x10112e20
push 0x101dfae8
call sym.nss3.dll_PR_CallOnce
add esp, 8
neg eax
sbb esi, esi
jmp 0x10112df3
call sym.nss3.dll_PR_NewLock
mov edi, eax
mov dword [0x101df654], eax
call sym.nss3.dll_PR_NewLock
mov dword [0x101dfaf4], eax
test edi, edi
je 0x10112d4f
test eax, eax
je 0x10112d4f
mov byte [0x101dfae4], 1
jmp 0x10112df3
cmp dword [0x101de200], 0
je 0x10112e14
push dword [0x101de1f0]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x10112df9
mov esi, dword [eax + 0x28]
mov edi, dword [0x101df654]
test edi, edi
je 0x10112d9d
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 [0x101df654], 0
jmp 0x10112dac
push 0
push 0xffffe09a
call sym.nss3.dll_PR_SetError
add esp, 8
mov edi, dword [0x101dfaf4]
test edi, edi
je 0x10112dd6
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 [0x101dfaf4], 0
jmp 0x10112de5
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 esi, esi
dec esi
mov eax, esi
pop esi
pop edi
pop ebp
ret
sub esp, 0x10
movaps xmm0, xmmword [0x1019c190]
movups xmmword [esp], xmm0
call fcn.10072140
add esp, 0x10
jmp 0x10112d70
call fcn.100745e0
jmp 0x10112d5c

Function at 0x10113020
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 0x1011308b
cmp byte [0x101dfae4], 0
jne 0x10113048
push 0x10112e20
push 0x101dfae8
call sym.nss3.dll_PR_CallOnce
add esp, 8
mov ebx, dword [0x101dfaf4]
push dword [0x101de1f0]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, eax
test eax, eax
je 0x10113090
lea eax, [ebx + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [ebx + 8], esi
dec dword [edi + 8]
jne 0x1011307d
push 1
push edi
call fcn.10112f30
add esp, 8
push dword [0x101dfaf4]
call sym.nss3.dll_PR_Unlock
add esp, 4
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 0x10113060
Function at 0x101130b0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
cmp byte [0x101dfae4], 0
jne 0x101130d6
mov dword [esp + 4], 0x10112e20
mov dword [esp], 0x101dfae8
call sym.nss3.dll_PR_CallOnce
mov esi, dword [ebp + 8]
mov ebx, dword [0x101dfaf4]
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 0x10113122
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 [0x101dfaf4]
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 edi, eax
jmp 0x101130f6

Function at 0x10113140
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
cmp dword [ebp + 0x1c], 0
je 0x1011326f
cmp byte [0x101dfae4], 0
jne 0x1011316b
push 0x10112e20
push 0x101dfae8
call sym.nss3.dll_PR_CallOnce
add esp, 8
mov edi, dword [0x101dfaf4]
push dword [0x101de1f0]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, eax
test eax, eax
je 0x10113278
lea eax, [edi + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [edi + 8], esi
mov esi, dword [0x101dfaf8]
test esi, esi
je 0x1011325d
mov ecx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
mov ebx, 0x101dfaf8
mov eax, dword [esi + 0x5c]
cmp dword [esi + 0x58], edi
sbb eax, ecx
jge 0x101131dd
mov eax, dword [esi]
mov dword [ebx], eax
mov dword [esi + 4], 3
dec dword [esi + 8]
jne 0x10113224
push 1
push esi
call fcn.10112f30
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
add esp, 8
jmp 0x10113224
movdqu xmm0, xmmword [esi + 0x38]
movdqu xmm1, xmmword [edx]
pcmpeqb xmm1, xmm0
pmovmskb eax, xmm1
cmp eax, 0xffff
jne 0x10113222
movzx eax, word [ebp + 0x14]
cmp word [esi + 0x48], ax
jne 0x10113222
mov eax, dword [esi + 0x24]
cmp dword [ebp + 0x18], 0
je 0x1011321e
test eax, eax
je 0x10113222
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 0x1011322c
mov ebx, esi
mov esi, dword [ebx]
test esi, esi
jne 0x101131b0
jmp 0x1011325d
cmp byte [esi + 0xce], 0
je 0x10113222
mov eax, dword [esi + 0x28]
test eax, eax
je 0x10113222
push eax
push dword [ebp + 0x1c]
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
jne 0x10113222
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], ecx
inc dword [esi + 8]
jmp 0x1011325f
xor esi, esi
push dword [0x101dfaf4]
call sym.nss3.dll_PR_Unlock
add esp, 4
jmp 0x10113271
xor esi, esi
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
sub esp, 0x10
movdqa xmm0, xmmword [0x1019c190]
movdqu xmmword [esp], xmm0
call fcn.10072140
add esp, 0x10
mov esi, eax
jmp 0x10113187