joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400534a0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x188
mov r12, rcx
mov r13, qword [0x1400f7448]
mov rax, qword [r13]
xor rax, rsp
mov qword [rsp + 0x180], rax
test dl, dl
je 0x140053531
lea rax, [0x1400543a0]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], 0
lea rdi, [0x1400fcdc0]
lea r8, [0x1400fcdd4]
mov rcx, r12
mov rdx, rdi
mov r9d, 1
call fcn.1400528e0
lea rax, [0x140054410]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], 1
lea r8, [0x1400fcde7]
mov rcx, r12
mov rdx, rdi
mov r9d, 1
call fcn.1400528e0
jmp 0x14005353d
cmp qword [r12 + 0x18], 0
je 0x14005369d
mov rax, qword [r12]
mov r14, qword [rax]
mov dword [rsp + 0x20], 1
mov rbp, qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov r8d, 0x10000
mov rcx, r14
xor edx, edx
mov r9d, 0x2000
call rbp
mov rdi, rax
mov rsi, qword [r12 + 0x18]
shl rsi, 6
lea r15, [rsi + 0x60]
mov rcx, r15
call fcn.1400526f0
mov rbx, rax
mov edx, ebx
and edx, 0xfffff000
add rdx, rdi
and ebx, 0xfff
add rsi, 0x105f
and rsi, 0xfffffffffffff000
mov dword [rsp + 0x20], 0x40
mov rcx, r14
mov r8, rsi
mov r9d, 0x1000
call rbp
mov rdi, rax
test rax, rax
jne 0x1400535e7
lea rdx, str._var_tmp_build_firefox_7913966da16e_security_sandbox_chromium_sandbox_win_src_interception.cc
lea r9, str.thunk_base
lea rsi, [rsp + 0x48]
mov rcx, rsi
mov r8d, 0x188
call fcn.14001a430
mov rcx, rsi
call fcn.14001a6b0
add rdi, rbx
mov qword [rsp + 0x48], r15
mov dword [rsp + 0x60], 0
mov qword [rsp + 0x50], 0x20
lea rcx, [0x1401535f0]
mov r8d, 0x150
xor edx, edx
call sub.ntdll.dll_memset
lea r9, [rsp + 0x48]
mov rcx, r12
mov rdx, rdi
mov r8, r15
call fcn.1400539c0
test eax, eax
jne 0x14005369f
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x48]
mov r9d, 0x20
mov rcx, r14
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov ecx, eax
mov eax, 0x2a
test ecx, ecx
je 0x14005369f
cmp qword [rsp + 0x40], 0x20
jne 0x14005369f
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x20], rax
mov rcx, r14
mov rdx, rdi
mov r8, r15
mov r9d, 0x20
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov rcx, qword [r12]
lea rdx, str.g_originals
lea r8, [0x1401535f0]
mov r9d, 0x150
call fcn.14006d950
jmp 0x14005369f
xor eax, eax
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
mov rdx, qword [r13]
cmp rdx, rcx
jne 0x1400536c7
add rsp, 0x188
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call fcn.1400763e0
int3
Function at 0x140055da0
Capabilities:
Create pipe

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x58
mov r14, qword [rsp + 0xc8]
mov rbx, qword [0x1400f7448]
mov rax, qword [rbx]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov qword [r14], 0xffffffffffffffff
mov eax, 5
cmp ecx, 3
jne 0x140055e95
mov eax, dword [rsp + 0xc0]
mov edi, dword [rsp + 0xb8]
mov ecx, dword [rsp + 0xb0]
mov r10d, dword [rsp + 0xa8]
mov r11d, dword [rsp + 0xa0]
test byte [r8], 1
je 0x140055e09
mov r8, qword [r8 + 0x10]
jmp 0x140055e0d
add r8, 2
mov rsi, qword [rdx]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], ecx
mov qword [rsp + 0x38], 0
mov rcx, r8
mov edx, r9d
mov r8d, r11d
mov r9d, r10d
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
cmp rax, 0xffffffffffffffff
je 0x140055e7f
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [rsp + 0x30], 3
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r9, [rsp + 0x48]
mov rcx, rax
mov rdx, rdi
mov r8, rsi
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
cmp eax, 1
sbb rax, rax
or rax, qword [rsp + 0x48]
jmp 0x140055e86
mov rax, 0xffffffffffffffff
mov qword [r14], rax
xor ecx, ecx
cmp rax, 0xffffffffffffffff
sete cl
lea eax, [rcx + rcx*4]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
mov rdx, qword [rbx]
cmp rdx, rcx
jne 0x140055eaf
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.1400763e0
int3
Function at 0x14005aab0
Capabilities:
Read file via mapping

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0xc0
mov r15, qword [0x1400f7448]
mov rax, qword [r15]
xor rax, rsp
mov qword [rsp + 0xb8], rax
mov ebx, 0xc000000d
test r9d, r9d
jne 0x14005ac89
mov rdi, r8
mov rsi, rdx
call fcn.140065990
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x10]
mov rcx, rax
call fcn.14006e4e0
mov ebx, 0xc0000022
test al, al
je 0x14005ac89
call fcn.140065ab0
test rax, rax
je 0x14005ac89
mov r14, rax
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x1000
mov rcx, 0xffffffffffffffff
xor edx, edx
mov r8d, 0x8000004
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
lea rcx, [rsp + 0x50]
mov rdx, rax
call fcn.140021e40
mov rcx, qword [rsp + 0x50]
lea rax, [rcx + 1]
cmp rax, 2
jb 0x14005ab87
mov qword [rsp + 0x20], 0x1000
mov edx, 6
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14005ac4b
mov rax, qword [rsp + 0x50]
mov ebx, 0xc000000d
add rax, 1
cmp rax, 2
jb 0x14005ac43
mov r8d, 0x1000
mov rdx, rdi
call sub.ntdll.dll_memcpy
xorps xmm0, xmm0
movaps xmmword [rsp + 0xa0], xmm0
movaps xmmword [rsp + 0x90], xmm0
movaps xmmword [rsp + 0x80], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0xb0], 0
lea rdi, [rsp + 0x40]
mov rcx, rdi
mov rdx, r14
call fcn.140069a20
mov qword [rsp + 0x38], rsi
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x38]
lea r9, [rsp + 0x30]
mov rcx, rdi
mov edx, 0x1e
call fcn.14005acc0
mov ebx, 0xc0000022
test eax, eax
jne 0x14005ac39
mov ebx, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14005ac50
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
jmp 0x14005ac50
mov ebx, 0xc000000d
mov rsi, qword [rsp + 0x50]
lea rax, [rsi + 1]
cmp rax, 2
jb 0x14005ac89
mov rdi, qword [rsp + 0xe8]
call fcn.140021bd0
lea rdx, [rsp + 0x50]
mov rcx, rsi
mov r8, rdi
mov r9, rax
call fcn.140045a60
mov rcx, qword [rsp + 0x50]
call fcn.1400459f0
mov rax, qword [rsp + 0xb8]
xor rax, rsp
mov rcx, qword [r15]
cmp rcx, rax
jne 0x14005acad
mov eax, ebx
add rsp, 0xc0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.1400763e0
int3
Function at 0x14005e470
Capabilities:
Get common file path

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x300
mov r15, r9
mov rdi, r8
mov rbx, rdx
mov r13, rcx
mov r14, qword [rsp + 0x390]
mov rsi, qword [rsp + 0x380]
mov r12, qword [0x1400f7448]
mov rax, qword [r12]
xor rax, rsp
mov qword [rsp + 0x2f8], rax
mov qword [rsp + 0x88], rdx
mov qword [rsp + 0x80], r8
call fcn.140065990
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x10]
mov rcx, rax
call fcn.14006e500
test al, al
je 0x14005e53b
mov rax, qword [rsp + 0x388]
mov rcx, qword [rsp + 0x378]
mov edx, dword [rsp + 0x370]
mov r8d, dword [rsp + 0x368]
mov r9, qword [rsp + 0x360]
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], edx
mov dword [rsp + 0x20], r8d
mov rcx, rbx
mov rdx, rdi
mov r8, r15
call r13
mov edi, 1
test eax, eax
jne 0x14005e677
lea rcx, [0x1400fdabe]
mov rdx, rbx
call fcn.14001e220
call fcn.140065990
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x10]
mov rcx, rax
call fcn.14006e4e0
xor edi, edi
test al, al
je 0x14005e677
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov edx, 0x18
mov rcx, r14
mov r8d, 1
call fcn.140065d70
test al, al
je 0x14005e66f
call fcn.140065ab0
test rax, rax
je 0x14005e66f
mov rsi, rax
mov qword [rsp + 0x78], 0
lea r15, [rsp + 0xf0]
mov ecx, 0x104
mov rdx, r15
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
add eax, 0xffffffff
cmp eax, 0x102
ja 0x14005e5cc
mov qword [rsp + 0x78], r15
lea r15, [rsp + 0x68]
mov rcx, r15
mov rdx, rsi
call fcn.140069a20
xorps xmm0, xmm0
movaps xmmword [rsp + 0xd0], xmm0
movaps xmmword [rsp + 0xc0], xmm0
movaps xmmword [rsp + 0xb0], xmm0
movaps xmmword [rsp + 0xa0], xmm0
movaps xmmword [rsp + 0x90], xmm0
mov qword [rsp + 0xe0], 0
mov dword [rsp + 0x58], 0x18
mov qword [rsp + 0x60], r14
lea rax, [rsp + 0x90]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x380]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x88]
lea r9, [rsp + 0x80]
mov rcx, r15
mov edx, 0xd
call fcn.14005e6e0
test eax, eax
je 0x14005e6a0
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, qword [rsp + 0x2f8]
xor rax, rsp
mov rcx, qword [r12]
cmp rcx, rax
jne 0x14005e6d4
mov eax, edi
add rsp, 0x300
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov ecx, dword [rsp + 0x98]
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor edi, edi
cmp dword [rsp + 0x98], 0
jne 0x14005e677
mov rdx, qword [rsp + 0x88]
lea rcx, [0x1400fdabe]
call fcn.14001e480
mov edi, 1
jmp 0x14005e677
call fcn.1400763e0
int3
Function at 0x14005fa20
Capabilities:
Create process on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xc8
mov edi, ecx
mov r12, qword [0x1400f7448]
mov rax, qword [r12]
xor rax, rsp
mov qword [rsp + 0xc0], rax
lea eax, [rdi - 7]
mov ebp, 5
cmp eax, 0xfffffffe
jb 0x14005fbe0
mov rbx, r8
mov r15, rdx
mov rbp, qword [rsp + 0x130]
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0xa0], xmm0
movaps xmmword [rsp + 0x90], xmm0
movaps xmmword [rsp + 0x80], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0xb0], 0
mov dword [rsp + 0x50], 0x68
test byte [r9], 1
je 0x14005fab4
mov r9, qword [r9 + 0x10]
jmp 0x14005fab8
add r9, 2
mov rcx, r9
call qword [sym.imp.mozglue.dll__wcsdup]
mov r14, rax
movzx eax, byte [rbp]
test al, 1
je 0x14005fad6
mov rax, qword [rbp + 8]
mov rbp, qword [rbp + 0x10]
jmp 0x14005fadd
add rbp, 2
shr rax, 1
mov rsi, qword [rsp + 0x138]
test rax, rax
cmove rbp, rax
test byte [rbx], 1
je 0x14005faf7
mov rbx, qword [rbx + 0x10]
jmp 0x14005fafb
add rbx, 2
mov r15, qword [r15]
mov qword [rsp + 0x48], rsi
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov rcx, rbx
mov rdx, r14
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov ebp, 5
test eax, eax
je 0x14005fbd3
cmp edi, 6
mov r13d, 0x1fffff
mov ebx, 0x101c01
cmove ebx, r13d
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rdx, qword [rsi]
mov dword [rsp + 0x20], ebx
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], 0
mov rcx, rax
mov r8, r15
mov r9, rsi
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x14005fc0a
cmp edi, 6
mov edi, 0x100c43
cmove edi, r13d
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rdx, qword [rsi + 8]
add rsi, 8
mov dword [rsp + 0x20], edi
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], 0
mov rcx, rax
mov r8, r15
mov r9, rsi
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
xor ecx, ecx
test eax, eax
sete cl
lea ebp, [rcx + rcx*4]
test r14, r14
je 0x14005fbe0
mov rcx, r14
call sub.mozglue.dll_free
mov rax, qword [rsp + 0xc0]
xor rax, rsp
mov rcx, qword [r12]
cmp rcx, rax
jne 0x14005fc1b
mov eax, ebp
add rsp, 0xc8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, qword [rsi + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test r14, r14
jne 0x14005fbd8
jmp 0x14005fbe0
call fcn.1400763e0
int3
Function at 0x14005fc30
Capabilities:
Create thread

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x40
mov rax, r8
mov r8, rdx
mov rdi, rcx
mov rsi, qword [rsp + 0x90]
mov edx, dword [rsp + 0x80]
mov rbx, qword [rsp + 0x88]
mov qword [rsi], 0
mov rcx, qword [rcx]
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], edx
mov qword [rsp + 0x20], r9
xor edx, edx
mov r9, rax
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
test rax, rax
je 0x14005fcc4
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, qword [rdi]
mov dword [rsp + 0x30], 3
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov rcx, rax
mov rdx, rbx
mov r9, rsi
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
xor ecx, ecx
test eax, eax
sete cl
lea eax, [rcx + rcx*4]
add rsp, 0x40
pop rbx
pop rdi
pop rsi
ret
add rsp, 0x40
pop rbx
pop rdi
pop rsi
jmp qword [sym.imp.KERNEL32.dll_GetLastError]

