joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400120f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
push rdi
sub rsp, 0x128
mov r9, qword [0x1400e00c0]
mov rax, qword [r9]
xor rax, rsp
mov qword [rsp + 0x120], rax
mov r10, qword [rcx + 8]
mov rax, 0xffffffffffffffff
test r10, r10
je 0x14001228f
mov r11, qword [rdx + 8]
test r11, r11
je 0x14001228f
cmp r11, 1
jne 0x140012168
cmp r10, r8
jbe 0x14001228f
mov rdx, qword [rdx]
mov dl, byte [rdx]
mov rcx, qword [rcx]
nop word cs:[rax + rax]
cmp byte [rcx + r8], dl
je 0x140012287
add r8, 1
cmp r10, r8
jne 0x140012150
jmp 0x14001228f
xorps xmm0, xmm0
movaps xmmword [rsp + 0x110], xmm0
movaps xmmword [rsp + 0x100], xmm0
movaps xmmword [rsp + 0xf0], xmm0
movaps xmmword [rsp + 0xe0], 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
movaps xmmword [rsp + 0x80], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x30], xmm0
movaps xmmword [rsp + 0x20], xmm0
mov rax, qword [rdx]
lea rsi, [r11 - 1]
mov edx, r11d
and edx, 3
cmp rsi, 3
jae 0x1400121f0
xor esi, esi
jmp 0x140012230
and r11, 0xfffffffffffffffc
xor esi, esi
nop word cs:[rax + rax]
movzx edi, byte [rax + rsi]
mov byte [rsp + rdi + 0x20], 1
movzx edi, byte [rax + rsi + 1]
mov byte [rsp + rdi + 0x20], 1
movzx edi, byte [rax + rsi + 2]
mov byte [rsp + rdi + 0x20], 1
movzx edi, byte [rax + rsi + 3]
mov byte [rsp + rdi + 0x20], 1
add rsi, 4
cmp r11, rsi
jne 0x140012200
test rdx, rdx
je 0x140012252
add rax, rsi
xor esi, esi
nop word [rax + rax]
movzx edi, byte [rax + rsi]
mov byte [rsp + rdi + 0x20], 1
add rsi, 1
cmp rdx, rsi
jne 0x140012240
mov rax, 0xffffffffffffffff
cmp r10, r8
jbe 0x14001228f
mov rcx, qword [rcx]
nop word cs:[rax + rax]
nop dword [rax + rax]
movzx edx, byte [rcx + r8]
cmp byte [rsp + rdx + 0x20], 0
jne 0x14001228c
add r8, 1
cmp r10, r8
jne 0x140012270
jmp 0x14001228f
cmp r10, r8
je 0x14001228f
mov rax, r8
mov rcx, qword [rsp + 0x120]
xor rcx, rsp
mov rdx, qword [r9]
cmp rdx, rcx
jne 0x1400122ac
add rsp, 0x128
pop rdi
pop rsi
ret
call fcn.14005fbe0
int3
Function at 0x1400124c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
push rdi
sub rsp, 0x128
mov r9, qword [0x1400e00c0]
mov rax, qword [r9]
xor rax, rsp
mov qword [rsp + 0x120], rax
mov r10, qword [rcx + 8]
mov rax, 0xffffffffffffffff
test r10, r10
je 0x14001265a
mov r11, qword [rdx + 8]
test r11, r11
je 0x140012538
cmp r11, 1
jne 0x140012540
cmp r10, r8
jbe 0x14001265a
mov rdx, qword [rdx]
mov dl, byte [rdx]
mov rcx, qword [rcx]
nop word cs:[rax + rax]
nop dword [rax]
cmp byte [rcx + r8], dl
jne 0x140012657
add r8, 1
cmp r10, r8
jne 0x140012520
jmp 0x14001265a
mov rax, r11
jmp 0x14001265a
xorps xmm0, xmm0
movaps xmmword [rsp + 0x110], xmm0
movaps xmmword [rsp + 0x100], xmm0
movaps xmmword [rsp + 0xf0], xmm0
movaps xmmword [rsp + 0xe0], 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
movaps xmmword [rsp + 0x80], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x30], xmm0
movaps xmmword [rsp + 0x20], xmm0
mov rax, qword [rdx]
lea rsi, [r11 - 1]
mov edx, r11d
and edx, 3
cmp rsi, 3
jae 0x1400125c8
xor esi, esi
jmp 0x140012600
and r11, 0xfffffffffffffffc
xor esi, esi
nop
movzx edi, byte [rax + rsi]
mov byte [rsp + rdi + 0x20], 1
movzx edi, byte [rax + rsi + 1]
mov byte [rsp + rdi + 0x20], 1
movzx edi, byte [rax + rsi + 2]
mov byte [rsp + rdi + 0x20], 1
movzx edi, byte [rax + rsi + 3]
mov byte [rsp + rdi + 0x20], 1
add rsi, 4
cmp r11, rsi
jne 0x1400125d0
test rdx, rdx
je 0x140012622
add rax, rsi
xor esi, esi
nop word [rax + rax]
movzx edi, byte [rax + rsi]
mov byte [rsp + rdi + 0x20], 1
add rsi, 1
cmp rdx, rsi
jne 0x140012610
mov rax, 0xffffffffffffffff
cmp r10, r8
jbe 0x14001265a
mov rcx, qword [rcx]
nop word cs:[rax + rax]
nop dword [rax + rax]
movzx edx, byte [rcx + r8]
cmp byte [rsp + rdx + 0x20], 0
je 0x140012657
add r8, 1
cmp r10, r8
jne 0x140012640
jmp 0x14001265a
mov rax, r8
mov rcx, qword [rsp + 0x120]
xor rcx, rsp
mov rdx, qword [r9]
cmp rdx, rcx
jne 0x140012677
add rsp, 0x128
pop rdi
pop rsi
ret
call fcn.14005fbe0
int3
Function at 0x140012ce0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
sub rsp, 0x130
mov r9, qword [0x1400e00c0]
mov rax, qword [r9]
xor rax, rsp
mov qword [rsp + 0x128], rax
mov r10, qword [rcx + 8]
test r10, r10
je 0x140012e78
add r10, 0xffffffffffffffff
cmp r10, r8
cmovae r10, r8
mov r8, qword [rdx + 8]
test r8, r8
je 0x140012e81
cmp r8, 1
jne 0x140012d59
mov rax, qword [rdx]
mov dl, byte [rax]
mov rcx, qword [rcx]
cmp byte [rcx + r10], dl
jne 0x140012e81
mov rax, r10
nop dword [rax]
sub rax, 1
jb 0x140012e78
cmp byte [rcx + r10 - 1], dl
mov r10, rax
je 0x140012d40
jmp 0x140012e84
xorps xmm0, xmm0
movaps xmmword [rsp + 0x110], xmm0
movaps xmmword [rsp + 0x100], xmm0
movaps xmmword [rsp + 0xf0], xmm0
movaps xmmword [rsp + 0xe0], 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
movaps xmmword [rsp + 0x80], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x30], xmm0
movaps xmmword [rsp + 0x20], xmm0
mov rax, qword [rdx]
lea rdx, [r8 - 1]
mov r11d, r8d
and r11d, 3
cmp rdx, 3
jae 0x140012de2
xor edx, edx
jmp 0x140012e20
and r8, 0xfffffffffffffffc
xor edx, edx
nop dword [rax + rax]
movzx esi, byte [rax + rdx]
mov byte [rsp + rsi + 0x20], 1
movzx esi, byte [rax + rdx + 1]
mov byte [rsp + rsi + 0x20], 1
movzx esi, byte [rax + rdx + 2]
mov byte [rsp + rsi + 0x20], 1
movzx esi, byte [rax + rdx + 3]
mov byte [rsp + rsi + 0x20], 1
add rdx, 4
cmp r8, rdx
jne 0x140012df0
test r11, r11
je 0x140012e42
add rax, rdx
xor edx, edx
nop word [rax + rax]
movzx esi, byte [rax + rdx]
mov byte [rsp + rsi + 0x20], 1
add rdx, 1
cmp r11, rdx
jne 0x140012e30
mov rcx, qword [rcx]
movzx eax, byte [rcx + r10]
cmp byte [rsp + rax + 0x20], 0
je 0x140012e81
mov rax, r10
nop word cs:[rax + rax]
nop
sub rax, 1
jb 0x140012e78
movzx edx, byte [rcx + r10 - 1]
cmp byte [rsp + rdx + 0x20], 0
mov r10, rax
jne 0x140012e60
jmp 0x140012e84
mov rax, 0xffffffffffffffff
jmp 0x140012e84
mov rax, r10
mov rcx, qword [rsp + 0x128]
xor rcx, rsp
mov rdx, qword [r9]
cmp rdx, rcx
jne 0x140012ea0
add rsp, 0x130
pop rsi
ret
call fcn.14005fbe0
int3
Function at 0x140018620
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
mov r14, qword [0x1400e00c0]
mov rax, qword [r14]
xor rax, rsp
mov qword [rsp + 0x40], rax
movups xmm0, xmmword [rcx]
movaps xmmword [rsp + 0x20], xmm0
mov rsi, qword [rdx + 8]
cmp rsi, qword [rsp + 0x28]
jbe 0x140018658
xor ebx, ebx
jmp 0x1400186f0
mov ebp, r8d
mov r15, qword [rdx]
xor ebx, ebx
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x20]
xor r8d, r8d
mov r9, rsi
call fcn.140012f60
cmp ebp, 1
je 0x14001869c
test ebp, ebp
jne 0x1400186f0
cmp qword [rsp + 0x38], rsi
jne 0x140018651
mov rcx, qword [rsp + 0x30]
mov rdx, r15
mov r8, rsi
call sub.api_ms_win_crt_private_l1_1_0.dll_memcmp
test eax, eax
sete bl
jmp 0x1400186f0
test rsi, rsi
je 0x1400186ee
mov rax, qword [rsp + 0x30]
add rsi, 0xffffffffffffffff
xor ecx, ecx
nop dword [rax]
movzx edx, byte [r15 + rcx]
movzx ebp, byte [rax + rcx]
lea ebx, [rdx - 0x41]
lea edi, [rdx + 0x20]
cmp bl, 0x1a
movzx ebx, dil
cmovae ebx, edx
lea edx, [rbp - 0x41]
lea edi, [rbp + 0x20]
cmp dl, 0x1a
movzx edx, dil
cmovae edx, ebp
cmp bl, dl
sete bl
jne 0x1400186f0
lea rdx, [rcx + 1]
cmp rsi, rcx
mov rcx, rdx
jne 0x1400186b0
jmp 0x1400186f0
mov bl, 1
mov rax, qword [rsp + 0x40]
xor rax, rsp
mov rcx, qword [r14]
cmp rcx, rax
jne 0x14001870f
mov eax, ebx
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.14005fbe0
int3

