joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10015ae0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x30
mov edx, dword [ebp + 8]
mov eax, dword [0x1009a00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [edx], eax
mov dword [edx + 4], eax
mov dword [edx + 8], eax
lea ecx, [ebp - 0x18]
mov dword [ecx], edx
mov dword [ebp - 0x20], 0x1004e760
mov dword [ebp - 0x1c], ecx
lea ecx, [ebp - 0x14]
push ecx
push eax
push eax
push 0xffffffffffffffff
call sub.KERNEL32.dll_K32EnumProcessModules
test eax, eax
je 0x10015c66
mov esi, dword [ebp - 0x14]
mov ebx, esi
and ebx, 0xfffffffc
push ebx
call sym.mozglue.dll_moz_xmalloc
add esp, 4
mov edi, eax
push ebx
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
push ebx
mov ebx, edi
push edi
push 0xffffffffffffffff
call sub.KERNEL32.dll_K32EnumProcessModules
test eax, eax
je 0x10015c5d
shr esi, 2
mov eax, dword [ebp - 0x14]
shr eax, 2
cmp eax, esi
cmovae eax, esi
mov dword [ebp - 0x34], eax
test eax, eax
je 0x10015c5d
xor edi, edi
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x24], edi
mov eax, dword [ebx + edi*4]
mov dword [ebp - 0x3c], eax
mov esi, 0x104
mov dword [ebp - 0x28], 0
mov ebx, esi
lea eax, [esi + esi]
test esi, esi
mov edi, 0xffffffff
mov dword [ebp - 0x38], eax
cmovns edi, eax
push edi
call sym.mozglue.dll_moz_xmalloc
add esp, 4
mov esi, eax
push edi
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x10015c7b
push ebx
push esi
push dword [ebp - 0x3c]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x10015cb0
mov dword [ebp - 0x2c], esi
cmp eax, ebx
mov esi, dword [ebp - 0x38]
je 0x10015c89
mov edi, eax
inc edi
lea esi, [eax + eax + 2]
mov eax, 0xffffffff
cmovs esi, eax
push esi
call sym.mozglue.dll_moz_xmalloc
add esp, 4
mov ebx, eax
push esi
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov esi, dword [ebp - 0x2c]
push esi
push edi
push ebx
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
add esp, 0xc
test eax, eax
jne 0x10015ca7
push esi
call sym.mozglue.dll__aligned_free
add esp, 4
mov edi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x30]
mov esi, dword [eax + edi*4]
mov ecx, dword [ebp - 0x20]
call dword [section..00cfg]
push esi
push ebx
lea eax, [ebp - 0x1c]
push eax
call ecx
add esp, 0xc
mov esi, ebx
push esi
call sym.mozglue.dll__aligned_free
add esp, 4
inc edi
cmp edi, dword [ebp - 0x34]
mov ebx, dword [ebp - 0x30]
jne 0x10015b78
push ebx
call sym.mozglue.dll__aligned_free
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100468e0
mov eax, dword [ebp + 8]
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret
push eax
call sym.mozglue.dll__aligned_free
add esp, 4
jmp 0x10015bc1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x28], eax
mov eax, ebx
cmp ecx, 0x7a
je 0x10015b8d
jmp 0x10015be2
push ebx
call sym.mozglue.dll__aligned_free
add esp, 4
mov edi, dword [ebp - 0x24]
jmp 0x10015c47
Function at 0x100161c0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x28
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov eax, dword [0x1009a00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp dword [0x1009b60c], ebx
je 0x1001629b
mov dword [0x1009b60c], ebx
lea edi, [ebp - 0x28]
mov ecx, edi
call fcn.1000ce80
cmp byte [edi + 4], 0
jne 0x100162b3
mov eax, dword [edi]
mov dword [ebp - 0x30], eax
mov ecx, edi
call fcn.1000cdd0
cmp byte [edi + 4], 0
jne 0x100162c1
mov edx, dword [ebp - 0x28]
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], 0
mov ecx, edi
mov dword [ebp - 0x34], edx
push edx
call fcn.1000f240
mov ecx, edi
push 6
push str.Theme
call fcn.1000d0f0
mov dword [ebp - 0x2c], ebx
cmp dword [ebp - 0x14], 8
mov eax, edi
jb 0x10016251
mov eax, dword [ebp - 0x28]
mov ecx, 4
lea edx, [ebp - 0x2c]
push ecx
push edx
push ecx
xor ebx, ebx
push ebx
push eax
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
mov ecx, edi
call fcn.1000f1e0
test esi, esi
jne 0x100162e2
mov edi, dword [ebp + 8]
mov byte [edi + 4], bl
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x1001628c
push eax
call sym.mozglue.dll__aligned_free
add esp, 4
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x1001629f
jmp 0x100162d6
mov byte [edi + 4], 0
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100468e0
mov eax, edi
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x28]
mov edi, dword [ebp + 8]
mov byte [edi + 4], 1
mov dword [edi], eax
jmp 0x100162d6
mov eax, dword [ebp - 0x28]
mov edi, dword [ebp + 8]
mov byte [edi + 4], 1
mov dword [edi], eax
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [0x1009b60c], 0
jmp 0x1001629f
mov eax, dword [ebp + 8]
mov dword [eax], 8
mov bl, 1
jmp 0x10016276

