joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180073e60
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rdi, rcx
lea rcx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov rsi, qword [rbp - 0x58]
cmp rdi, 0x40000000
jbe 0x180073eaa
lea rax, [rdi - 0x40000000]
cmp rsi, rax
cmovb rsi, rax
mov rbx, qword [0x1800c9028]
lea r15, [rdi + 0x40000000]
cmp qword [rbp - 0x50], r15
cmovbe r15, qword [rbp - 0x50]
sub r15, 0xfff
test rbx, rbx
je 0x180073ee7
cmp rbx, rsi
jb 0x180073ee2
cmp rbx, r15
jae 0x180073ee2
cmp qword [rbx + 8], 0
jne 0x180074043
mov rbx, qword [rbx]
jmp 0x180073ec8
mov r14, rdi
cmp rdi, rsi
jb 0x180073f6b
mov r12d, dword [rbp - 0x38]
xor edx, edx
mov rax, r14
div r12
sub r14, rdx
sub r14, r12
cmp r14, rsi
jb 0x180073f62
mov r8d, 0x30
lea rdx, [rbp - 0x30]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x180073f62
cmp dword [rbp - 0x10], 0x10000
je 0x180073f32
mov r14, qword [rbp - 0x28]
cmp r14, r12
jb 0x180073f62
jmp 0x180073efe
test r14, r14
je 0x180073f62
mov edx, 0x1000
mov r9d, 0x40
mov r8d, 0x3000
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
jne 0x180074003
cmp r14, rsi
jae 0x180073eef
test rbx, rbx
jne 0x180074003
cmp rdi, r15
ja 0x180074043
mov r14d, dword [rbp - 0x38]
xor edx, edx
mov rax, rdi
mov esi, r14d
div r14
mov eax, r14d
sub rax, rdx
add rax, rdi
mov rdi, rax
cmp rax, r15
ja 0x180074043
mov r8d, 0x30
lea rdx, [rbp - 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x180074043
cmp dword [rbp - 0x10], 0x10000
je 0x180073fd9
xor edx, edx
lea edi, [r14 - 1]
add rdi, qword [rbp - 0x18]
add rdi, qword [rbp - 0x30]
mov rax, rdi
div rsi
sub rdi, rdx
cmp rdi, r15
jmp 0x180073f92
test rdi, rdi
je 0x180074043
mov edx, 0x1000
mov r9d, 0x40
mov r8d, 0x3000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
jmp 0x180073f65
and qword [rbx + 8], 0
lea rcx, [rbx + 0x40]
and dword [rbx + 0x10], 0
mov rdx, rcx
sub rdx, rbx
mov rax, qword [rbx + 8]
add rdx, 0x40
mov qword [rcx], rax
mov qword [rbx + 8], rcx
add rcx, 0x40
cmp rdx, 0xfc0
jbe 0x180074016
mov rax, qword [0x1800c9028]
mov qword [rbx], rax
mov qword [0x1800c9028], rbx
lea r11, [rsp + 0x80]
mov rax, rbx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x140011131
Capabilities:
Execute syscall

Disassembly:
jmp 0x1400135b1
mov r10, rcx
mov eax, dword [0x14001f170]
syscall
ret

Function at 0x140011181
Capabilities:
Encrypt data using rc4 via systemfunction032

Disassembly:
jmp 0x140012a20
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x188
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x2a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1a8]
mov rax, qword [0x14001f180]
xor rax, rbp
mov qword [rbp + 0x158], rax
lea rcx, [0x1400250a5]
call fcn.1400113f2
nop
mov dword [rbp + 4], 0
mov eax, dword [rbp + 0x190]
mov dword [rbp + 0x28], eax
mov eax, dword [rbp + 0x190]
mov dword [rbp + 0x2c], eax
mov rax, qword [rbp + 0x180]
mov qword [rbp + 0x30], rax
mov eax, dword [rbp + 0x198]
mov dword [rbp + 0x58], eax
mov eax, dword [rbp + 0x198]
mov dword [rbp + 0x5c], eax
mov rax, qword [rbp + 0x188]
mov qword [rbp + 0x60], rax
lea rcx, str.Advapi32
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, str.SystemFunction032
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp + 0x88], rax
lea rdx, [rbp + 0x28]
lea rcx, [rbp + 0x58]
call qword [rbp + 0x88]
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
je 0x140012b09
mov edx, dword [rbp + 4]
lea rcx, str.____SystemFunction032_FAILED_With_Error_:_0x_0.8X_n
call fcn.1400111bd
nop
xor eax, eax
jmp 0x140012b0e
mov eax, 1
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x14001bcc0]
call fcn.14001137a
mov rax, rdi
mov rcx, qword [rbp + 0x158]
xor rcx, rbp
call fcn.1400111d6
lea rsp, [rbp + 0x168]
pop rdi
pop rbp
ret