Function at 0x140018850
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x50
mov ebx, r8d
mov r14, qword [0x1400e00c0]
mov rax, qword [r14]
xor rax, rsp
mov qword [rsp + 0x48], rax
movups xmm0, xmmword [rcx]
movaps xmmword [rsp + 0x20], xmm0
mov rdi, qword [rdx + 8]
mov r8, qword [rsp + 0x28]
sub r8, rdi
jb 0x1400188c2
mov r15, qword [rdx]
lea rcx, [rsp + 0x38]
lea rdx, [rsp + 0x20]
mov r9, rdi
call fcn.140012f60
cmp ebx, 1
je 0x1400188e0
test ebx, ebx
jne 0x1400188c2
cmp qword [rsp + 0x40], rdi
jne 0x1400188c2
mov rcx, qword [rsp + 0x38]
mov rdx, r15
mov r8, rdi
call sub.api_ms_win_crt_private_l1_1_0.dll_memcmp
test eax, eax
sete al
jmp 0x1400188c4
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
mov rdx, qword [r14]
cmp rdx, rcx
jne 0x140018942
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14001893e
mov r8, qword [rsp + 0x38]
add rcx, 0xffffffffffffffff
xor ebx, ebx
nop word cs:[rax + rax]
nop
movzx eax, byte [r8 + rbx]
movzx edi, byte [r15 + rbx]
lea esi, [rax - 0x41]
lea edx, [rax + 0x20]
cmp sil, 0x1a
movzx edx, dl
cmovae edx, eax
lea eax, [rdi - 0x41]
lea esi, [rdi + 0x20]
cmp al, 0x1a
movzx eax, sil
cmovae eax, edi
cmp dl, al
sete al
jne 0x1400188c4
lea rdx, [rbx + 1]
cmp rcx, rbx
mov rbx, rdx
jne 0x140018900
jmp 0x1400188c4
mov al, 1
jmp 0x1400188c4
call fcn.14005fbe0
int3
Function at 0x140029d80
Capabilities:
Get thread local storage value

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x168
mov r15, rdx
mov r12, rcx
mov r14, qword [0x1400e00c0]
mov rax, qword [r14]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov ecx, dword [0x14012a004]
cmp ecx, 0xffffffff
je 0x140029dc0
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
jne 0x140029dc5
call fcn.140029f80
mov al, byte [0x14012aed0]
test al, al
je 0x140029f2a
mov rbx, qword [0x14012ced8]
mov rcx, rbx
call fcn.14001e720
mov rcx, qword [0x14012c928]
add rcx, 1
mov edx, 0x100
lea rax, [0x14012b120]
nop dword [rax]
movzx edi, cl
lea rsi, [rdi + rdi*2]
cmp dword [rax + rsi*8], 0
je 0x140029e2a
lea edi, [rcx + 1]
movzx edi, dil
lea rsi, [rdi + rdi*2]
cmp dword [rax + rsi*8], 0
je 0x140029e2a
add rcx, 2
add rdx, 0xfffffffffffffffe
jne 0x140029e00
jmp 0x140029e51
lea rcx, [rax + rsi*8]
mov dword [rcx], 1
lea rcx, [rdi + rdi*2]
mov qword [rax + rcx*8 + 8], r15
mov qword [0x14012c928], rdi
mov dword [r12], edi
mov eax, dword [rax + rcx*8 + 0x10]
mov dword [r12 + 4], eax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov eax, dword [r12]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x24], 0xffffffff
cmp eax, 0xffffffff
jne 0x140029eaf
lea r8, str.slot____kInvalidSlotValue
lea rcx, [rsp + 0x28]
lea rdx, [rsp + 0x24]
call fcn.140002890
test rax, rax
je 0x140029eaf
lea rdx, str._var_tmp_build_firefox_1390a2309e98_security_sandbox_chromium_base_threading_thread_local_storage.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r8d, 0x196
mov r9, rax
call fcn.140003410
mov rcx, rdi
call fcn.1400035d0
mov eax, dword [r12]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x24], 0x100
cmp eax, 0xff
jle 0x140029f06
lea r8, str.slot____kThreadLocalStorageSize
lea rcx, [rsp + 0x28]
lea rdx, [rsp + 0x24]
call fcn.140002890
test rax, rax
je 0x140029f06
lea rdx, str._var_tmp_build_firefox_1390a2309e98_security_sandbox_chromium_base_threading_thread_local_storage.cc
lea rsi, [rsp + 0x28]
mov rcx, rsi
mov r8d, 0x197
mov r9, rax
call fcn.140003410
mov rcx, rsi
call fcn.1400035d0
mov rax, qword [rsp + 0x160]
xor rax, rsp
mov rcx, qword [r14]
cmp rcx, rax
jne 0x140029f6b
add rsp, 0x168
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea rcx, [0x14012aed0]
call fcn.1400aa594
test eax, eax
je 0x140029dd3
mov ecx, 8
call fcn.1400aa7c0
mov rbx, rax
mov rcx, rax
call fcn.14001e6e0
mov qword [0x14012ced8], rbx
lea rcx, [0x14012aed0]
call fcn.1400aa66b
jmp 0x140029dd3
call fcn.14005fbe0
int3
Function at 0x14002a340
Capabilities:
Get thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
mov ecx, dword [0x14012a004]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x14002a370
movsxd rcx, dword [rsi]
shl rcx, 4
mov edx, dword [rax + rcx + 8]
cmp edx, dword [rsi + 4]
jne 0x14002a370
mov rax, qword [rax + rcx]
jmp 0x14002a372
xor eax, eax
add rsp, 0x20
pop rsi
ret

Function at 0x14002a380
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov ecx, dword [0x14012a004]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
jne 0x14002a3a8
test rdi, rdi
je 0x14002a3c1
call fcn.140029f80
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

Function at 0x14002a3d0
Capabilities:
Get thread local storage value

Disassembly:
mov eax, 0xffffffff
mov qword [rcx], rax
jmp fcn.140029d80

Function at 0x14002a3f0
Capabilities:
Allocate thread local storage

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x14002a405
mov dword [rsi], eax
cmp eax, 0xffffffff
setne al
add rsp, 0x20
pop rsi
ret
Function at 0x14002bdc0
Capabilities:
Check for time delay via queryperformancecounter
Execute anti-debugging instructions

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x30
mov rsi, qword [0x1400e00c0]
mov rax, qword [rsi]
xor rax, rsp
mov qword [rsp + 0x28], rax
movsd xmm0, qword [0x14012cf40]
xorpd xmm1, xmm1
ucomisd xmm0, xmm1
jne 0x14002bf03
jp 0x14002bf03
mov rdi, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov r14d, eax
call rdi
mov rcx, rax
mov edx, 2
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov al, byte [0x14012af00]
test al, al
je 0x14002bf23
mov al, byte [0x14012af08]
test al, al
je 0x14002bf58
rdtsc
mov rdi, rax
mov rbx, rdx
mov qword [rsp + 0x20], 0
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rbp, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
mov edx, r14d
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov qword [rsp + 0x20], 0
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
sub rbp, qword [0x14012cf38]
movq xmm0, rbp
punpckldq xmm0, xmmword [0x1400e23a0]
subpd xmm0, xmmword [0x1400e23b0]
movapd xmm1, xmm0
unpckhpd xmm1, xmm0
addsd xmm1, xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, qword [rsp + 0x20]
divsd xmm1, xmm0
xorpd xmm0, xmm0
movsd xmm2, qword [0x1400e23c0]
ucomisd xmm2, xmm1
ja 0x14002bf03
shl rbx, 0x20
or rdi, rbx
sub rdi, qword [0x14012cf30]
movq xmm2, rdi
punpckldq xmm2, xmmword [0x1400e23a0]
subpd xmm2, xmmword [0x1400e23b0]
movapd xmm0, xmm2
unpckhpd xmm0, xmm2
addsd xmm0, xmm2
divsd xmm0, xmm1
movsd qword [0x14012cf40], xmm0
mov rax, qword [rsp + 0x28]
xor rax, rsp
mov rcx, qword [rsi]
cmp rcx, rax
jne 0x14002bf1e
add rsp, 0x30
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
call fcn.14005fbe0
lea rcx, [0x14012af00]
call fcn.1400aa594
test eax, eax
je 0x14002be2b
rdtsc
shl rdx, 0x20
or rdx, rax
mov qword [0x14012cf30], rdx
lea rcx, [0x14012af00]
call fcn.1400aa66b
jmp 0x14002be2b
lea rcx, [0x14012af08]
call fcn.1400aa594
test eax, eax
je 0x14002be39
mov qword [rsp + 0x20], 0
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rsp + 0x20]
mov qword [0x14012cf38], rax
lea rcx, [0x14012af08]
call fcn.1400aa66b
jmp 0x14002be39
Function at 0x14002d9c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
test r8, r8
je 0x14002dae5
mov rbx, rcx
mov rax, qword [rcx + 8]
movsxd rcx, dword [rax + 0x3c]
cmp dword [rax + rcx + 0x84], 0
je 0x14002dae5
cmp word [rax + rcx + 0x14], 0x78
jb 0x14002dae5
mov r12, r8
mov r14, rdx
mov edx, dword [rax + rcx + 0x88]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x10]
test rax, rax
je 0x14002dae5
cmp r14, 0xffff
jbe 0x14002db1b
mov rsi, rax
mov edx, dword [rax + 0x20]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x10]
mov edx, dword [rsi + 0x18]
lea rcx, [rdx*4]
test rcx, rcx
je 0x14002dae5
mov qword [rsp + 0x30], rsi
lea r15, [rax + rdx*4]
lea r13, [r14 + 1]
mov qword [rsp + 0x28], rax
mov rbp, rax
nop word cs:[rax + rax]
nop dword [rax]
mov rsi, r15
sub rsi, rbp
mov rax, rsi
sar rax, 2
shr rsi, 0x3f
add rsi, rax
and rsi, 0xfffffffffffffffe
mov edx, dword [rbp + rsi*2]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x10]
mov cl, byte [r14]
test cl, cl
je 0x14002dab3
mov rdx, r13
nop
cmp cl, byte [rax]
jne 0x14002dab5
add rax, 1
movzx ecx, byte [rdx]
add rdx, 1
test cl, cl
jne 0x14002daa0
xor ecx, ecx
lea rsi, [rsi*2]
add rsi, rbp
movzx ecx, cl
movzx eax, byte [rax]
mov edx, ecx
sub edx, eax
lea rdi, [rsi + 4]
test edx, edx
cmovg rbp, rdi
cmp ecx, eax
cmovs r15, rsi
je 0x14002daf8
xor eax, eax
cmp rbp, r15
jne 0x14002da70
jmp 0x14002dae7
xor eax, eax
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rdi, qword [rsp + 0x30]
mov edx, dword [rdi + 0x24]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x10]
sub rsi, qword [rsp + 0x28]
sar rsi, 1
movzx r14d, word [rax + rsi]
add r14w, word [rdi + 0x10]
mov word [r12], r14w
mov al, 1
jmp 0x14002dae7

