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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc
mov eax, dword [0x101d2014]
xor ecx, ecx
xor eax, ebp
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
mov dword [eax], 0x80000efe
push ecx
push 1
push ecx
push ecx
push eax
call fcn.101396c0
add esp, 0x14
mov esi, eax
test eax, eax
je 0x10139fd5
mov eax, dword [esi + 0x14]
mov ebx, dword [esi + 0x3c]
mov dword [ebp - 0x18], eax
push dword [0x101d4d30]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov edi, eax
test eax, eax
je 0x1013a0fa
lea eax, [ebx + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [ebx + 8], edi
mov eax, dword [esi]
mov edi, dword [esi + 0x38]
mov ecx, dword [eax + 0xfe]
call dword [section..00cfg]
push dword [ebp + 0xc]
push dword [ebp + 8]
push edi
call ecx
add esp, 0xc
mov edi, eax
push dword [esi + 0x3c]
call sym.nss3.dll_PR_Unlock
add esp, 4
test edi, edi
je 0x10139ff7
push edi
call fcn.10115520
add esp, 4
push 0
push eax
call sym.nss3.dll_PR_SetError
add esp, 8
xor edi, edi
dec edi
jmp 0x10139ff9
mov eax, dword [0x101d5b4c]
test eax, eax
je 0x1013a02d
cmp dword [eax + 0xc], 0
je 0x1013a053
mov esi, dword [0x101d5b40]
test esi, esi
je 0x1013a053
lock inc dword [esi + 0x48]
jmp 0x10139f62
xor edi, edi
lock dec dword [esi + 0x48]
jne 0x1013a008
push esi
call fcn.10135de0
add esp, 4
cmp dword [ebp - 0x18], 0
jne 0x1013a03f
mov eax, dword [0x101d5b4c]
test eax, eax
je 0x1013a02d
cmp dword [eax + 0xc], 0
je 0x1013a066
mov ebx, dword [0x101d5b40]
test ebx, ebx
je 0x1013a066
lock inc dword [ebx + 0x48]
jmp 0x1013a073
push 0
push 0xffffe040
call sym.nss3.dll_PR_SetError
add esp, 8
xor edi, edi
dec edi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10192ef0
mov eax, edi
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [eax + 0x28]
mov esi, dword [eax]
lock inc dword [esi + 0x48]
test esi, esi
jne 0x10139f62
jmp 0x1013a03c
mov eax, dword [eax + 0x28]
mov ebx, dword [eax]
lock inc dword [ebx + 0x48]
test ebx, ebx
je 0x1013a03c
mov edi, dword [ebx + 0x3c]
push dword [0x101d4d30]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, eax
test eax, eax
je 0x1013a110
lea eax, [edi + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [edi + 8], esi
mov eax, dword [ebx]
mov esi, dword [ebx + 0x38]
mov ecx, dword [eax + 0xfe]
call dword [section..00cfg]
push dword [ebp + 0xc]
push dword [ebp + 8]
push esi
call ecx
add esp, 0xc
mov esi, eax
push dword [ebx + 0x3c]
call sym.nss3.dll_PR_Unlock
add esp, 4
test esi, esi
je 0x1013a0e0
push esi
call fcn.10115520
add esp, 4
push 0
push eax
call sym.nss3.dll_PR_SetError
add esp, 8
xor edi, edi
dec edi
jmp 0x1013a0e2
xor edi, edi
lock dec dword [ebx + 0x48]
jne 0x1013a03f
push ebx
call fcn.10135de0
add esp, 4
jmp 0x1013a03f
xor eax, eax
push eax
push eax
push 1
push eax
call fcn.100e2c70
add esp, 0x10
mov edi, eax
jmp 0x10139f81
xor eax, eax
push eax
push eax
push 1
push eax
call fcn.100e2c70
add esp, 0x10
mov esi, eax
jmp 0x1013a08c
Function at 0x1013a130
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc
mov eax, dword [0x101d2014]
xor ecx, ecx
xor eax, ebp
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
mov dword [eax], 0x80000efe
push ecx
push 1
push ecx
push ecx
push eax
call fcn.101396c0
add esp, 0x14
test eax, eax
je 0x1013a1ec
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
cmp dword [eax + 0x14], 0
mov esi, eax
jne 0x1013a19e
mov ebx, dword [esi + 0x3c]
push dword [0x101d4d30]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov edi, eax
test eax, eax
je 0x1013a216
lea eax, [ebx + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [ebx + 8], edi
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov ecx, dword [esi + 0x38]
mov eax, dword [esi]
mov dword [ebp - 0x18], ecx
mov ecx, dword [eax + 0x102]
call dword [section..00cfg]
push edi
push ebx
push dword [ebp - 0x18]
call ecx
add esp, 0xc
cmp dword [esi + 0x14], 0
mov edi, eax
jne 0x1013a1cf
push dword [esi + 0x3c]
call sym.nss3.dll_PR_Unlock
add esp, 4
test edi, edi
je 0x1013a1f1
push edi
call fcn.10115520
add esp, 4
push 0
push eax
call sym.nss3.dll_PR_SetError
add esp, 8
xor edi, edi
dec edi
jmp 0x1013a1f3
xor edi, edi
dec edi
jmp 0x1013a202
xor edi, edi
lock dec dword [esi + 0x48]
jne 0x1013a202
push esi
call fcn.10135de0
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10192ef0
mov eax, edi
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 edi, eax
jmp 0x1013a18b
Function at 0x1013a230
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov eax, dword [0x101d2014]
mov ecx, dword [ebp + 8]
xor eax, ebp
lea edi, [ecx + 0xf9]
mov dword [ebp - 0x10], eax
push edi
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
cmp eax, 0x20
mov ebx, 0x20
mov esi, eax
cmovb ebx, eax
lea eax, [ebp - 0x30]
push ebx
push edi
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
cmp esi, 0x1f
ja 0x1013a28c
mov ecx, 0x20
lea eax, [ebp + ebx - 0x30]
sub ecx, ebx
push ecx
push 0x20
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov ebx, dword [ebp + 8]
mov edi, dword [ebx + 0x3c]
push dword [0x101d4d30]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, eax
test eax, eax
je 0x1013a368
lea eax, [edi + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [edi + 8], esi
mov eax, dword [ebx]
mov esi, dword [ebx + 0x40]
mov ecx, dword [eax + 0x3a]
call dword [section..00cfg]
push esi
call ecx
add esp, 4
mov dword [ebx + 0x38], 0
mov eax, dword [ebx]
mov esi, dword [eax + 0x26]
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x1013a2e9
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
mov edi, eax
jmp 0x1013a2eb
xor edi, edi
mov eax, dword [ebp + 8]
mov ecx, esi
mov ebx, dword [eax + 0x40]
call dword [section..00cfg]
lea eax, [ebp - 0x30]
push eax
push edi
push dword [ebp + 0xc]
push ebx
mov edi, dword [ebp + 8]
call esi
add esp, 0x10
mov esi, eax
sub esp, 4
push edi
call fcn.10137be0
add esp, 8
push dword [edi + 0x3c]
call sym.nss3.dll_PR_Unlock
add esp, 4
test esi, esi
je 0x1013a340
push esi
call fcn.10115520
add esp, 4
push 0
push eax
call sym.nss3.dll_PR_SetError
add esp, 8
xor esi, esi
dec esi
jmp 0x1013a354
mov eax, dword [edi + 0x13c]
push eax
push dword [eax + 0x28]
call fcn.1010a4a0
add esp, 8
xor esi, esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10192ef0
mov eax, esi
add esp, 0x24
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 0x1013a2a8
Function at 0x1013a4b0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov edi, dword [ebp + 8]
mov ebx, dword [edi + 0x20]
push dword [0x101d4d30]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, eax
test eax, eax
je 0x1013a58d
lea eax, [ebx + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [ebx + 8], esi
mov esi, dword [edi + 0x24]
mov eax, dword [edi + 0x20]
lea ecx, [esi - 1]
mov dword [edi + 0x24], ecx
push eax
call sym.nss3.dll_PR_Unlock
add esp, 4
cmp esi, 1
jne 0x1013a588
mov eax, dword [edi + 0x50]
test eax, eax
je 0x1013a514
mov dword [edi + 0x50], 0
push eax
call sym.nss3.dll_SECMOD_DestroyModule
add esp, 4
mov esi, dword [edi + 0x2c]
test esi, esi
je 0x1013a550
jle 0x1013a588
xor ebx, ebx
mov eax, dword [edi + 0x28]
mov eax, dword [eax + ebx*4]
cmp dword [eax + 0x18], 0
jne 0x1013a53a
push eax
call fcn.101379a0
add esp, 4
mov eax, dword [edi + 0x28]
mov eax, dword [eax + ebx*4]
lock dec dword [eax + 0x48]
jne 0x1013a549
push eax
call fcn.10135de0
add esp, 4
inc ebx
cmp esi, ebx
jne 0x1013a51f
jmp 0x1013a588
cmp dword [edi + 8], 0
je 0x1013a55f
push edi
call fcn.10122a50
add esp, 4
mov esi, dword [edi + 0x20]
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 0
push dword [edi]
call sym.nss3.dll_PORT_FreeArena_Util
add esp, 8
dec dword [0x101d5b44]
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 0x1013a4d2

Function at 0x1013a5c0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
push 8
call sym.nss3.dll_PORT_Alloc_Util
add esp, 4
test eax, eax
je 0x1013a652
mov esi, eax
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x14], eax
push dword [0x101d4d30]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
mov dword [ebp - 0x10], eax
je 0x1013a671
mov edi, dword [ebp - 0x14]
lea eax, [edi + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov eax, dword [ebp - 0x10]
mov dword [edi + 8], eax
mov edi, dword [ebp + 0xc]
inc dword [edi + 0x24]
push dword [edi + 0x20]
call sym.nss3.dll_PR_Unlock
add esp, 4
mov dword [esi + 4], edi
push dword [0x101d5b48]
call fcn.1013e140
mov edx, dword [ebp + 8]
add esp, 4
mov ecx, edx
mov ecx, dword [ecx]
mov eax, ebx
test ecx, ecx
mov ebx, ecx
jne 0x1013a636
test eax, eax
je 0x1013a657
push 0
push esi
push eax
call fcn.10117c40
add esp, 0xc
jmp 0x1013a659
xor eax, eax
dec eax
jmp 0x1013a669
mov dword [edx], esi
push dword [0x101d5b48]
call fcn.1013e210
add esp, 4
xor eax, eax
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 dword [ebp - 0x10], eax
jmp 0x1013a5fc
Function at 0x1013a690
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 0x20]
push dword [0x101d4d30]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov edi, eax
test eax, eax
je 0x1013a6d0
lea eax, [ebx + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [ebx + 8], edi
inc dword [esi + 0x24]
push dword [esi + 0x20]
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 edi, eax
jmp 0x1013a6ae

Function at 0x1013a6f0
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 + 4], 0
je 0x1013a73e
cmp dword [0x101d5b4c], 0
jne 0x1013a73e
mov ebx, dword [edi + 0x20]
push dword [0x101d4d30]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, eax
test eax, eax
je 0x1013a751
lea eax, [ebx + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [ebx + 8], esi
inc dword [edi + 0x24]
push dword [edi + 0x20]
call sym.nss3.dll_PR_Unlock
add esp, 4
mov dword [0x101d5b4c], edi
push edi
push 0x101d5b54
call fcn.1013a5c0
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 esi, eax
jmp 0x1013a71d

Function at 0x1013a770
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, dword [0x101d5b50]
mov edi, dword [ebp + 8]
test eax, eax
je 0x1013a791
test byte [edi + 0x58], 4
je 0x1013a7c7
push eax
call sym.nss3.dll_SECMOD_DestroyModule
add esp, 4
mov ebx, dword [edi + 0x20]
push dword [0x101d4d30]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x1013a7da
mov esi, eax
lea eax, [ebx + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [ebx + 8], esi
inc dword [edi + 0x24]
push dword [edi + 0x20]
call sym.nss3.dll_PR_Unlock
add esp, 4
mov dword [0x101d5b50], edi
push edi
push 0x101d5b58
call fcn.1013a5c0
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 0x1013a7a4
Function at 0x1013a820
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, dword [0x101d5b48]
test eax, eax
je 0x1013a87d
mov edi, dword [ebp + 8]
push eax
call fcn.1013e010
add esp, 4
mov ebx, dword [0x101d5b54]
test ebx, ebx
je 0x1013a85c
mov esi, dword [ebx + 4]
push dword [esi + 0x14]
push edi
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
add esp, 8
test eax, eax
je 0x1013a890
mov ebx, dword [ebx]
jmp 0x1013a841
mov ebx, dword [0x101d5b5c]
test ebx, ebx
je 0x1013a8c2
mov esi, dword [ebx + 4]
push dword [esi + 0x14]
push edi
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
add esp, 8
test eax, eax
je 0x1013a890
mov ebx, dword [ebx]
jmp 0x1013a862
push 0
push 0xffffe09a
call sym.nss3.dll_PR_SetError
add esp, 8
xor esi, esi
jmp 0x1013a8d2
mov ebx, dword [esi + 0x20]
push dword [0x101d4d30]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov edi, eax
test eax, eax
je 0x1013a8d9
lea eax, [ebx + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [ebx + 8], edi
inc dword [esi + 0x24]
push dword [esi + 0x20]
call sym.nss3.dll_PR_Unlock
add esp, 4
jmp 0x1013a8c4
xor esi, esi
push dword [0x101d5b48]
call fcn.1013e0d0
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 edi, eax
jmp 0x1013a8a5

Function at 0x1013a8f0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, dword [0x101d5b48]
test eax, eax
je 0x1013a939
push eax
call fcn.1013e010
add esp, 4
mov eax, dword [0x101d5b54]
test eax, eax
je 0x1013a922
mov ecx, dword [ebp + 8]
mov esi, dword [eax + 4]
cmp dword [esi + 0x38], ecx
je 0x1013a951
mov eax, dword [eax]
test eax, eax
jne 0x1013a914
push dword [0x101d5b48]
call fcn.1013e0d0
add esp, 4
push 0
push 0xffffe040
jmp 0x1013a940
push 0
push 0xffffe09a
call sym.nss3.dll_PR_SetError
add esp, 8
xor esi, esi
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
mov ebx, dword [esi + 0x20]
push dword [0x101d4d30]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov edi, eax
test eax, eax
je 0x1013a991
lea eax, [ebx + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [ebx + 8], edi
inc dword [esi + 0x24]
push dword [esi + 0x20]
call sym.nss3.dll_PR_Unlock
add esp, 4
push dword [0x101d5b48]
call fcn.1013e0d0
add esp, 4
jmp 0x1013a94a
xor eax, eax
push eax
push eax
push 1
push eax
call fcn.100e2c70
add esp, 0x10
mov edi, eax
jmp 0x1013a966
Function at 0x1013a9b0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push dword [0x101d5b48]
call fcn.1013e010
add esp, 4
mov eax, dword [0x101d5b54]
test eax, eax
je 0x1013a9e2
mov ecx, dword [ebp + 8]
mov esi, dword [eax + 4]
test esi, esi
je 0x1013a9dc
cmp dword [esi + 0x1c], ecx
je 0x1013aa03
mov eax, dword [eax]
test eax, eax
jne 0x1013a9d0
push dword [0x101d5b48]
call fcn.1013e0d0
add esp, 4
push 0
push 0xffffe040
call sym.nss3.dll_PR_SetError
add esp, 8
xor esi, esi
jmp 0x1013aa41
mov ebx, dword [esi + 0x20]
push dword [0x101d4d30]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov edi, eax
test eax, eax
je 0x1013aa48
lea eax, [ebx + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [ebx + 8], edi
inc dword [esi + 0x24]
push dword [esi + 0x20]
call sym.nss3.dll_PR_Unlock
add esp, 4
push dword [0x101d5b48]
call fcn.1013e0d0
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 edi, eax
jmp 0x1013aa18
Function at 0x1013b150
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 [ebp + 0xc], 0
je 0x1013b19b
mov ebx, dword [edi + 0x20]
push dword [0x101d4d30]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, eax
test eax, eax
je 0x1013b1d8
lea eax, [ebx + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [ebx + 8], esi
mov esi, dword [edi + 0x2c]
mov eax, dword [edi + 0x20]
lea ecx, [esi - 1]
mov dword [edi + 0x2c], ecx
push eax
call sym.nss3.dll_PR_Unlock
add esp, 4
cmp esi, 1
jne 0x1013b1d3
cmp dword [edi + 8], 0
je 0x1013b1aa
push edi
call fcn.10122a50
add esp, 4
mov esi, dword [edi + 0x20]
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 0
push dword [edi]
call sym.nss3.dll_PORT_FreeArena_Util
add esp, 8
dec dword [0x101d5b44]
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 0x1013b174
Function at 0x1013b920
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]
mov edi, dword [ebp + 8]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov ebx, dword [edi + 0x20]
push dword [0x101d4d30]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, eax
test eax, eax
je 0x1013b9ed
lea eax, [ebx + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [ebx + 8], esi
mov ecx, dword [edi + 0x68]
mov eax, ecx
or eax, 1
test cl, 4
mov dword [edi + 0x68], eax
jne 0x1013b97b
xor esi, esi
test cl, 2
je 0x1013b9bb
and eax, 0xfffffffd
mov dword [edi + 0x68], eax
jmp 0x1013b9bb
cmp byte [0x101d59b0], 1
jne 0x1013b98d
push 0
push 0xffffe001
jmp 0x1013b9b0
mov eax, dword [edi + 0x1c]
mov ecx, dword [eax + 6]
call dword [section..00cfg]
push 0
call ecx
add esp, 4
test eax, eax
je 0x1013b9da
push eax
call fcn.10115520
add esp, 4
push 0
push eax
call sym.nss3.dll_PR_SetError
add esp, 8
xor esi, esi
dec esi
push dword [edi + 0x20]
call sym.nss3.dll_PR_Unlock
add esp, 4
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
lea eax, [ebp - 0x14]
push eax
push 0
push edi
call fcn.10121c40
add esp, 0xc
xor esi, esi
jmp 0x1013b9bb
xor eax, eax
push eax
push eax
push 1
push eax
call fcn.100e2c70
add esp, 0x10
mov esi, eax
jmp 0x1013b94f
Function at 0x1013ba80
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov eax, dword [ebp + 8]
cmp dword [eax + 4], 0
je 0x1013baa6
cmp dword [eax + 0xc], 0
je 0x1013baa6
mov dword [ebp - 0x10], 0x7f
mov esi, 0x65
jmp 0x1013bab2
mov esi, 4
mov dword [ebp - 0x10], 0x64
push dword [eax + 0x38]
call fcn.1013a8f0
add esp, 4
test eax, eax
je 0x1013bb10
mov ebx, eax
push esi
push eax
call fcn.1013aa60
add esp, 8
mov edi, eax
push ebx
call sym.nss3.dll_SECMOD_DestroyModule
add esp, 4
test edi, edi
je 0x1013bb10
xor edx, edx
mov ecx, edi
inc edx
call fcn.10138680
lock dec dword [edi + 0x48]
mov ebx, eax
jne 0x1013baf7
push edi
call fcn.10135de0
add esp, 4
test ebx, ebx
je 0x1013bb10
inc esi
mov eax, dword [ebp + 8]
cmp dword [ebp - 0x10], esi
jne 0x1013bab2
push 0
push 0xffffe043
jmp 0x1013bc46
mov eax, dword [ebp + 8]
xor ebx, ebx
cmp dword [eax + 0x2c], 0
je 0x1013bc50
mov eax, dword [eax + 0x28]
mov edi, dword [eax]
lock inc dword [edi + 0x48]
test edi, edi
je 0x1013bc50
push 0x5d
push 0x3e
push dword [ebp + 0xc]
call fcn.10149c80
add esp, 0xc
test eax, eax
je 0x1013bc1a
mov ebx, eax
push eax
push esi
push str.tokens_0x_x__s__
call sym.nss3.dll_PR_smprintf
add esp, 0xc
mov dword [ebp - 0x10], eax
push ebx
call dword [sym.imp.mozglue.dll_free]
add esp, 4
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x1013bc30
mov ebx, ecx
mov ecx, edi
mov edx, 0xce534355
push ebx
call fcn.1013bc70
add esp, 4
mov dword [ebp - 0x14], eax
push ebx
call dword [sym.imp.mozglue.dll_free]
add esp, 4
lock dec dword [edi + 0x48]
jne 0x1013bb9e
push edi
call fcn.10135de0
add esp, 4
cmp dword [ebp - 0x14], 0
jne 0x1013bc4e
push esi
push dword [ebp + 8]
call fcn.1013aa60
add esp, 8
test eax, eax
mov ebx, 0
je 0x1013bc50
mov ebx, eax
mov eax, dword [eax + 0x13c]
test eax, eax
je 0x1013bc0e
mov esi, dword [eax + 0x14]
test esi, esi
je 0x1013bc0e
mov dword [ebp - 0x10], ebx
mov ebx, dword [esi + 0x4c]
push dword [0x101d4d30]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov edi, eax
test eax, eax
je 0x1013bc5a
lea eax, [ebx + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [ebx + 8], edi
mov dword [esi + 0x3c], 0
push dword [esi + 0x4c]
call sym.nss3.dll_PR_Unlock
add esp, 4
mov ebx, dword [ebp - 0x10]
xor edx, edx
mov ecx, ebx
inc edx
call fcn.10138680
jmp 0x1013bc50
lock dec dword [edi + 0x48]
mov ebx, 0
jne 0x1013bc50
push edi
call fcn.10135de0
add esp, 4
jmp 0x1013bc50
lock dec dword [edi + 0x48]
jne 0x1013bc3f
push edi
call fcn.10135de0
add esp, 4
push 0
push 0xffffe013
call sym.nss3.dll_PR_SetError
add esp, 8
xor ebx, ebx
mov eax, ebx
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 0x1013bbec
Function at 0x1013bc70
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov esi, ecx
mov ecx, dword [0x101d2014]
mov eax, dword [ebp + 8]
xor ecx, ebp
mov dword [ebp - 0x10], ecx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], 4
mov dword [ebp - 0x1c], 0xce534368
mov dword [ecx], edx
mov dword [ebp - 0x18], eax
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
inc eax
mov dword [ebp - 0x14], eax
mov ebx, dword [esi + 0x3c]
push dword [0x101d4d30]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov edi, eax
test eax, eax
je 0x1013bd3b
lea eax, [ebx + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
lea eax, [ebp - 0x30]
mov dword [ebx + 8], edi
lea ecx, [ebp - 0x28]
push eax
push 0
push 2
push ecx
push dword [esi + 0x38]
push esi
call fcn.10127e70
add esp, 0x18
mov edi, eax
push dword [esi + 0x3c]
call sym.nss3.dll_PR_Unlock
add esp, 4
test edi, edi
je 0x1013bd1a
push edi
call fcn.10115520
add esp, 4
push 0
push eax
call sym.nss3.dll_PR_SetError
add esp, 8
xor esi, esi
dec esi
jmp 0x1013bd27
push dword [esi + 4]
call sym.nss3.dll_SECMOD_UpdateSlotList
add esp, 4
mov esi, eax
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10192ef0
mov eax, esi
add esp, 0x24
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 0x1013bccb

Function at 0x1013be30
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov esi, dword [ebp + 8]
push dword [esi + 0x40]
push str.tokens_0x_x___
call sym.nss3.dll_PR_smprintf
add esp, 8
test eax, eax
je 0x1013beca
mov ebx, eax
mov ecx, esi
mov edx, 0xce534356
push eax
call fcn.1013bc70
add esp, 4
mov edi, eax
push ebx
call dword [sym.imp.mozglue.dll_free]
add esp, 4
mov eax, dword [esi + 0x13c]
test eax, eax
je 0x1013bedc
mov ebx, dword [eax + 0x14]
test ebx, ebx
je 0x1013bedc
mov eax, dword [ebx + 0x4c]
mov dword [ebp - 0x14], eax
push dword [0x101d4d30]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
mov dword [ebp - 0x10], eax
je 0x1013bee6
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
mov dword [ebx + 0x3c], 0
push dword [ebx + 0x4c]
call sym.nss3.dll_PR_Unlock
add esp, 4
mov ecx, dword [ebp + 8]
xor edx, edx
inc edx
call fcn.10138680
jmp 0x1013bedc
push 0
push 0xffffe013
call sym.nss3.dll_PR_SetError
add esp, 8
xor edi, edi
dec edi
mov eax, edi
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 dword [ebp - 0x10], eax
jmp 0x1013be98