joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100370b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov esi, edx
mov edi, ecx
cmp byte [ecx + 0x38], 0
je 0x100370d5
call dword [sym.imp.kernel32.dll_GetCurrentThreadId]
mov ebx, eax
lea eax, [edi + 0x18]
push eax
call dword [sym.imp.kernel32.dll_AcquireSRWLockExclusive]
mov dword [edi + 0x30], ebx
mov ebx, dword [edi + 0x58]
mov ecx, dword [edi + 0x5c]
mov eax, ebx
mov edx, ecx
lock cmpxchg8b qword [edi + 0x58]
xor edx, ecx
xor eax, ebx
or eax, edx
jne 0x100370d5
mov dword [esi], ebx
mov dword [esi + 4], ecx
movsd xmm0, qword [edi + 0x60]
movsd qword [esi + 8], xmm0
movsd xmm0, qword [edi + 0x68]
movsd qword [esi + 0x10], xmm0
mov ebx, dword [edi + 0x70]
mov ecx, dword [edi + 0x74]
mov eax, ebx
mov edx, ecx
lock cmpxchg8b qword [edi + 0x70]
xor edx, ecx
xor eax, ebx
or eax, edx
jne 0x10037105
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ecx
movsd xmm0, qword [edi + 0x78]
movsd qword [esi + 0x20], xmm0
cmp byte [edi + 0x38], 0
je 0x10037143
mov dword [edi + 0x30], 0
add edi, 0x18
push edi
call dword [sym.imp.kernel32.dll_ReleaseSRWLockExclusive]
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x10037530
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
xor eax, eax
cmp byte [ecx + 0x40], 0
je 0x10037541
pop esi
pop edi
pop ebp
ret
cmp dword [ecx + 0x10], 0
je 0x100375db
cmp dword [ecx + 0x14], 0xf
mov eax, ecx
jbe 0x10037555
mov eax, dword [ecx]
xor esi, esi
mov edx, esi
movzx edi, byte [eax]
rol esi, 5
xor esi, edi
imul esi, esi, 0x9e3779b9
inc eax
test edi, edi
jne 0x10037557
imul eax, edx, 0x9e3779b9
movzx edx, byte [ecx + 0x18]
rol eax, 5
xor eax, edx
imul eax, eax, 0x9e3779b9
rol eax, 5
xor eax, dword [ecx + 0x20]
imul eax, eax, 0x9e3779b9
rol eax, 5
imul eax, eax, 0x9e3779b9
mov edx, eax
rol edx, 5
xor edx, dword [ecx + 0x28]
imul edx, edx, 0x9e3779b9
cmp byte [ecx + 0x2c], 0
cmove edx, eax
mov eax, edx
rol eax, 5
xor eax, dword [ecx + 0x30]
imul eax, eax, 0x9e3779b9
cmp byte [ecx + 0x34], 0
cmove eax, edx
cmp byte [ecx + 0x3c], 0
je 0x1003753d
rol eax, 5
xor eax, dword [ecx + 0x38]
imul eax, eax, 0x9e3779b9
jmp 0x1003753d
xor eax, eax
jmp 0x10037572
Function at 0x1003e0b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc
mov edi, edx
mov eax, dword [edx + 0x1c]
bt eax, 8
jb 0x1003e0c8
mov eax, dword [edi]
jmp 0x1003e0dc
cmp eax, 0x370000
jae 0x1003e13f
shr eax, 0x10
lea eax, [eax + eax*2]
mov eax, dword [eax*4 + 0x1006d3c8]
mov dword [ecx], eax
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
mov eax, dword [edi + 8]
mov dword [ecx + 8], eax
mov eax, dword [edi + 0x18]
mov esi, ecx
mov dword [ecx + 0x18], eax
mov ebx, dword [edi + 0x10]
mov ecx, dword [edi + 0x14]
mov eax, ebx
mov edx, ecx
lock cmpxchg8b qword [edi + 0x10]
xor edx, ecx
xor eax, ebx
or eax, edx
jne 0x1003e0f2
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], esi
mov esi, dword [ebp - 0x10]
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x18], eax
mov edi, dword [esi + 0x14]
mov edx, edi
lock cmpxchg8b qword [esi + 0x10]
xor edx, edi
xor eax, dword [ebp - 0x18]
or eax, edx
jne 0x1003e112
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x1c]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x1c], eax
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [sym.mozglue.dll_gMozCrashReason], str.MOZ_RELEASE_ASSERT_categoryPairIndex___uint32_t_ProfilingCategoryPair::LAST__
int3