Function at 0x1400111fe
Capabilities:
Parse pe header

Disassembly:
jmp 0x140011ee0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x20]
lea rcx, [0x1400250a5]
call fcn.1400113f2
nop
mov rax, qword [rbp + 0x120]
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140011f22
xor eax, eax
jmp 0x140011f7b
mov rax, qword [rbp + 8]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rbp + 0x120]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x28]
cmp dword [rax], 0x4550
je 0x140011f4b
xor eax, eax
jmp 0x140011f7b
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rbp + 0x28]
mov eax, dword [rcx + rax + 0x88]
mov rcx, qword [rbp + 0x120]
add rcx, rax
mov rax, rcx
mov rcx, qword [rbp + 0x128]
mov qword [rcx], rax
mov eax, 1
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret
Function at 0x14001122b
Capabilities:
Terminate process

Disassembly:
jmp 0x140014a50
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]
nop
add rsp, 0x28
ret
Function at 0x1400112d0
Capabilities:
Parse pe header

Disassembly:
jmp 0x140015da0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140015dc0
xor al, al
jmp 0x140015e41
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140015dd3
xor al, al
jmp 0x140015e41
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 0x140015dfd
xor al, al
jmp 0x140015e41
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140015e11
xor al, al
jmp 0x140015e41
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140015e23
xor al, al
jmp 0x140015e41
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140015e3f
xor al, al
jmp 0x140015e41
mov al, 1
add rsp, 0x38
ret
Function at 0x14001142e
Capabilities:
Terminate process

Disassembly:
jmp 0x140011d60
mov word [rsp + 0x10], dx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rcx, [0x1400250a5]
call fcn.1400113f2
nop
mov ecx, 0x10
call qword [sym.imp.ucrtbased.dll_malloc]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x140011db4
lea rcx, [0x14001c320]
call fcn.1400111bd
nop
mov ecx, 1
call qword [sym.imp.ucrtbased.dll_exit]
nop
mov rax, qword [rbp + 8]
mov rcx, qword [rbp + 0x100]
mov qword [rax], rcx
mov rax, qword [rbp + 8]
movzx ecx, word [rbp + 0x108]
mov word [rax + 8], cx
mov rax, qword [rbp + 8]
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret

Function at 0x140013c90
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.14001141a
movzx eax, al
test eax, eax
jne 0x140013cb0
mov ecx, 7
call fcn.140011384
nop
mov byte [rsp + 0x20], 0
call fcn.140011398
mov byte [rsp + 0x21], al
cmp dword [0x14001f9e8], 1
jne 0x140013cd4
mov ecx, 7
call fcn.140011384
nop
jmp 0x140013d2c
cmp dword [0x14001f9e8], 0
jne 0x140013d27
mov dword [0x14001f9e8], 1
lea rdx, [0x14001b660]
lea rcx, [0x14001b330]
call fcn.1400111c2
test eax, eax
je 0x140013d08
mov eax, 0xff
jmp 0x140013e31
lea rdx, [0x14001b220]
lea rcx, [section..rdata]
call fcn.14001138e
mov dword [0x14001f9e8], 2
jmp 0x140013d2c
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.140011370
call fcn.1400112f3
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x140013d89
mov rcx, qword [rsp + 0x30]
call fcn.140011168
movzx eax, al
test eax, eax
je 0x140013d89
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x140026020]
nop
call fcn.14001132f
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x140013dbd
mov rcx, qword [rsp + 0x38]
call fcn.140011168
movzx eax, al
test eax, eax
je 0x140013dbd
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.1400113d4
nop
call fcn.140013ee0
mov dword [rsp + 0x28], eax
call fcn.1400112d0
movzx eax, al
test eax, eax
jne 0x140013ddc
mov ecx, dword [rsp + 0x28]
call fcn.140011055
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x140013deb
call fcn.1400113de
nop
xor edx, edx
mov cl, 1
call fcn.140011159
mov eax, dword [rsp + 0x28]
jmp 0x140013e31
add rsp, 0x68
ret
Function at 0x180001680
Capabilities:
Encode data using add xor sub operations
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
sub rsp, 0x150
lea rsi, [0x1800010b0]
lea r9, [0x180001150]
lea rdx, [rsp + 0x30]
lea rcx, [0x180001180]
mov r8d, 0x10
mov qword [rsp + 0x20], rsi
call fcn.1800018dc
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rbx, rax
test rax, rax
je 0x180001759
lea r9, [0x180001150]
lea rdx, [rsp + 0x30]
lea rcx, [0x180001170]
mov r8d, 0x10
mov qword [rsp + 0x20], rsi
call fcn.1800018dc
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, [rsp + 0x160]
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x160], 0x100
call rax
mov r11d, 7
lea r8, [rsp + 0x50]
mov edx, 0x4ad717d3
lea r9d, [r11 - 6]
movzx eax, byte [r8]
lea rcx, [0x1800030b0]
add r8, r9
movzx ecx, byte [rax + rcx]
xor edx, ecx
imul edx, edx, 0x1000193
sub r11d, r9d
jne 0x18000172d
or eax, 0xffffffff
cmp edx, 0xb37dd0ae
cmove eax, r9d
mov rbx, qword [rsp + 0x168]
add rsp, 0x150
pop rsi
ret

Function at 0x18000176c
Capabilities:
Create thread
Encode data using xor
Hash data using fnv
Terminate process