Function at 0x10016900
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x28
mov eax, dword [0x1009a00c]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [0x1009ba64]
mov ecx, dword [0x1009a3c8]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jle 0x10016963
push 0x1009ba64
call fcn.10046148
add esp, 4
cmp dword [0x1009ba64], 0xffffffff
jne 0x10016963
lea esi, [ebp - 0x2c]
push esi
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [esi + 0x1c]
mov dword [0x1009ba60], eax
push 0x1009ba64
call fcn.100460fe
add esp, 4
mov esi, dword [0x1009ba60]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.100468e0
mov eax, esi
add esp, 0x28
pop esi
pop ebp
ret
Function at 0x10017da0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push str.MOZ_CRASHREPORTER_DISABLE
call dword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
add esp, 4
test eax, eax
jne 0x10017e3e
cmp word [0x1009b624], 0
jne 0x10017e3c
push 0x105
push 0x1009b624
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x10017e3c
cmp eax, 0x105
je 0x10017e3c
push 0x5c
push 0x1009b624
call sub.VCRUNTIME140.dll_wcsrchr
add esp, 8
test eax, eax
je 0x10017e3c
mov word [eax + 2], 0
push str.mozwer.dll
push 0x105
push 0x1009b624
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
add esp, 0xc
test eax, eax
jne 0x10017e3c
mov eax, dword [sym.mozglue.dll_enum_GeckoProcessType_mozilla::startup::sChildProcessType]
mov dword [0x1009b830], eax
mov dword [0x1009b834], 0x1009a854
push 0x1009b830
push 0x1009b624
call sub.KERNEL32.dll_WerRegisterRuntimeExceptionModule
test eax, eax
js 0x10017e49
pop ebp
ret
cmp byte [eax], 0
je 0x10017db9
jmp 0x10017e3c
mov word [0x1009b624], 0
jmp 0x10017e3c

Function at 0x100183c0
Capabilities:
Generate random numbers via winapi

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x24
mov eax, dword [0x1009a00c]
xor eax, ebp
mov dword [ebp - 8], eax
lea eax, [ebp - 0x28]
push 2
push 0x20
push eax
push 0
call sub.bcrypt.dll_BCryptGenRandom
test eax, eax
setns bl
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.100468e0
mov eax, ebx
add esp, 0x24
pop ebx
pop ebp
ret