Function at 0x1003e160
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov eax, dword [0x1007e388]
mov ecx, dword [0x1007d328]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jle 0x1003e1e7
push 0x1007e388
call fcn.1002ff22
add esp, 4
cmp dword [0x1007e388], 0xffffffff
jne 0x1003e1e7
push str.MOZ_BASE_PROFILER_VERBOSE_LOGGING
call dword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
add esp, 4
test eax, eax
jne 0x1003e1f3
push str.MOZ_BASE_PROFILER_DEBUG_LOGGING
call dword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
add esp, 4
test eax, eax
jne 0x1003e1fa
push str.MOZ_BASE_PROFILER_LOGGING
call dword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
add esp, 4
xor ecx, ecx
test eax, eax
setne cl
lea eax, [ecx + ecx*2]
mov dword [0x1007e384], eax
push 0x1007e388
call fcn.1002ff22
add esp, 4
cmp dword [0x1007e384], esi
setge al
pop esi
pop ebp
ret
mov eax, 5
jmp 0x1003e1d5
mov eax, 4
jmp 0x1003e1d5
Function at 0x100423b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
and esp, 0xfffffff8
sub esp, 8
mov esi, ecx
mov bl, byte [ebp + 8]
mov dword [ecx + 4], edx
mulsd xmm0, qword [0x1006d2b0]
addsd xmm0, qword [0x1006d328]
sub esp, 8
movsd qword [esp], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_floor
add esp, 8
fstp qword [esp]
cvttsd2si ecx, qword [esp]
xor eax, eax
inc eax
test ecx, ecx
cmovg eax, ecx
mov dword [esi + 8], eax
mov byte [esi + 0x10], bl
cmp eax, 0x270f
jg 0x10042415
test bl, bl
jne 0x10042415
mov ecx, 0x10624dd3
mul ecx
shr edx, 6
push edx
call dword [sym.imp.WINMM.dll_timeBeginPeriod]
xor eax, eax
push eax
push eax
push esi
push 0x10042450
push eax
push eax
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x18
mov dword [esi + 0xc], eax
test eax, eax
je 0x1004243a
mov eax, esi
lea esp, [ebp - 8]
pop esi
pop ebx
pop ebp
ret
mov dword [sym.mozglue.dll_gMozCrashReason], str.MOZ_CRASH__beginthreadex_failed_
int3
Function at 0x10049a80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push eax
mov dword [ebp - 0x10], edx
mov edi, ecx
mov esi, dword [ecx]
mov ebx, dword [esi + 0x58]
mov ecx, dword [esi + 0x5c]
mov eax, ebx
mov edx, ecx
lock cmpxchg8b qword [esi + 0x58]
xor edx, ecx
xor eax, ebx
or eax, edx
jne 0x10049a8e
mov eax, dword [ebp + 8]
cmp eax, ebx
mov ebx, dword [ebp + 0xc]
mov eax, ebx
sbb eax, ecx
mov eax, dword [edi + 8]
mov edx, dword [edi]
mov esi, dword [edi + 4]
jae 0x10049ad2
xor edi, edi
mov ebx, dword [ebp - 0x10]
mov ecx, ebx
push edi
push edi
push eax
push esi
call fcn.10049af0
add esp, 0x10
mov eax, ebx
jmp 0x10049ae7
mov edi, dword [ebp - 0x10]
mov ecx, edi
push ebx
push dword [ebp + 8]
push eax
push esi
call fcn.10049af0
add esp, 0x10
mov eax, edi
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x1004b1f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
mov ebx, dword [ecx + 0x58]
mov edi, dword [ecx + 0x5c]
mov eax, ebx
mov edx, edi
mov ecx, edi
mov esi, dword [ebp - 0x10]
lock cmpxchg8b qword [esi + 0x58]
mov ecx, dword [ebp - 0x10]
xor edx, edi
xor eax, ebx
or eax, edx
jne 0x1004b204
mov edx, dword [ebp + 0xc]
mov esi, dword [edx + 0x28]
mov ecx, dword [edx + 0x2c]
cmp esi, ebx
mov eax, ecx
sbb eax, edi
jb 0x1004b201
add esi, dword [edx + 0x20]
adc ecx, 0
mov eax, ebx
mov edx, edi
mov ebx, esi
mov esi, dword [ebp - 0x10]
lock cmpxchg8b qword [esi + 0x58]
mov eax, dword [ebp + 0xc]
jne 0x1004b201
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x10]
mov eax, dword [ecx + 0x70]
mov dword [ebp - 0x18], eax
mov edi, dword [ecx + 0x74]
mov ebx, eax
add ebx, dword [ebp - 0x14]
mov ecx, edi
adc ecx, 0
mov edx, edi
lock cmpxchg8b qword [esi + 0x70]
mov ecx, dword [ebp - 0x10]
xor edx, edi
xor eax, dword [ebp - 0x18]
or eax, edx
jne 0x1004b259
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1004dd20
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [0x1007d00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov bl, 1
cmp dword [ecx + 0x38], 0
je 0x1004ddc3
mov esi, ecx
cmp byte [ecx + 0x3d], 0
je 0x1004ddc3
mov eax, dword [esi]
mov edi, dword [eax + 0xc]
mov ecx, edi
call dword [section..00cfg]
mov ecx, esi
push 0xffffffffffffffff
call edi
cmp eax, 0xffffffff
je 0x1004ddc1
mov edi, dword [esi + 0x38]
lea eax, [esi + 0x40]
mov dword [ebp - 0x38], eax
mov eax, dword [edi]
mov ebx, dword [eax + 0x20]
mov ecx, ebx
call dword [section..00cfg]
lea eax, [ebp - 0x34]
lea edx, [ebp - 0x30]
mov ecx, edi
push eax
lea eax, [ebp - 0x10]
push eax
push edx
push dword [ebp - 0x38]
call ebx
cmp eax, 3
je 0x1004ddd7
cmp eax, 1
je 0x1004dd9a
test eax, eax
jne 0x1004ddc1
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x34]
lea eax, [ebp - 0x30]
sub edi, eax
je 0x1004ddb8
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x1004ddc1
cmp byte [esi + 0x3d], 0
sete bl
jmp 0x1004ddc3
xor ebx, ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1002f5c0
mov eax, ebx
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
mov bl, 1
jmp 0x1004ddc3

