joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6e440a60
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x6e4586c4]
test esi, esi
mov rbx, rcx
mov rbp, rdx
mov rdi, r8
jle 0x6e440be8
mov rax, qword [0x6e4586c8]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp rbx, rdx
jb 0x6e440aac
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp rbx, rdx
jb 0x6e440b35
add ecx, 1
add rax, 0x28
cmp ecx, esi
jne 0x6e440a90
mov rcx, rbx
call fcn.6e441700
test rax, rax
mov r12, rax
je 0x6e440c1d
mov rax, qword [0x6e4586c8]
lea rsi, [rsi + rsi*4]
shl rsi, 3
add rax, rsi
mov qword [rax + 0x20], r12
mov dword [rax], 0
call fcn.6e441830
mov ecx, dword [r12 + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x6e4586c8]
mov qword [rax + rsi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x6e440c00
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x6e440b2e
sub eax, 0x40
and eax, 0xffffffbf
jne 0x6e440b90
add dword [0x6e4586c4], 1
cmp edi, 8
jae 0x6e440b63
test dil, 4
jne 0x6e440bd4
test edi, edi
je 0x6e440b58
movzx eax, byte [rbp]
test dil, 2
mov byte [rbx], al
jne 0x6e440bef
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 0x6e440b58
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 0x6e440b7c
jmp 0x6e440b58
add rsi, qword [0x6e4586c8]
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 0x6e440b2e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.6e441d80
mov eax, dword [rbp]
mov edi, edi
mov dword [rbx], eax
mov eax, dword [rbp + rdi - 4]
mov dword [rbx + rdi - 4], eax
jmp 0x6e440b58
xor esi, esi
jmp 0x6e440ab7
mov edi, edi
movzx eax, word [rbp + rdi - 2]
mov word [rbx + rdi - 2], ax
jmp 0x6e440b58
mov rax, qword [0x6e4586c8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [r12 + 8]
mov r8, qword [rax + rsi + 0x18]
call fcn.6e441d80
lea rcx, str.Address__p_has_no_image_section
mov rdx, rbx
call fcn.6e441d80
nop
nop dword [rax]

Function at 0x6e441370
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x6e4589a0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x6e458980]
test rbx, rbx
je 0x6e4413c4
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 0x6e4413bb
test rsi, rsi
je 0x6e4413bb
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x6e4413a0
lea rcx, [0x6e4589a0]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x6e441700
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [sym.SSLEAY32.dll_Ordinal_14]
cmp word [r8], 0x5a4d
mov rdx, rcx
jne 0x6e44176d
mov rcx, r8
call fcn.6e4415e0
test eax, eax
je 0x6e44176d
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 0x6e44176d
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 0x6e441764
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x6e44176f
add rax, 0x28
cmp rax, r9
jne 0x6e441750
xor eax, eax
add rsp, 0x28
ret

Function at 0x6e441d80
Capabilities:
Write file on windows

Disassembly:
mov rdx, rcx
lea rcx, [section..bss]
jmp 0x6e441b20
lea rcx, [0x6e4013a0]
jmp 0x6e401380
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
test rcx, rcx
mov rbx, rcx
mov rdi, rdx
je 0x6e441bd0
mov ecx, 8
call sub.msvcrt.dll__lock
cmp qword [rbx], 0
je 0x6e441ba4
mov rsi, qword [rbx + 8]
mov rax, qword [rbx + 0x10]
cmp rax, rsi
je 0x6e441b74
lea rax, [rsi + 8]
mov ecx, 8
mov qword [rbx + 8], rax
mov qword [rsi], rdi
call sub.msvcrt.dll__unlock
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
ret
mov rcx, qword [rbx]
sub rsi, rcx
mov rax, rsi
sar rax, 3
shl rax, 4
mov rdx, rax
mov rbp, rax
call sub.msvcrt.dll_realloc
test rax, rax
je 0x6e441bd7
mov qword [rbx], rax
add rsi, rax
add rax, rbp
mov qword [rbx + 0x10], rax
jmp 0x6e441b54
mov edx, 8
mov ecx, 0x20
call sub.msvcrt.dll_calloc
test rax, rax
mov rsi, rax
mov qword [rbx], rax
je 0x6e441bd7
mov qword [rbx + 8], rax
lea rax, [rax + 0x100]
mov qword [rbx + 0x10], rax
jmp 0x6e441b4f
mov eax, 0xffffffff
jmp 0x6e441b6b
mov ecx, 8
call sub.msvcrt.dll__unlock
mov eax, 0xffffffff
jmp 0x6e441b6b
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 fcn.6e441c60
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.6e441c60
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop
nop
nop
nop
nop
nop
nop
jmp 0x6e401390
Function at 0x6db9bd30
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x6dbbd5e4]
test esi, esi
mov rbx, rcx
mov rbp, rdx
mov rdi, r8
jle 0x6db9beb8
mov rax, qword [0x6dbbd5e8]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp rbx, rdx
jb 0x6db9bd7c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp rbx, rdx
jb 0x6db9be05
add ecx, 1
add rax, 0x28
cmp ecx, esi
jne 0x6db9bd60
mov rcx, rbx
call sym.__mingw_GetSectionForAddress
test rax, rax
mov r12, rax
je 0x6db9beed
mov rax, qword [0x6dbbd5e8]
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 [0x6dbbd5e8]
mov qword [rax + rsi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x6db9bed0
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x6db9bdfe
sub eax, 0x40
and eax, 0xffffffbf
jne 0x6db9be60
add dword [0x6dbbd5e4], 1
cmp edi, 8
jae 0x6db9be33
test dil, 4
jne 0x6db9bea4
test edi, edi
je 0x6db9be28
movzx eax, byte [rbp]
test dil, 2
mov byte [rbx], al
jne 0x6db9bebf
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 0x6db9be28
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 0x6db9be4c
jmp 0x6db9be28
add rsi, qword [0x6dbbd5e8]
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 0x6db9bdfe
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 0x6db9be28
xor esi, esi
jmp 0x6db9bd87
mov edi, edi
movzx eax, word [rbp + rdi - 2]
mov word [rbx + rdi - 2], ax
jmp 0x6db9be28
mov rax, qword [0x6dbbd5e8]
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 0x6db9c640
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x6dbbd8c0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x6dbbd8a0]
test rbx, rbx
je 0x6db9c694
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 0x6db9c68b
test rsi, rsi
je 0x6db9c68b
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x6db9c670
lea rcx, [0x6dbbd8c0]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x6db9c8d0
Capabilities:
Parse pe header

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

