joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402283
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push rbp
sub rsp, 0x170
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x100], rcx
mov edx, 0
mov ecx, 0xf
call sym.CreateToolhelp32Snapshot
mov qword [rbp + 0xe0], rax
cmp qword [rbp + 0xe0], 0xffffffffffffffff
jne 0x4022e6
lea rdx, str.Failed_to_create_snapshot
mov rcx, qword [sym.imp.libstdc_6.dll_std::cerr]
call sym.std::basic_ostream_char__std::char_traits_char____std::operator____std::char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
mov rdx, qword [0x00406930]
mov rcx, rax
call sym.std::ostream::operator___std::ostream____std::ostream__
mov eax, 0
jmp 0x4023f9
mov dword [rbp - 0x60], 0x130
lea rax, [rbp - 0x60]
mov rcx, qword [rbp + 0xe0]
mov rdx, rax
call sym.Process32First
mov dword [rbp + 0xec], eax
cmp dword [rbp + 0xec], 0
je 0x4023e1
lea rax, [rbp - 0x60]
add rax, 0x2c
mov rdx, qword [rbp + 0x100]
mov rcx, rax
call sym.strcmp
test eax, eax
jne 0x4023c3
mov eax, dword [rbp - 0x58]
mov r8d, eax
mov edx, 0
mov ecx, 1
mov rax, qword [sym.imp.KERNEL32.dll_OpenProcess]
call rax
mov qword [rbp + 0xd8], rax
cmp qword [rbp + 0xd8], 0
je 0x4023c3
mov rax, qword [rbp + 0xd8]
mov edx, 9
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_TerminateProcess]
call rax
mov rax, qword [rbp + 0xd8]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov rax, qword [rbp + 0xe0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
lea rdx, str.Process_terminated_successfully.
mov rcx, qword [sym.imp.libstdc_6.dll_std::cout]
call sym.std::basic_ostream_char__std::char_traits_char____std::operator____std::char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
mov rdx, qword [0x00406930]
mov rcx, rax
call sym.std::ostream::operator___std::ostream____std::ostream__
mov eax, 1
jmp 0x4023f9
lea rax, [rbp - 0x60]
mov rcx, qword [rbp + 0xe0]
mov rdx, rax
call sym.Process32Next
mov dword [rbp + 0xec], eax
jmp 0x402306
mov rax, qword [rbp + 0xe0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov eax, 0
add rsp, 0x170
pop rbp
ret
Function at 0x403130
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x00409624]
test esi, esi
mov rbx, rcx
mov rbp, rdx
mov rdi, r8
jle 0x4032b8
mov rax, qword [0x00409628]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp rbx, rdx
jb 0x40317c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp rbx, rdx
jb 0x403205
add ecx, 1
add rax, 0x28
cmp ecx, esi
jne 0x403160
mov rcx, rbx
call sym.__mingw_GetSectionForAddress
test rax, rax
mov r12, rax
je 0x4032ed
mov rax, qword [0x00409628]
lea rsi, [rsi + rsi*4]
shl rsi, 3
add rax, rsi
mov qword [rax + 0x20], r12
mov dword [rax], 0
call sym._GetPEImageBase
mov ecx, dword [r12 + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x00409628]
mov qword [rax + rsi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x4032d0
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x4031fe
sub eax, 0x40
and eax, 0xffffffbf
jne 0x403260
add dword [0x00409624], 1
cmp edi, 8
jae 0x403233
test dil, 4
jne 0x4032a4
test edi, edi
je 0x403228
movzx eax, byte [rbp]
test dil, 2
mov byte [rbx], al
jne 0x4032bf
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov eax, edi
sub edi, 1
mov rdx, qword [rbp + rax - 8]
cmp edi, 8
mov qword [rbx + rax - 8], rdx
jb 0x403228
and edi, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov rcx, qword [rbp + rdx]
cmp eax, edi
mov qword [rbx + rdx], rcx
jb 0x40324c
jmp 0x403228
add rsi, qword [0x00409628]
mov r8d, 0x40
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r9, rsi
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x4031fe
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call sym.__report_error
mov eax, dword [rbp]
mov edi, edi
mov dword [rbx], eax
mov eax, dword [rbp + rdi - 4]
mov dword [rbx + rdi - 4], eax
jmp 0x403228
xor esi, esi
jmp 0x403187
mov edi, edi
movzx eax, word [rbp + rdi - 2]
mov word [rbx + rdi - 2], ax
jmp 0x403228
mov rax, qword [0x00409628]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [r12 + 8]
mov r8, qword [rax + rsi + 0x18]
call sym.__report_error
lea rcx, str.Address__p_has_no_image_section
mov rdx, rbx
call sym.__report_error
nop
nop dword [rax]

Function at 0x403a40
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x00409900]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x004098e0]
test rbx, rbx
je 0x403a94
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x403a8b
test rsi, rsi
je 0x403a8b
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x403a70
lea rcx, [0x00409900]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x403cd0
Capabilities:
Parse pe header

