joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18004f5e0
Capabilities:
Set registry value

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov ebx, edx
mov r14, rcx
mov rax, qword [0x1800a6010]
xor rax, rsp
mov qword [rsp + 0x60], rax
cmp byte [0x1800a82d4], 0
je 0x18004f61b
mov eax, dword [0x1800a82d0]
add eax, 0xfffffffb
cmp eax, 1
jbe 0x18004f750
lea rsi, [rsp + 0x40]
mov rcx, rsi
call fcn.18001b8f0
cmp byte [rsi + 8], 0
jne 0x18004f729
lea rdi, [rsp + 0x40]
mov r15, qword [rdi]
mov rcx, rdi
call fcn.18001b840
cmp byte [rdi + 8], 0
jne 0x18004f737
mov rsi, qword [rsp + 0x40]
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], 0
mov rcx, rdi
mov rdx, rsi
call fcn.18001b9a0
lea rdx, str.Enabled
mov r8d, 8
mov rcx, rdi
call fcn.18001bd10
movzx eax, bl
mov dword [rsp + 0x3c], eax
cmp qword [rsp + 0x58], 8
mov rdx, rdi
jb 0x18004f6a1
mov rdx, qword [rsp + 0x40]
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], 4
mov rcx, r15
xor r8d, r8d
mov r9d, 4
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebp, eax
mov rcx, rdi
call fcn.18001b7d0
test ebp, ebp
jne 0x18004f745
cmp byte [0x1800a82b8], 0
jne 0x18004f6ea
test bl, bl
je 0x18004f6ea
lea rcx, [rsp + 0x40]
call fcn.18001bb10
mov byte [0x1800a82b8], bl
mov al, 1
mov byte [r14 + 5], al
test rsi, rsi
je 0x18004f703
mov rcx, rsi
call sym.mozglue.dll__aligned_free
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.18004bde0
mov rax, r14
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
mov eax, dword [rsp + 0x40]
mov dword [r14], eax
mov byte [r14 + 5], 0
jmp 0x18004f70c
mov eax, dword [rsp + 0x40]
mov dword [r14], eax
mov byte [r14 + 5], 0
jmp 0x18004f703
mov dword [r14], 8
xor eax, eax
jmp 0x18004f6f2
mov dword [r14], 2
jmp 0x18004f730

