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

Disassembly:
push rsi
push rdi
sub rsp, 0x128
mov r9, qword [0x1400f6380]
mov rax, qword [r9]
xor rax, rsp
mov qword [rsp + 0x120], rax
mov r10, qword [rcx + 8]
mov rax, 0xffffffffffffffff
test r10, r10
je 0x14002595f
mov r11, qword [rdx + 8]
test r11, r11
je 0x14002595f
cmp r11, 1
jne 0x140025838
cmp r10, r8
jbe 0x14002595f
mov rdx, qword [rdx]
mov dl, byte [rdx]
mov rcx, qword [rcx]
nop word cs:[rax + rax]
cmp byte [rcx + r8], dl
je 0x140025957
add r8, 1
cmp r10, r8
jne 0x140025820
jmp 0x14002595f
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 0x1400258c0
xor esi, esi
jmp 0x140025900
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 0x1400258d0
test rdx, rdx
je 0x140025922
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 0x140025910
mov rax, 0xffffffffffffffff
cmp r10, r8
jbe 0x14002595f
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 0x14002595c
add r8, 1
cmp r10, r8
jne 0x140025940
jmp 0x14002595f
cmp r10, r8
je 0x14002595f
mov rax, r8
mov rcx, qword [rsp + 0x120]
xor rcx, rsp
mov rdx, qword [r9]
cmp rdx, rcx
jne 0x14002597c
add rsp, 0x128
pop rdi
pop rsi
ret
call fcn.140072349
int3
Function at 0x140025b90
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
push rdi
sub rsp, 0x128
mov r9, qword [0x1400f6380]
mov rax, qword [r9]
xor rax, rsp
mov qword [rsp + 0x120], rax
mov r10, qword [rcx + 8]
mov rax, 0xffffffffffffffff
test r10, r10
je 0x140025d2a
mov r11, qword [rdx + 8]
test r11, r11
je 0x140025c08
cmp r11, 1
jne 0x140025c10
cmp r10, r8
jbe 0x140025d2a
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 0x140025d27
add r8, 1
cmp r10, r8
jne 0x140025bf0
jmp 0x140025d2a
mov rax, r11
jmp 0x140025d2a
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 0x140025c98
xor esi, esi
jmp 0x140025cd0
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 0x140025ca0
test rdx, rdx
je 0x140025cf2
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 0x140025ce0
mov rax, 0xffffffffffffffff
cmp r10, r8
jbe 0x140025d2a
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 0x140025d27
add r8, 1
cmp r10, r8
jne 0x140025d10
jmp 0x140025d2a
mov rax, r8
mov rcx, qword [rsp + 0x120]
xor rcx, rsp
mov rdx, qword [r9]
cmp rdx, rcx
jne 0x140025d47
add rsp, 0x128
pop rdi
pop rsi
ret
call fcn.140072349
int3
Function at 0x1400263b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
sub rsp, 0x130
mov r9, qword [0x1400f6380]
mov rax, qword [r9]
xor rax, rsp
mov qword [rsp + 0x128], rax
mov rax, qword [rcx + 8]
test rax, rax
je 0x140026557
add rax, 0xffffffffffffffff
cmp rax, r8
cmovae rax, r8
mov r8, qword [rdx + 8]
test r8, r8
je 0x14002655e
cmp r8, 1
jne 0x14002643b
mov rdx, qword [rdx]
mov r8b, byte [rdx]
mov r10, qword [rcx]
add rax, 1
nop word cs:[rax + rax]
nop
mov rcx, rax
movzx edx, byte [r10 + rax - 1]
add rax, 0xffffffffffffffff
cmp rcx, 1
je 0x140026428
cmp dl, r8b
je 0x140026410
cmp dl, r8b
mov rcx, 0xffffffffffffffff
cmove rax, rcx
jmp 0x14002655e
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 r11, qword [rdx]
lea rdx, [r8 - 1]
mov r10d, r8d
and r10d, 3
cmp rdx, 3
jae 0x1400264c4
xor edx, edx
jmp 0x140026504
and r8, 0xfffffffffffffffc
xor edx, edx
nop word [rax + rax]
movzx esi, byte [r11 + rdx]
mov byte [rsp + rsi + 0x20], 1
movzx esi, byte [r11 + rdx + 1]
mov byte [rsp + rsi + 0x20], 1
movzx esi, byte [r11 + rdx + 2]
mov byte [rsp + rsi + 0x20], 1
movzx esi, byte [r11 + rdx + 3]
mov byte [rsp + rsi + 0x20], 1
add rdx, 4
cmp r8, rdx
jne 0x1400264d0
test r10, r10
je 0x140026523
add r11, rdx
xor edx, edx
nop
movzx esi, byte [r11 + rdx]
mov byte [rsp + rsi + 0x20], 1
add rdx, 1
cmp r10, rdx
jne 0x140026510
mov rcx, qword [rcx]
movzx edx, byte [rcx + rax]
cmp byte [rsp + rdx + 0x20], 0
je 0x14002655e
nop word cs:[rax + rax]
nop dword [rax + rax]
test rax, rax
je 0x140026557
movzx edx, byte [rcx + rax - 1]
add rax, 0xffffffffffffffff
cmp byte [rsp + rdx + 0x20], 0
jne 0x140026540
jmp 0x14002655e
mov rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x128]
xor rcx, rsp
mov rdx, qword [r9]
cmp rdx, rcx
jne 0x14002657a
add rsp, 0x130
pop rsi
ret
call fcn.140072349
int3
Function at 0x14002bc10
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 [0x1400f6380]
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 0x14002bc48
xor ebx, ebx
jmp 0x14002bcdd
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.140026650
cmp ebp, 1
je 0x14002bc8c
test ebp, ebp
jne 0x14002bcdd
cmp qword [rsp + 0x38], rsi
jne 0x14002bc41
mov rcx, qword [rsp + 0x30]
mov rdx, r15
mov r8, rsi
call sub.ntdll.dll_memcmp
test eax, eax
sete bl
jmp 0x14002bcdd
test rsi, rsi
je 0x14002bcdb
mov rax, qword [rsp + 0x30]
xor ecx, ecx
nop dword [rax + 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 0x14002bcdd
add rcx, 1
cmp rsi, rcx
jne 0x14002bca0
jmp 0x14002bcdd
mov bl, 1
mov rax, qword [rsp + 0x40]
xor rax, rsp
mov rcx, qword [r14]
cmp rcx, rax
jne 0x14002bcfc
mov eax, ebx
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.140072349
int3

Function at 0x14002be20
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 [0x1400f6380]
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 0x14002be92
mov r15, qword [rdx]
lea rcx, [rsp + 0x38]
lea rdx, [rsp + 0x20]
mov r9, rdi
call fcn.140026650
cmp ebx, 1
je 0x14002beb0
test ebx, ebx
jne 0x14002be92
cmp qword [rsp + 0x40], rdi
jne 0x14002be92
mov rcx, qword [rsp + 0x38]
mov rdx, r15
mov r8, rdi
call sub.ntdll.dll_memcmp
test eax, eax
sete al
jmp 0x14002be94
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
mov rdx, qword [r14]
cmp rdx, rcx
jne 0x14002bf0f
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14002bf0b
mov r8, qword [rsp + 0x38]
xor ebx, ebx
nop word cs:[rax + rax]
nop dword [rax + rax]
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 0x14002be94
add rbx, 1
cmp rcx, rbx
jne 0x14002bed0
jmp 0x14002be94
mov al, 1
jmp 0x14002be94
call fcn.140072349
int3
Function at 0x14003ca10
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 [0x1400f6380]
mov rax, qword [r14]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov ecx, dword [0x14012c038]
cmp ecx, 0xffffffff
je 0x14003ca50
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
jne 0x14003ca55
call fcn.14003cc10
mov al, byte [0x14012e0d8]
test al, al
je 0x14003cbba
mov rbx, qword [0x14012fd40]
mov rcx, rbx
call fcn.1400317c0
mov rcx, qword [0x14012fa68]
add rcx, 1
mov edx, 0x100
lea rax, [0x14012e260]
nop dword [rax]
movzx edi, cl
lea rsi, [rdi + rdi*2]
cmp dword [rax + rsi*8], 0
je 0x14003caba
lea edi, [rcx + 1]
movzx edi, dil
lea rsi, [rdi + rdi*2]
cmp dword [rax + rsi*8], 0
je 0x14003caba
add rcx, 2
add rdx, 0xfffffffffffffffe
jne 0x14003ca90
jmp 0x14003cae1
lea rcx, [rax + rsi*8]
mov dword [rcx], 1
lea rcx, [rdi + rdi*2]
mov qword [rax + rcx*8 + 8], r15
mov qword [0x14012fa68], 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 0x14003cb3f
lea r8, str.slot____kInvalidSlotValue
lea rcx, [rsp + 0x28]
lea rdx, [rsp + 0x24]
call fcn.140017ba0
test rax, rax
je 0x14003cb3f
lea rdx, str._var_tmp_build_firefox_cc4c8eaff833_security_sandbox_chromium_base_threading_thread_local_storage.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r8d, 0x196
mov r9, rax
call fcn.140018720
mov rcx, rdi
call fcn.1400188e0
mov eax, dword [r12]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x24], 0x100
cmp eax, 0xff
jle 0x14003cb96
lea r8, str.slot____kThreadLocalStorageSize
lea rcx, [rsp + 0x28]
lea rdx, [rsp + 0x24]
call fcn.140017ba0
test rax, rax
je 0x14003cb96
lea rdx, str._var_tmp_build_firefox_cc4c8eaff833_security_sandbox_chromium_base_threading_thread_local_storage.cc
lea rsi, [rsp + 0x28]
mov rcx, rsi
mov r8d, 0x197
mov r9, rax
call fcn.140018720
mov rcx, rsi
call fcn.1400188e0
mov rax, qword [rsp + 0x160]
xor rax, rsp
mov rcx, qword [r14]
cmp rcx, rax
jne 0x14003cbfb
add rsp, 0x168
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea rcx, [0x14012e0d8]
call fcn.1400c0194
test eax, eax
je 0x14003ca63
mov ecx, 8
call fcn.1400c03b0
mov rbx, rax
mov rcx, rax
call fcn.140031780
mov qword [0x14012fd40], rbx
lea rcx, [0x14012e0d8]
call fcn.1400c0265
jmp 0x14003ca63
call fcn.140072349
int3
Function at 0x14003cfd0
Capabilities:
Get thread local storage value

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