Function at 0x10018540
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x10
mov eax, dword [0x1009a00c]
xor eax, ebp
mov dword [esp + 0xc], eax
mov eax, esp
push 8
push eax
call sub.ADVAPI32.dll_SystemFunction036
test al, al
je 0x10018581
mov esi, dword [esp]
mov edi, dword [esp + 4]
mov ecx, dword [esp + 0xc]
xor ecx, ebp
call fcn.100468e0
mov eax, esi
mov edx, edi
lea esp, [ebp - 8]
pop esi
pop edi
pop ebp
ret
int3
Function at 0x10046020
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov edi, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov eax, edi
and eax, 0xfffffffc
je 0x100460df
lea esi, [eax - 1]
mov edi, esi
shr edi, 2
inc edi
mov ecx, edi
and ecx, 3
cmp eax, 0xd
jae 0x10046050
xor eax, eax
xor ebx, ebx
jmp 0x1004609b
and edi, 0xfffffffc
xor eax, eax
xor ebx, ebx
nop word [eax + eax]
rol eax, 5
xor eax, dword [edx + ebx]
imul eax, eax, 0x9e3779b9
rol eax, 5
xor eax, dword [edx + ebx + 4]
imul eax, eax, 0x9e3779b9
rol eax, 5
xor eax, dword [edx + ebx + 8]
imul eax, eax, 0x9e3779b9
rol eax, 5
xor eax, dword [edx + ebx + 0xc]
imul eax, eax, 0x9e3779b9
add ebx, 0x10
add edi, 0xfffffffc
jne 0x10046060
test ecx, ecx
je 0x100460b9
add ebx, edx
shl ecx, 2
xor edi, edi
rol eax, 5
xor eax, dword [ebx + edi]
imul eax, eax, 0x9e3779b9
add edi, 4
cmp ecx, edi
jne 0x100460a6
and esi, 0xfffffffc
add esi, 4
mov edi, dword [ebp + 0xc]
cmp esi, edi
jae 0x100460da
movsx ecx, byte [edx + esi]
rol eax, 5
xor eax, ecx
imul eax, eax, 0x9e3779b9
inc esi
cmp edi, esi
jne 0x100460c6
pop esi
pop edi
pop ebx
pop ebp
ret
xor esi, esi
xor eax, eax
cmp esi, edi
jb 0x100460c6
jmp 0x100460da
Function at 0x10048930
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov ebx, dword [ebp + 8]
mov eax, dword [0x1009a00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp byte [0x1009b61c], 0
je 0x10048960
mov eax, dword [0x1009b618]
add eax, 0xfffffffb
cmp eax, 1
jbe 0x10048a5f
lea edi, [ebp - 0x28]
mov ecx, edi
call fcn.1000ce80
cmp byte [edi + 4], 0
jne 0x10048a3a
mov eax, dword [edi]
mov dword [ebp - 0x30], eax
mov ecx, edi
call fcn.1000cdd0
cmp byte [edi + 4], 0
jne 0x10048a45
mov esi, dword [ebp - 0x28]
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], 0
mov ecx, edi
push esi
call fcn.1000f240
mov ecx, edi
push 8
push str.Enabled
call fcn.1000d0f0
movzx eax, byte [ebp + 0xc]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x14], 8
mov eax, edi
jb 0x100489c7
mov eax, dword [ebp - 0x28]
mov ecx, 4
lea edx, [ebp - 0x2c]
push ecx
push edx
push ecx
push ebx
push eax
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, eax
mov ecx, edi
call fcn.1000f1e0
test ebx, ebx
jne 0x10048a50
cmp byte [0x1009b608], 0
mov ebx, dword [ebp + 8]
jne 0x10048a04
cmp byte [ebp + 0xc], 0
je 0x10048a04
lea ecx, [ebp - 0x28]
call fcn.1000cf10
mov al, byte [ebp + 0xc]
mov byte [0x1009b608], al
mov byte [ebx + 4], 0
test esi, esi
je 0x10048a1d
push esi
call sym.mozglue.dll__aligned_free
add esp, 4
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100468e0
mov eax, ebx
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x28]
mov byte [ebx + 4], 1
mov dword [ebx], eax
jmp 0x10048a26
mov eax, dword [ebp - 0x28]
mov byte [ebx + 4], 1
mov dword [ebx], eax
jmp 0x10048a1d
mov ebx, dword [ebp + 8]
mov byte [ebx + 4], 1
mov dword [ebx], 8
jmp 0x10048a10
mov byte [ebx + 4], 1
mov dword [ebx], 2
jmp 0x10048a26
Function at 0x1004d470
Capabilities:
Get system information on windows
Query environment variable
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp sym.mozglue.dll_malloc
Function at 0x10050b90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov esi, edx
mov edi, ecx
call fcn.1005b7c0
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 0x10050b9f
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 0x10050bcf
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 0x10050c0d
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 0x10053220
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov edi, edx
mov esi, ecx
mov ecx, edx
call fcn.1004f560
mov dword [esi], eax
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
mov eax, dword [edi + 0x18]
mov dword [esi + 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 0x10053248
mov dword [ebp - 0x10], edi
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x14], eax
mov edi, dword [esi + 0x14]
mov edx, edi
lock cmpxchg8b qword [esi + 0x10]
xor edx, edi
xor eax, dword [ebp - 0x14]
or eax, edx
jne 0x10053262
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x1c]
mov dword [esi + 0x1c], eax
mov eax, esi
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x10053290
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov eax, dword [0x1009b42c]
mov ecx, dword [0x1009a3c8]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jle 0x10053317
push 0x1009b42c
call fcn.10046148
add esp, 4
cmp dword [0x1009b42c], 0xffffffff
jne 0x10053317
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 0x10053323
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 0x1005332a
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 [0x1009b428], eax
push 0x1009b42c
call fcn.100460fe
add esp, 4
cmp dword [0x1009b428], esi
setge al
pop esi
pop ebp
ret
mov eax, 5
jmp 0x10053305
mov eax, 4
jmp 0x10053305
Function at 0x10056ae0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0x10
mov esi, ecx
mov dword [ecx + 4], edx
mulsd xmm0, qword [0x10088230]
addsd xmm0, qword [0x100882b8]
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
cmp ecx, 2
cmovge eax, ecx
mov dword [esi + 8], eax
mov ecx, 0x8000
and ecx, dword [ebp + 8]
mov edx, ecx
shr edx, 0xf
mov byte [esi + 0x10], dl
test ecx, ecx
jne 0x10056b54
cmp eax, 0x270f
ja 0x10056b54
movzx eax, ax
shr eax, 3
imul eax, eax, 0x20c5
shr eax, 0x14
push eax
call dword [sym.imp.WINMM.dll_timeBeginPeriod]
xor eax, eax
push eax
push eax
push esi
push 0x10056b90
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 0x10056b78
mov eax, esi
lea esp, [ebp - 4]
pop esi
pop ebp
ret
mov dword [sym.mozglue.dll_gMozCrashReason], str.MOZ_CRASH__beginthreadex_failed_
int3
Function at 0x1005e370
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], 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 0x1005e381
xor eax, eax
mov edi, dword [ebp + 8]
cmp edi, ebx
mov ebx, dword [ebp + 0xc]
mov edx, ebx
sbb edx, ecx
cmovb edi, eax
cmovb ebx, eax
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
mov esi, dword [ebp - 0x14]
mov ecx, esi
push ebx
push edi
push dword [eax + 8]
push dword [eax + 4]
call fcn.1005e460
add esp, 0x10
mov eax, esi
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10061ea0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x28
mov edi, dword [ebp + 8]
mov eax, dword [0x1009a00c]
xor eax, ebp
mov dword [esp + 0x20], eax
mov dword [edi], 0
mov ebx, dword [ecx + 0x3c]
test ebx, ebx
je 0x10061fb8
mov esi, ecx
mov ecx, dword [ecx + 0x4c]
mov dword [esi + 0x4c], 0
test ecx, ecx
jne 0x10061fcf
mov eax, dword [ebx]
mov ecx, dword [eax + 0x20]
mov dword [esp + 4], ecx
call dword [section..00cfg]
mov ecx, ebx
call dword [esp + 4]
xor eax, eax
mov dword [esi + 0x3c], eax
mov ecx, dword [esi + 0x40]
mov dword [esi + 0x40], eax
mov dword [edi], ecx
mov ebx, dword [esi + 0x44]
test ebx, ebx
mov dword [esp], esi
je 0x10061f41
lea edi, [esp + 8]
push 1
push edi
call sym.mozglue.dll_private:_static_class_mozilla::TimeStamp___cdecl_mozilla::TimeStamp::Now_bool_
mov esi, dword [esp + 8]
add esp, 8
movsd xmm0, qword [edi + 0x10]
movsd qword [ebx + 0x30], xmm0
movups xmm0, xmmword [edi]
movups xmmword [ebx + 0x20], xmm0
mov ebx, dword [esi + 0x44]
mov dword [esi + 0x44], 0
test ebx, ebx
jne 0x10061ff5
mov ebx, dword [esi + 0x48]
mov dword [esi + 0x48], 0
test ebx, ebx
jne 0x10061fdc
mov ebx, dword [esi + 0x60]
mov ecx, dword [esi + 0x64]
mov dword [esi + 0x54], ecx
mov dword [esi + 0x50], ebx
mov esi, dword [esp]
mov eax, dword [esi + 0x58]
mov dword [esp + 4], eax
mov edi, dword [esi + 0x5c]
mov edx, edi
lock cmpxchg8b qword [esi + 0x58]
xor edx, edi
xor eax, dword [esp + 4]
or eax, edx
jne 0x10061f62
xor eax, eax
mov ecx, dword [esp]
mov dword [ecx + 0x6c], eax
mov dword [ecx + 0x68], eax
xor ebx, ebx
mov esi, dword [esp]
mov eax, dword [ecx + 0x70]
mov dword [esp + 4], eax
mov edi, dword [ecx + 0x74]
mov edx, edi
xor ecx, ecx
lock cmpxchg8b qword [esi + 0x70]
mov ecx, dword [esp]
xor edx, edi
xor eax, dword [esp + 4]
or eax, edx
jne 0x10061f8d
xor eax, eax
mov dword [ecx + 0x7c], eax
mov dword [ecx + 0x78], eax
mov edi, dword [ebp + 8]
mov ecx, dword [esp + 0x20]
xor ecx, ebp
call fcn.100468e0
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8
call fcn.1005bfd0
mov ebx, dword [esi + 0x3c]
jmp 0x10061edf
mov ecx, ebx
call fcn.1005c060
push ebx
call sym.mozglue.dll__aligned_free
mov esi, dword [esp + 4]
add esp, 4
jmp 0x10061f53
mov ecx, ebx
call fcn.1005c060
push ebx
call sym.mozglue.dll__aligned_free
mov esi, dword [esp + 4]
add esp, 4
jmp 0x10061f41
Function at 0x10062200
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 0x10062214
mov edx, dword [ebp + 0xc]
mov esi, dword [edx + 0x40]
mov ecx, dword [edx + 0x44]
cmp esi, ebx
mov eax, ecx
sbb eax, edi
jb 0x10062211
add esi, dword [edx + 0x38]
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 0x10062211
mov eax, dword [eax + 0x3c]
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 0x10062269
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10067630
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [0x1009a00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov bl, 1
cmp dword [ecx + 0x38], 0
je 0x100676d2
mov esi, ecx
cmp byte [ecx + 0x3d], 0
je 0x100676d2
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 0x100676d0
mov ebx, dword [esi + 0x38]
lea eax, [esi + 0x40]
mov dword [ebp - 0x38], eax
mov eax, dword [ebx]
mov edi, dword [eax + 0x20]
mov ecx, edi
call dword [section..00cfg]
lea eax, [ebp - 0x34]
lea edx, [ebp - 0x30]
mov ecx, ebx
mov ebx, edx
push eax
lea eax, [ebp - 0x10]
push eax
push edx
push dword [ebp - 0x38]
call edi
cmp eax, 3
je 0x100676e6
cmp eax, 1
je 0x100676ac
test eax, eax
jne 0x100676d0
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x34]
sub edi, ebx
je 0x100676c7
push dword [esi + 0x4c]
push edi
push 1
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x100676d0
cmp byte [esi + 0x3d], 0
sete bl
jmp 0x100676d2
xor ebx, ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100468e0
mov eax, ebx
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
mov bl, 1
jmp 0x100676d2

