joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140050080
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14005011f
movsxd rax, dword [rcx + 0x3c]
cmp dword [rax + rcx], 0x4550
jne 0x14005011f
mov r8d, dword [rax + rcx + 0xd8]
test r8d, r8d
je 0x140050112
mov rdi, qword [r8 + rcx + 0x58]
test rdi, rdi
je 0x140050112
sub rcx, rdx
movabs rsi, 0x2b992ddfa232
add rdi, rcx
cmp qword [rdi], rsi
jne 0x14005011f
mov qword [rsp + 0x30], rbx
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
movabs rax, 0x2b992ddfa233
xor rcx, rbx
mov rbx, qword [rsp + 0x30]
xor rcx, rsi
cmp rcx, rsi
cmove rcx, rax
mov al, 1
mov qword [rdi], rcx
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov al, 1
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rsi, qword [rsp + 0x38]
xor al, al
add rsp, 0x20
pop rdi
ret

Function at 0x140050ca0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x140073040]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rsi, rdx
mov rdi, rcx
mov qword [rsp + 0x40], rcx
xor r8d, r8d
mov eax, 0x5a4d
cmp word [rdx], ax
jne 0x140050db2
movsxd rax, dword [rdx + 0x3c]
cmp dword [rax + rdx], 0x4550
jne 0x140050db2
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x48], xmm1
mov qword [rsp + 0x58], r8
mov ecx, dword [rax + rdx + 0xb0]
test ecx, ecx
jne 0x140050d19
mov qword [rdi], r8
mov qword [rdi + 8], r8
mov qword [rdi + 0x10], r8
jmp 0x140050dbd
lea rbx, [rdx + rcx]
mov ebp, dword [rax + rdx + 0xb4]
add rbp, rbx
mov rcx, qword [rsp + 0x50]
cmp rbx, rbp
jae 0x140050da0
mov edx, dword [rbx + 4]
test edx, edx
je 0x140050da0
mov eax, dword [rbx]
add rax, rsi
mov qword [rsp + 0x28], rax
lea rax, [rbx + 8]
mov qword [rsp + 0x30], rax
lea rax, [rdx - 8]
shr rax, 1
mov dword [rsp + 0x38], eax
cmp rcx, r8
je 0x140050d79
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rcx], xmm0
movsd xmm1, qword [rsp + 0x38]
movsd qword [rcx + 0x10], xmm1
add rcx, 0x18
mov qword [rsp + 0x50], rcx
jmp 0x140050d95
lea r8, [rsp + 0x28]
mov rdx, rcx
lea rcx, [rsp + 0x48]
call fcn.1400516c0
mov r8, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
mov eax, dword [rbx + 4]
add rbx, rax
cmp rbx, rbp
jb 0x140050d31
mov rax, qword [rsp + 0x48]
mov qword [rdi], rax
mov qword [rdi + 8], rcx
mov qword [rdi + 0x10], r8
jmp 0x140050dbd
mov qword [rcx], r8
mov qword [rcx + 8], r8
mov qword [rcx + 0x10], r8
mov rax, rdi
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140058e30
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140052560
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x140073040]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor edi, edi
lea r9, [rsp + 0x20]
mov rsi, rcx
mov dword [rsp + 0x20], edi
xor r8d, r8d
xor edx, edx
mov ebx, edi
lea ecx, [rdi + 0xb]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
jne 0x1400525f1
test rbx, rbx
je 0x1400525b9
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov edx, dword [rsp + 0x20]
xor ecx, ecx
mov r8d, 0x3000
lea r9d, [rcx + 4]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r8d, dword [rsp + 0x20]
lea r9, [rsp + 0x20]
mov rdx, rax
mov ecx, 0xb
mov rbx, rax
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
je 0x1400525a3
test eax, eax
jns 0x140052612
test rbx, rbx
je 0x140052617
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
jmp 0x1400526dd
test rbx, rbx
jne 0x14005261e
xor eax, eax
jmp 0x1400526dd
mov qword [rsp + 0x68], rbp
cmp dword [rbx], edi
jbe 0x1400526c5
nop dword [rax + rax]
mov eax, edi
imul rcx, rax, 0x128
movzx edx, word [rcx + rbx + 0x2e]
lea rbp, [rcx + rbx]
add rcx, 0x30
add rdx, rcx
lea rcx, [rsp + 0x28]
add rdx, rbx
call fcn.14004e510
cmp qword [rsi + 0x18], 0xf
mov rdx, rsi
jbe 0x140052663
mov rdx, qword [rsi]
cmp qword [rsp + 0x40], 0xf
lea rcx, [rsp + 0x28]
cmova rcx, qword [rsp + 0x28]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x1400526fa
mov rdx, qword [rsp + 0x40]
cmp rdx, 0xf
jbe 0x1400526bb
mov rcx, qword [rsp + 0x28]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400526b6
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140052743
call fcn.1400591bc
inc edi
cmp edi, dword [rbx]
jb 0x140052630
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
mov rbp, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140058e30
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
mov rdi, qword [rbp + 0x18]
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rdx, qword [rsp + 0x40]
cmp rdx, 0xf
jbe 0x14005274f
mov rcx, qword [rsp + 0x28]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005274a
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005274a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400591bc
mov rax, rdi
jmp 0x1400526d8
Function at 0x140053f90
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push rbx
sub rsp, 0xa0
mov rax, qword [0x140073040]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rbx, qword [0x140073c78]
test rbx, rbx
je 0x1400541c1
mov rcx, rbx
call fcn.1400536a0
test al, al
je 0x1400541c1
movaps xmmword [rsp + 0x90], xmm6
lea rcx, [rsp + 0x20]
mov r8d, 0x6d
movaps xmmword [rsp + 0x80], xmm7
mov rdx, rbx
call fcn.140053450
movups xmm0, xmmword [rsp + 0x20]
lea rdx, [rsp + 0x40]
movsd xmm1, qword [rsp + 0x30]
lea rcx, [rsp + 0x20]
movaps xmmword [rsp + 0x40], xmm0
movsd qword [rsp + 0x50], xmm1
call fcn.1400530f0
movsd xmm6, qword [rsp + 0x20]
xorps xmm4, xmm4
ucomisd xmm6, xmm4
movss xmm7, dword [0x1400730d4]
xorps xmm3, xmm3
xorps xmm2, xmm2
jp 0x14005402f
je 0x140054096
mov eax, dword [0x140073ce8]
movd xmm5, eax
cvtdq2pd xmm5, xmm5
comisd xmm6, xmm5
jbe 0x140054072
movaps xmm3, xmm5
add eax, eax
subsd xmm3, xmm6
cvtps2pd xmm0, xmm7
xorps xmm3, xmmword [0x14006a920]
divsd xmm3, xmm0
movd xmm0, eax
movaps xmm1, xmm3
cvtdq2pd xmm0, xmm0
addsd xmm1, xmm5
comisd xmm1, xmm0
jbe 0x140054072
xorps xmm3, xmm3
comisd xmm5, xmm6
jbe 0x140054096
movaps xmm3, xmm6
cvtps2pd xmm0, xmm7
subsd xmm3, xmm5
divsd xmm3, xmm0
movaps xmm0, xmm3
addsd xmm0, xmm5
comisd xmm4, xmm0
jbe 0x140054096
xorps xmm3, xmm3
movsd xmm5, qword [rsp + 0x28]
ucomisd xmm5, xmm4
jp 0x1400540a4
je 0x14005410b
mov eax, dword [0x140073cf0]
movd xmm6, eax
cvtdq2pd xmm6, xmm6
comisd xmm5, xmm6
jbe 0x1400540e7
movaps xmm2, xmm6
add eax, eax
subsd xmm2, xmm5
cvtps2pd xmm0, xmm7
xorps xmm2, xmmword [0x14006a920]
divsd xmm2, xmm0
movd xmm0, eax
movaps xmm1, xmm2
cvtdq2pd xmm0, xmm0
addsd xmm1, xmm6
comisd xmm1, xmm0
jbe 0x1400540e7
xorps xmm2, xmm2
comisd xmm6, xmm5
jbe 0x14005410b
movaps xmm2, xmm5
cvtps2pd xmm0, xmm7
subsd xmm2, xmm6
divsd xmm2, xmm0
movaps xmm0, xmm2
addsd xmm0, xmm6
comisd xmm4, xmm0
jbe 0x14005410b
xorps xmm2, xmm2
xor eax, eax
mov qword [rsp + 0x54], 0x4001
mov qword [rsp + 0x40], rax
xor ecx, ecx
mov qword [rsp + 0x5c], rax
mov edx, 0x1000
mov dword [rsp + 0x64], eax
mov r8d, edx
mov dword [rsp + 0x50], eax
cvttsd2si eax, xmm3
lea r9d, [rcx + 0x40]
mov dword [rsp + 0x48], eax
cvttsd2si eax, xmm2
mov dword [rsp + 0x4c], eax
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
movaps xmm7, xmmword [rsp + 0x80]
mov rbx, rax
movaps xmm6, xmmword [rsp + 0x90]
test rax, rax
je 0x1400541c1
movups xmm0, xmmword [0x140073b78]
mov r8d, 0x28
lea rdx, [rsp + 0x40]
movups xmmword [rax], xmm0
movsd xmm1, qword [0x140073b88]
movsd qword [rax + 0x10], xmm1
mov ecx, dword [0x140073b90]
mov dword [rax + 0x18], ecx
movzx ecx, word [0x140073b94]
mov word [rax + 0x1c], cx
lea ecx, [r8 - 0x27]
call rbx
xor edx, edx
mov r8d, 0x1000
mov rcx, rbx
call fcn.140059e84
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140058e30
add rsp, 0xa0
pop rbx
ret
Function at 0x140055aa0
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov edx, 7
mov rcx, qword [0x140073b38]
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
cmp byte [0x14006a45b], 0
mov eax, dword [0x14006a458]
mov dword [rsp + 0x38], eax
je 0x140055b92
xor r8d, r8d
cmp dword [0x140073088], 2
jl 0x140055b5c
movdqa xmm3, xmmword [0x14006a7c0]
movdqa xmm2, xmm3
movdqa xmm0, xmm3
punpckldq xmm2, xmm3
pmuldq xmm2, xmmword [0x14006a8f0]
punpckhdq xmm0, xmm3
pmuldq xmm0, xmmword [0x14006a8f0]
shufps xmm2, xmm0, 0xdd
psrad xmm2, 4
movdqa xmm0, xmm2
psrld xmm0, 0x1f
paddd xmm0, xmm2
pmulld xmm0, xmmword [0x14006a7e0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14006a820]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.3333333333333333]
movd xmm0, eax
xorps xmm2, xmm0
movd dword [rsp + 0x38], xmm2
jmp 0x140055b92
lea r9, [rsp + 0x38]
mov eax, 0x51eb851f
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x32
movzx eax, r8b
inc r8d
sub al, dl
add al, 0x33
xor byte [r9 - 1], al
cmp r8d, 4
jl 0x140055b61
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [rsp + 0x38]
call fcn.140050640
mov rcx, qword [0x140073b38]
mov edx, 6
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
cmp byte [0x14006a515], 0
lea rdx, [rsp + 0x38]
movzx eax, word [0x14006a514]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov word [rsp + 0x38], ax
je 0x140055be0
xor byte [rsp + 0x39], 0x34
mov byte [rsp + 0x38], 0x3d
call fcn.140050640
mov rcx, qword [0x140073b38]
mov edx, 7
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
movzx eax, word [0x14006a528]
lea rdx, [rsp + 0x38]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov word [rsp + 0x38], ax
movzx eax, byte [0x14006a52a]
xor byte [rsp + 0x39], 0x34
xor al, 0x35
mov byte [rsp + 0x3a], al
mov byte [rsp + 0x38], 0x5d
call fcn.140050640
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov rdx, rbx
add rsp, 0x20
pop rbx
jmp fcn.140050640
Function at 0x140055c40
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov edx, 7
mov rcx, qword [0x140073b38]
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
cmp byte [0x14006a45b], 0
mov eax, dword [0x14006a458]
mov dword [rsp + 0x38], eax
je 0x140055d32
xor r8d, r8d
cmp dword [0x140073088], 2
jl 0x140055cfc
movdqa xmm3, xmmword [0x14006a7c0]
movdqa xmm2, xmm3
movdqa xmm0, xmm3
punpckldq xmm2, xmm3
pmuldq xmm2, xmmword [0x14006a8f0]
punpckhdq xmm0, xmm3
pmuldq xmm0, xmmword [0x14006a8f0]
shufps xmm2, xmm0, 0xdd
psrad xmm2, 4
movdqa xmm0, xmm2
psrld xmm0, 0x1f
paddd xmm0, xmm2
pmulld xmm0, xmmword [0x14006a7e0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14006a820]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.3333333333333333]
movd xmm0, eax
xorps xmm2, xmm0
movd dword [rsp + 0x38], xmm2
jmp 0x140055d32
lea r9, [rsp + 0x38]
mov eax, 0x51eb851f
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x32
movzx eax, r8b
inc r8d
sub al, dl
add al, 0x33
xor byte [r9 - 1], al
cmp r8d, 4
jl 0x140055d01
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [rsp + 0x38]
call fcn.140050640
mov rcx, qword [0x140073b38]
mov edx, 0xa
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
cmp byte [0x14006a519], 0
lea rdx, [rsp + 0x38]
movzx eax, word [0x14006a518]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov word [rsp + 0x38], ax
je 0x140055d80
xor byte [rsp + 0x39], 0x34
mov byte [rsp + 0x38], 0x2b
call fcn.140050640
mov rcx, qword [0x140073b38]
mov edx, 7
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
movzx eax, word [0x14006a528]
lea rdx, [rsp + 0x38]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov word [rsp + 0x38], ax
movzx eax, byte [0x14006a52a]
xor byte [rsp + 0x39], 0x34
xor al, 0x35
mov byte [rsp + 0x3a], al
mov byte [rsp + 0x38], 0x5d
call fcn.140050640
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov rdx, rbx
add rsp, 0x20
pop rbx
jmp fcn.140050640
Function at 0x140059b9c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140059be6
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140059be6
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140059be6
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140059be6
cmp dword [rcx + 0x84], 0xe
jbe 0x140059be6
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140059be8
xor al, al
add rsp, 0x28
ret
Function at 0x1400281a0
Capabilities:
Access peb ldr_data

