joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400079f0
Capabilities:
Execute shellcode via indirect call
Get system information on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x58
mov rbx, r9
mov r14, r8
mov rsi, rcx
mov rax, qword [0x140061030]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov qword [rcx], rdx
mov qword [rcx + 0x10], 0
mov qword [rcx + 0x18], 2
lea rax, [rcx + 0x20]
mov qword [rcx + 8], rax
mov eax, dword [0x140063af4]
mov ecx, dword [0x1400614b8]
mov rdx, qword gs:[0x58]
mov edx, dword [0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140007b05
lea rcx, [0x140063af4]
call fcn.14002a4ec

Function at 0x14000a510
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x148
mov rsi, rcx
mov rax, qword [0x140061030]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov qword [rsp + 0x20], rcx
cmp rcx, 0x10001
jae 0x14000a5ad
mov r14d, 0x10000
sub r14, rsi
lea rbx, [rsp + 0x28]
mov rcx, rbx
mov edx, 4
call sub.ADVAPI32.dll_SystemFunction036
movzx edi, word [rsp + 0x28]
mov dword [rsp + 0x28], edi
cmp r14, rdi
jb 0x14000a54d
mov ecx, 0x800
mov r8d, 0x1000
mov edx, 0x800
mov rax, r8
shr rdx, 1
mov r8, rcx
cmp rcx, rsi
mov rcx, rdx
jae 0x14000a578
neg eax
and edi, eax
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.14002b660
mov rax, rdi
add rsp, 0x148
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rdx, [0x1400540b8]
lea r8, str.size___kAllocGranularity
lea rcx, [rsp + 0x20]
call fcn.14003a5f0
lea rdx, str._builds_worker_checkouts_gecko_security_sandbox_chromium_sandbox_win_src_interception.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r8d, 0x2b
mov r9, rax
call fcn.140039320
mov rcx, rdi
call fcn.1400393c0
jmp 0x14000a53f
Function at 0x14000e560
Capabilities:
Encode data using base64

Disassembly:
push rsi
sub rsp, 0x20
cmp byte [rcx + 0x6c], 0
je 0x14000e5a1
mov rax, rdx
mov rsi, rcx
mov rdx, qword [rcx + 8]
cmp rdx, qword [rcx + 0x10]
jne 0x14000e58b
mov rcx, rsi
mov r8, rax
add rsp, 0x20
pop rsi
jmp fcn.14000eb30
mov r8d, 0x44
mov rcx, rdx
mov rdx, rax
call sub.ntdll.dll_memcpy
add qword [rsi + 8], 0x44
add rsp, 0x20
pop rsi
ret

Function at 0x14000e990
Capabilities:
Compare security identifiers

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x98
movaps xmmword [rsp + 0x80], xmm6
mov rax, qword [0x140061030]
xor rax, rsp
mov qword [rsp + 0x78], rax
cmp byte [rcx + 0x6c], 0
je 0x14000eb1b
mov rsi, rdx
mov rdi, rcx
mov rdx, qword [rcx + 0x60]
lea rbx, [rsp + 0x20]
lea r9, [rsp + 0x2c]
mov rcx, rbx
mov r8d, 2
call fcn.14000ed50
mov rbx, qword [rbx]
test rbx, rbx
je 0x14000eb22
cmp dword [rbx], 0
je 0x14000eae6
lea r14, [rdi + 0x30]
xor r12d, r12d
xorps xmm6, xmm6
lea r15, [rsp + 0x30]
mov rax, r12
shl rax, 4
test dword [rbx + rax + 0x10], 0xc0000020
jne 0x14000ea74
lea r13, [rbx + rax]
add r13, 8
test rsi, rsi
je 0x14000ea31
mov rax, qword [rsi]
cmp qword [rsi + 8], rax
jne 0x14000ea80
mov r8, qword [r13]
movaps xmmword [rsp + 0x60], xmm6
movaps xmmword [rsp + 0x50], xmm6
movaps xmmword [rsp + 0x40], xmm6
movaps xmmword [rsp + 0x30], xmm6
mov dword [rsp + 0x70], 0
mov ecx, 0x44
mov rdx, r15
call qword [sym.imp.ADVAPI32.dll_CopySid]
mov rdx, qword [rdi + 0x38]
cmp rdx, qword [rdi + 0x40]
jne 0x14000eace
mov rcx, r14
mov r8, r15
call fcn.14000eb30
inc r12
mov eax, dword [rbx]
cmp r12, rax
jb 0x14000ea0a
jmp 0x14000eae6
mov ebp, 1
xor ecx, ecx
mov rdx, qword [r13]
mov r8, rcx
shl r8, 6
lea rcx, [r8 + rcx*4]
add rcx, rax
call qword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x14000ea74
mov ecx, ebp
mov rax, qword [rsi]
mov rdx, qword [rsi + 8]
sub rdx, rax
sar rdx, 2
movabs r8, 0xf0f0f0f0f0f0f0f1
imul rdx, r8
inc ebp
cmp rdx, rcx
jbe 0x14000ea31
jmp 0x14000ea87
mov r8d, 0x44
mov rcx, rdx
mov rdx, r15
call sub.ntdll.dll_memcpy
add qword [rdi + 0x38], 0x44
jmp 0x14000ea74
mov rcx, rbx
call sub.mozglue.dll_void___cdecl_operator_delete___void____ptr64_
xor esi, esi
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14002b660
mov eax, esi
movaps xmm6, xmmword [rsp + 0x80]
add rsp, 0x98
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov esi, 0x3f0
jmp 0x14000eaf0
mov esi, dword [rsp + 0x2c]
jmp 0x14000eaf0
Function at 0x14000eb30
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov rcx, qword [rcx]
mov r13, qword [rsi + 8]
sub r13, rcx
sar r13, 2
movabs r9, 0xf0f0f0f0f0f0f0f1
mov rax, rdx
sub rax, rcx
movabs rdx, 0x7878787878787879
imul rdx
mov r15, rdx
imul r13, r9
inc r13
mov rdx, qword [rsi + 0x10]
sub rdx, rcx
sar rdx, 2
imul rdx, r9
mov rax, rdx
shr rax, 1
movabs rcx, 0x3c3c3c3c3c3c3c3
mov r9, rcx
sub r9, rax
add rax, rdx
cmp rax, r13
cmovbe rax, r13
cmp rdx, r9
cmova rax, rcx
cmp rax, rcx
ja 0x14000ec98
mov r12, r8
mov rcx, r15
shr rcx, 0x3f
sar r15, 5
add r15, rcx
mov rcx, rax
shl rcx, 6
lea rbx, [rcx + rax*4]
cmp rax, 0x3d
jae 0x14000ec9d
test rax, rax
je 0x14000ecb7
mov rcx, rbx
call sub.mozglue.dll_void____ptr64___cdecl_operator_new_unsigned_long_long_unsigned___int64__
mov r14, rax
mov rax, r15
shl rax, 6
lea rbp, [rax + r15*4]
lea rcx, [r14 + rbp]
mov r8d, 0x44
mov rdx, r12
call sub.ntdll.dll_memcpy
mov r15, qword [rsi]
mov r12, qword [rsi + 8]
cmp r12, rdi
jne 0x14000ecbf
cmp r15, rdi
je 0x14000ec4a
mov r12, r14
mov r8d, 0x44
mov rcx, r12
mov rdx, r15
call sub.ntdll.dll_memcpy
add r12, 0x44
add r15, 0x44
cmp r15, rdi
jne 0x14000ec29
mov rdi, qword [rsi]
test rdi, rdi
je 0x14000ec6b
mov rdx, qword [rsi + 0x10]
sub rdx, rdi
cmp rdx, 0x1000
jae 0x14000ed1d
mov rcx, rdi
call sub.mozglue.dll_void___cdecl_operator_delete_void____ptr64__unsigned_long_long_unsigned___int64__
mov qword [rsi], r14
mov rax, r13
shl rax, 6
lea rax, [rax + r13*4]
add rax, r14
mov qword [rsi + 8], rax
add rbx, r14
mov qword [rsi + 0x10], rbx
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call fcn.1400331d0
lea rcx, [rbx + 0x27]
call sub.mozglue.dll_void____ptr64___cdecl_operator_new_unsigned_long_long_unsigned___int64__
lea r14, [rax + 0x27]
and r14, 0xffffffffffffffe0
mov qword [r14 - 8], rax
jmp 0x14000ebf4
xor r14d, r14d
jmp 0x14000ebf4
cmp r15, rdi
je 0x14000ece9
mov r12, r14
mov r8d, 0x44
mov rcx, r12
mov rdx, r15
call sub.ntdll.dll_memcpy
add r12, 0x44
add r15, 0x44
cmp r15, rdi
jne 0x14000ecc7
mov r12, qword [rsi + 8]
cmp r12, rdi
je 0x14000ec47
lea r15, [r14 + rbp]
add r15, 0x44
mov r8d, 0x44
mov rcx, r15
mov rdx, rdi
call sub.ntdll.dll_memcpy
add rdi, 0x44
add r15, 0x44
cmp rdi, r12
jne 0x14000ecfa
jmp 0x14000ec47
mov rax, qword [rdi - 8]
add rdi, 0xfffffffffffffff8
sub rdi, rax
cmp rdi, 0x20
jae 0x14000ed3a
add rdx, 0x27
mov rdi, rax
jmp 0x14000ec63
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3

Function at 0x14000f960
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov ecx, dword [0x140061080]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x14000f99e
movsxd rcx, dword [rsi]
shl rcx, 4
mov qword [rax + rcx], rdi
mov ecx, dword [rsi + 4]
movsxd rdx, dword [rsi]
shl rdx, 4
mov dword [rax + rdx + 8], ecx
add rsp, 0x28
pop rdi
pop rsi
ret
test rdi, rdi
je 0x14000f997
call fcn.140002520
jmp 0x14000f97e
Function at 0x14000f9b0
Capabilities:
Parse pe header

Disassembly:
mov rax, rcx
lea rcx, [0x140000000]
and rcx, 0xfffffffffffffffc
mov qword [rax], rcx
xorps xmm0, xmm0
movups xmmword [rax + 8], xmm0
mov byte [rax + 0x18], 0
je 0x14000fa3c
movzx edx, word [rcx]
cmp edx, 0x5a4d
jne 0x14000fa3c
lea r8, [rax + 8]
movsxd r9, dword [rcx + 0x3c]
lea rdx, [rcx + r9]
mov qword [r8], rdx
cmp dword [rcx + r9], 0x4550
jne 0x14000fa3c
movzx r8d, word [rdx + 0x18]
cmp r8d, 0x20b
jne 0x14000fa3c
mov r8d, dword [rdx + 0x50]
cmp r8d, 0x148
jb 0x14000fa3c
lea r9d, [r8 - 1]
add rcx, r9
mov qword [rax + 0x10], rcx
mov ecx, dword [rdx + 0x84]
cmp ecx, 0x10
mov r9d, 0x10
cmovb r9d, ecx
cmp r9d, 2
jb 0x14000fa3c
cmp dword [rdx + 0x90], r8d
setae byte [rax + 0x18]
ret
Function at 0x140011d30
Capabilities:
Get system information on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x78
mov ebx, edx
mov rax, qword [0x140061030]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov r13, qword [rcx + 0x10]
mov eax, edx
cmp r13, rax
ja 0x140011eea
mov rsi, rcx
lea rdi, [rcx + 8]
cmp rax, 0x21
mov r14d, 0x20
cmovae r14, rax
mov rbx, r14
sub rbx, r13
jbe 0x140011dc7
mov rcx, qword [rsi + 0x18]
sub rcx, r13
mov rax, r13
cmp rcx, rbx
jb 0x140011f0a
test rbx, rbx
jle 0x140011dc1
mov rdx, qword [rsi + 8]
lea rcx, [rdx + rax]
add r14, rcx
sub r14, r13
add rax, rdx
inc rax
cmp r14, rax
cmovbe r14, rax
sub r14, rcx
xor edx, edx
mov r8, r14
call sub.ntdll.dll_memset
mov rax, qword [rsi + 0x10]
add rax, rbx
mov r14, rax
mov qword [rsi + 0x10], r14
mov r12, qword [rsi]
cmp qword [r12], 0
mov qword [rsp + 0x38], rdi
je 0x140011f6f
mov r14, qword [rsi + 0x40]
add r14, r13
mov r15, qword [rsi + 8]
add r15, r13
mov eax, dword [0x140063af4]
mov ecx, dword [0x1400614b8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140011f26
add rbx, r14
cmp rbx, r14
jbe 0x140011f6f
mov eax, dword [0x140063af0]
mov qword [rsp + 0x28], rax
dec eax
mov qword [rsp + 0x30], rax
lea rdi, [rsp + 0x40]
mov rbp, qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov qword [rsp + 0x40], 0
mov r9, rbx
sub r9, r14
mov rcx, qword [r12]
mov qword [rsp + 0x20], rdi
mov rdx, r14
mov r8, r15
call rbp
test eax, eax
je 0x140011f76
mov rax, qword [rsp + 0x40]
lea rbx, [rax + r13]
add rax, r13
inc rax
mov rdi, qword [rsi + 0x10]
mov r14, rax
sub r14, rdi
jbe 0x140011ede
mov rcx, qword [rsi + 0x18]
sub rcx, rdi
mov rax, rdi
cmp rcx, r14
jae 0x140011ea6
mov rcx, qword [rsp + 0x38]
mov rdx, r14
call fcn.140011fc0
test al, al
je 0x140011fa5
mov rax, qword [rsi + 0x10]
test r14, r14
jle 0x140011edb
mov rdx, qword [rsi + 8]
lea rcx, [rdx + rax]
lea r8, [rbx + rax]
add r8, rdx
sub r8, rdi
inc r8
add rax, rdx
inc rax
cmp r8, rax
cmovbe r8, rax
sub r8, rcx
xor edx, edx
call sub.ntdll.dll_memset
mov rax, qword [rsi + 0x10]
add rax, r14
mov qword [rsi + 0x10], rax
mov rax, qword [rsi + 8]
mov byte [rax + rbx], 0
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14002b660
mov eax, ebx
add rsp, 0x78
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, rdi
mov rdx, rbx
call fcn.140011fc0
test al, al
je 0x140011fb0
mov rax, qword [rsi + 0x10]
jmp 0x140011d90
lea rcx, [0x140063af4]
mov rbp, r12
call fcn.14002a4ec
cmp dword [0x140063af4], 0xffffffff
jne 0x140011e11
lea r12, [rsp + 0x40]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [r12 + 4]
mov dword [0x140063af0], eax
lea rcx, [0x140063af4]
call fcn.14002a48c
mov r12, rbp
jmp 0x140011e11
xor eax, eax
jmp 0x140011e68
mov rdx, qword [rsp + 0x30]
mov rax, rdx
not rax
and rax, rbx
mov rcx, rbx
sub rcx, qword [rsp + 0x28]
test ebx, edx
cmovne rcx, rax
xor eax, eax
mov rbx, rcx
cmp rcx, r14
ja 0x140011e3b
jmp 0x140011e68
int3
int3
Function at 0x140015070
Capabilities:
Get system information on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rsi, rcx
mov rax, qword [0x140061030]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov eax, dword [0x140063af4]
mov ecx, dword [0x1400614b8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140015126
mov rbx, qword [rsi + 0x10]
test rbx, rbx
je 0x140015100
mov r14, qword [rsi + 8]
mov edi, dword [0x140063af0]
shl rbx, 4
xor r15d, r15d
lea r12, [rsp + 0x28]
mov r13, qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov rax, qword [rsi]
mov rcx, qword [rax]
test rcx, rcx
je 0x1400150f7
mov rdx, qword [r14 + r15 + 8]
mov r9d, dword [r14 + r15]
mov qword [rsp + 0x20], r12
mov r8, rdi
call r13
add r15, 0x10
cmp rbx, r15
jne 0x1400150d8
mov qword [rsi + 0x10], 0
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14002b660
nop
add rsp, 0x60
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, [0x140063af4]
call fcn.14002a4ec
cmp dword [0x140063af4], 0xffffffff
jne 0x1400150b2
lea rdi, [rsp + 0x28]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rdi + 4]
mov dword [0x140063af0], eax
lea rcx, [0x140063af4]
call fcn.14002a48c
jmp 0x1400150b2
Function at 0x140015200
Capabilities:
Access peb ldr_data
Execute shellcode via indirect call
Get system information on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov r14, r9
mov r15, r8
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x140061030]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov qword [rcx], rdx
mov qword [rcx + 0x10], 0
mov qword [rcx + 0x18], 2
lea rax, [rcx + 0x20]
mov qword [rcx + 8], rax
mov eax, dword [0x140063af4]
mov ecx, dword [0x1400614b8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14001532c
mov ebx, dword [0x140063af0]
lea rax, [r15 + r14]
dec rax
xor edx, edx
div rbx
mov r14, rax
mov rax, r15
xor edx, edx
div rbx
inc r14
sub r14, rax
je 0x14001530b
mov r15, rax
lea rax, [rsi + 8]
mov qword [rsp + 0x28], rax
imul r15, rbx
cmp r14, 1
adc r14, 0
lea r13, [rsp + 0x30]
mov rbp, qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov rcx, qword [rdi]
test rcx, rcx
je 0x140015375
mov qword [rsp + 0x20], r13
mov rdx, r15
mov r8, rbx
mov r9d, 0x40
call rbp
test eax, eax
je 0x14001536d
mov r12d, dword [rsp + 0x30]
mov rax, qword [rsi + 0x10]
cmp rax, qword [rsi + 0x18]
je 0x14001537f
mov rcx, qword [rsi + 8]
shl rax, 4
mov dword [rcx + rax], r12d
mov qword [rcx + rax + 8], r15
inc qword [rsi + 0x10]
add r15, rbx
dec r14
jne 0x1400152b4
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14002b660
mov rax, rsi
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, [0x140063af4]
call fcn.14002a4ec
cmp dword [0x140063af4], 0xffffffff
jne 0x14001526b
lea rbx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rbx + 4]
mov dword [0x140063af0], eax
lea rcx, [0x140063af4]
call fcn.14002a48c
jmp 0x14001526b
mov dword [rsp + 0x30], 0
mov rcx, rsi
call fcn.140015070
jmp 0x14001530b
mov rcx, qword [rsp + 0x28]
call fcn.140033960
test al, al
je 0x140015375
mov rax, qword [rsi + 0x10]
jmp 0x1400152ee

Function at 0x140015580
Capabilities:
Get system information on windows

Disassembly:
push rsi
sub rsp, 0x60
mov rax, qword [0x140061030]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov eax, dword [0x140063af4]
mov ecx, dword [0x1400614b8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400155d0
mov esi, dword [0x140063af0]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14002b660
mov eax, esi
add rsp, 0x60
pop rsi
ret
lea rcx, [0x140063af4]
call fcn.14002a4ec
cmp dword [0x140063af4], 0xffffffff
jne 0x1400155b5
lea rsi, [rsp + 0x28]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsi + 4]
mov dword [0x140063af0], eax
lea rcx, [0x140063af4]
call fcn.14002a48c
jmp 0x1400155b5
Function at 0x140019100
Capabilities:
Parse pe header

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x140063a50]
test rax, rax
je 0x140019143
mov rax, qword [0x140063a50]
test rax, rax
je 0x140019190
mov rcx, qword [0x140063a50]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsi], rax
test rax, rax
je 0x140019193
add rsp, 0x28
pop rdi
pop rsi
ret
lea rcx, [0x140054b20]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
movzx eax, word [rax]
cmp eax, 0x5a4d
jne 0x140019196
movsxd rax, dword [rcx + 0x3c]
cmp dword [rcx + rax], 0x4550
jne 0x140019196
movzx edx, word [rcx + rax + 0x14]
cmp edx, 0xf0
jne 0x140019196
movzx eax, word [rcx + rax + 0x18]
cmp eax, 0x20b
jne 0x140019196
xor eax, eax
lock cmpxchg qword [0x140063a50], rcx
jmp 0x140019118
int3
int3
int3
Function at 0x14001ccf0
Capabilities:
Query or enumerate registry value