Function at 0x180051ca0
Capabilities:
Encode data using base64

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
call fcn.18004c9d0
test al, al
je 0x180051d2c
test rdi, rdi
mov r8d, 1
cmovne r8, rdi
cmp rsi, 9
mov edx, 8
cmovae rdx, rsi
cmp r8, 0x1f1
jb 0x180051cea
mov rcx, qword [0x1800a66c8]
add rsp, 0x28
pop rdi
pop rsi
jmp fcn.180007d50
mov eax, dword [0x1800a64f4]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov rcx, qword [rax + 8]
test rcx, rcx
jne 0x180051cdf
mov rcx, qword [0x1800a66c8]
mov eax, dword [0x1800a64f4]
mov rdi, qword gs:[0x58]
mov rax, qword [rdi + rax*8]
mov qword [rax + 8], rcx
jmp 0x180051cdf
xor eax, eax
add rsp, 0x28
pop rdi
pop rsi
ret
Function at 0x180052080
Capabilities:
Encode data using base64

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rbx, r8
mov r14, rdx
mov eax, dword [0x1800a6698]
test eax, eax
je 0x1800520fe
mov rdi, rcx
lea rcx, [0x1800a66a0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rsi, qword [0x1800a66e0]
test rsi, rsi
je 0x1800520e5
mov eax, 0xffffffff
xor ecx, ecx
cmp qword [rsi + 0x10], rdi
setb cl
cmova ecx, eax
cmp ecx, 0xffffffff
je 0x1800520dd
test ecx, ecx
je 0x180052199
mov rsi, qword [rsi + 8]
and rsi, 0xfffffffffffffffe
jmp 0x1800520e0
mov rsi, qword [rsi]
test rsi, rsi
jne 0x1800520ba
lea rax, str.MOZ_RELEASE_ASSERT_result_
mov qword [sym.mozglue.dll_gMozCrashReason], rax
int3
xor esi, esi
call fcn.18004c9d0
test al, al
je 0x180052139
test rbx, rbx
mov r8d, 1
cmovne r8, rbx
cmp r14, 9
mov edx, 8
cmovae rdx, r14
test rsi, rsi
je 0x180052145
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
jmp fcn.180007d50
xor eax, eax
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
cmp r8, 0x1f1
jb 0x180052157
mov rsi, qword [0x1800a66c8]
jmp 0x180052128
mov eax, dword [0x1800a64f4]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov rsi, qword [rax + 8]
test rsi, rsi
jne 0x180052128
mov rsi, qword [0x1800a66c8]
mov eax, dword [0x1800a64f4]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov qword [rax + 8], rsi
jmp 0x180052128
lea rcx, [0x1800a66a0]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x180052100

Function at 0x180052900
Capabilities:
Encode data using base64
Get system information on windows
Query environment variable

Disassembly:
test dl, 8
jne 0x18005290d
mov rcx, r8
jmp sym.mozglue.dll_malloc
mov ecx, 1
mov rdx, r8
jmp sym.mozglue.dll_calloc

Function at 0x180052920
Capabilities:
Get system information on windows
Query environment variable

Disassembly:
test dl, 0x18
je 0x180052928
xor eax, eax
ret
mov rcx, r8
mov rdx, r9
jmp sym.mozglue.dll_realloc
Function at 0x180058df0
Capabilities:
Query environment variable

Disassembly:
push rsi
sub rsp, 0x20
mov esi, ecx
mov eax, dword [0x1800a7ee4]
mov ecx, dword [0x1800a64f4]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jle 0x180058e7b
lea rcx, [0x1800a7ee4]
call fcn.18004a800
cmp dword [0x1800a7ee4], 0xffffffff
jne 0x180058e7b
lea rcx, str.MOZ_BASE_PROFILER_VERBOSE_LOGGING
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
jne 0x180058e8a
lea rcx, str.MOZ_BASE_PROFILER_DEBUG_LOGGING
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
jne 0x180058e91
lea rcx, str.MOZ_BASE_PROFILER_LOGGING
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
xor ecx, ecx
test rax, rax
setne cl
lea eax, [rcx + rcx*2]
mov dword [0x1800a7ee0], eax
lea rcx, [0x1800a7ee4]
call fcn.18004a7a0
cmp dword [0x1800a7ee0], esi
setge al
add rsp, 0x20
pop rsi
ret
mov eax, 5
jmp 0x180058e69
mov eax, 4
jmp 0x180058e69
Function at 0x18005ca10
Capabilities:
Create thread

Disassembly:
push rsi
push rdi
sub rsp, 0x38
mov edi, r9d
movapd xmm0, xmm2
mov rsi, rcx
mov dword [rcx + 4], edx
mulsd xmm0, qword [0x180093290]
addsd xmm0, qword [0x180093298]
call sub.api_ms_win_crt_math_l1_1_0.dll_floor
cvttsd2si ecx, xmm0
cmp ecx, 2
mov eax, 1
cmovge eax, ecx
mov dword [rsi + 8], eax
and edi, 0x10000
mov ecx, edi
shr ecx, 0x10
mov byte [rsi + 0x18], cl
test edi, edi
jne 0x18005ca78
cmp eax, 0x270f
ja 0x18005ca78
movzx eax, ax
shr eax, 3
imul ecx, eax, 0x20c5
shr ecx, 0x14
call qword [sym.imp.WINMM.dll_timeBeginPeriod]
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r8, [0x18005cad0]
xor ecx, ecx
xor edx, edx
mov r9, rsi
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsi + 0x10], rax
test rax, rax
je 0x18005cab0
mov rax, rsi
add rsp, 0x38
pop rdi
pop rsi
ret
lea rax, [0x1800987f8]
mov qword [sym.mozglue.dll_gMozCrashReason], rax
int3
Function at 0x18006e9d0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rax, qword [0x1800a6010]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov dil, 1
cmp qword [rcx + 0x68], 0
je 0x18006ea8c
mov rsi, rcx
cmp byte [rcx + 0x71], 0
je 0x18006ea8c
mov rax, qword [rsi]
mov rax, qword [rax + 0x18]
mov rcx, rsi
mov edx, 0xffffffff
call qword [case.0x18004aa4e.0]
cmp eax, 0xffffffff
je 0x18006ea8a
mov rcx, qword [rsi + 0x68]
lea r9, [rsp + 0x50]
lea rdx, [rsi + 0x74]
mov rax, qword [rcx]
mov rax, qword [rax + 0x40]
lea rbx, [rsp + 0x28]
mov qword [rsp + 0x20], rbx
lea rdi, [rsp + 0x30]
mov r8, rdi
call qword [case.0x18004aa4e.0]
cmp eax, 3
je 0x18006eaa3
cmp eax, 1
je 0x18006ea59
test eax, eax
jne 0x18006ea8a
mov byte [rsi + 0x71], 0
mov rbx, qword [rsp + 0x28]
sub rbx, rdi
je 0x18006ea80
mov r9, qword [rsi + 0x80]
mov edx, 1
mov rcx, rdi
mov r8, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rbx, rax
jne 0x18006ea8a
cmp byte [rsi + 0x71], 0
sete dil
jmp 0x18006ea8c
xor edi, edi
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.18004bde0
mov eax, edi
add rsp, 0x60
pop rbx
pop rdi
pop rsi
ret
mov dil, 1
jmp 0x18006ea8c