Disassembly:
push r12
push r14
push r15
sub r12, r12
add r12, 0x60
mov r14, qword gs:[r12]
push r11
mov r11, qword [r14 + 0x10]
add r14, 0x18
mov r15, qword [r14]
mov r12, r15
add r12, 0x10
mov r14, qword [r12]
push rax
mov r12, qword [r14 + 0x30]
cmp r12, 0
cmp esp, 0
je 0x1400281fa
mov r15, qword [r14 + 0x60]
mov rax, qword [r15]
and eax, 0xdf00df
mov r15, qword [r15 + 0xb]
add r15d, eax
shr r15d, 2
sub r15d, 0xc914cd2
cmp r15, 0
je 0x140028202
mov r14, qword [r14]
jmp 0x1400281cb
mov r14d, dword [r12 + 0x3c]
add r14, r12
add r14, 0x10
mov r15d, dword [r14 + 0x78]
add r15, r12
push r10
mov eax, dword [r15 + 0x20]
add rax, r12
mov r10d, dword [rax]
add r10, r12
mov r14d, dword [r10 + 0xb]
sub r14d, 0x746365
cmp r14d, 0
jne 0x140028237
jmp 0x140028245
inc rax
inc rax
inc rax
inc rax
jmp 0x14002821e
mov r14d, dword [r15 + 0x20]
sub rax, r14
sub rax, r12
shr eax, 1
mov r14d, dword [r15 + 0x24]
add r14, rax
add r14, r12
mov eax, dword [r14]
mov r14d, dword [r15 + 0x1c]
shl eax, 0x10
shr eax, 0xe
add r14, r12
add r14, rax
mov eax, dword [r14]
add rax, r12
mov r14d, 0xa6000
add r14, r11
push r12
push r11
push r14
push r10
push r10
push rax
mov rcx, r14
mov r9, rsp
mov r8d, 0x40
mov edx, 0xb8000
call rax
pop r15
pop r10
pop r10
pop r14
pop r11
mov r12d, 0x7230
push rax
movabs r15, ?_Xbad_function_call@std@@YAXXZ
mov eax, 9
imul r12, rax
movabs rax, 0x2661
add rax, r11
add r12, rax
call fcn.1400282fc
mov r12d, 0x7e811
movabs r14, 0xe6000
add r12, r11
mov r15d, 0x3b30
add r14, r11
call fcn.1400282fc
pop rax
jmp 0x140028322
nop
ret
mov r12d, 0x8000000
mov r15d, 0x49f
movabs r14, 0xa6000
mov eax, 3
imul r15d, eax
add r15d, 0x223
add r14, r11
sub r14, r15
mov r15, r14
sub r15, r12
mov r12d, 0x83411
add r12, r11
mov eax, dword [r12]
xor eax, 0x13109042
dec eax
cmp eax, 0
je 0x14002837f
add rax, r14
mov r10, qword [rax]
add r10, r15
mov qword [rax], r10
add r12, 4
jmp 0x14002835d
sub rsp, 0x28
movabs r14, 0x64fd
mov r12d, 0x3840
add r12, 0xc004f
add r12, r14
add r12, r11
push r12
dec r10
lea r15d, [eax]
jmp 0x140028320
invalid
Function at 0x1400111fe
Capabilities:
Terminate process