Disassembly:
cmp word [rcx], 0x5a4d
je 0x403ce0
xor eax, eax
ret
jmp sym._ValidateImageBase.part.0

Function at 0x403cf0
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
lea rax, [rcx + rax + 0x18]
movzx ecx, word [rcx + 6]
test ecx, ecx
je 0x403d31
sub ecx, 1
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
mov r8d, dword [rax + 0xc]
cmp r8, rdx
mov rcx, r8
ja 0x403d28
add ecx, dword [rax + 8]
cmp rcx, rdx
ja 0x403d33
add rax, 0x28
cmp rax, r9
jne 0x403d14
xor eax, eax
ret

Function at 0x403dd0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x004069b0]
cmp word [r8], 0x5a4d
mov rdx, rcx
jne 0x403e3d
mov rcx, r8
call sym._ValidateImageBase.part.0
test eax, eax
je 0x403e3d
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x403e3d
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x403e34
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x403e3f
add rax, 0x28
cmp rax, r9
jne 0x403e20
xor eax, eax
add rsp, 0x28
ret

Function at 0x403f40
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x004069b0]
xor eax, eax
cmp word [r8], 0x5a4d
mov rdx, rcx
je 0x403f60
add rsp, 0x28
ret
mov rcx, r8
call sym._ValidateImageBase.part.0
test eax, eax
je 0x403f58
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x403fbd
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x403fb4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x403fc4
add rax, 0x28
cmp rax, r9
jne 0x403fa0
xor eax, eax
add rsp, 0x28
ret
mov eax, dword [rax + 0x24]
not eax
shr eax, 0x1f
add rsp, 0x28
ret

Function at 0x403fe0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r11, qword [0x004069b0]
cmp word [r11], 0x5a4d
mov r9d, ecx
jne 0x40404e
mov rcx, r11
call sym._ValidateImageBase.part.0
test eax, eax
je 0x40404e
movsxd rax, dword [r11 + 0x3c]
add rax, r11
mov edx, dword [rax + 0x90]
test edx, edx
je 0x40404e
movzx ecx, word [rax + 0x14]
lea rcx, [rax + rcx + 0x18]
movzx eax, word [rax + 6]
test eax, eax
je 0x40404e
sub eax, 1
lea rax, [rax + rax*4]
lea rax, [rcx + rax*8 + 0x28]
mov r10d, dword [rcx + 0xc]
cmp rdx, r10
mov r8, r10
jb 0x404045
add r8d, dword [rcx + 8]
cmp rdx, r8
jb 0x404055
add rcx, 0x28
cmp rcx, rax
jne 0x404030
xor eax, eax
add rsp, 0x28
ret
add rdx, r11
jne 0x404068
jmp 0x40404e
sub r9d, 1
add rdx, 0x14
mov ecx, dword [rdx + 4]
test ecx, ecx
jne 0x404076
mov eax, dword [rdx + 0xc]
test eax, eax
je 0x40404e
test r9d, r9d
jg 0x404060
mov eax, dword [rdx + 0xc]
add rax, r11
add rsp, 0x28
ret
Function at 0x4048e0
Capabilities:
Execute command

Disassembly:
sub rsp, 0x28
call sym.__main
mov rax, qword [0x00406a20]
xor edx, edx
mov r9d, dword [rax]
mov rax, qword [0x00406a10]
mov r8, qword [rax]
mov rax, qword [0x00406a00]
mov rcx, qword [rax]
add rsp, 0x28
jmp sym.WinMain

Function at 0x404920
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call sym.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call sym.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop
nop
nop
nop
nop
nop
nop
Function at 0x180001000
Capabilities:
Contain obfuscated stackstrings
Resolve function by djb2 hash

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [0x180005008]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov ecx, 0x48b4de29
mov ebx, edx
call fcn.180001160
test rax, rax
jne 0x180001085
mov ecx, 0x7040ee75
call fcn.180001160
test rax, rax
je 0x180001070
mov edx, 0x5fbff0fb
mov rcx, rax
call fcn.1800010b0
test rax, rax
je 0x180001070
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x41766441
mov dword [rsp + 0x24], 0x32336970
mov dword [rsp + 0x28], 0x6c6c642e
mov byte [rsp + 0x2c], 0
call rax
test rax, rax
jne 0x180001085
xor eax, eax
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1800020c0
add rsp, 0x40
pop rbx
ret
mov edx, ebx
mov rcx, rax
call fcn.1800010b0
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1800020c0
add rsp, 0x40
pop rbx
ret