Function at 0x180072330
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
cmp byte [rcx + 0x48], 0
je 0x180072339
ret
cmp qword [rcx + 0x10], 0
je 0x1800723e7
cmp qword [rcx + 0x18], 0x10
mov rax, rcx
jb 0x180072351
mov rax, qword [rcx]
xor edx, edx
mov r8d, edx
movzx r9d, byte [rax]
rol edx, 5
xor edx, r9d
imul edx, edx, 0x9e3779b9
inc rax
test r9d, r9d
jne 0x180072353
imul eax, r8d, 0x9e3779b9
movzx edx, byte [rcx + 0x20]
rol eax, 5
xor eax, edx
imul eax, eax, 0x9e3779b9
mov rdx, qword [rcx + 0x28]
rol eax, 5
xor eax, edx
imul eax, eax, 0x9e3779b9
rol eax, 5
shr rdx, 0x20
xor eax, edx
imul eax, eax, 0x9e3779b9
mov edx, eax
rol edx, 5
xor edx, dword [rcx + 0x30]
imul edx, edx, 0x9e3779b9
cmp byte [rcx + 0x34], 0
cmove edx, eax
mov eax, edx
rol eax, 5
xor eax, dword [rcx + 0x38]
imul eax, eax, 0x9e3779b9
cmp byte [rcx + 0x3c], 0
cmove eax, edx
cmp byte [rcx + 0x44], 0
je 0x180072338
rol eax, 5
xor eax, dword [rcx + 0x40]
imul eax, eax, 0x9e3779b9
jmp 0x180072338
xor eax, eax
jmp 0x180072375
Function at 0x180073470
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rdx
mov rdi, rcx
mov rax, qword [rdx]
test rax, rax
je 0x1800734fe
mov qword [rsi], 0
mov rbx, qword [rdi + 8]
mov qword [rdi + 8], rax
test rbx, rbx
jne 0x180073534
mov rbx, qword [rdi + 0x10]
mov qword [rdi + 0x10], 0
test rbx, rbx
jne 0x180073549
mov rax, qword [rdi + 8]
test rax, rax
je 0x180073519
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], 0
mov cx, 1
mov word [rax + 0x18], cx
movups xmmword [rax + 0x20], xmm0
mov word [rax + 0x30], cx
movups xmmword [rax + 0x3c], xmm0
mov rax, qword [rdi + 8]
mov eax, dword [rax + 0x38]
mov dword [rdi + 0x18], eax
mov rdi, qword [rsi]
mov qword [rsi], 0
test rdi, rdi
jne 0x18007351d
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
mov rax, qword [rdi + 8]
test rax, rax
jne 0x1800734bb
mov rax, qword [rdi + 0x10]
mov qword [rdi + 0x10], 0
mov qword [rdi + 8], rax
jmp 0x1800734b6
xor eax, eax
jmp 0x1800734e4
mov rcx, rdi
call fcn.180062a80
mov rcx, rdi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp sym.mozglue.dll__aligned_free
mov rcx, rbx
call fcn.180062a80
mov rcx, rbx
call sym.mozglue.dll__aligned_free
jmp 0x18007349d
mov rcx, rbx
call fcn.180062a80
mov rcx, rbx
call sym.mozglue.dll__aligned_free
jmp 0x1800734b2