Function at 0x6db9c8f0
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 0x6db9c931
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 0x6db9c928
add ecx, dword [rax + 8]
cmp rcx, rdx
ja 0x6db9c933
add rax, 0x28
cmp rax, r9
jne 0x6db9c914
xor eax, eax
ret

Function at 0x6db9c9d0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x6dbba1f0]
cmp word [r8], 0x5a4d
mov rdx, rcx
jne 0x6db9ca3d
mov rcx, r8
call sym._ValidateImageBase.part.0
test eax, eax
je 0x6db9ca3d
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 0x6db9ca3d
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 0x6db9ca34
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x6db9ca3f
add rax, 0x28
cmp rax, r9
jne 0x6db9ca20
xor eax, eax
add rsp, 0x28
ret

Function at 0x6db9cb40
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x6dbba1f0]
xor eax, eax
cmp word [r8], 0x5a4d
mov rdx, rcx
je 0x6db9cb60
add rsp, 0x28
ret
mov rcx, r8
call sym._ValidateImageBase.part.0
test eax, eax
je 0x6db9cb58
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 0x6db9cbbd
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 0x6db9cbb4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x6db9cbc4
add rax, 0x28
cmp rax, r9
jne 0x6db9cba0
xor eax, eax
add rsp, 0x28
ret
mov eax, dword [rax + 0x24]
not eax
shr eax, 0x1f
add rsp, 0x28
ret