Disassembly:
push rsi
sub rsp, 0x150
mov al, byte [0x1800032b4]
test al, al
jne 0x180001888
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
lea rsi, [0x1800030b0]
xor ecx, ecx
mov qword [section..data], rax
mov rdx, rsi
lea eax, [rcx - 0x41]
cmp eax, 0x19
ja 0x1800017a9
lea eax, [rcx + 0x20]
jmp 0x1800017ab
mov al, cl
inc ecx
mov byte [rdx], al
inc rdx
cmp ecx, 0x100
jl 0x18000179c
lea rdx, [rsp + 0x50]
mov r8d, 0x80
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov al, byte [rsp + 0x50]
lea r11, [rsp + 0x50]
lea rcx, [rsp + 0x50]
jmp 0x1800017ef
cmp al, 0x5c
je 0x1800017e5
cmp al, 0x2f
jne 0x1800017e9
lea rcx, [r11 + 1]
inc r11
mov al, byte [r11]
test al, al
jne 0x1800017dd
mov rdx, rcx
cmp byte [rcx], al
je 0x18000180a
movzx eax, byte [rdx]
mov al, byte [rax + rsi]
mov byte [rdx], al
inc rdx
cmp byte [rdx], 0
jne 0x1800017fa
xor edx, edx
cmp byte [rcx], dl
je 0x18000181d
mov rax, rcx
inc rax
inc edx
cmp byte [rax], 0
jne 0x180001813
mov r8d, 0x4ad717d3
test edx, edx
je 0x180001855
movzx eax, byte [rcx]
inc rcx
xor r8d, eax
imul r8d, r8d, 0x1000193
sub edx, 1
jne 0x180001827
cmp r8d, 0xa787f3de
jne 0x180001855
xor ecx, ecx
mov byte [0x1800032b4], 0xff
call qword [sym.imp.KERNEL32.dll_ExitProcess]
lea rax, [0x1800010b0]
lea r9, [0x180001150]
lea rdx, [rsp + 0x30]
lea rcx, [0x180001160]
mov r8d, 0x10
mov byte [0x1800032b4], 2
mov qword [rsp + 0x20], rax
call fcn.1800018dc
jmp 0x1800018cc
cmp al, 2
jne 0x1800018cc
call fcn.180001680
test eax, eax
je 0x1800018cc
cmp eax, 1
jne 0x1800018c5
call fcn.1800015b4
lea r11, [rsp + 0x178]
lea r8, [0x180001190]
mov qword [rsp + 0x28], r11
and dword [rsp + 0x20], 0
xor r9d, r9d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov byte [0x1800032b4], 0xff
mov eax, 1
add rsp, 0x150
pop rsi
ret
Function at 0x1800018dc
Capabilities:
Encode data using xor
Encrypt data using xtea

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r13
push r14
push r15
add r8d, 7
mov r14, r9
mov r10, rdx
shr r8d, 3
mov rbx, rcx
lea rdi, [0x1800010b0]
test r8d, r8d
je 0x1800019c8
mov r11, rcx
mov esi, r8d
mov r15d, 0xc6ef3720
sub r11, rdx
mov r8d, dword [r11 + r10]
mov r9d, dword [r10 + r11 + 4]
mov ebp, r15d
mov r12, r15
mov r13d, 0x20
bswap r8d
bswap r9d
shr r12, 0xb
mov eax, r8d
mov ecx, r8d
shr ecx, 5
shl eax, 4
and r12d, 3
mov edx, dword [r14 + r12*4]
xor ecx, eax
add ecx, r8d
bswap edx
add edx, ebp
add ebp, 0x61c88647
xor edx, ecx
mov eax, ebp
mov r12d, ebp
sub r9d, edx
and eax, 3
mov edx, dword [r14 + rax*4]
mov eax, r9d
mov ecx, r9d
shr ecx, 5
shl eax, 4
bswap edx
xor ecx, eax
add edx, ebp
add ecx, r9d
xor edx, ecx
sub r8d, edx
sub r13, 1
jne 0x180001942
bswap r8d
bswap r9d
mov dword [r10], r8d
mov dword [r10 + 4], r9d
mov eax, dword [rdi]
xor dword [r10], eax
mov eax, dword [rdi + 4]
mov rdi, rbx
xor dword [r10 + 4], eax
add r10, 8
add rbx, 8
sub rsi, 1
jne 0x180001927
mov rbx, qword [rsp + 0x28]
mov rbp, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
pop r15
pop r14
pop r13
pop r12
ret
Function at 0x1400112b2
Capabilities:
Get token membership

Disassembly:
jmp 0x140017320
push rbp
push rdi
sub rsp, 0x188
lea rbp, [rsp + 0x60]
lea rdi, [rsp + 0x60]
mov ecx, 0x1a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x140029040]
xor rax, rbp
mov qword [rbp + 0x118], rax
lea rcx, [0x1400300f5]
call fcn.140011771
nop
mov dword [rbp + 4], 0
mov qword [rbp + 0x28], 0
mov byte [rbp + 0x44], 0
mov byte [rbp + 0x45], 0
mov byte [rbp + 0x46], 0
mov byte [rbp + 0x47], 0
mov byte [rbp + 0x48], 0
mov byte [rbp + 0x49], 5
lea rax, [rbp + 0x28]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x48], 0
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9d, 0x220
mov r8d, 0x20
mov dl, 2
lea rcx, [rbp + 0x44]
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x1400173f9
lea r8, [rbp + 4]
mov rdx, qword [rbp + 0x28]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
je 0x1400173f9
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_FreeSid]
nop
cmp dword [rbp + 4], 1
jne 0x14001740b
mov dword [rbp + 0x114], 1
jmp 0x140017415
mov dword [rbp + 0x114], 0
movzx eax, byte [rbp + 0x114]
mov edi, eax
lea rcx, [rbp - 0x60]
lea rdx, [0x140024400]
call fcn.14001167c
mov eax, edi
mov rcx, qword [rbp + 0x118]
xor rcx, rbp
call fcn.1400113b6
lea rsp, [rbp + 0x128]
pop rdi
pop rbp
ret
Function at 0x1400112c1
Capabilities:
Set registry value

Disassembly:
jmp 0x140017580
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x148
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x16
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x168]
mov rax, qword [0x140029040]
xor rax, rbp
mov qword [rbp + 0x100], rax
lea rcx, [0x1400300f5]
call fcn.140011771
nop
mov rcx, qword [rbp + 0x130]
call fcn.140011280
lea rcx, [rbp + 8]
mov qword [rsp + 0x20], rcx
mov r9d, 2
xor r8d, r8d
mov rdx, rax
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [rbp + 0x24], eax
cmp dword [rbp + 0x24], 0
jne 0x140017664
mov rcx, qword [rbp + 0x138]
call fcn.140011154
lea rax, [rax + rax + 2]
mov qword [rbp + 0xf8], rax
mov rcx, qword [rbp + 0x138]
call fcn.140011280
mov rcx, qword [rbp + 0xf8]
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, str.ProcessorNameString
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [rbp + 0x24], eax
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
jmp 0x1400176b2
lea rdx, str.Failed_to_open_registry_key:
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
call fcn.1400113f2
mov rdx, qword [rbp + 0x130]
mov rcx, rax
call fcn.140011474
lea rdx, str.._Error_code:
mov rcx, rax
call fcn.1400113f2
mov edx, dword [rbp + 0x24]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___long_int____ptr64]
lea rdx, [0x1400113c0]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
nop
lea rcx, [rbp - 0x30]
lea rdx, [0x140024600]
call fcn.14001167c
mov rcx, qword [rbp + 0x100]
xor rcx, rbp
call fcn.1400113b6
lea rsp, [rbp + 0x118]
pop rdi
pop rbp
ret

Function at 0x140011460
Capabilities:
Terminate process

Disassembly:
jmp 0x14001be40
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]
nop
add rsp, 0x28
ret
Function at 0x140011514
Capabilities:
Terminate process

Disassembly:
jmp 0x140017a30
push rbp
push rdi
sub rsp, 0x268
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x62
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x140029040]
xor rax, rbp
mov qword [rbp + 0x238], rax
lea rcx, [0x1400300f5]
call fcn.140011771
nop
lea rdx, str.HARDWAREDESCRIPTIONSystemCentralProcessor0
lea rcx, [rbp + 0x10]
call fcn.140011271
nop
lea rdx, str.HARDWAREDESCRIPTIONSystemCentralProcessor1
lea rcx, [rbp + 0x38]
call fcn.140011271
nop
lea rdx, str.HARDWAREDESCRIPTIONSystemCentralProcessor2
lea rcx, [rbp + 0x60]
call fcn.140011271
nop
lea rdx, str.HARDWAREDESCRIPTIONSystemCentralProcessor3
lea rcx, [rbp + 0x88]
call fcn.140011271
nop
xor ecx, ecx
call fcn.140019300
mov ecx, eax
call qword [sym.imp.ucrtbased.dll_srand]
nop
lea rcx, [rbp + 0xc8]
call fcn.140011357
nop
lea rax, [rbp + 0x10]
mov qword [rbp + 0x108], rax
mov rax, qword [rbp + 0x108]
mov qword [rbp + 0x128], rax
mov rax, qword [rbp + 0x108]
add rax, 0xa0
mov qword [rbp + 0x148], rax
jmp 0x140017b13
mov rax, qword [rbp + 0x128]
add rax, 0x28
mov qword [rbp + 0x128], rax
mov rax, qword [rbp + 0x148]
cmp qword [rbp + 0x128], rax
je 0x140017b47
mov rax, qword [rbp + 0x128]
mov qword [rbp + 0x168], rax
lea rdx, [rbp + 0xc8]
mov rcx, qword [rbp + 0x168]
call fcn.1400112c1
nop
jmp 0x140017b01
mov ecx, 2
call fcn.140011366
nop
lea rdx, str.Spoof_i
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.1400113f2
lea rdx, [0x1400113c0]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
nop
mov ecx, 0x9c4
call qword [sym.imp.KERNEL32.dll_Sleep]
nop
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x14001156e
Capabilities:
Parse pe header

Disassembly:
jmp 0x14001c970
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14001c990
xor al, al
jmp 0x14001ca11
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14001c9a3
xor al, al
jmp 0x14001ca11
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 0x14001c9cd
xor al, al
jmp 0x14001ca11
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x14001c9e1
xor al, al
jmp 0x14001ca11
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x14001c9f3
xor al, al
jmp 0x14001ca11
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001ca0f
xor al, al
jmp 0x14001ca11
mov al, 1
add rsp, 0x38
ret
Function at 0x14001a260
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.1400117a8
movzx eax, al
test eax, eax
jne 0x14001a280
mov ecx, 7
call fcn.14001168b
nop
mov byte [rsp + 0x20], 0
call fcn.1400116bd
mov byte [rsp + 0x21], al
cmp dword [0x140029520], 1
jne 0x14001a2a4
mov ecx, 7
call fcn.14001168b
nop
jmp 0x14001a2fc
cmp dword [0x140029520], 0
jne 0x14001a2f7
mov dword [0x140029520], 1
lea rdx, [0x140023770]
lea rcx, [0x140023440]
call fcn.14001139d
test eax, eax
je 0x14001a2d8
mov eax, 0xff
jmp 0x14001a401
lea rdx, [0x140023330]
lea rcx, [section..rdata]
call fcn.1400116a9
mov dword [0x140029520], 2
jmp 0x14001a2fc
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.140011672
call fcn.14001159b
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x14001a359
mov rcx, qword [rsp + 0x30]
call fcn.1400112f8
movzx eax, al
test eax, eax
je 0x14001a359
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x140031020]
nop
call fcn.1400115f5
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x14001a38d
mov rcx, qword [rsp + 0x38]
call fcn.1400112f8
movzx eax, al
test eax, eax
je 0x14001a38d
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.140011749
nop
call fcn.14001a4b0
mov dword [rsp + 0x28], eax
call fcn.14001156e
movzx eax, al
test eax, eax
jne 0x14001a3ac
mov ecx, dword [rsp + 0x28]
call fcn.1400110a0
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x14001a3bb
call fcn.140011762
nop
xor edx, edx
mov cl, 1
call fcn.1400112c6
mov eax, dword [rsp + 0x28]
jmp 0x14001a401
add rsp, 0x68
ret

Function at 0x140001070
Capabilities:
Allocate or change rwx memory

Disassembly:
sub rsp, 0x38
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x28], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
jne 0x140001099
lea rcx, str.Failed_to_get_module_handle._n
jmp 0x1400010c6
lea r9, [rsp + 0x20]
mov edx, 0x1000
mov r8d, 0x40
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
lea rcx, str.Text_segment_is_now_writable._n
lea rdx, str.Failed_to_change_protection._n
cmove rcx, rdx
call fcn.140001010
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1400010f0
add rsp, 0x38
ret

Function at 0x1400019c4
Capabilities:
Parse pe header

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