Function at 0x140062100
Capabilities:
Compare security identifiers

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x78
mov rbx, qword [0x1400f7448]
mov rax, qword [rbx]
xor rax, rsp
mov qword [rsp + 0x70], rax
cmp byte [rcx + 0x6c], 0
je 0x140062174
mov rdi, rdx
mov rsi, rcx
mov qword [rsp + 0x28], 0
mov rcx, qword [rcx + 0x60]
lea r8, [rsp + 0x28]
mov edx, 2
call fcn.140070ba0
mov r14, qword [rsp + 0x28]
test eax, eax
je 0x14006217e
mov ebp, eax
mov qword [rsp + 0x28], 0
test r14, r14
je 0x140062261
mov rcx, r14
call fcn.1400c1310
jmp 0x140062261
mov ebp, 0x3f0
jmp 0x140062261
xor ebp, ebp
test r14, r14
je 0x140062261
mov qword [rsp + 0x20], rsi
cmp dword [r14], 0
je 0x140062250
lea rbp, [r14 + 8]
add qword [rsp + 0x20], 0x30
xor r12d, r12d
mov r15, qword [sym.imp.ADVAPI32.dll_EqualSid]
movabs rsi, 0xf0f0f0f0f0f0f0f1
jmp 0x1400621e9
mov rdx, qword [rbx]
lea rbx, [rsp + 0x28]
mov rcx, rbx
call fcn.14006a710
mov rcx, qword [rsp + 0x20]
mov rdx, rbx
call fcn.140062290
add r12, 1
mov eax, dword [r14]
cmp r12, rax
jae 0x140062250
mov rbx, r12
shl rbx, 4
test dword [rbp + rbx + 8], 0xc0000020
jne 0x1400621dd
add rbx, rbp
test rdi, rdi
je 0x1400621c0
mov rax, qword [rdi]
cmp qword [rdi + 8], rax
je 0x1400621c0
xor r13d, r13d
nop
mov rcx, r13
shl rcx, 6
lea rcx, [rcx + r13*4]
add rcx, rax
call fcn.14006ae90
mov rdx, qword [rbx]
mov rcx, rax
call r15
test eax, eax
jne 0x1400621dd
add r13d, 1
mov rax, qword [rdi]
mov rcx, qword [rdi + 8]
sub rcx, rax
sar rcx, 2
imul rcx, rsi
cmp rcx, r13
ja 0x140062210
jmp 0x1400621c0
mov rcx, r14
call fcn.1400c1310
mov rbx, qword [0x1400f7448]
xor ebp, ebp
mov rax, qword [rsp + 0x70]
xor rax, rsp
mov rcx, qword [rbx]
cmp rcx, rax
jne 0x140062284
mov eax, ebp
add rsp, 0x78
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call fcn.1400763e0
int3