Function at 0x180073ba0
Capabilities:
Get system information on windows

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x58
mov rsi, rcx
mov rax, qword [0x1800a6010]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov eax, dword [0x1800a80a4]
mov ecx, dword [0x1800a64f4]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x180073c44
mov rbx, qword [rsi + 0x10]
test rbx, rbx
je 0x180073c20
mov rdi, qword [rsi + 8]
shl rbx, 4
add rbx, rdi
mov r15d, dword [0x1800a80a0]
lea r14, [rsp + 0x20]
mov r12, qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov r8d, dword [rdi]
mov rcx, qword [rdi + 8]
mov rdx, r15
mov r9, r14
call r12
add rdi, 0x10
cmp rdi, rbx
jne 0x180073c07
mov qword [rsi + 0x10], 0
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.18004bde0
nop
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea rcx, [0x1800a80a4]
call fcn.18004a800
cmp dword [0x1800a80a4], 0xffffffff
jne 0x180073be0
lea rdi, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rdi + 4]
mov dword [0x1800a80a0], eax
lea rcx, [0x1800a80a4]
call fcn.18004a7a0
jmp 0x180073be0
Function at 0x180078c10
Capabilities:
Query or enumerate registry value

Disassembly:
push rsi
push rdi
sub rsp, 0x58
mov rax, qword [0x1800a6010]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x44], 4
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionThemesPersonalize
xor esi, esi
mov rcx, 0xffffffff80000001
xor r8d, r8d
mov r9d, 0x20019
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x180078ca3
mov rdi, qword [rsp + 0x48]
lea rax, [rsp + 0x44]
mov qword [rsp + 0x30], rax
lea rsi, [rsp + 0x40]
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], 0
lea r8, str.AppsUseLightTheme
mov rcx, rdi
xor edx, edx
mov r9d, 0x10
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
or eax, dword [rsi]
sete sil
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.18004bde0
mov eax, esi
add rsp, 0x58
pop rdi
pop rsi
ret
Function at 0x180079670
Capabilities:
Set registry value

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rsi, r9
mov r12, r8
mov r14, rdx
mov r15, rcx
mov r13d, dword [rsp + 0x90]
lea eax, [r13 + r13]
cdqe
mov ecx, 8
mul rcx
mov rbx, 0xffffffffffffffff
cmovno rbx, rax
mov rcx, rbx
call sym.mozglue.dll_moz_xmalloc
mov rdi, rax
mov rcx, rax
xor edx, edx
mov r8, rbx
call sub.VCRUNTIME140.dll_memset
test r13d, r13d
jle 0x1800796f2
mov eax, r13d
shl rax, 4
xor ecx, ecx
movsd xmm0, qword [rsi + rcx]
movsd qword [rdi + rcx], xmm0
movsd xmm0, qword [rsi + rcx + 8]
movsd qword [rdi + rcx + 8], xmm0
add rcx, 0x10
cmp rax, rcx
jne 0x1800796d3
shl r13d, 4
cmp qword [r12 + 0x18], 8
jb 0x180079702
mov r12, qword [r12]
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], rdi
mov rcx, r14
mov rdx, r12
xor r8d, r8d
mov r9d, 3
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x18007974d
mov dword [r15], 8
xor eax, eax
mov byte [r15 + 5], al
mov rcx, rdi
call sym.mozglue.dll__aligned_free
mov rax, r15
add rsp, 0x30
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov al, 1
jmp 0x18007972e

Function at 0x180079760
Capabilities:
Set environment variable

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rcx
cmp byte [0x1800a82b8], 0
je 0x18007979e
lea rcx, str.MOZ_SKELETON_UI_RESTARTING
lea rdx, [0x18009b2a6]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov rcx, qword [0x1800a6240]
mov dil, 1
cmp rcx, 0xffffffffffffffff
je 0x1800797a6
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1800797a6
mov dword [rsi], 2
xor edi, edi
mov byte [rsi + 5], dil
mov rax, rsi
add rsp, 0x28
pop rdi
pop rsi
ret

Function at 0x1800797c0
Capabilities:
Query or enumerate registry value

Disassembly:
push rsi
sub rsp, 0x50
mov rsi, rcx
mov rax, qword [0x1800a6010]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x44], 0
mov dword [rsp + 0x40], 4
cmp qword [r8 + 0x18], 8
jb 0x1800797f1
mov r8, qword [r8]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x44]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
mov rcx, rdx
xor edx, edx
mov r9d, 0x10
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov ecx, 8
test eax, eax
jne 0x18007982c
mov ecx, dword [rsp + 0x44]
setne byte [rsi + 4]
mov dword [rsi], ecx
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.18004bde0
mov rax, rsi
add rsp, 0x50
pop rsi
ret
Function at 0x180079850
Capabilities:
Query or enumerate registry value

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x88
movaps xmmword [rsp + 0x70], xmm7
movaps xmmword [rsp + 0x60], xmm6
mov rbx, r8
mov rdi, rdx
mov r15, rcx
mov rax, qword [0x1800a6010]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x54], 0
cmp qword [r8 + 0x18], 8
mov rdx, r8
jb 0x180079897
mov rdx, qword [rbx]
lea r12, [rsp + 0x54]
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], 0
mov rcx, rdi
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x1800798f4
mov byte [r15 + 0x18], 1
mov dword [r15], 8
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.18004bde0
mov rax, r15
movaps xmm6, xmmword [rsp + 0x60]
movaps xmm7, xmmword [rsp + 0x70]
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov esi, dword [rsp + 0x54]
test sil, 0xf
je 0x18007990c
mov byte [r15 + 0x18], 1
mov dword [r15], 0xe
jmp 0x1800798c9
add rsi, rsi
mov rcx, rsi
call sym.mozglue.dll_malloc
test rax, rax
je 0x18007997a
mov r14, rax
mov rcx, rax
xor edx, edx
mov r8, rsi
call sub.VCRUNTIME140.dll_memset
cmp qword [rbx + 0x18], 8
jb 0x180079936
mov rbx, qword [rbx]
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], 0
mov rcx, rdi
xor edx, edx
mov r8, rbx
mov r9d, 8
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
je 0x18007998b
mov byte [r15 + 0x18], 1
mov dword [r15], 8
mov rcx, r14
call sym.mozglue.dll__aligned_free
jmp 0x1800798c9
mov byte [r15 + 0x18], 1
mov dword [r15], 4
jmp 0x1800798c9
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x38], 0x10
mov ecx, dword [rsp + 0x54]
cmp ecx, 0x10
jae 0x1800799b8
movups xmmword [r15 + 8], xmm0
mov byte [r15 + 0x18], 0
mov qword [r15], 0x10
jmp 0x18007996d
mov eax, 0x10
xor edx, edx
lea r12, [rsp + 0x38]
xor esi, esi
mov rbx, r14
movsd xmm6, qword [rbx]
movsd xmm7, qword [rbx + 8]
cmp rdx, qword [rsp + 0x48]
je 0x180079a08
shl rdx, 4
movsd qword [rax + rdx], xmm6
movsd qword [rax + rdx + 8], xmm7
mov rdx, qword [rsp + 0x40]
inc rdx
mov qword [rsp + 0x40], rdx
inc rsi
mov edi, ecx
shr edi, 4
add rbx, 0x10
cmp rsi, rdi
jb 0x1800799c9
jmp 0x180079a24
mov rcx, r12
call fcn.18007a190
test al, al
je 0x180079a48
mov rax, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x40]
mov ecx, dword [rsp + 0x54]
jmp 0x1800799d9
mov rcx, qword [rsp + 0x48]
mov byte [r15 + 0x18], 0
mov qword [r15 + 8], rdx
mov qword [r15 + 0x10], rcx
cmp rax, 0x10
je 0x1800799af
mov qword [r15], rax
jmp 0x18007996d
mov byte [r15 + 0x18], 1
mov dword [r15], 4
mov rcx, qword [rsp + 0x38]
cmp rcx, 0x10
je 0x18007996d
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x18007996d
Function at 0x18007a060
Capabilities:
Print debug messages

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x858
mov r14, rcx
mov qword [rsp + 0x888], rdx
mov qword [rsp + 0x890], r8
mov qword [rsp + 0x898], r9
mov rax, qword [0x1800a6010]
xor rax, rsp
mov qword [rsp + 0x850], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x18007a104
lea rdi, [rsp + 0x888]
mov qword [rsp + 0x28], rdi
lea rbx, [rsp + 0x30]
mov rcx, rbx
call sym.mozglue.dll_protected:_void___cdecl_mozilla::PrintfTarget::constructor_void____ptr64
lea rax, [0x180093b78]
mov qword [rbx], rax
lea rsi, [rsp + 0x50]
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], 0x800
mov rcx, rbx
mov rdx, r14
mov r8, rdi
call sym.mozglue.dll_public:_bool___cdecl_mozilla::PrintfTarget::vprint_char_const____ptr64__char____ptr64____ptr64
mov rax, qword [rbx + 8]
mov ecx, 0x7ff
cmp rax, rcx
cmovb rcx, rax
mov byte [rsp + rcx + 0x50], 0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__fileno]
cmp eax, 0xfffffffe
je 0x18007a16e
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__dup]
lea rdx, [0x180097479]
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll__fdopen]
test rax, rax
je 0x18007a16e
mov rdi, rax
lea rsi, [rsp + 0x888]
mov qword [rsp + 0x50], rsi
call fcn.180005d70
mov rcx, qword [rax]
mov qword [rsp + 0x20], rsi
mov rdx, rdi
mov r8, r14
xor r9d, r9d
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___stdio_common_vfprintf]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rcx, qword [rsp + 0x850]
xor rcx, rsp
call fcn.18004bde0
nop
add rsp, 0x858
pop rbx
pop rdi
pop rsi
pop r14
ret

Function at 0x18007b760
Capabilities:
Query environment variable

Disassembly:
sub rsp, 0x28
mov eax, dword [0x1800a8564]
mov ecx, dword [0x1800a64f4]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x18007b790
mov al, byte [0x1800a8562]
add rsp, 0x28
ret
lea rcx, [0x1800a8564]
call fcn.18004a800
cmp dword [0x1800a8564], 0xffffffff
jne 0x18007b785
lea rcx, str.MOZ_DISABLE_WALKTHESTACK
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
je 0x18007b7d1
cmp byte [rax], 0
sete al
mov byte [0x1800a8562], al
lea rcx, [0x1800a8564]
call fcn.18004a7a0
jmp 0x18007b785
mov al, 1
jmp 0x18007b7bd
Function at 0x18007ee00
Capabilities:
Get number of processors

Disassembly:
test rcx, rcx
je 0x18007ee1c
lea rax, [0x1800a6280]
mov qword [rcx + 8], rax
lea rcx, [0x1800a6260]
jmp 0x18007f830
ret
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rcx
lea rbx, [rcx + 8]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
mov rsi, qword [rdi + 0x10]
mov qword [rdi + 0x10], 0
mov byte [rdi + 0x18], 0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
test rsi, rsi
je 0x18007f929
mov rdi, qword [rsi]
mov rax, qword [rsi + 8]
test rax, rax
jle 0x18007f8f9
lea rbx, [rax + rax*2]
shl rbx, 5
add rbx, rdi
add rdi, 0x28
mov r8, qword [rdi + 0x18]
cmp r8, 8
je 0x18007f8aa
mov rax, qword gs:[0x30]
mov rax, qword [rax + 0x60]
mov rcx, qword [rax + 0x30]
xor edx, edx
call sub.ntdll.dll_RtlFreeHeap
cmp qword [rdi + 8], 0
je 0x18007f8c7
mov rcx, rdi
call sub.ntdll.dll_RtlFreeUnicodeString
mov dword [rdi], 0
mov qword [rdi + 8], 0
cmp qword [rdi - 8], 0
je 0x18007f8e6
lea rcx, [rdi - 0x10]
call sub.ntdll.dll_RtlFreeUnicodeString
mov dword [rdi - 0x10], 0
mov qword [rdi - 8], 0
lea rax, [rdi + 0x60]
add rdi, 0x38
cmp rdi, rbx
mov rdi, rax
jb 0x18007f888
mov rdi, qword [rsi]
cmp rdi, 0x60
je 0x18007f91a
mov rax, qword gs:[0x30]
mov rax, qword [rax + 0x60]
mov rcx, qword [rax + 0x30]
xor edx, edx
mov r8, rdi
call sub.ntdll.dll_RtlFreeHeap
mov rcx, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp sym.mozglue.dll__aligned_free
nop
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
Function at 0x18007ef90
Capabilities:
Get system information on windows
Read file via mapping

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x78
mov rax, qword [0x1800a6010]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor edi, edi
mov edx, 0x80000000
mov r8d, 1
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
cmp rax, 0xffffffffffffffff
je 0x18007f0bc
mov rsi, rax
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor edi, edi
mov rcx, rax
xor edx, edx
mov r8d, 2
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
test rax, rax
je 0x18007f0b3
mov rbx, rax
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov qword [rsp + 0x20], 0x40
xor edi, edi
mov rcx, rbx
mov edx, 4
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
test rax, rax
je 0x18007f0d8
mov r14, rax
mov ebp, dword [rax + 0x3c]
lea r15, [rsp + 0x40]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, ebp
xor edx, edx
div dword [r15 + 0x28]
mov r15d, edx
sub ebp, edx
lea rax, [r15 + 0x108]
mov qword [rsp + 0x20], rax
mov rcx, rbx
mov edx, 4
xor r8d, r8d
mov r9d, ebp
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
test rax, rax
je 0x18007f0a1
mov edi, dword [rax + r15 + 8]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.18004bde0
mov eax, edi
add rsp, 0x78
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor edi, edi
jmp 0x18007f0b3