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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push eax
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov edi, dword [eax + 8]
push dword [0x101d4d30]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, eax
test eax, eax
je 0x10135c28
lea eax, [edi + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [edi + 8], esi
mov eax, dword [ebx]
test eax, eax
je 0x10135bf8
inc dword [eax + 0xc]
mov ecx, eax
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x10], ecx
push dword [ebx + 8]
call sym.nss3.dll_PR_Unlock
add esp, 4
mov esi, dword [ebx + 8]
push dword [0x101d4d30]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov edi, eax
test eax, eax
je 0x10135c3e
lea eax, [esi + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [esi + 8], edi
mov edi, dword [ebp + 0xc]
mov esi, dword [edi + 0xc]
lea eax, [esi - 1]
mov dword [edi + 0xc], eax
push dword [ebx + 8]
call sym.nss3.dll_PR_Unlock
add esp, 4
cmp esi, 1
jne 0x10135bed
mov eax, dword [edi + 8]
lock dec dword [eax + 0x48]
jne 0x10135be3
push eax
call fcn.10135de0
add esp, 4
push edi
call dword [sym.imp.mozglue.dll_free]
add esp, 4
mov eax, dword [ebp - 0x10]
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
xor ecx, ecx
cmp dword [ebp + 0x10], 0
je 0x10135b7e
cmp dword [ebx + 4], 0
jne 0x10135b7e
mov eax, dword [ebp + 8]
mov eax, dword [eax]
cmp eax, ebx
je 0x10135b7e
test eax, eax
jne 0x10135b79
jmp 0x10135b7e
xor eax, eax
push eax
push eax
push 1
push eax
call fcn.100e2c70
add esp, 0x10
mov esi, eax
jmp 0x10135b66
xor eax, eax
push eax
push eax
push 1
push eax
call fcn.100e2c70
add esp, 0x10
mov edi, eax
jmp 0x10135ba8

Function at 0x10135f30
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
pop ebp
jmp fcn.10138680
Function at 0x101363c0
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]
mov edi, dword [ebp + 8]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp dword [edi + 0x30], 0
je 0x101363e2
cmp dword [edi + 0x2c], 0
je 0x10136421
mov ebx, dword [edi + 0x3c]
push dword [0x101d4d30]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, eax
test eax, eax
je 0x101364a3
lea eax, [ebx + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [ebx + 8], esi
lea ebx, [edi + 0x2c]
cmp dword [edi + 0x2c], 0
je 0x10136418
mov esi, dword [edi + 0x38]
test esi, esi
jne 0x1013648f
mov dword [ebp - 0x18], 0
jmp 0x10136429
mov al, 1
lea ebx, [edi + 0x2c]
mov dword [ebp - 0x18], eax
mov eax, dword [edi]
mov esi, dword [edi + 0x40]
mov ecx, dword [eax + 0x32]
call dword [section..00cfg]
lea eax, [ebp - 0x14]
push eax
push sym.nss3.dll_PR_DuplicateEnvironment
push edi
push 6
push esi
call ecx
add esp, 0x14
test eax, eax
jne 0x1013645e
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x1013645e
cmp dword [ebx], 0
je 0x1013648f
mov dword [edi + 0x38], esi
jmp 0x1013648f
test eax, eax
mov esi, 0x30
cmovne esi, eax
cmp byte [ebp - 0x18], 0
jne 0x10136479
push dword [edi + 0x3c]
call sym.nss3.dll_PR_Unlock
add esp, 4
push esi
call fcn.10115520
add esp, 4
push 0
push eax
call sym.nss3.dll_PR_SetError
add esp, 8
xor esi, esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10192ef0
mov eax, esi
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 esi, eax
jmp 0x101363fb
Function at 0x101376a0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
test ecx, ecx
jle 0x101376ce
mov esi, dword [edx + 0x40]
xor edx, edx
mov edi, eax
cmp dword [edi], esi
je 0x101376d0
inc edx
add edi, 0x24
cmp ecx, edx
jne 0x101376bd
jmp 0x10137804
xor edx, edx
cmp edx, ecx
je 0x10137804
lea edx, [edx + edx*8]
mov edi, dword [ebp + 8]
mov ecx, dword [eax + edx*4 + 4]
mov dword [edi + 0x44], ecx
mov esi, dword [eax + edx*4 + 8]
mov dword [edi + 0x60], esi
mov esi, dword [eax + edx*4 + 0xc]
mov dword [edi + 0x64], esi
movsx eax, byte [eax + edx*4 + 0x10]
mov dword [edi + 0x11c], eax
cmp dword [edi + 0x18], 0
jne 0x10137804
bt ecx, 0x1e
jb 0x101377f8
mov ebx, 0xffffff10
test dword [ebx + 0x101a2454], ecx
je 0x101377d2
mov ecx, dword [ebx + 0x101a2458]
call fcn.10137450
test eax, eax
je 0x101377d2
mov esi, eax
push 0x10
call sym.nss3.dll_PORT_Alloc_Util
add esp, 4
test eax, eax
je 0x101377d2
mov edi, eax
mov eax, dword [ebp + 8]
lock inc dword [eax + 0x48]
mov dword [edi + 8], eax
mov dword [edi + 4], 0
mov dword [edi + 0xc], 1
mov eax, dword [esi + 8]
mov dword [ebp - 0x18], eax
push dword [0x101d4d30]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], esi
je 0x101377e4
mov esi, dword [ebp - 0x18]
lea eax, [esi + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov dword [esi + 8], eax
mov eax, dword [edx]
test eax, eax
je 0x101377a9
mov ecx, dword [eax + 4]
mov dword [edi + 4], ecx
mov dword [eax + 4], edi
mov dword [edi], eax
jmp 0x101377b8
mov ecx, dword [edx + 4]
mov dword [edi + 4], ecx
mov dword [edi], 0
mov dword [edx + 4], edi
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x101377c1
mov dword [ecx], edi
cmp dword [edx], eax
jne 0x101377c7
mov dword [edx], edi
push dword [edx + 8]
call sym.nss3.dll_PR_Unlock
add esp, 4
test ebx, ebx
je 0x10137804
mov eax, dword [ebp + 8]
add ebx, 0xc
mov ecx, dword [eax + 0x44]
jmp 0x10137717
xor eax, eax
push eax
push eax
push 1
push eax
call fcn.100e2c70
add esp, 0x10
mov dword [ebp - 0x10], eax
jmp 0x10137780
mov ecx, dword [ebp + 8]
xor eax, eax
inc eax
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x1c], eax
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10137810
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov ecx, dword [ebx + 8]
call fcn.10137450
mov edi, eax
cmp dword [ebp + 0x10], 0
mov eax, dword [ebx + 4]
je 0x101378b6
or dword [esi + 0x44], eax
xor eax, eax
test edi, edi
je 0x10137952
push 0x10
call sym.nss3.dll_PORT_Alloc_Util
add esp, 4
test eax, eax
je 0x10137922
lock inc dword [esi + 0x48]
mov dword [eax + 8], esi
mov dword [eax + 4], 0
mov dword [eax + 0xc], 1
mov ebx, eax
mov eax, dword [edi + 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 0x10137965
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 eax, dword [edi]
test eax, eax
je 0x10137927
mov ecx, dword [eax + 4]
mov dword [ebx + 4], ecx
mov dword [eax + 4], ebx
mov dword [ebx], eax
jmp 0x10137936
not eax
and dword [esi + 0x44], eax
xor eax, eax
test edi, edi
je 0x10137952
mov eax, dword [edi + 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 0x1013797c
mov ebx, dword [ebp - 0x14]
lea eax, [ebx + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov eax, dword [ebp - 0x10]
mov dword [ebx + 8], eax
mov ebx, dword [edi]
test ebx, ebx
je 0x10137945
inc dword [ebx + 0xc]
push dword [edi + 8]
call sym.nss3.dll_PR_Unlock
add esp, 4
cmp dword [ebx + 8], esi
je 0x1013795a
push 1
push ebx
push edi
call sym.nss3.dll_PK11_GetNextSafe
add esp, 0xc
mov ebx, eax
test eax, eax
jne 0x10137909
jmp 0x10137950
xor eax, eax
dec eax
jmp 0x10137952
mov ecx, dword [edi + 4]
mov dword [ebx + 4], ecx
mov dword [ebx], 0
mov dword [edi + 4], ebx
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x1013793f
mov dword [ecx], ebx
cmp dword [edi], eax
jne 0x10137945
mov dword [edi], ebx
push dword [edi + 8]
call sym.nss3.dll_PR_Unlock
add esp, 4
xor eax, eax
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, edi
mov edx, ebx
call fcn.101359d0
jmp 0x10137950
xor eax, eax
push eax
push eax
push 1
push eax
call fcn.100e2c70
add esp, 0x10
mov dword [ebp - 0x10], eax
jmp 0x10137889
xor eax, eax
push eax
push eax
push 1
push eax
call fcn.100e2c70
add esp, 0x10
mov dword [ebp - 0x10], eax
jmp 0x101378e2
Function at 0x101379a0
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 + 0x18], 0
je 0x101379ba
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x44]
test eax, eax
je 0x101379b2
xor ebx, ebx
lea ecx, [ebx + ebx*2]
test dword [ecx*4 + 0x101a2364], eax
je 0x10137ac5
mov ecx, dword [ecx*4 + 0x101a2368]
call fcn.10137450
test eax, eax
je 0x10137ac5
mov esi, eax
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 0x10137ada
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 [esi]
test edi, edi
je 0x10137a4c
inc dword [edi + 0xc]
push dword [esi + 8]
call sym.nss3.dll_PR_Unlock
add esp, 4
mov eax, dword [ebp + 8]
cmp dword [edi + 8], eax
je 0x10137a56
push 1
push edi
push esi
call sym.nss3.dll_PK11_GetNextSafe
add esp, 0xc
mov edi, eax
test eax, eax
jne 0x10137a30
jmp 0x10137ac5
push dword [esi + 8]
call sym.nss3.dll_PR_Unlock
jmp 0x10137ac2
mov ecx, esi
mov edx, edi
call fcn.101359d0
mov eax, dword [esi + 8]
mov dword [ebp - 0x10], eax
push dword [0x101d4d30]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
mov dword [ebp - 0x14], eax
je 0x10137af1
mov eax, dword [ebp - 0x10]
add eax, 0x1c
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 8], eax
mov eax, dword [edi + 0xc]
mov dword [ebp - 0x10], eax
dec eax
mov dword [edi + 0xc], eax
push dword [esi + 8]
call sym.nss3.dll_PR_Unlock
add esp, 4
cmp dword [ebp - 0x10], 1
jne 0x10137ac5
mov eax, dword [edi + 8]
lock dec dword [eax + 0x48]
jne 0x10137abb
push eax
call fcn.10135de0
add esp, 4
push edi
call dword [sym.imp.mozglue.dll_free]
add esp, 4
inc ebx
cmp ebx, 0x15
je 0x101379b2
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x44]
jmp 0x101379c6
xor eax, eax
push eax
push eax
push 1
push eax
call fcn.100e2c70
add esp, 0x10
mov dword [ebp - 0x10], eax
jmp 0x10137a09
xor eax, eax
push eax
push eax
push 1
push eax
call fcn.100e2c70
add esp, 0x10
mov dword [ebp - 0x14], eax
jmp 0x10137a78
Function at 0x10138680
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x84
mov eax, dword [0x101d2014]
xor ebx, ebx
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp dword [ecx + 0x18], 0
jne 0x10138740
cmp dword [ecx + 0xc], 0
mov esi, ecx
je 0x101386b8
cmp dword [esi + 0x38], 0
je 0x101386b8
xor ebx, ebx
inc ebx
jmp 0x10138740
mov eax, dword [esi + 0x13c]
test eax, eax
je 0x101386d1
push dword [eax + 0x14]
call fcn.10101400
add esp, 4
mov ebx, eax
jmp 0x10138740
cmp dword [esi + 0x30], 0
jne 0x10138713
mov eax, dword [esi + 0x3c]
mov dword [ebp - 0x90], eax
push dword [0x101d4d30]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
mov dword [ebp - 0x8c], eax
je 0x1013882c
mov edi, dword [ebp - 0x90]
lea eax, [edi + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov eax, dword [ebp - 0x8c]
mov dword [edi + 8], eax
mov eax, dword [esi]
mov edi, dword [esi + 0x40]
mov ecx, dword [eax + 0x16]
call dword [section..00cfg]
lea eax, [ebp - 0x78]
push eax
push edi
call ecx
add esp, 8
test eax, eax
je 0x10138757
cmp dword [esi + 0x30], 0
jne 0x10138740
push dword [esi + 0x3c]
call sym.nss3.dll_PR_Unlock
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10192ef0
mov eax, ebx
add esp, 0x84
pop esi
pop edi
pop ebx
pop ebp
ret
mov edi, dword [esi + 0x38]
test byte [ebp - 0x18], 1
jne 0x1013877e
test edi, edi
je 0x1013872f
mov eax, dword [esi]
mov ecx, dword [eax + 0x36]
call dword [section..00cfg]
push edi
call ecx
add esp, 4
mov dword [esi + 0x38], 0
jmp 0x1013872f
test edi, edi
je 0x101387f9
cmp dword [esi + 0x30], 0
je 0x101387b1
mov ebx, dword [esi + 0x3c]
push dword [0x101d4d30]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov edi, eax
test eax, eax
je 0x10138846
lea eax, [ebx + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [ebx + 8], edi
mov edi, dword [esi + 0x38]
mov eax, dword [esi]
mov ecx, dword [eax + 0x3e]
call dword [section..00cfg]
lea eax, [ebp - 0x88]
push eax
push edi
call ecx
add esp, 8
test eax, eax
je 0x101387e8
mov eax, dword [esi]
mov edi, dword [esi + 0x38]
mov ecx, dword [eax + 0x36]
call dword [section..00cfg]
push edi
call ecx
add esp, 4
mov dword [esi + 0x38], 0
cmp dword [esi + 0x30], 0
je 0x101387ff
push dword [esi + 0x3c]
call sym.nss3.dll_PR_Unlock
add esp, 4
cmp dword [esi + 0x30], 0
jne 0x1013880a
push dword [esi + 0x3c]
call sym.nss3.dll_PR_Unlock
add esp, 4
cmp dword [esi + 0x38], 0
jne 0x101386b0
sub esp, 4
push esi
call fcn.10137be0
add esp, 8
xor ebx, ebx
test eax, eax
sete bl
jmp 0x10138740
xor eax, eax
push eax
push eax
push 1
push eax
call fcn.100e2c70
add esp, 0x10
mov dword [ebp - 0x8c], eax
jmp 0x101386fa
xor eax, eax
push eax
push eax
push 1
push eax
call fcn.100e2c70
add esp, 0x10
mov edi, eax
jmp 0x101387a1
Function at 0x10138bd0
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 [ebp + 0xc]
cmp dword [esi + 0x30], 0
jne 0x10138c0b
mov edi, dword [esi + 0x3c]
push dword [0x101d4d30]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, eax
test eax, eax
je 0x10138cc3
lea eax, [edi + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [edi + 8], esi
mov esi, dword [ebp + 8]
lea edi, [ebx + 0x40]
push 0x60
push 0x20
push ebx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov eax, dword [esi]
mov esi, dword [esi + 0x40]
mov ecx, dword [eax + 0x16]
call dword [section..00cfg]
push ebx
push esi
call ecx
add esp, 8
lea ecx, [ebx + 1]
mov esi, eax
mov eax, ebx
cmp edi, ecx
cmova ecx, edi
cmp byte [eax], 0
je 0x10138c48
inc eax
cmp ecx, eax
jne 0x10138c3c
jmp 0x10138c5f
cmp eax, edi
jae 0x10138c5f
mov ecx, ebx
sub ecx, eax
add ecx, 0x40
push ecx
push 0x20
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebx + 0x60]
lea ecx, [ebx + 0x41]
cmp eax, ecx
cmova ecx, eax
cmp byte [edi], 0
je 0x10138c76
inc edi
cmp ecx, edi
jne 0x10138c6a
jmp 0x10138c8b
cmp edi, eax
jae 0x10138c8b
sub ebx, edi
add ebx, 0x60
push ebx
push 0x20
push edi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov eax, dword [ebp + 8]
cmp dword [eax + 0x30], 0
jne 0x10138c9f
push dword [eax + 0x3c]
call sym.nss3.dll_PR_Unlock
add esp, 4
test esi, esi
je 0x10138cbc
push esi
call fcn.10115520
add esp, 4
push 0
push eax
call sym.nss3.dll_PR_SetError
add esp, 8
xor eax, eax
dec eax
jmp 0x10138cbe
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 0x10138bfb
Function at 0x10138ce0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push eax
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
cmp dword [ecx + 0x30], 0
jne 0x10138d1c
mov edi, dword [ecx + 0x3c]
push dword [0x101d4d30]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, eax
test eax, eax
je 0x10138e53
lea eax, [edi + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov eax, dword [ebp + 0xc]
mov dword [edi + 8], esi
lea ebx, [eax + 0x20]
lea esi, [eax + 0x40]
lea edi, [eax + 0x50]
push 0x60
push 0x20
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
mov ecx, dword [ecx + 0x40]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + 0x1a]
call dword [section..00cfg]
push dword [ebp + 0xc]
push dword [ebp - 0x10]
call ecx
mov edx, dword [ebp + 0xc]
add esp, 8
lea ecx, [edx + 1]
mov dword [ebp - 0x10], eax
mov eax, edx
cmp ebx, ecx
cmova ecx, ebx
cmp byte [eax], 0
je 0x10138d6d
inc eax
cmp ecx, eax
jne 0x10138d61
jmp 0x10138d87
cmp eax, ebx
jae 0x10138d87
mov ecx, edx
sub ecx, eax
add ecx, 0x20
push ecx
push 0x20
push eax
call sub.VCRUNTIME140.dll_memset
mov edx, dword [ebp + 0xc]
add esp, 0xc
lea eax, [edx + 0x40]
lea ecx, [edx + 0x21]
cmp eax, ecx
cmova ecx, eax
cmp byte [ebx], 0
je 0x10138d9e
inc ebx
cmp ecx, ebx
jne 0x10138d92
jmp 0x10138db8
cmp ebx, eax
jae 0x10138db8
mov eax, edx
sub eax, ebx
add eax, 0x40
push eax
push 0x20
push ebx
call sub.VCRUNTIME140.dll_memset
mov edx, dword [ebp + 0xc]
add esp, 0xc
mov ebx, dword [ebp + 8]
lea eax, [edx + 0x50]
lea ecx, [edx + 0x41]
cmp eax, ecx
cmova ecx, eax
cmp byte [esi], 0
je 0x10138dd2
inc esi
cmp ecx, esi
jne 0x10138dc6
jmp 0x10138dec
cmp esi, eax
jae 0x10138dec
mov eax, edx
sub eax, esi
add eax, 0x50
push eax
push 0x20
push esi
call sub.VCRUNTIME140.dll_memset
mov edx, dword [ebp + 0xc]
add esp, 0xc
lea eax, [edx + 0x60]
lea ecx, [edx + 0x51]
cmp eax, ecx
cmova ecx, eax
cmp byte [edi], 0
je 0x10138e03
inc edi
cmp ecx, edi
jne 0x10138df7
jmp 0x10138e18
cmp edi, eax
jae 0x10138e18
sub edx, edi
add edx, 0x60
push edx
push 0x20
push edi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
cmp dword [ebx + 0x30], 0
jne 0x10138e29
push dword [ebx + 0x3c]
call sym.nss3.dll_PR_Unlock
add esp, 4
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x10138e49
push eax
call fcn.10115520
add esp, 4
push 0
push eax
call sym.nss3.dll_PR_SetError
add esp, 8
xor eax, eax
dec eax
jmp 0x10138e4b
xor eax, eax
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 0x10138d0c
Function at 0x10139120
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov eax, dword [0x101d2014]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
xor eax, ebp
cmp edi, 1
mov dword [ebp - 0x10], eax
jne 0x10139155
cmp dword [ebx + 0x124], 0
je 0x10139155
mov eax, dword [ebx + 0x128]
mov dword [ebp - 0x14], eax
jmp 0x101391df
cmp dword [ebx + 0x30], 0
jne 0x10139184
mov edi, dword [ebx + 0x3c]
push dword [0x101d4d30]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, eax
test eax, eax
je 0x10139208
lea eax, [edi + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [edi + 8], esi
mov edi, dword [ebp + 0xc]
mov eax, dword [ebx]
mov esi, dword [ebx + 0x40]
mov ecx, dword [eax + 0x22]
call dword [section..00cfg]
lea eax, [ebp - 0x1c]
push eax
push edi
push esi
call ecx
add esp, 0xc
cmp dword [ebx + 0x30], 0
mov esi, edi
mov edi, eax
jne 0x101391b2
push dword [ebx + 0x3c]
call sym.nss3.dll_PR_Unlock
add esp, 4
cmp esi, 1
jne 0x101391d9
test edi, edi
jne 0x101391d9
cmp dword [ebx + 0x124], 0
jne 0x101391df
mov eax, dword [ebp - 0x14]
mov dword [ebx + 0x128], eax
mov dword [ebx + 0x124], 1
jmp 0x101391df
xor esi, esi
test edi, edi
jne 0x101391f4
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x101391f1
mov ecx, dword [ebp - 0x14]
xor esi, esi
and ecx, eax
cmp ecx, eax
jne 0x101391f4
xor esi, esi
inc esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10192ef0
mov eax, esi
add esp, 0x10
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 0x10139174
Function at 0x10139b90
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov eax, dword [0x101d2014]
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp dword [edi + 0x30], 0
jne 0x10139bd4
mov ebx, dword [edi + 0x3c]
push dword [0x101d4d30]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, eax
test eax, eax
je 0x10139c24
lea eax, [ebx + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [ebx + 8], esi
mov ebx, dword [ebp + 0xc]
mov eax, dword [edi]
mov esi, dword [edi + 0x40]
mov ecx, dword [eax + 0x22]
call dword [section..00cfg]
lea eax, [ebp - 0x1c]
push eax
push ebx
push esi
call ecx
add esp, 0xc
cmp dword [edi + 0x30], 0
mov esi, eax
jne 0x10139c00
push dword [edi + 0x3c]
call sym.nss3.dll_PR_Unlock
add esp, 4
mov edi, dword [ebp - 0x18]
xor eax, eax
cmp dword [ebp - 0x1c], edi
mov ecx, dword [ebp - 0x10]
cmove edi, eax
test esi, esi
cmovne edi, eax
xor ecx, ebp
call fcn.10192ef0
mov eax, edi
add esp, 0x10
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 0x10139bc4
Function at 0x10139e80
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
cmp dword [eax + 0x14], 0
jne 0x10139ebd
mov ebx, dword [eax + 0x3c]
push dword [0x101d4d30]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, eax
test eax, eax
je 0x10139f16
lea eax, [ebx + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [ebx + 8], esi
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov eax, dword [eax]
mov esi, dword [ecx + 0x38]
mov ecx, dword [eax + 0x102]
call dword [section..00cfg]
push edi
push ebx
push esi
call ecx
add esp, 0xc
mov esi, eax
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 0
jne 0x10139ef2
push dword [eax + 0x3c]
call sym.nss3.dll_PR_Unlock
add esp, 4
test esi, esi
je 0x10139f0f
push esi
call fcn.10115520
add esp, 4
push 0
push eax
call sym.nss3.dll_PR_SetError
add esp, 8
xor eax, eax
dec eax
jmp 0x10139f11
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 0x10139eaa