Disassembly:
jmp 0x1400131e0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x140011285
Capabilities:
Parse pe header

Disassembly:
jmp 0x140014530
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014550
xor al, al
jmp 0x1400145d1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014563
xor al, al
jmp 0x1400145d1
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14001458d
xor al, al
jmp 0x1400145d1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1400145a1
xor al, al
jmp 0x1400145d1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1400145b3
xor al, al
jmp 0x1400145d1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x1400145cf
xor al, al
jmp 0x1400145d1
mov al, 1
add rsp, 0x38
ret
Function at 0x140007310
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x1401ca2e0]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov eax, dword [r9]
mov rbx, r8
add eax, eax
mov rdi, r9
mov dword [rsp + 0x30], eax
xor esi, esi
mov dword [r9], esi
lea rax, [rsp + 0x30]
mov rcx, qword [rcx]
lea r9, [rsp + 0x34]
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140007398
mov eax, dword [rsp + 0x34]
dec eax
cmp eax, 1
ja 0x140007388
mov ecx, dword [rsp + 0x30]
test rbx, rbx
je 0x140007392
test ecx, ecx
je 0x14000738f
test cl, 1
jne 0x140007388
mov eax, ecx
shr rax, 1
cmp word [rbx + rax*2 - 2], si
je 0x140007392
mov eax, 0xd
jmp 0x140007398
mov word [rbx], si
shr ecx, 1
mov dword [rdi], ecx
xor eax, eax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400a7ab0
add rsp, 0x40
pop rdi
pop rsi
pop rbx
ret
Function at 0x14000c240
Capabilities:
Print debug messages