Function at 0x6db9cbe0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r11, qword [0x6dbba1f0]
cmp word [r11], 0x5a4d
mov r9d, ecx
jne 0x6db9cc4e
mov rcx, r11
call sym._ValidateImageBase.part.0
test eax, eax
je 0x6db9cc4e
movsxd rax, dword [r11 + 0x3c]
add rax, r11
mov edx, dword [rax + 0x90]
test edx, edx
je 0x6db9cc4e
movzx ecx, word [rax + 0x14]
lea rcx, [rax + rcx + 0x18]
movzx eax, word [rax + 6]
test eax, eax
je 0x6db9cc4e
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 0x6db9cc45
add r8d, dword [rcx + 8]
cmp rdx, r8
jb 0x6db9cc55
add rcx, 0x28
cmp rcx, rax
jne 0x6db9cc30
xor eax, eax
add rsp, 0x28
ret
add rdx, r11
jne 0x6db9cc68
jmp 0x6db9cc4e
sub r9d, 1
add rdx, 0x14
mov ecx, dword [rdx + 4]
test ecx, ecx
jne 0x6db9cc76
mov eax, dword [rdx + 0xc]
test eax, eax
je 0x6db9cc4e
test r9d, r9d
jg 0x6db9cc60
mov eax, dword [rdx + 0xc]
add rax, r11
add rsp, 0x28
ret
Function at 0x6db9cfb0
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 0x14004fc40
Capabilities:
Set registry value

Disassembly:
push rbx
push rdi
sub rsp, 0x68
mov rax, qword [0x1401ffe18]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rdi, r8
lea rax, [rsp + 0x50]
xor r8d, r8d
mov ebx, r9d
mov qword [rsp + 0x40], r8
xor r9d, r9d
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r8
mov dword [rsp + 0x28], 0x20007
mov dword [rsp + 0x20], r8d
mov qword [rsp + 0x50], r8
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0xa0]
mov dword [rsp + 0x28], 4
mov r9d, ebx
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
sete al
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140108a30
add rsp, 0x68
pop rdi
pop rbx
ret

Function at 0x14004fcd0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x1401ffe18]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x48], rdx
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x14004fd58
call fcn.1400b1050
test al, al
je 0x14004fd58
mov r8d, dword [0x140200794]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
mov rdx, rdi
lea rcx, [rsp + 0x28]
call fcn.140009650
mov rdx, rax
mov rcx, rbx
call fcn.140054e50
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor edx, edx
lea rcx, [rdx - 1]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rcx, qword [rdi]
test rcx, rcx
je 0x14004fd9a
mov rdx, qword [rdi + 0x10]
sub rdx, rcx
cmp rdx, 0x1000
jb 0x14004fd88
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14004fdbd
mov rcx, r8
call fcn.1401080d8
xor eax, eax
mov qword [rdi], rax
mov qword [rdi + 8], rax
mov qword [rdi + 0x10], rax
mov rcx, rbx
call fcn.14000b8b0
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140108a30
mov rbx, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
int3
Function at 0x14004fdd0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x1401ffe18]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rdi, rcx
mov qword [rsp + 0x40], rcx
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x14004fe5b
call fcn.1400b1050
test al, al
je 0x14004fe5b
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
mov r8d, dword [0x140200794]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
mov rdx, rdi
lea rcx, [rsp + 0x28]
call fcn.140009650
mov rdx, rax
mov rcx, rbx
call fcn.140054e50
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor edx, edx
lea rcx, [rdx - 1]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rcx, qword [rdi]
test rcx, rcx
je 0x14004fe9d
mov rdx, qword [rdi + 0x10]
sub rdx, rcx
cmp rdx, 0x1000
jb 0x14004fe8b
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14004feb5
mov rcx, r8
call fcn.1401080d8
xor eax, eax
mov qword [rdi], rax
mov qword [rdi + 8], rax
mov qword [rdi + 0x10], rax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140108a30
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3