Function at 0x140068ec0
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
sub rsp, 0x28
mov edx, 4
call sub.ADVAPI32.dll_SystemFunction036
test al, al
setne al
add rsp, 0x28
ret
Function at 0x14006d2b0
Capabilities:
Terminate process

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rsi, rcx
call fcn.140046fa0
test al, al
je 0x14006d2e1
mov rcx, qword [rsi]
mov edx, 0x32
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsi]
mov edx, 1
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rdi, qword [rsi + 0x38]
mov qword [rsi + 0x38], 0
test rdi, rdi
je 0x14006d302
mov rcx, rdi
call fcn.140069d60
mov rcx, rdi
call fcn.1400c12e0
mov rcx, qword [rsi + 0x58]
test rcx, rcx
je 0x14006d314
mov qword [rsi + 0x60], rcx
call fcn.1400c12e0
mov rcx, qword [rsi + 0x50]
mov qword [rsi + 0x50], 0
test rcx, rcx
je 0x14006d32a
call sub.mozglue.dll_free
mov rdi, qword [rsi + 0x38]
mov qword [rsi + 0x38], 0
test rdi, rdi
je 0x14006d34b
mov rcx, rdi
call fcn.140069d60
mov rcx, rdi
call fcn.1400c12e0
mov rdi, qword [rsi + 0x28]
lea rax, [rdi + 1]
cmp rax, 2
jb 0x14006d387
lea rbx, [rsi + 0x28]
mov r14, qword [rsp + 0x48]
call fcn.140021bd0
mov rcx, rdi
mov rdx, rbx
mov r8, r14
mov r9, rax
call fcn.140045a60
mov rcx, qword [rbx]
call fcn.1400459f0
mov qword [rbx], 0
mov rdi, qword [rsi + 0x20]
lea rax, [rdi + 1]
cmp rax, 2
jb 0x14006d3c3
lea rbx, [rsi + 0x20]
mov r14, qword [rsp + 0x48]
call fcn.140021bd0
mov rcx, rdi
mov rdx, rbx
mov r8, r14
mov r9, rax
call fcn.140045a60
mov rcx, qword [rbx]
call fcn.1400459f0
mov qword [rbx], 0
mov rdi, qword [rsi + 0x18]
lea rax, [rdi + 1]
cmp rax, 2
jb 0x14006d3ff
lea rbx, [rsi + 0x18]
mov r14, qword [rsp + 0x48]
call fcn.140021bd0
mov rcx, rdi
mov rdx, rbx
mov r8, r14
mov r9, rax
call fcn.140045a60
mov rcx, qword [rbx]
call fcn.1400459f0
mov qword [rbx], 0
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
jmp fcn.140046e70
Function at 0x14006dd40
Capabilities:
Terminate process

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
call fcn.140046fa0
test al, al
je 0x14006dd62
mov rcx, qword [rsi]
xor edx, edx
add rsp, 0x20
pop rsi
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
add rsp, 0x20
pop rsi
ret