Disassembly:
push rdi
sub rsp, 0x40
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rsi
mov rdi, r9
mov rsi, r8
mov ebx, edx
call fcn.1400033d0
mov rcx, rax
test rax, rax
jne 0x14000c279
mov ecx, 0x80004005
call fcn.140003140
int3
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x30], rax
test ebx, ebx
je 0x14000c2ed
sub ebx, 1
mov r9d, dword [rsp + 0x70]
mov r8, rsi
lea rcx, [rsp + 0x30]
je 0x14000c2c4
cmp ebx, 1
mov rbx, qword [rsp + 0x78]
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rdi
je 0x14000c2bb
lea rdx, str._s__d_:__UNKNOWN_:___s_:__s_n
jmp 0x14000c2da
lea rdx, str._s__d_:__ERROR_:___s_:__s_n
jmp 0x14000c2da
mov rbx, qword [rsp + 0x78]
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rdi
lea rdx, str._s__d_:__INFO_:___s_:__s_n
call fcn.140002dd0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rax, qword [rsp + 0x30]
lea rdx, [rax - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14000c307
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret

Function at 0x14000c34c
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
sub rsp, 0x260
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x1401ca2e0]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rbp, rdx
mov rsi, rcx
mov qword [rsp + 0x28], rcx
xor edi, edi
mov dword [rcx], edi
mov qword [rcx + 8], rdi
mov qword [rcx + 0x10], rdi
mov dword [rcx + 0x18], edi
mov qword [rcx + 0x20], rdi
mov qword [rcx + 0x28], rdi
lea rbx, [rcx + 0x30]
mov qword [rsp + 0x30], rbx
mov qword [rbx], rdi
mov qword [rbx + 8], rdi
mov rcx, rbx
call fcn.140008280
mov qword [rbx], rax
mov dword [rsi + 0x40], edi
lea rbx, [rsi + 0x48]
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], rdi
cmp qword [rbx + 0x18], 8
jb 0x14000c3d4
mov rax, qword [rbx]
jmp 0x14000c3d7
mov rax, rbx
mov word [rax], di
test rbp, rbp
je 0x14000c3f5
cmp word [rbp], di
je 0x14000c3f0
mov rcx, rbp
call fcn.1400d8ac8
mov rdi, rax
mov rdx, rbp
jmp 0x14000c44d
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x40]
call fcn.1400c71f0
mov edx, 0x104
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea rcx, [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_PathStripToRootW]
lea rdx, str.Program_FilesCommon_FilesMcAfeePlatformCore_trusted.js
lea rcx, [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
cmp word [rsp + 0x40], di
je 0x14000c448
lea rcx, [rsp + 0x40]
call fcn.1400d8ac8
mov rdi, rax
lea rdx, [rsp + 0x40]
mov r8, rdi
mov rcx, rbx
call fcn.1400060a0
nop
mov rax, rsi
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.1400a7ab0
mov rbx, qword [rsp + 0x290]
add rsp, 0x260
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400218c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], r8
push rbx
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x38
mov rax, qword [rcx + 8]
mov r13, rcx
mov r15d, edx
mov r12d, r9d
mov r11, qword [rax + 8]
mov rax, qword [rcx + 0x28]
mov r8d, dword [r11 + 0x30]
mov ecx, r8d
mov r10, qword [rax + 8]
mov r14, qword [r11]
mov dword [rsp + 0x78], r8d
movsxd rax, dword [r10 + 0x30]
cmp eax, r8d
mov qword [rsp + 0x28], rax
cmovl ecx, eax
xor ebx, ebx
imul r15, rax
mov dword [rsp + 0x70], ecx
mov rcx, rax
cmp eax, r8d
je 0x140021928
cmp byte [r14 + 0x10], bl
mov eax, 8
cmovne ebx, eax
mov rdi, r15
sub rdi, rcx
test ebx, ebx
jne 0x140021a86
mov qword [rsp + 0x88], rbp
mov qword [rsp + 0x30], rsi
cmp rdi, r15
jge 0x140021a68
mov rax, rdi
movsxd rbp, r8d
cqo
mov qword [rsp + 0x20], 0
idiv rbp
mov rsi, rdx
xor edx, edx
lea r10d, [rax + 1]
mov rax, qword [r13 + 8]
mov rcx, qword [rax + 8]
mov eax, dword [0x1401c8428]
div dword [rcx + 0x30]
inc eax
cmp r10d, eax
je 0x140021a5d
xor r9d, r9d
lea r8, [rsp + 0x20]
mov edx, r10d
mov rcx, r14
call qword [r14 + 0x108]
mov ebx, eax
test eax, eax
jne 0x1400219fd
mov rcx, qword [rsp + 0x20]
call fcn.14006aa80
mov ebx, eax
test eax, eax
jne 0x1400219fd
mov rax, qword [rsp + 0x20]
movsxd r8, dword [rsp + 0x70]
add rsi, qword [rax + 8]
mov rax, rdi
cqo
mov rcx, rsi
idiv qword [rsp + 0x28]
add rdx, qword [rsp + 0x80]
call fcn.1400c6560
mov rax, qword [rsp + 0x20]
mov rcx, qword [rax + 0x10]
mov byte [rcx], bl
test rdi, rdi
jne 0x1400219fd
test r12d, r12d
jne 0x1400219fd
mov rax, qword [r13 + 0x28]
mov rcx, qword [rax + 8]
mov eax, dword [rcx + 0x3c]
bswap eax
mov dword [rsi + 0x1c], eax
mov r8, qword [rsp + 0x20]
test r8, r8
je 0x140021a58
test byte [r8 + 0x34], 0x20
je 0x140021a50
mov r10, qword [r8 + 0x28]
dec dword [r10 + 0x98]
mov rax, qword [r10 + 0xa8]
mov qword [r8 + 0x20], rax
movsxd rax, dword [r10 + 0xbc]
mov rcx, qword [r10 + 0x48]
mov qword [r10 + 0xa8], r8
mov edx, dword [r8 + 0x30]
mov r8, qword [r8 + 8]
dec edx
mov r9, qword [rcx]
imul rdx, rax
call qword [r9 + 0x90]
jmp 0x140021a58
mov rcx, r8
call fcn.14006b8d0
mov r8d, dword [rsp + 0x78]
add rdi, rbp
test ebx, ebx
je 0x140021943
mov rbp, qword [rsp + 0x88]
mov eax, ebx
mov rsi, qword [rsp + 0x30]
add rsp, 0x38
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rbx
ret
mov eax, ebx
add rsp, 0x38
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rbx
ret