Function at 0x14003d010
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov ecx, dword [0x14012c038]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
jne 0x14003d038
test rdi, rdi
je 0x14003d051
call fcn.14003cc10
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 0x14003d060
Capabilities:
Get thread local storage value

Disassembly:
mov eax, 0xffffffff
mov qword [rcx], rax
jmp fcn.14003ca10

Function at 0x14003d080
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 0x14003d095
mov dword [rsi], eax
cmp eax, 0xffffffff
setne al
add rsp, 0x20
pop rsi
ret
Function at 0x14003eae0
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 [0x1400f6380]
mov rax, qword [rsi]
xor rax, rsp
mov qword [rsp + 0x28], rax
movsd xmm0, qword [0x14012fdb0]
xorpd xmm1, xmm1
ucomisd xmm0, xmm1
jne 0x14003ec23
jp 0x14003ec23
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 [0x14012e108]
test al, al
je 0x14003ec43
mov al, byte [0x14012e110]
test al, al
je 0x14003ec78
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 [0x14012fda8]
movq xmm0, rbp
punpckldq xmm0, xmmword [0x1400fabb0]
subpd xmm0, xmmword [0x1400fabc0]
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 [0x1400fabd0]
ucomisd xmm2, xmm1
ja 0x14003ec23
shl rbx, 0x20
or rdi, rbx
sub rdi, qword [0x14012fda0]
movq xmm2, rdi
punpckldq xmm2, xmmword [0x1400fabb0]
subpd xmm2, xmmword [0x1400fabc0]
movapd xmm0, xmm2
unpckhpd xmm0, xmm2
addsd xmm0, xmm2
divsd xmm0, xmm1
movsd qword [0x14012fdb0], xmm0
mov rax, qword [rsp + 0x28]
xor rax, rsp
mov rcx, qword [rsi]
cmp rcx, rax
jne 0x14003ec3e
add rsp, 0x30
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
call fcn.140072349
lea rcx, [0x14012e108]
call fcn.1400c0194
test eax, eax
je 0x14003eb4b
rdtsc
shl rdx, 0x20
or rdx, rax
mov qword [0x14012fda0], rdx
lea rcx, [0x14012e108]
call fcn.1400c0265
jmp 0x14003eb4b
lea rcx, [0x14012e110]
call fcn.1400c0194
test eax, eax
je 0x14003eb59
mov qword [rsp + 0x20], 0
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rsp + 0x20]
mov qword [0x14012fda8], rax
lea rcx, [0x14012e110]
call fcn.1400c0265
jmp 0x14003eb59
Function at 0x1400408f0
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, 0x28
test r8, r8
je 0x140040a15
mov rdi, rcx
mov rax, qword [rcx + 8]
movsxd rcx, dword [rax + 0x3c]
cmp dword [rax + rcx + 0x84], 0
je 0x140040a15
cmp word [rax + rcx + 0x14], 0x78
jb 0x140040a15
mov rsi, r8
mov r12, rdx
mov edx, dword [rax + rcx + 0x88]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x10]
test rax, rax
je 0x140040a15
cmp r12, 0xffff
ja 0x14004095f
mov word [rsi], r12w
jmp 0x140040a49
mov r14, rax
mov edx, dword [rax + 0x20]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x10]
mov edx, dword [r14 + 0x18]
lea rcx, [rdx*4]
test rcx, rcx
je 0x140040a15
lea r15, [rax + rdx*4]
lea r13, [r12 + 1]
mov qword [rsp + 0x20], rax
mov rbp, rax
nop word cs:[rax + rax]
nop
mov rbx, r15
sub rbx, rbp
mov rax, rbx
sar rax, 2
shr rbx, 0x3f
add rbx, rax
and rbx, 0xfffffffffffffffe
mov edx, dword [rbp + rbx*2]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x10]
mov cl, byte [r12]
test cl, cl
je 0x1400409e3
mov rdx, r13
cmp cl, byte [rax]
jne 0x1400409e5
add rax, 1
movzx ecx, byte [rdx]
add rdx, 1
test cl, cl
jne 0x1400409d0
xor ecx, ecx
lea rbx, [rbx*2]
add rbx, rbp
movzx ecx, cl
movzx eax, byte [rax]
mov edx, ecx
sub edx, eax
test edx, edx
cmovle r15, rbx
lea rdx, [rbx + 4]
cmovg rbp, rdx
cmp ecx, eax
je 0x140040a28
xor eax, eax
cmp rbp, r15
jne 0x1400409a0
jmp 0x140040a17
xor eax, eax
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov edx, dword [r14 + 0x24]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x10]
sub rbx, qword [rsp + 0x20]
sar rbx, 1
movzx eax, word [rax + rbx]
add ax, word [r14 + 0x10]
mov word [rsi], ax
mov al, 1
jmp 0x140040a17

Function at 0x140041350
Capabilities:
Parse pe header

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

Disassembly:
push rsi
push rdi
sub rsp, 0x188
mov rdi, qword [0x1400f6380]
mov rax, qword [rdi]
xor rax, rsp
mov qword [rsp + 0x180], rax
lea rcx, [rsp + 0x64]
mov r8d, 0x118
xor edx, edx
call sub.ntdll.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.1400c03b0
mov rsi, rax
mov al, byte [0x14012e160]
test al, al
je 0x140043389
mov r9d, dword [rsp + 0x2c]
lea r8, [0x14012fe68]
lea rdx, [rsp + 0x60]
mov rcx, rsi
call fcn.140043560
mov rax, qword [rsp + 0x180]
xor rax, rsp
mov rcx, qword [rdi]
cmp rcx, rax
jne 0x1400433eb
mov rax, rsi
add rsp, 0x188
pop rdi
pop rsi
ret
lea rcx, [0x14012e160]
call fcn.1400c0194
test eax, eax
je 0x140043350
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 [0x14012fe88], xmm2
movups xmmword [0x14012fe78], xmm1
movups xmmword [0x14012fe68], xmm0
lea rcx, [0x14012e160]
call fcn.1400c0265
jmp 0x140043350
call fcn.140072349
int3

Function at 0x1400477d0
Capabilities:
Check if file exists

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rsi, rcx
mov qword [rcx], 0
mov rdi, qword [rdx]
mov qword [rdx], 0
lea rax, [rdi + 1]
cmp rax, 2
jb 0x140047815
mov rbx, rdx
mov r14, qword [rsp + 0x48]
call fcn.14001f300
mov rcx, rdi
mov rdx, rbx
mov r8, r14
mov r9, rax
call fcn.1400418f0
mov rcx, rsi
mov rdx, rdi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
jmp fcn.14001f570

Function at 0x14004ce80
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rcx
lea rax, [rcx + 8]
xorps xmm0, xmm0
movups xmmword [rcx + 8], xmm0
mov qword [rcx], rax
lea rdi, [rcx + 0x18]
xor ecx, ecx
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rsi + 0x18], 0
mov rcx, rdi
mov rdx, rax
add rsp, 0x28
pop rdi
pop rsi
jmp fcn.14001f570
Function at 0x14004f600
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 [0x1400f6380]
mov rax, qword [r13]
xor rax, rsp
mov qword [rsp + 0x180], rax
test dl, dl
je 0x14004f691
lea rax, [0x140050490]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], 0
lea rdi, [0x1400fb720]
lea r8, [0x1400fb734]
mov rcx, r12
mov rdx, rdi
mov r9d, 1
call fcn.14004e9d0
lea rax, [0x140050500]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], 1
lea r8, [0x1400fb747]
mov rcx, r12
mov rdx, rdi
mov r9d, 1
call fcn.14004e9d0
jmp 0x14004f69d
cmp qword [r12 + 0x18], 0
je 0x14004f7fc
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.14004e7e0
mov rbx, rax
and rax, 0xfffffffffffff000
lea rdx, [rax + 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 0x14004f746
lea rdx, str._var_tmp_build_firefox_cc4c8eaff833_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.140018660
mov rcx, rsi
call fcn.1400188e0
add rdi, rbx
mov qword [rsp + 0x48], r15
mov dword [rsp + 0x60], 0
mov qword [rsp + 0x50], 0x20
lea rcx, [0x140130380]
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.14004fae0
test eax, eax
jne 0x14004f7fe
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 0x14004f7fe
cmp qword [rsp + 0x40], 0x20
jne 0x14004f7fe
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, [0x140130380]
mov r9d, 0x150
call fcn.140069500
jmp 0x14004f7fe
xor eax, eax
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
mov rdx, qword [r13]
cmp rdx, rcx
jne 0x14004f826
add rsp, 0x188
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call fcn.140072349
int3
Function at 0x140051ef0
Capabilities:
Create pipe

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x58
mov r14, qword [rsp + 0xc8]
mov rbx, qword [0x1400f6380]
mov rax, qword [rbx]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov qword [r14], 0xffffffffffffffff
cmp ecx, 3
jne 0x140051f50
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 0x140051f6e
mov r8, qword [r8 + 0x10]
jmp 0x140051f72
mov rax, qword [rsp + 0x50]
xor rax, rsp
mov rcx, qword [rbx]
cmp rcx, rax
jne 0x140052018
mov eax, 5
jmp 0x14005200e
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 0x140051fe6
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]
xor ecx, ecx
cmp eax, 1
sbb rcx, rcx
or rcx, qword [rsp + 0x48]
jmp 0x140051fed
mov rcx, 0xffffffffffffffff
mov qword [r14], rcx
xor eax, eax
cmp rcx, 0xffffffffffffffff
sete cl
mov rdx, qword [rsp + 0x50]
xor rdx, rsp
mov rbx, qword [rbx]
cmp rbx, rdx
jne 0x140052018
mov al, cl
lea eax, [rax + rax*4]
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.140072349
int3

Function at 0x140056520
Capabilities:
Read file via mapping

Disassembly:
mov rcx, rdx
xor edx, edx
jmp fcn.140056530