Function at 0x140070760
Capabilities:
Allocate or change rwx memory

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x40
mov rsi, r9
mov r14, r8
mov rdi, rdx
mov rbx, rcx
mov r9d, dword [rsp + 0xa0]
mov r15, qword [0x1400f7448]
mov rax, qword [r15]
xor rax, rsp
mov qword [rsp + 0x38], rax
lea rbp, [rsp + 0x34]
mov qword [rsp + 0x20], rbp
mov r8, rsi
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
je 0x1400707fc
lea rax, [rsp + 0x28]
mov qword [rsp + 0x20], rax
mov rcx, rbx
mov rdx, rdi
mov r8, r14
mov r9, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov r14d, eax
mov r12, qword [rsp + 0x28]
mov r9d, dword [rsp + 0x34]
mov qword [rsp + 0x20], rbp
mov rcx, rbx
mov rdx, rdi
mov r8, rsi
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
je 0x1400707fc
test r14d, r14d
setne cl
cmp r12, rsi
sete al
and al, cl
jmp 0x1400707fe
xor eax, eax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
mov rdx, qword [r15]
cmp rdx, rcx
jne 0x14007081d
add rsp, 0x40
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
call fcn.1400763e0
int3
Function at 0x1400709c0
Capabilities:
Patch process command line

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0xc0
movaps xmmword [rsp + 0xb0], xmm6
mov rsi, rcx
mov r14, qword [0x1400f7448]
mov rax, qword [r14]
xor rax, rsp
mov qword [rsp + 0xa8], rax
cmp qword [0x140152258], 0
je 0x140070b0c
cmp qword [0x140152258], 0
je 0x140070b59
mov rcx, qword [0x140152258]
lea rdx, [0x1400fe890]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140070b5f
mov rbx, rax
xorps xmm6, xmm6
movaps xmmword [rsp + 0x90], xmm6
movaps xmmword [rsp + 0x80], xmm6
movaps xmmword [rsp + 0x70], xmm6
mov qword [rsp + 0x20], 0
xor edi, edi
lea r8, [rsp + 0x70]
mov rcx, rsi
xor edx, edx
mov r9d, 0x30
call rax
test eax, eax
jne 0x140070b62
movaps xmmword [rsp + 0x50], xmm6
movaps xmmword [rsp + 0x40], xmm6
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x38], 0
mov rdx, qword [rsp + 0x78]
lea r15, [rsp + 0x38]
mov qword [rsp + 0x20], r15
lea r8, [rsp + 0x40]
mov r9d, 0x28
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
xor edi, edi
test eax, eax
je 0x140070b62
cmp qword [rsp + 0x38], 0x28
jne 0x140070b62
mov rbx, qword [rsp + 0x50]
mov word [rsp + 0x36], 0
mov qword [rsp + 0x20], r15
lea r8, [rsp + 0x36]
mov r9d, 2
mov rcx, rsi
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
xor edi, edi
test eax, eax
je 0x140070b62
cmp qword [rsp + 0x38], 2
jne 0x140070b62
mov al, byte [rsp + 0x36]
mov cl, byte [rsp + 0x37]
xor al, 0x4d
xor cl, 0x5a
xor edx, edx
or cl, al
cmovne rbx, rdx
mov rdi, rbx
jmp 0x140070b62
lea rcx, [0x1400fe8b0]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rdi, rax
mov rax, qword [0x1400fa7d0]
add rax, 0x10
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rdi
lea rcx, [rsp + 0x70]
call fcn.140045510
test al, al
jne 0x140070b40
int3
xor eax, eax
lock cmpxchg qword [0x140152258], rdi
cmp qword [0x140152258], 0
jne 0x140070a0a
int3
int3
mov rax, qword [rsp + 0xa8]
xor rax, rsp
mov rcx, qword [r14]
cmp rcx, rax
jne 0x140070b8f
mov rax, rdi
movaps xmm6, xmmword [rsp + 0xb0]
add rsp, 0xc0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.1400763e0
int3
Function at 0x140071400
Capabilities:
Query environment variable