Function at 0x1004eee0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push eax
mov esi, ecx
cmp byte [ecx + 0x38], 0
je 0x1004ef04
call dword [sym.imp.kernel32.dll_GetCurrentThreadId]
mov edi, eax
lea eax, [esi + 0x18]
push eax
call dword [sym.imp.kernel32.dll_AcquireSRWLockExclusive]
mov dword [esi + 0x30], edi
mov ebx, dword [esi + 0x58]
mov edi, dword [esi + 0x5c]
mov eax, ebx
mov edx, edi
mov ecx, edi
lock cmpxchg8b qword [esi + 0x58]
xor edx, edi
xor eax, ebx
or eax, edx
jne 0x1004ef04
mov ecx, dword [esi + 0x60]
mov eax, dword [esi + 0x64]
cmp byte [esi + 0x38], 0
je 0x1004ef44
mov dword [esi + 0x30], 0
add esi, 0x18
push esi
mov dword [ebp - 0x10], eax
mov esi, ecx
call dword [sym.imp.kernel32.dll_ReleaseSRWLockExclusive]
mov ecx, esi
mov eax, dword [ebp - 0x10]
xor ebx, ecx
xor edi, eax
or edi, ebx
sete al
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1004fa80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x38
mov esi, ecx
mov ecx, dword [ebp + 8]
mov eax, dword [0x1007d00c]
xor eax, ebp
mov dword [esp + 0x30], eax
test ecx, ecx
jne 0x1004fac1
push dword [esi]
push 0
call fcn.100489a0
add esp, 8
mov ecx, dword [esp + 0x30]
xor ecx, ebp
call fcn.1002f5c0
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
lea edi, [esp + 0x10]
push edi
call fcn.1004f6e0
mov edx, dword [edi + 0x10]
mov eax, dword [edi + 0x14]
mov dword [esp + 0xc], eax
mov dword [esp + 8], edx
mov eax, dword [edi + 0x18]
mov ecx, dword [esi]
sub eax, edx
jne 0x1004fae5
push ecx
jmp 0x1004faa2
push ecx
push eax
call fcn.100489a0
add esp, 8
mov ecx, dword [esi]
mov ebx, 8
lea eax, [esp + 8]
push ebx
push eax
call fcn.10048a10
mov ecx, dword [esi]
mov eax, dword [esp + 0x18]
add eax, dword [esp + 0x10]
push eax
push edi
call fcn.1004cd00
mov ecx, dword [esi]
mov eax, dword [esi + 4]
movsd xmm0, qword [eax + 0x68]
mov eax, esp
movsd qword [eax], xmm0
push ebx
push eax
call fcn.10048a10
mov edi, dword [esi]
mov esi, dword [esi + 4]
mov ebx, dword [esi + 0x70]
mov ecx, dword [esi + 0x74]
mov eax, ebx
mov edx, ecx
lock cmpxchg8b qword [esi + 0x70]
xor edx, ecx
xor eax, ebx
or eax, edx
jne 0x1004fb2e
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov ecx, edi
push 8
lea eax, [esp + 4]
push eax
call fcn.10048a10
jmp 0x1004faac
Function at 0x10050860
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x28
mov esi, edx
mov edi, ecx
mov eax, dword [0x1007d00c]
xor eax, ebp
mov dword [esp + 0x20], eax
push ecx
call fcn.10039b00
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
jne 0x1005089f
mov ecx, dword [esp + 0x20]
xor ecx, ebp
call fcn.1002f5c0
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea eax, [esp + 0x18]
mov dword [esp + 0xc], edi
mov ecx, edi
push 8
mov edi, eax
push eax
call fcn.10039780
mov dword [esp + 4], esi
mov ebx, dword [edi]
mov ecx, dword [edi + 4]
mov esi, dword [esp + 4]
mov eax, dword [esi + 0x58]
mov dword [esp + 8], eax
mov edi, dword [esi + 0x5c]
mov edx, edi
lock cmpxchg8b qword [esi + 0x58]
xor edx, edi
xor eax, dword [esp + 8]
or eax, edx
jne 0x100508c0
mov edi, dword [esp + 4]
mov dword [edi + 0x60], ebx
mov dword [edi + 0x64], ecx
mov ecx, edi
call fcn.10050a80
test al, al
je 0x1005091a
lea esi, [esp + 0x18]
mov ecx, edi
mov edx, esi
call fcn.10037150
mov edx, dword [esp + 0x14]
cmp dword [esi], edx
jae 0x10050969
mov dword [sym.mozglue.dll_gMozCrashReason], str.MOZ_RELEASE_ASSERT_aBuffer.BufferLength__.value_____len_
int3
lea esi, [esp + 0x10]
lea edx, [esp + 0x14]
mov ecx, esi
call fcn.100474e0
mov eax, dword [esi]
mov dword [esi], 0
lea esi, [esp + 0x18]
mov dword [esi], eax
mov ecx, edi
mov edx, esi
call fcn.10050ad0
mov ebx, dword [esi]
test ebx, ebx
je 0x10050958
mov eax, dword [ebx]
mov esi, dword [eax]
mov ecx, esi
call dword [section..00cfg]
mov ecx, ebx
push 1
call esi
lea ecx, [esp + 0x10]
call fcn.100475c0
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 4]
mov ebx, dword [esp + 0xc]
mov dword [esp + 0x18], ebx
lea eax, [esp + 0x14]
mov dword [esp + 0x1c], eax
mov ecx, edi
lea esi, [esp + 0x18]
push esi
call fcn.10050ba0
add esp, 4
mov eax, 8
mov ecx, ebx
push eax
push esi
call fcn.10039780
movsd xmm0, qword [esp + 0x18]
movsd qword [edi + 0x68], xmm0
mov ecx, ebx
mov eax, 8
push eax
push esi
call fcn.10039780
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 4]
mov eax, dword [esi + 0x70]
mov dword [esp + 8], eax
mov edi, dword [esi + 0x74]
mov edx, edi
lock cmpxchg8b qword [esi + 0x70]
xor edx, edi
xor eax, dword [esp + 8]
or eax, edx
jne 0x100509bb
xor eax, eax
mov ecx, dword [esp + 4]
mov dword [ecx + 0x7c], eax
mov dword [ecx + 0x78], eax
jmp 0x1005088c
Function at 0x10050e80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x38
mov esi, edx
mov edi, ecx
mov eax, dword [0x1007d00c]
xor eax, ebp
mov dword [esp + 0x30], eax
mov dword [esp + 0x14], ecx
cmp byte [ecx + 0x38], 0
je 0x10050eba
call dword [sym.imp.kernel32.dll_GetCurrentThreadId]
mov ebx, eax
lea eax, [edi + 0x18]
push eax
call dword [sym.imp.kernel32.dll_AcquireSRWLockExclusive]
mov dword [edi + 0x30], ebx
mov ebx, dword [edi + 0x3c]
test ebx, ebx
je 0x1005105f
mov dword [esp + 4], esi
mov eax, dword [ebx]
mov esi, dword [eax + 0x1c]
mov ecx, esi
call dword [section..00cfg]
lea eax, [esp + 0x10]
mov ecx, ebx
push eax
call esi
lea eax, [esp + 0x14]
mov ecx, edi
push eax
call fcn.10048c20
mov esi, dword [edi + 0x44]
test esi, esi
mov ebx, edi
je 0x10050f68
lea edi, [esp + 0x18]
push 1
push edi
call sym.mozglue.dll_private:_static_class_mozilla::TimeStamp___cdecl_mozilla::TimeStamp::Now_bool_
add esp, 8
movsd xmm0, qword [edi + 0x10]
movsd qword [esi + 0x18], xmm0
movups xmm0, xmmword [edi]
movups xmmword [esi + 8], xmm0
mov edx, dword [esp + 0x10]
mov eax, dword [ebx + 0x44]
test edx, edx
je 0x10051053
test eax, eax
je 0x10050f44
mov ecx, edx
mov edx, dword [edx + 0x38]
test edx, edx
jne 0x10050f27
add ecx, 0x38
mov dword [ebx + 0x44], 0
push eax
call fcn.10011910
mov edx, dword [esp + 0x10]
mov dword [esp + 0x10], 0
mov eax, edx
xor edi, edi
lea esi, [esp + 0x18]
mov dword [esi], edi
lea ecx, [esp + 0x10]
push eax
call fcn.10011910
mov ecx, esi
push edi
call fcn.10011910
mov edx, dword [esp + 0x10]
mov eax, dword [ebx + 0x48]
test edx, edx
je 0x10051047
test eax, eax
je 0x10050f98
mov ecx, edx
mov edx, dword [edx + 0x38]
test edx, edx
jne 0x10050f7b
add ecx, 0x38
mov dword [ebx + 0x48], 0
push eax
call fcn.10011910
mov edx, dword [esp + 0x10]
mov dword [esp + 0x10], 0
mov eax, edx
xor edi, edi
lea esi, [esp + 0x18]
mov dword [esi], edi
lea ecx, [esp + 0x10]
push eax
call fcn.10011910
mov ecx, esi
push edi
call fcn.10011910
mov esi, dword [ebx + 0x3c]
mov eax, dword [esi]
mov edi, ebx
mov ebx, dword [eax + 0x20]
mov ecx, ebx
call dword [section..00cfg]
mov ecx, esi
call ebx
mov ebx, dword [edi + 0x50]
mov ecx, dword [edi + 0x54]
mov dword [edi + 0x64], ecx
mov dword [esp + 8], edi
mov dword [edi + 0x60], ebx
mov esi, dword [esp + 8]
mov eax, dword [esi + 0x58]
mov dword [esp + 0xc], eax
mov edi, dword [esi + 0x5c]
mov edx, edi
lock cmpxchg8b qword [esi + 0x58]
xor edx, edi
xor eax, dword [esp + 0xc]
or eax, edx
jne 0x10050fe6
lea ecx, [esp + 0x10]
mov eax, dword [ecx]
xor edx, edx
mov dword [ecx], edx
mov esi, dword [esp + 4]
mov dword [esi], eax
push edx
call fcn.10011910
mov eax, dword [esp + 0x14]
cmp byte [eax + 0x38], 0
je 0x10051032
mov dword [eax + 0x30], 0
add eax, 0x18
push eax
call dword [sym.imp.kernel32.dll_ReleaseSRWLockExclusive]
mov ecx, dword [esp + 0x30]
xor ecx, ebp
call fcn.1002f5c0
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [ebx + 0x48], 0
jmp 0x10050fa2
mov dword [ebx + 0x44], 0
jmp 0x10050f4e
mov dword [esi], 0
jmp 0x10051017
Function at 0x100554f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc
mov esi, ecx
mov eax, dword [ebp + 8]
mov ecx, dword [0x1007d00c]
xor ecx, ebp
mov dword [ebp - 0x10], ecx
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], 4
cmp dword [eax + 0x14], 7
jbe 0x1005551d
mov eax, dword [eax]
lea edi, [ebp - 0x18]
lea ebx, [ebp - 0x14]
push edi
push ebx
push ecx
push 0x10
push eax
push ecx
push edx
call dword [sym.imp.advapi32.dll_RegGetValueW]
mov ecx, 8
test eax, eax
jne 0x1005553d
mov ecx, dword [ebp - 0x14]
setne byte [esi + 4]
mov dword [esi], ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1002f5c0
mov eax, esi
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x100559f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x38
mov esi, edx
mov ebx, ecx
mov edi, dword [ebp + 8]
mov eax, dword [0x1007d00c]
xor eax, ebp
mov dword [esp + 0x30], eax
xor eax, eax
mov dword [esp + 0x2c], eax
cmp dword [edi + 0x14], 7
mov ecx, edi
jbe 0x10055a1e
mov ecx, dword [edi]
lea edx, [esp + 0x2c]
push edx
push eax
push eax
push eax
push ecx
push esi
call dword [sym.imp.advapi32.dll_RegQueryValueExW]
test eax, eax
je 0x10055a51
mov byte [ebx + 0xc], 1
mov dword [ebx], 8
mov ecx, dword [esp + 0x30]
xor ecx, ebp
call fcn.1002f5c0
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x2c]
test bl, 0xf
je 0x10055a6e
mov ebx, dword [esp + 4]
mov byte [ebx + 0xc], 1
mov dword [ebx], 0xe
jmp 0x10055a3c
xor eax, eax
dec eax
add ebx, ebx
cmovb ebx, eax
push ebx
call sym.mozglue.dll_malloc
add esp, 4
test eax, eax
je 0x10055ad4
push ebx
xor ebx, ebx
push ebx
mov dword [esp + 0x10], eax
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
cmp dword [edi + 0x14], 7
jbe 0x10055a9c
mov edi, dword [edi]
lea eax, [esp + 0x2c]
push eax
push dword [esp + 0xc]
push ebx
push 8
push edi
push ebx
push esi
call dword [sym.imp.advapi32.dll_RegGetValueW]
test eax, eax
mov ebx, dword [esp + 4]
je 0x10055ae7
mov byte [ebx + 0xc], 1
mov dword [ebx], 8
push dword [esp + 8]
call sym.mozglue.dll__aligned_free
add esp, 4
jmp 0x10055a3c
mov ebx, dword [esp + 4]
mov byte [ebx + 0xc], 1
mov dword [ebx], 4
jmp 0x10055a3c
xor ecx, ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x20], 0x10
mov esi, dword [esp + 0x2c]
mov eax, 0x10
mov edx, 0
mov dword [esp + 0xc], esi
cmp esi, 0x10
jb 0x10055b8b
xor ecx, ecx
mov eax, 0x10
xor edx, edx
xor edi, edi
mov ebx, dword [esp + 8]
movsd xmm0, qword [ebx]
movsd xmm1, qword [ebx + 8]
cmp edx, ecx
jne 0x10055b61
movsd qword [esp + 0x10], xmm1
movsd qword [esp + 0x18], xmm0
lea ecx, [esp + 0x20]
call fcn.10017ca0
test al, al
je 0x10055bb0
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0xc], ecx
movsd xmm0, qword [esp + 0x18]
movsd xmm1, qword [esp + 0x10]
shl edx, 4
movsd qword [eax + edx], xmm0
movsd qword [eax + edx + 8], xmm1
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
inc edx
mov dword [esp + 0x24], edx
inc edi
mov esi, dword [esp + 0xc]
shr esi, 4
add ebx, 0x10
cmp edi, esi
jb 0x10055b1f
mov ebx, dword [esp + 4]
mov byte [ebx + 0xc], 0
mov dword [ebx + 4], edx
mov dword [ebx + 8], ecx
cmp eax, 0x10
je 0x10055ba5
mov dword [ebx], eax
jmp 0x10055ac3
mov dword [ebx], 0x10
jmp 0x10055ac3
mov ebx, dword [esp + 4]
mov byte [ebx + 0xc], 1
mov dword [ebx], 4
mov eax, dword [esp + 0x20]
cmp eax, 0x10
je 0x10055ac3
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
jmp 0x10055ac3
Function at 0x10055be0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov eax, dword [0x1007d00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], 4
lea eax, [ebp - 0x14]
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionThemesPersonalize
push 0x80000001
call dword [sym.imp.advapi32.dll_RegOpenKeyExW]
xor ebx, ebx
test eax, eax
jne 0x10055c42
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x18]
lea edi, [ebp - 0x1c]
push eax
push edi
push ebx
push 0x10
push str.AppsUseLightTheme
push ebx
push esi
call dword [sym.imp.advapi32.dll_RegGetValueW]
or eax, dword [edi]
sete bl
push esi
call dword [sym.imp.advapi32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1002f5c0
mov eax, ebx
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x10055f70
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x818
mov ebx, dword [ebp + 8]
mov eax, dword [0x1007d00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
call dword [sym.imp.kernel32.dll_IsDebuggerPresent]
test eax, eax
je 0x10055fe7
lea ebx, [ebp + 0xc]
mov dword [ebp - 0x824], ebx
lea esi, [ebp - 0x820]
mov ecx, esi
call sym.mozglue.dll_protected:_void___thiscall_mozilla::PrintfTarget::constructor_void_
mov dword [esi], 0x1006d718
lea edi, [ebp - 0x810]
mov dword [esi + 8], edi
mov dword [esi + 0xc], 0x800
mov ecx, esi
push ebx
mov ebx, dword [ebp + 8]
push ebx
call sym.mozglue.dll_public:_bool___thiscall_mozilla::PrintfTarget::vprint_char_const___char__
mov eax, dword [esi + 4]
mov ecx, 0x7ff
cmp eax, ecx
cmovb ecx, eax
mov byte [ebp + ecx - 0x810], 0
push edi
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__fileno]
add esp, 4
cmp eax, 0xfffffffe
je 0x1005604b
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__dup]
add esp, 4
push 0x10071038
push eax
call dword [sym.imp.api_ms_win_crt_math_l1_1_0.dll__fdopen]
add esp, 8
test eax, eax
je 0x1005604b
mov esi, eax
lea edi, [ebp + 0xc]
mov dword [ebp - 0x810], edi
call fcn.10003810
push edi
push 0
push ebx
push esi
push dword [eax + 4]
push dword [eax]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___stdio_common_vfprintf]
add esp, 0x18
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1002f5c0
add esp, 0x818
pop esi
pop edi
pop ebx
pop ebp
ret