Disassembly:
push rsi
sub rsp, 0x50
mov rsi, rcx
mov rax, qword [0x140061030]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x3c], 8
cmp qword [r8 + 0x18], 8
jb 0x14001cd19
mov r8, qword [r8]
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x38]
mov rcx, rdx
mov rdx, r8
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14001cd5e
cmp dword [rsp + 0x38], 0xb
jne 0x14001cd81
mov rax, qword [rsp + 0x40]
mov byte [rsi + 0x10], 0
mov qword [rsi], rax
mov byte [rsi + 8], 1
jmp 0x14001cd6d
cmp eax, 2
jne 0x14001cd9f
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov byte [rsi + 0x10], 0
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14002b660
nop
add rsp, 0x50
pop rsi
ret
mov byte [rsi + 0x10], 1
lea rax, str._builds_worker_checkouts_gecko_toolkit_xre_LauncherRegistryInfo.cpp
mov qword [rsi], rax
movabs rax, 0x8007065d00000043
mov qword [rsi + 8], rax
jmp 0x14001cd6d
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
mov byte [rsi + 0x10], 1
lea rax, str._builds_worker_checkouts_gecko_toolkit_xre_LauncherRegistryInfo.cpp
mov qword [rsi], rax
mov dword [rsi + 8], 0x3f
mov dword [rsi + 0xc], ecx
jmp 0x14001cd6d
Function at 0x14001d730
Capabilities:
Set registry value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x140061030]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp byte [0x140061d34], 1
je 0x14001d8b3
cmp qword [rdi + 0x20], 0
je 0x14001d833
cmp byte [rdi + 8], 0
je 0x14001d7be
mov rbx, qword [rdi]
mov rcx, rdi
call fcn.14001da20
mov qword [rsp + 0x48], rbx
cmp qword [rax + 0x18], 8
jb 0x14001d784
mov rax, qword [rax]
mov rcx, qword [rdi + 0x20]
lea rdx, [rsp + 0x48]
mov qword [rsp + 0x20], rdx
mov dword [rsp + 0x28], 8
mov rdx, rax
xor r8d, r8d
mov r9d, 0xb
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x14001d8e3
cmp byte [rdi + 8], 0
je 0x14001d7be
mov byte [rdi + 8], 0
cmp byte [rdi + 0x18], 0
je 0x14001d819
mov rbx, qword [rdi + 0x10]
mov rcx, rdi
call fcn.14001d940
mov qword [rsp + 0x48], rbx
cmp qword [rax + 0x18], 8
jb 0x14001d7df
mov rax, qword [rax]
mov rcx, qword [rdi + 0x20]
lea rdx, [rsp + 0x48]
mov qword [rsp + 0x20], rdx
mov dword [rsp + 0x28], 8
mov rdx, rax
xor r8d, r8d
mov r9d, 0xb
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x14001d8e3
cmp byte [rdi + 0x18], 0
je 0x14001d819
mov byte [rdi + 0x18], 0
mov byte [rsi + 0x10], 0
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14002b660
nop
add rsp, 0x60
pop rbx
pop rdi
pop rsi
ret
lea rax, [rsp + 0x54]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], 0
lea rdx, str.SOFTWAREMozillaFirefoxLauncher
mov rcx, 0xffffffff80000001
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14001d90e
mov rbx, qword [rsp + 0x48]
mov rcx, qword [rdi + 0x20]
test rcx, rcx
jne 0x14001d934
mov qword [rdi + 0x20], rbx
mov eax, dword [rsp + 0x54]
dec eax
cmp eax, 1
jbe 0x14001d764
mov eax, 0xb4
mov ecx, 0x80070507
jmp 0x14001d921
cmp byte [rdi + 0x18], 0
je 0x14001d8bd
mov byte [rdi + 0x18], 0
mov rax, qword [rdi + 0x10]
mov qword [rdi], rax
mov al, byte [rdi + 0x18]
mov byte [rdi + 8], al
mov eax, dword [rdi + 0x19]
mov dword [rdi + 9], eax
movzx eax, word [rdi + 0x1d]
mov word [rdi + 0xd], ax
mov al, byte [rdi + 0x1f]
mov byte [rdi + 0xf], al
jmp 0x14001d819
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
mov byte [rsi + 0x10], 1
lea rax, str._builds_worker_checkouts_gecko_toolkit_xre_LauncherRegistryInfo.cpp
mov qword [rsi], rax
mov dword [rsi + 8], 0x79
mov dword [rsi + 0xc], ecx
jmp 0x14001d81d
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
mov eax, 0xa5
mov byte [rsi + 0x10], 1
lea rdx, str._builds_worker_checkouts_gecko_toolkit_xre_LauncherRegistryInfo.cpp
mov qword [rsi], rdx
mov dword [rsi + 8], eax
jmp 0x14001d906
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14001d894
Function at 0x14001f2b0
Capabilities:
Query or enumerate registry value

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x58
mov rsi, rcx
mov rax, qword [0x140061030]
xor rax, rsp
mov qword [rsp + 0x50], rax
lea rdi, [rsp + 0x40]
mov dword [rdi], 4
mov qword [rsp + 0x30], rdi
lea r14, [rsp + 0x4c]
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], 0
lea rdx, str.SOFTWAREPoliciesMozillaFirefox
mov rcx, 0xffffffff80000002
mov r8, rsi
mov r9d, 0x18
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
cmp dword [r14], 1
sete bl
test eax, eax
je 0x14001f3ef
mov dword [rsp + 0x4c], 8
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], 0
lea rdx, str.SOFTWAREPoliciesMozillaFirefox
mov rcx, 0xffffffff80000002
mov r8, rsi
mov r9d, 0x48
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
cmp qword [rsp + 0x40], 1
sete bl
test eax, eax
je 0x14001f3ef
mov dword [rsp + 0x40], 4
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], 0
lea rdx, str.SOFTWAREPoliciesMozillaFirefox
mov rcx, 0xffffffff80000001
mov r8, rsi
mov r9d, 0x18
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
cmp dword [rsp + 0x4c], 1
sete bl
test eax, eax
je 0x14001f3ef
mov dword [rsp + 0x4c], 8
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], 0
lea rdx, str.SOFTWAREPoliciesMozillaFirefox
mov rcx, 0xffffffff80000001
mov r8, rsi
mov r9d, 0x48
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
sete al
cmp qword [rsp + 0x40], 1
sete bl
and bl, al
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14002b660
mov eax, ebx
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x14001f410
Capabilities:
Map section object

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x68
mov rsi, rcx
mov rax, qword [0x140061030]
xor rax, rsp
mov qword [rsp + 0x60], rax
cmp dword [rdx], 0
je 0x14001f4c7
mov ebx, r8d
mov rdi, rdx
mov rcx, qword [0x140061d80]
xor eax, eax
lea r8, [rsp + 0x50]
mov qword [r8], rax
lea rdx, [rsp + 0x58]
mov qword [rdx], rax
mov qword [rsp + 0x30], rdx
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov dword [rsp + 0x48], 4
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x38], 2
mov rdx, 0xffffffffffffffff
xor r9d, r9d
call sub.ntdll.dll_NtMapViewOfSection
test eax, eax
jns 0x14001f499
mov ecx, eax
call sub.ntdll.dll_RtlNtStatusToDosError
mov ecx, eax
call sub.ntdll.dll_RtlSetLastWin32Error
mov r14, qword [rsp + 0x50]
test r14, r14
je 0x14001f4d0
cmp dword [r14 + 0x2c], 0
je 0x14001f4fd
mov byte [rsi + 0x10], 1
lea rax, str._builds_worker_checkouts_gecko_browser_app_winlauncher_freestanding_SharedSection.cpp
mov qword [rsi], rax
movabs rax, 0x8007139f000000d8
jmp 0x14001f553
mov byte [rsi + 0x10], 0
jmp 0x14001f57f
call sub.ntdll.dll_RtlGetLastWin32Error
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
mov byte [rsi + 0x10], 1
lea rax, str._builds_worker_checkouts_gecko_browser_app_winlauncher_freestanding_SharedSection.cpp
mov qword [rsi], rax
mov dword [rsi + 8], 0xd1
mov dword [rsi + 0xc], ecx
jmp 0x14001f557
movzx eax, bl
mov dword [r14 + 0x28], eax
mov r8d, dword [rdi]
cmp r8, 0xfc8
ja 0x14001f53b
lea rcx, [r14 + 0x38]
mov rdx, qword [rdi + 8]
call sub.ntdll.dll_memcpy
mov eax, dword [rdi]
test eax, eax
je 0x14001f53b
cmp eax, 0x21
mov ecx, 0x20
cmovae ecx, eax
add ecx, 0x38
mov dword [r14 + 0x2c], ecx
mov byte [rsi + 0x10], 0
jmp 0x14001f557
mov byte [rsi + 0x10], 1
lea rax, str._builds_worker_checkouts_gecko_browser_app_winlauncher_freestanding_SharedSection.cpp
mov qword [rsi], rax
movabs rax, 0x8007007a000000e1
mov qword [rsi + 8], rax
mov rdx, qword [rsp + 0x50]
test rdx, rdx
je 0x14001f57f
mov rcx, 0xffffffffffffffff
call sub.ntdll.dll_NtUnmapViewOfSection
test eax, eax
jns 0x14001f57f
mov ecx, eax
call sub.ntdll.dll_RtlNtStatusToDosError
mov ecx, eax
call sub.ntdll.dll_RtlSetLastWin32Error
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14002b660
nop
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop r14
ret