Function at 0x10069500
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push eax
mov edi, ecx
call fcn.1005b7c0
mov ebx, dword [edi + 0x58]
mov esi, dword [edi + 0x5c]
mov eax, ebx
mov edx, esi
mov ecx, esi
lock cmpxchg8b qword [edi + 0x58]
xor edx, esi
xor eax, ebx
or eax, edx
jne 0x1006950e
mov ecx, dword [edi + 0x60]
mov eax, dword [edi + 0x64]
cmp byte [edi + 0x38], 0
je 0x1006954e
mov dword [edi + 0x30], 0
add edi, 0x18
push edi
mov dword [ebp - 0x10], eax
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov ecx, edi
mov eax, dword [ebp - 0x10]
xor ebx, ecx
xor esi, eax
or esi, ebx
sete al
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10069f30
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 [0x1009a00c]
xor eax, ebp
mov dword [esp + 0x30], eax
test ecx, ecx
jne 0x10069f71
push dword [esi]
push 0
call fcn.1005c0d0
add esp, 8
mov ecx, dword [esp + 0x30]
xor ecx, ebp
call fcn.100468e0
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
lea edi, [esp + 0x10]
push edi
call fcn.10069be0
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 0x10069f95
push ecx
jmp 0x10069f52
push ecx
push eax
call fcn.1005c0d0
add esp, 8
mov ecx, dword [esi]
mov ebx, 8
lea eax, [esp + 8]
push ebx
push eax
call fcn.1005c240
mov ecx, dword [esi]
mov eax, dword [esp + 0x18]
add eax, dword [esp + 0x10]
push eax
push edi
call fcn.100657c0
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.1005c240
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 0x10069fde
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov ecx, edi
push 8
lea eax, [esp + 4]
push eax
call fcn.1005c240
jmp 0x10069f5c
Function at 0x1006a800
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
xor eax, eax
cmp byte [ecx + 0x40], 0
je 0x1006a813
pop esi
pop edi
pop ebx
pop ebp
ret
xor edx, edx
cmp dword [ecx + 0x10], 0
je 0x1006a84b
cmp dword [ecx + 0x14], 0x10
mov eax, ecx
jb 0x1006a825
mov eax, dword [ecx]
mov bl, byte [eax]
test bl, bl
je 0x1006a84b
inc eax
xor edx, edx
movzx edi, bl
rol edx, 5
mov esi, edx
xor esi, edi
imul edx, esi, 0x9e3779b9
mov bl, byte [eax]
inc eax
test bl, bl
jne 0x1006a82e
imul edx, esi, 0xe35e67b1
movzx eax, byte [ecx + 0x18]
rol edx, 5
xor edx, eax
imul eax, edx, 0x9e3779b9
rol eax, 5
xor eax, dword [ecx + 0x20]
imul eax, eax, 0x9e3779b9
rol eax, 5
imul eax, eax, 0x9e3779b9
cmp byte [ecx + 0x2c], 0
je 0x1006a881
rol eax, 5
xor eax, dword [ecx + 0x28]
imul eax, eax, 0x9e3779b9
cmp byte [ecx + 0x34], 0
je 0x1006a893
rol eax, 5
xor eax, dword [ecx + 0x30]
imul eax, eax, 0x9e3779b9
cmp byte [ecx + 0x3c], 0
je 0x1006a80e
rol eax, 5
xor eax, dword [ecx + 0x38]
imul eax, eax, 0x9e3779b9
jmp 0x1006a80e