Function at 0x14002e430
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [rcx + 8]
movzx ecx, word [rax]
cmp ecx, 0x5a4d
jne 0x14002e467
movsxd rcx, dword [rax + 0x3c]
cmp dword [rax + rcx], 0x4550
jne 0x14002e467
movzx edx, word [rax + rcx + 0x14]
cmp edx, 0xf0
jne 0x14002e467
movzx eax, word [rax + rcx + 0x18]
cmp eax, 0x20b
sete al
ret
xor eax, eax
ret
Function at 0x140030320
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x188
mov rdi, qword [0x1400e00c0]
mov rax, qword [rdi]
xor rax, rsp
mov qword [rsp + 0x180], rax
lea rcx, [rsp + 0x64]
mov r8d, 0x118
xor edx, edx
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov dword [rsp + 0x60], 0x11c
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
mov dword [rsp + 0x2c], 0
mov ecx, dword [rsp + 0x64]
mov edx, dword [rsp + 0x68]
lea rax, [rsp + 0x2c]
mov qword [rsp + 0x20], rax
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_GetProductInfo]
mov ecx, 0x80
call fcn.1400aa7c0
mov rsi, rax
mov al, byte [0x14012af58]
test al, al
je 0x1400303d9
mov r9d, dword [rsp + 0x2c]
lea r8, [0x14012cff8]
lea rdx, [rsp + 0x60]
mov rcx, rsi
call fcn.1400305b0
mov rax, qword [rsp + 0x180]
xor rax, rsp
mov rcx, qword [rdi]
cmp rcx, rax
jne 0x14003043b
mov rax, rsi
add rsp, 0x188
pop rdi
pop rsi
ret
lea rcx, [0x14012af58]
call fcn.1400aa594
test eax, eax
je 0x1400303a0
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
movaps xmm0, xmmword [rsp + 0x30]
movaps xmm1, xmmword [rsp + 0x40]
movaps xmm2, xmmword [rsp + 0x50]
movups xmmword [0x14012d018], xmm2
movups xmmword [0x14012d008], xmm1
movups xmmword [0x14012cff8], xmm0
lea rcx, [0x14012af58]
call fcn.1400aa66b
jmp 0x1400303a0
call fcn.14005fbe0
int3
Function at 0x14003c3c0
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 [0x1400e00c0]
mov rax, qword [r13]
xor rax, rsp
mov qword [rsp + 0x180], rax
test dl, dl
je 0x14003c451
lea rax, [0x14003d2c0]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], 0
lea rdi, [0x1400e2f40]
lea r8, [0x1400e2f54]
mov rcx, r12
mov rdx, rdi
mov r9d, 1
call fcn.14003b800
lea rax, [0x14003d330]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], 1
lea r8, [0x1400e2f67]
mov rcx, r12
mov rdx, rdi
mov r9d, 1
call fcn.14003b800
jmp 0x14003c45d
cmp qword [r12 + 0x18], 0
je 0x14003c5bd
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.14003b610
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 0x14003c507
lea rdx, str._var_tmp_build_firefox_1390a2309e98_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.140003350
mov rcx, rsi
call fcn.1400035d0
add rdi, rbx
mov qword [rsp + 0x48], r15
mov dword [rsp + 0x60], 0
mov qword [rsp + 0x50], 0x20
lea rcx, [0x14012dfb0]
mov r8d, 0x150
xor edx, edx
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
lea r9, [rsp + 0x48]
mov rcx, r12
mov rdx, rdi
mov r8, r15
call fcn.14003c8e0
test eax, eax
jne 0x14003c5bf
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 0x14003c5bf
cmp qword [rsp + 0x40], 0x20
jne 0x14003c5bf
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, [0x14012dfb0]
mov r9d, 0x150
call fcn.140056870
jmp 0x14003c5bf
xor eax, eax
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
mov rdx, qword [r13]
cmp rdx, rcx
jne 0x14003c5e7
add rsp, 0x188
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call fcn.14005fbe0
int3
Function at 0x14003ecc0
Capabilities:
Create pipe

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x58
mov r14, qword [rsp + 0xc8]
mov rbx, qword [0x1400e00c0]
mov rax, qword [rbx]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov qword [r14], 0xffffffffffffffff
mov eax, 5
cmp ecx, 3
jne 0x14003edb5
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 0x14003ed29
mov r8, qword [r8 + 0x10]
jmp 0x14003ed2d
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 0x14003ed9f
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 0x14003eda6
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 0x14003edcf
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.14005fbe0
int3