Function at 0x140050080
Capabilities:
Check for software breakpoints

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x1401ffe18]
xor rax, rsp
mov qword [rsp + 0x38], rax
xor eax, eax
mov rdi, rdx
mov rbx, r8
mov qword [rsp + 0x30], rax
xorps xmm0, xmm0
lea r8, [rsp + 0x20]
mov rdx, rcx
lea r9d, [rax + 0x18]
lea rcx, [rax - 1]
movups xmmword [rsp + 0x20], xmm0
call sub.KERNEL32.dll_K32GetModuleInformation
test rdi, rdi
je 0x14005011a
mov r11, qword [rsp + 0x20]
test r11, r11
je 0x14005011a
mov r9d, dword [rsp + 0x28]
xor edx, edx
sub r9, rbx
je 0x14005011a
mov r10, r11
sub r10, rdi
test rbx, rbx
je 0x14005010c
mov rax, rdi
lea r8, [r10 + rdx]
movzx ecx, byte [rax]
cmp cl, 0xcc
je 0x1400500fe
cmp cl, byte [r8 + rax]
jne 0x140050112
inc rax
mov rcx, rax
sub rcx, rdi
cmp rcx, rbx
jb 0x1400500f0
lea rax, [rdx + r11]
jmp 0x14005011c
inc rdx
cmp rdx, r9
jb 0x1400500e4
xor eax, eax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140108a30
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
Function at 0x140050140
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x160
mov rax, qword [0x1401ffe18]
xor rax, rsp
mov qword [rsp + 0x150], rax
xor edx, edx
mov dword [rsp + 0x20], 0x130
mov rbx, rcx
lea ecx, [rdx + 2]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
lea rdx, [rsp + 0x20]
mov rcx, rax
mov rdi, rax
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x1400501bd
nop dword [rax + rax]
cmp qword [rbx + 0x18], 0x10
mov rdx, rbx
jb 0x14005019d
mov rdx, qword [rbx]
lea rcx, [rsp + 0x4c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
mov rcx, rdi
test eax, eax
je 0x1400501e9
lea rdx, [rsp + 0x20]
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x140050190
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140108a30
mov rbx, qword [rsp + 0x178]
add rsp, 0x160
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x28]
jmp 0x1400501c8
Function at 0x140051d50
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x470
mov rax, qword [0x1401ffe18]
xor rax, rsp
mov qword [rsp + 0x460], rax
mov rdi, rcx
mov rsi, r8
mov rcx, rdx
call qword [sym.imp.KERNEL32.dll_GetProcessId]
mov edx, eax
mov ecx, Ordinal_26
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
xor edx, edx
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x140051dad
mov r8d, 0x438
mov rcx, rdi
call sub.VCRUNTIME140.dll_memset
jmp 0x140051ea1
mov r8d, 0x434
lea rcx, [rsp + 0x24]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x438
mov rcx, rbx
call sub.KERNEL32.dll_Module32FirstW
test eax, eax
je 0x140051e07
nop word [rax + rax]
mov rdx, rsi
lea rcx, [rsp + 0x50]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
mov rcx, rbx
test eax, eax
je 0x140051ec9
lea rdx, [rsp + 0x20]
call sub.KERNEL32.dll_Module32NextW
test eax, eax
jne 0x140051de0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x438
call sub.VCRUNTIME140.dll_memset
mov rcx, rdi
lea rax, [rsp + 0x20]
mov edx, 8
nop
lea rcx, [rcx + 0x80]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
lea rax, [rax + 0x80]
movups xmmword [rcx - 0x80], xmm0
movups xmm0, xmmword [rax - 0x60]
movups xmmword [rcx - 0x70], xmm1
movups xmm1, xmmword [rax - 0x50]
movups xmmword [rcx - 0x60], xmm0
movups xmm0, xmmword [rax - 0x40]
movups xmmword [rcx - 0x50], xmm1
movups xmm1, xmmword [rax - 0x30]
movups xmmword [rcx - 0x40], xmm0
movups xmm0, xmmword [rax - 0x20]
movups xmmword [rcx - 0x30], xmm1
movups xmm1, xmmword [rax - 0x10]
movups xmmword [rcx - 0x20], xmm0
movups xmmword [rcx - 0x10], xmm1
sub rdx, 1
jne 0x140051e30
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx], xmm0
movups xmm0, xmmword [rax + 0x20]
mov rax, qword [rax + 0x30]
movups xmmword [rcx + 0x10], xmm1
movups xmmword [rcx + 0x20], xmm0
mov qword [rcx + 0x30], rax
mov rax, rdi
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.140108a30
lea r11, [rsp + 0x470]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
lea rax, [rsp + 0x20]
mov edx, 8
nop dword [rax]
lea rcx, [rcx + 0x80]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
lea rax, [rax + 0x80]
movups xmmword [rcx - 0x80], xmm0
movups xmm0, xmmword [rax - 0x60]
movups xmmword [rcx - 0x70], xmm1
movups xmm1, xmmword [rax - 0x50]
movups xmmword [rcx - 0x60], xmm0
movups xmm0, xmmword [rax - 0x40]
movups xmmword [rcx - 0x50], xmm1
movups xmm1, xmmword [rax - 0x30]
movups xmmword [rcx - 0x40], xmm0
movups xmm0, xmmword [rax - 0x20]
movups xmmword [rcx - 0x30], xmm1
movups xmm1, xmmword [rax - 0x10]
movups xmmword [rcx - 0x20], xmm0
movups xmmword [rcx - 0x10], xmm1
sub rdx, 1
jne 0x140051ee0
jmp 0x140051e83
Function at 0x140053110
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbp
push rdi
mov eax, 0x1410
call fcn.1401089d0
sub rsp, rax
mov rax, qword [0x1401ffe18]
xor rax, rsp
mov qword [rsp + 0x1400], rax
call sub.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_
mov edx, eax
mov ecx, 1
movabs rax, 0x5555555555555555
mov qword [rsp + 0x78], rdx
mov qword [rsp + 0x13f8], rax
movabs r8, 0x5851f42d4c957f2d
mov rax, rdx
shr rax, 0x3e
xor rdx, rax
imul rdx, r8
add rdx, rcx
mov qword [rsp + rcx*8 + 0x78], rdx
inc rcx
cmp rcx, 0x138
jb 0x140053162
lea rax, [rsp + 0x70]
mov qword [rsp + 0x1420], rbx
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x1428], rsi
mov dword [rsp + 0x70], pe_nt_image_headers64
mov qword [rsp + 0x28], 0x40
mov qword [rsp + 0x30], 0xffffffffffffffff
call fcn.140058c40
xorps xmm0, xmm0
mov qword [0x1402007b8], rax
lea r8, [rsp + 0x48]
mov qword [rsp + 0x48], rax
mov edx, 0x558402
movabs rcx, 0x12c11b554e4788c
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
call fcn.1400b2243
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
lea rdx, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetThreadGroupAffinity]
xor edi, edi
call qword [sym.imp.KERNEL32.dll_GetActiveProcessorGroupCount]
movzx ebp, ax
test ebp, ebp
je 0x140053285
nop
movzx ecx, di
call qword [sym.imp.KERNEL32.dll_GetActiveProcessorCount]
xor ebx, ebx
mov esi, eax
test eax, eax
je 0x14005327f
mov ecx, ebx
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov edx, 1
mov word [rsp + 0x28], di
shl rdx, cl
mov qword [rsp + 0x20], rdx
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
xor r8d, r8d
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetThreadGroupAffinity]
mov rcx, qword [0x1402007b8]
mov edx, 5
call fcn.1400b2240
test eax, eax
jne 0x1400532cf
inc ebx
cmp ebx, esi
jb 0x140053231
inc edi
cmp edi, ebp
jb 0x140053220
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
xor r8d, r8d
lea rdx, [rsp + 0x38]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetThreadGroupAffinity]
mov al, 1
mov rsi, qword [rsp + 0x1428]
mov rbx, qword [rsp + 0x1420]
mov rcx, qword [rsp + 0x1400]
xor rcx, rsp
call fcn.140108a30
mov rbp, qword [rsp + 0x1430]
add rsp, 0x1410
pop rdi
ret
xor al, al
jmp 0x14005329e
Function at 0x140055ff0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x1401ffe18]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rdi, rcx
mov qword [rsp + 0x40], rcx
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x140056070
call fcn.1400b1050
test al, al
je 0x140056070
mov r8d, dword [0x140200794]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
mov rdx, rdi
lea rcx, [rsp + 0x28]
call fcn.140009650
mov rdx, rax
mov rcx, rbx
call fcn.140054e50
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor edx, edx
lea rcx, [rdx - 1]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400560b2
mov rdx, qword [rdi + 0x10]
sub rdx, rcx
cmp rdx, 0x1000
jb 0x1400560a0
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400560ca
mov rcx, r8
call fcn.1401080d8
xor eax, eax
mov qword [rdi], rax
mov qword [rdi + 8], rax
mov qword [rdi + 0x10], rax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140108a30
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3