Disassembly:
push rsi
push rdi
sub rsp, 0x68
mov rsi, qword [0x1400f7448]
mov rax, qword [rsi]
xor rax, rsp
mov qword [rsp + 0x60], rax
lea rcx, str.MOZ_ENABLE_HANDLE_VERIFIER
call sub.api_ms_win_crt_environment_l1_1_0.dll_getenv
test rax, rax
je 0x140071534
movaps xmm0, xmmword [str.kernel32]
movaps xmmword [rsp + 0x30], xmm0
movabs rax, 0x6c006c0064002e
mov qword [rsp + 0x40], rax
mov word [rsp + 0x48], 0
cmp qword [0x140151f50], 0
jne 0x14007146b
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [0x140151f50], rax
mov qword [rsp + 0x28], 0
lea rax, [0x140151f28]
mov qword [rsp + 0x30], rax
lea rdi, [0x140151f38]
mov qword [rsp + 0x38], rdi
lea rax, [0x1400feb3b]
mov qword [rsp + 0x40], rax
lea rax, [0x140071560]
mov qword [rsp + 0x48], rax
mov byte [rsp + 0x50], 0
lea rcx, [0x140151f30]
lea rdx, [0x1400715e0]
lea r8, [rsp + 0x30]
lea r9, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x140071534
cmp qword [rsp + 0x28], 0
je 0x140071534
mov qword [rsp + 0x28], 0
lea rax, [0x140151fb8]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rdi
lea rax, [0x1400feb47]
mov qword [rsp + 0x40], rax
lea rax, [0x140071580]
mov qword [rsp + 0x48], rax
mov byte [rsp + 0x50], 0
lea rcx, [0x140151fc0]
lea rdx, [0x140076210]
lea r8, [rsp + 0x30]
lea r9, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x140071534
cmp qword [rsp + 0x28], 0
jne 0x140071539
call fcn.140045aa0
mov rax, qword [rsp + 0x60]
xor rax, rsp
mov rcx, qword [rsi]
cmp rcx, rax
jne 0x140071550
add rsp, 0x68
pop rdi
pop rsi
ret
call fcn.1400763e0
int3
Function at 0x140071bb0
Capabilities:
Allocate or change rwx memory

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0xe0
mov r15, qword [0x1400f7448]
mov rax, qword [r15]
xor rax, rsp
mov qword [rsp + 0xd8], rax
cmp byte [rcx + 0x14], 0
je 0x140071c01
mov rsi, r9
mov r14, r8
mov r8, rdx
mov rdi, rcx
test byte [rcx + 0x10], 4
jne 0x140071c11
lea rcx, [rsp + 0xc0]
mov rdx, rdi
call fcn.140071e00
cmp byte [rdi + 0x14], 0
jne 0x140071c2c
mov dword [0], 0x2f1
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
mov qword [rsp + 0xc0], rdi
mov qword [rsp + 0xc8], r8
mov dword [rsp + 0xd0], 0
mov r8d, dword [rdi + 0x10]
and r8d, 1
shl r8, 0x1e
lea rcx, [rsp + 0x68]
mov rdx, rdi
mov r9d, r8d
call fcn.140073aa0
mov al, byte [rsp + 0x78]
mov byte [rsp + 0xb0], al
movups xmm0, xmmword [rsp + 0x68]
movaps xmmword [rsp + 0xa0], xmm0
test al, al
je 0x140071d82
mov al, byte [0x140150268]
test al, al
je 0x140071dad
lea rbx, [0x140151fd8]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rdx, qword [rsp + 0xa8]
lea rcx, [rsp + 0x68]
call fcn.140074710
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp byte [rsp + 0x98], 0
je 0x140071d82
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x38], rax
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x40], eax
movups xmm0, xmmword [rsp + 0x78]
movups xmmword [rsp + 0x48], xmm0
mov eax, dword [rsp + 0x88]
mov dword [rsp + 0x58], eax
mov rax, qword [rsp + 0x8c]
mov qword [rsp + 0x5c], rax
mov al, byte [rsp + 0x94]
mov byte [rsp + 0x64], al
mov dword [rsp + 0x70], 0
mov byte [rsp + 0x94], 0
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], r14
lea rdx, [rsp + 0xc0]
lea r8, [rsp + 0xa0]
lea r9, [rsp + 0x38]
mov rcx, rdi
call fcn.140072030
cmp qword [rsi], 0
setne sil
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140071d50
mov r8d, dword [rsp + 0x40]
test r8d, r8d
je 0x140071d50
lea r9, [rsp + 0x40]
mov edx, dword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp byte [rsp + 0x98], 0
je 0x140071d84
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x140071d84
mov r8d, dword [rsp + 0x70]
test r8d, r8d
je 0x140071d84
lea r9, [rsp + 0x70]
mov edx, dword [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
jmp 0x140071d84
xor esi, esi
mov rax, qword [rsp + 0xd8]
xor rax, rsp
mov rcx, qword [r15]
cmp rcx, rax
jne 0x140071da8
mov eax, esi
add rsp, 0xe0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.1400763e0
lea rcx, [0x140150268]
call fcn.1400c0fd4
test eax, eax
je 0x140071c76
lea rcx, [0x140151fd8]
mov edx, 0xfa0
mov r8d, 0x1000000
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSectionEx]
mov byte [0x140152658], 1
lea rcx, [0x140150268]
call fcn.1400c10ab
jmp 0x140071c76