Function at 0x1800010b0
Capabilities:
Hash data using djb2
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
movsxd rax, dword [rcx + 0x3c]
xor r9d, r9d
mov ebx, edx
mov r11, rcx
mov r8d, dword [rax + rcx + 0x88]
add r8, rcx
mov edi, dword [r8 + 0x1c]
mov r10d, dword [r8 + 0x20]
add rdi, rcx
mov esi, dword [r8 + 0x24]
add r10, rcx
mov r8d, dword [r8 + 0x18]
add rsi, rcx
test r8d, r8d
je 0x180001132
nop dword [rax]
nop dword [rax + rax]
mov ecx, dword [r10]
mov eax, 0x1505
add rcx, r11
movzx edx, byte [rcx]
test edx, edx
je 0x180001122
imul eax, eax, 0x21
lea rcx, [rcx + 1]
add eax, edx
movzx edx, byte [rcx]
test edx, edx
jne 0x180001112
cmp eax, ebx
je 0x180001144
inc r9d
add r10, 4
cmp r9d, r8d
jb 0x180001100
xor eax, eax
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret
movzx ecx, word [rsi + r9*2]
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov eax, dword [rdi + rcx*4]
mov rdi, qword [rsp + 0x18]
add rax, r11
ret

Function at 0x180001160
Capabilities:
Access peb ldr_data
Hash data using djb2

Disassembly:
mov rax, qword gs:[0x60]
mov r11d, ecx
mov rdx, qword [rax + 0x18]
mov r10, qword [rdx + 0x20]
mov r9, r10
mov rdx, qword [r9 + 0x50]
test rdx, rdx
je 0x1800011e2
movzx eax, word [rdx]
mov r8, rdx
test ax, ax
je 0x1800011ad
nop dword [rax + rax]
lea ecx, [rax - 0x41]
cmp cx, 0x19
ja 0x1800011a0
add ax, 0x20
mov word [rdx], ax
movzx eax, word [rdx + 2]
add rdx, 2
test ax, ax
jne 0x180001190
movzx eax, word [r8]
mov ecx, 0x1505
test ax, ax
je 0x1800011d5
nop dword [rax + rax]
imul ecx, ecx, 0x21
lea r8, [r8 + 2]
movzx eax, ax
add ecx, eax
movzx eax, word [r8]
test ax, ax
jne 0x1800011c0
cmp ecx, r11d
je 0x1800011e5
mov r9, qword [r9]
cmp r9, r10
jne 0x180001177
xor eax, eax
ret
mov rax, qword [r9 + 0x20]
ret
Function at 0x180001a20
Capabilities:
Terminate process

Disassembly:
push rdi
sub rsp, 0x20
cmp edx, 1
jne 0x180001ac1
call qword [sym.imp.python311.dll_PyGILState_Ensure]
lea rdx, [sym._bof.cp311_win_amd64.pyd_PyInit__bof]
mov edi, eax
lea rcx, str._bof
call qword [sym.imp.python311.dll_PyImport_AppendInittab]
cmp eax, 0xffffffff
jne 0x180001a74
lea ecx, [rax + 3]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, str.Error:_could_not_extend_in_built_modules_table_n
call fcn.1800018f0
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov qword [rsp + 0x30], rbx
call qword [sym.imp.python311.dll_Py_Initialize]
mov edx, 0x3f5
lea rcx, [0x1800050a0]
call qword [sym.imp.python311.dll_PyModule_Create2]
lea rcx, str.builtins
mov rbx, rax
call qword [sym.imp.python311.dll_PyImport_ImportModule]
mov r8, rbx
lea rdx, str._bof
mov rcx, rax
call qword [sym.imp.python311.dll_PyModule_AddObject]
mov ecx, edi
call qword [sym.imp.python311.dll_PyGILState_Release]
mov rbx, qword [rsp + 0x30]
mov eax, 1
add rsp, 0x20
pop rdi
ret
Function at 0x14001ca30
Capabilities:
Set socket configuration

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, qword [0x14004add0]
mov rax, qword [rbx]
mov qword [rsp + 0x28], rax
xor eax, eax
xor eax, eax
test edx, edx
lea r8, [rsp + 0x24]
setne al
mov edx, 0x8004667e
mov dword [rsp + 0x24], eax
call qword [sym.imp.WS2_32.dll_ioctlsocket]
mov rdx, qword [rsp + 0x28]
sub rdx, qword [rbx]
jne 0x14001ca71
add rsp, 0x30
pop rbx
ret
call fcn.14001e3f0
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop

Function at 0x14001cfc0
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x28
call qword [sym.imp.msvcrt.dll__read]
cdqe
add rsp, 0x28
ret
Function at 0x140001d70
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x80
mov rax, qword [0x14008e0c0]
xor rax, rsp
mov qword [rsp + 0x70], rax
lea r15, [0x14008e148]
lea rdi, [0x14008e168]
cmp qword [0x14008e178], 0x19
jne 0x140001dfb
cmp qword [0x14008e158], 0x19
jne 0x140001dfb
mov rdx, r15
cmp qword [reloc.WS2_32.dll_ntohs], 0xf
cmova rdx, qword [0x14008e148]
mov rcx, rdi
cmp qword [reloc.WS2_32.dll_ntohs], 0xf
cmova rcx, qword [0x14008e168]
mov r8d, Ordinal_27
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140001f8c
mov word [rsp + 0x41], 0x7a
movdqa xmm0, xmmword [0x140082280]
movdqu xmmword [rsp + 0x28], xmm0
mov dword [rsp + 0x38], 0x74737271
mov dword [rsp + 0x3c], 0x78777675
mov byte [rsp + 0x40], 0x79
mov byte [rsp + 0x43], 0
lea r9, [rsp + 0x20]
lea r8, [rsp + 0x42]
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x50]
call fcn.1400032e0
nop
mov esi, Ordinal_27
mov r14, qword [rsp + 0x68]
mov r12, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x50]
movzx ebx, byte [rsp + 0x20]
nop dword [rax]
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
cdqe
xor edx, edx
div r12
lea rax, [rsp + 0x50]
cmp r14, 0xf
cmova rax, rbp
movzx r9d, byte [rax + rdx]
mov rcx, qword [0x14008e178]
mov rdx, qword [reloc.WS2_32.dll_ntohs]
cmp rcx, rdx
jae 0x140001eb7
lea rax, [rcx + 1]
mov qword [0x14008e178], rax
mov rax, rdi
cmp rdx, 0xf
cmova rax, qword [0x14008e168]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140001ec8
movzx r8d, bl
mov edx, 1
mov rcx, rdi
call fcn.1400034f0
sub rsi, 1
jne 0x140001e60
cmp qword [0x14008e178], 0x19
je 0x140001edf
call fcn.140001fc0
jmp 0x140001f00
mov rdx, rdi
cmp qword [reloc.WS2_32.dll_ntohs], 0xf
cmova rdx, qword [0x14008e168]
mov r8d, Ordinal_27
mov rcx, r15
call fcn.140003100
cmp qword [0x14008e178], 0x19
jne 0x140001f4d
cmp qword [0x14008e158], 0x19
jne 0x140001f4d
cmp qword [reloc.WS2_32.dll_ntohs], 0xf
cmova r15, qword [0x14008e148]
cmp qword [reloc.WS2_32.dll_ntohs], 0xf
cmova rdi, qword [0x14008e168]
mov r8d, Ordinal_27
mov rdx, r15
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140001f4d
mov bl, 1
jmp 0x140001f4f
xor bl, bl
cmp r14, 0xf
jbe 0x140001f89
lea rdx, [r14 + 1]
mov rax, rbp
cmp rdx, 0x1000
jb 0x140001f81
add rdx, 0x27
mov rbp, qword [rbp - 8]
sub rax, rbp
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001f81
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbp
call fcn.14006ebc4
movzx eax, bl
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14006e920
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
ret
Function at 0x1400023d0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x98
lea rcx, str.ida64.exe
call fcn.1400026c0
test eax, eax
jne 0x1400024c8
lea rcx, str.x64dbg.exe
call fcn.1400026c0
test eax, eax
jne 0x1400024c8
call fcn.140001d70
test al, al
je 0x1400024c8
lea rcx, [0x14008f260]
call fcn.140018310
cmp byte [0x14008f490], 0
je 0x1400024c8
movdqa xmm0, xmmword [0x140082290]
lea rcx, [rsp + 0x20]
movdqu xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x90], rbx
mov word [rsp + 0x30], 0x85
mov byte [rsp + 0x32], 1
call fcn.1400024e0
mov rcx, rax
call fcn.1400026c0
lea rdx, [rsp + 0x68]
mov dword [rsp + 0xa0], 0xebebe6e9
lea rcx, [rsp + 0xa0]
mov dword [rsp + 0xa4], 0x100edec
mov ebx, eax
call fcn.1400028d0
mov r8, rax
lea rdx, [rsp + 0x38]
lea rcx, [0x14008f260]
call fcn.140014370
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.140001c30
mov edx, ebx
mov rcx, rax
call fcn.140002540
call fcn.140001fc0
call fcn.1400027c0
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov rbx, qword [rsp + 0x90]
xor eax, eax
add rsp, 0x98
ret

Function at 0x1400026c0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x4a0
mov rax, qword [0x14008e0c0]
xor rax, rsp
mov qword [rsp + 0x490], rax
mov rdi, rcx
xor edx, edx
lea rcx, [rsp + 0x44]
mov r8d, 0x234
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov dword [rsp + 0x40], 0x238
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rcx, rax
lea rdx, [rsp + 0x40]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
cmp eax, 1
jne 0x140002781
lea rdx, [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
cmp eax, 1
jne 0x140002781
mov r9, rdi
mov qword [rsp + 0x20], 0xffffffffffffffff
mov r8d, 0x104
lea rdx, [rsp + 0x280]
lea rcx, [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_mbstowcs_s]
lea rdx, [rsp + 0x280]
lea rcx, [rsp + 0x6c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
mov rcx, rbx
test eax, eax
je 0x1400027ad
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
cmp eax, 1
je 0x140002732
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rsp + 0x490]
xor rcx, rsp
call fcn.14006e920
mov rbx, qword [rsp + 0x4b8]
add rsp, 0x4a0
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x48]
jmp 0x14000278c
Function at 0x140004da0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x50
mov r10, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x28], rcx
xor esi, esi
cmp byte [r8 + 7], sil
je 0x140004dd4
mov eax, esi
lea ecx, [rax - 0x6a]
xor byte [r8 + rax], cl
inc rax
cmp rax, 6
jb 0x140004dc0
mov byte [r8 + 7], sil
add r8, 6
lea r9, [rsp + 0x20]
mov rdx, r10
lea rcx, [rsp + 0x30]
call fcn.1400032e0
nop
mov r9, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0xf
jbe 0x140004df9
mov rbx, qword [rbx]
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.140019c50
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rsi
movups xmm0, xmmword [rax]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdi + 0x10], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x140004e73
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004e6e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004e6e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006ebc4
mov rax, rdi
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret

Function at 0x140004e80
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x50
mov r10, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x28], rcx
xor esi, esi
cmp byte [r8 + 9], sil
je 0x140004eb4
mov eax, esi
lea ecx, [rax - 0x6a]
xor byte [r8 + rax], cl
inc rax
cmp rax, 8
jb 0x140004ea0
mov byte [r8 + 9], sil
add r8, 8
lea r9, [rsp + 0x20]
mov rdx, r10
lea rcx, [rsp + 0x30]
call fcn.1400032e0
nop
mov r9, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0xf
jbe 0x140004ed9
mov rbx, qword [rbx]
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.140019c50
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rsi
movups xmm0, xmmword [rax]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdi + 0x10], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x140004f53
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004f4e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004f4e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006ebc4
mov rax, rdi
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret
Function at 0x140004f60
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x50
mov r10, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x28], rcx
xor esi, esi
cmp byte [r8 + 0xa], sil
je 0x140004f94
mov eax, esi
lea ecx, [rax - 0x6a]
xor byte [r8 + rax], cl
inc rax
cmp rax, 9
jb 0x140004f80
mov byte [r8 + 0xa], sil
add r8, 9
lea r9, [rsp + 0x20]
mov rdx, r10
lea rcx, [rsp + 0x30]
call fcn.1400032e0
nop
mov r9, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0xf
jbe 0x140004fb9
mov rbx, qword [rbx]
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.140019c50
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rsi
movups xmm0, xmmword [rax]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdi + 0x10], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x140005033
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000502e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000502e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006ebc4
mov rax, rdi
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret

Function at 0x140005040
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x50
mov r10, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x28], rcx
xor esi, esi
cmp byte [r8 + 0x31], sil
je 0x140005074
mov eax, esi
lea ecx, [rax - 0x6a]
xor byte [r8 + rax], cl
inc rax
cmp rax, 0x30
jb 0x140005060
mov byte [r8 + 0x31], sil
add r8, 0x30
lea r9, [rsp + 0x20]
mov rdx, r10
lea rcx, [rsp + 0x30]
call fcn.1400032e0
nop
mov r9, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0xf
jbe 0x140005099
mov rbx, qword [rbx]
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.140019c50
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rsi
movups xmm0, xmmword [rax]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdi + 0x10], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x140005113
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000510e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000510e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006ebc4
mov rax, rdi
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret