joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400703d8
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x14007045f
mov rsi, rbx
cmp word [rax], bp
je 0x14007041e
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x140070408
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x140070404
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.140068cb0
mov rdi, rax
test rax, rax
je 0x14007044c
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.1400535c0
mov rbp, rdi
xor ecx, ecx
call fcn.140068888
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140001000
Capabilities:
Allocate or change rwx memory
Create process on windows
Create process suspended
Inject apc
Resume thread
Use process replacement

Disassembly:
push rsi
push rdi
sub rsp, 0x158
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x140], rax
lea rax, [rsp + 0xf0]
lea rcx, [0x140010340]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x45
rep movsb byte [rdi], byte [rsi]
mov qword [rsp + 0x50], 0x45
lea rax, [rsp + 0x80]
mov rdi, rax
xor eax, eax
mov ecx, 0x68
rep stosb byte [rdi], al
lea rax, [rsp + 0x60]
mov rdi, rax
xor eax, eax
mov ecx, 0x18
rep stosb byte [rdi], al
lea rax, [rsp + 0x60]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, str.C:windowsSystem32_notepad.exe
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
mov dword [rsp + 0x20], 0x40
mov r9d, 0x3000
mov r8, qword [rsp + 0x50]
xor edx, edx
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x20], 0
mov r9, qword [rsp + 0x50]
lea r8, [rsp + 0xf0]
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
xor r8d, r8d
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_QueueUserAPC]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1400011e0
add rsp, 0x158
pop rdi
pop rsi
ret

Function at 0x140001bcc
Capabilities:
Parse pe header

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

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x1400052f7
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400052f7
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400052f7
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400052f7
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400052f7
cmp dword [rcx + 0x84], 0xe
jbe 0x1400052f7
cmp dword [rcx + 0xf8], 0
je 0x1400052f7
mov ecx, ebx
call fcn.1400053a8
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.140005184
nop
cmp dword [rbp + 0x20], 0
je 0x140005345
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140005350
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x140005288

Function at 0x14000548c
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140005288
Function at 0x14000854c
Capabilities:
Query environment variable

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 r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x14000857c
xor eax, eax
jmp 0x14000863f
mov rbp, rbx
cmp word [rax], si
je 0x1400085a1
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140008588
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140008584
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.14000846c
movsxd r14, eax
test eax, eax
jne 0x1400085df
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140008575
mov rcx, r14
call fcn.140009428
mov rdi, rax
test rax, rax
jne 0x1400085f8
xor ecx, ecx
call fcn.140006acc
jmp 0x1400085d4
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.14000846c
test eax, eax
jne 0x140008629
mov rcx, rdi
call fcn.140006acc
jmp 0x140008633
xor ecx, ecx
call fcn.140006acc
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x14000bb30
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.14000753c
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14000bbba
cmp byte [rbp - 0x21], r15b
je 0x14000bbb5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x14000bbf0
call fcn.140009c38
test eax, eax
jne 0x14000bbdc
cmp byte [rbp - 0x21], r15b
je 0x14000bbd4
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x14000bbf0
cmp byte [rbp - 0x21], r15b
je 0x14000bbed
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.140006b1c
test eax, eax
jne 0x14000bc90
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14000753c
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14000bc2f
cmp byte [rbp - 0x21], r15b
je 0x14000bc64
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x14000bc64
call fcn.140009c38
test eax, eax
jne 0x14000bc50
cmp byte [rbp - 0x21], r15b
je 0x14000bc49
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x14000bc64
cmp byte [rbp - 0x21], r15b
je 0x14000bc61
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.140006b1c
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x14000bc90
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14000bc93
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x14000bca1
mov rcx, rdi
call fcn.140006acc
cmp byte [rbp + 0x3f], r15b
je 0x14000bcb0
mov rcx, qword [rbp + 0x27]
call fcn.140006acc
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x14000eae0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14000eb08
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14000eb08
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x1400110e1
Capabilities:
Write file on windows

Disassembly:
jmp 0x14001a3f0
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x20]
lea rcx, [0x1400310ed]
call fcn.140011811
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x68], 0
je 0x14001a447
mov r8, qword [rbp + 0x130]
mov rdx, qword [rbp + 0x128]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
jmp 0x14001a553
mov rax, qword [rbp + 0x130]
mov qword [rbp + 8], rax
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pnavail_void_const___ptr64]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x130], 0
jle 0x14001a4ec
cmp qword [rbp + 0x28], 0
jle 0x14001a4ec
mov rax, qword [rbp + 0x28]
cmp qword [rbp + 0x130], rax
jge 0x14001a48c
mov rax, qword [rbp + 0x130]
mov qword [rbp + 0x28], rax
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
mov r8, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x128]
mov rcx, rax
call fcn.140011799
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x128]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x128], rax
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x130]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x130], rax
mov edx, dword [rbp + 0x28]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int____ptr64]
cmp qword [rbp + 0x130], 0
jle 0x14001a542
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x80], 0
je 0x14001a542
mov rax, qword [rbp + 0x120]
mov r9, qword [rax + 0x80]
mov r8, qword [rbp + 0x130]
mov edx, 1
mov rcx, qword [rbp + 0x128]
call qword [sym.imp.ucrtbased.dll_fwrite]
mov rcx, qword [rbp + 0x130]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x130], rax
mov rax, qword [rbp + 0x130]
mov rcx, qword [rbp + 8]
sub rcx, rax
mov rax, rcx
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret

Function at 0x1400114a1
Capabilities:
Terminate process

Disassembly:
jmp 0x14001bd70
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 0x1400115b4
Capabilities:
Parse pe header

Disassembly:
jmp 0x14001d0c0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14001d0e0
xor al, al
jmp 0x14001d161
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14001d0f3
xor al, al
jmp 0x14001d161
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 0x14001d11d
xor al, al
jmp 0x14001d161
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x14001d131
xor al, al
jmp 0x14001d161
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x14001d143
xor al, al
jmp 0x14001d161
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001d15f
xor al, al
jmp 0x14001d161
mov al, 1
add rsp, 0x38
ret
Function at 0x1400117f8
Capabilities:
Write file on windows

Disassembly:
jmp 0x140016d90
mov qword [rsp + 8], rcx
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 rcx, qword [rsp + 0x208]
mov rax, qword [0x14002a018]
xor rax, rbp
mov qword [rbp + 0x1a0], rax
lea rcx, [0x1400310ed]
call fcn.140011811
mov rax, qword [rbp + 0x1d0]
cmp qword [rax + 0x68], 0
je 0x140016df6
mov rax, qword [rbp + 0x1d0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x140016dfd
mov al, 1
jmp 0x140016f57
call fcn.140011253
mov rcx, qword [rbp + 0x1d0]
mov rcx, qword [rcx]
mov qword [rbp + 0x198], rcx
mov edx, eax
mov rcx, qword [rbp + 0x1d0]
mov rax, qword [rbp + 0x198]
call qword [rax + 0x18]
mov dword [rbp + 0x164], eax
call fcn.140011253
mov dword [rbp + 0x184], eax
lea rdx, [rbp + 0x164]
lea rcx, [rbp + 0x184]
call fcn.1400116db
movzx eax, al
test eax, eax
je 0x140016e58
xor al, al
jmp 0x140016f57
mov qword [rbp + 8], 0x20
lea rax, [rbp + 0x48]
mov rcx, qword [rbp + 0x1d0]
add rcx, 0x74
lea rdx, [rbp + 0x68]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [rbp + 0x28]
mov rdx, rcx
mov rax, qword [rbp + 0x1d0]
mov rcx, qword [rax + 0x68]
call qword [sym.imp.MSVCP140D.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
mov dword [rbp + 0x194], eax
cmp dword [rbp + 0x194], 0
je 0x140016ebd
cmp dword [rbp + 0x194], 1
je 0x140016ec8
cmp dword [rbp + 0x194], 3
je 0x140016f46
jmp 0x140016f55
mov rax, qword [rbp + 0x1d0]
mov byte [rax + 0x71], 0
lea rax, [rbp + 0x28]
mov rcx, qword [rbp + 0x68]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0
jbe 0x140016f18
mov rax, qword [rbp + 0x1d0]
mov r9, qword [rax + 0x80]
mov r8, qword [rbp + 0x88]
mov edx, 1
lea rcx, [rbp + 0x28]
call qword [sym.imp.ucrtbased.dll_fwrite]
cmp qword [rbp + 0x88], rax
je 0x140016f18
xor al, al
jmp 0x140016f57
mov rax, qword [rbp + 0x1d0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x140016f33
mov dword [rbp + 0x194], 1
jmp 0x140016f3d
mov dword [rbp + 0x194], 0
movzx eax, byte [rbp + 0x194]
jmp 0x140016f57
mov rax, qword [rbp + 0x1d0]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x140016f57
xor al, al
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x140025760]
call fcn.1400116bd
mov rax, rdi
mov rcx, qword [rbp + 0x1a0]
xor rcx, rbp
call fcn.1400113f7
lea rsp, [rbp + 0x1b8]
pop rdi
pop rbp
ret
Function at 0x1400011c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov byte [rsp + 8], cl
sub rsp, 0x18
mov byte [rsp + 1], 0
jmp 0x1400011e4
movzx eax, byte [rsp + 1]
inc al
mov byte [rsp + 1], al
movzx eax, byte [rsp + 1]
cmp eax, 4
jge 0x140001265
mov byte [rsp], 0
jmp 0x1400011fd
movzx eax, byte [rsp]
inc al
mov byte [rsp], al
movzx eax, byte [rsp]
cmp eax, 4
jge 0x140001260
movzx eax, byte [rsp + 1]
mov rcx, qword [rsp + 0x28]
lea rax, [rcx + rax*4]
movzx ecx, byte [rsp]
movzx edx, byte [rsp + 0x20]
shl edx, 2
movzx r8d, byte [rsp + 1]
shl r8d, 2
lea edx, [r8 + rdx*4]
movzx r8d, byte [rsp]
add edx, r8d
movsxd rdx, edx
mov r8, qword [rsp + 0x30]
movzx edx, byte [r8 + rdx]
movzx eax, byte [rax + rcx]
xor eax, edx
movzx ecx, byte [rsp]
movzx edx, byte [rsp + 1]
mov r8, qword [rsp + 0x28]
lea rdx, [r8 + rdx*4]
mov byte [rdx + rcx], al
jmp 0x1400011f4
jmp 0x1400011d9
add rsp, 0x18
ret

Function at 0x140002350
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov byte [rsp + 1], 0
jmp 0x14000236b
movzx eax, byte [rsp + 1]
inc al
mov byte [rsp + 1], al
movzx eax, byte [rsp + 1]
cmp eax, 4
jge 0x1400023c9
mov byte [rsp], 0
jmp 0x140002384
movzx eax, byte [rsp]
inc al
mov byte [rsp], al
movzx eax, byte [rsp]
cmp eax, 4
jge 0x1400023c7
movzx eax, byte [rsp]
mov rcx, qword [rsp + 0x20]
lea rax, [rcx + rax*4]
movzx ecx, byte [rsp + 1]
movzx eax, byte [rax + rcx]
lea rcx, [0x14001d4a0]
movzx edx, byte [rsp]
mov r8, qword [rsp + 0x20]
lea rdx, [r8 + rdx*4]
movzx r8d, byte [rsp + 1]
movzx eax, byte [rcx + rax]
mov byte [rdx + r8], al
jmp 0x14000237b
jmp 0x140002360
add rsp, 0x18
ret
Function at 0x1400027a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov byte [rsp], 0
jmp 0x1400027bd
movzx eax, byte [rsp]
inc al
mov byte [rsp], al
movzx eax, byte [rsp]
cmp eax, 0x10
jge 0x1400027f0
movzx eax, byte [rsp]
movzx ecx, byte [rsp]
mov rdx, qword [rsp + 0x28]
movzx ecx, byte [rdx + rcx]
mov rdx, qword [rsp + 0x20]
movzx eax, byte [rdx + rax]
xor eax, ecx
movzx ecx, byte [rsp]
mov rdx, qword [rsp + 0x20]
mov byte [rdx + rcx], al
jmp 0x1400027b4
add rsp, 0x18
ret

Function at 0x140002bc0
Capabilities:
Access peb ldr_data

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x178
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x160], rax
cmp dword [rsp + 0x180], 0
jne 0x140002bee
xor eax, eax
jmp 0x140002cf8
mov rax, qword gs:[0x60]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x140002cf6
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x48]
test eax, eax
je 0x140002ce2
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x48]
cmp eax, 0x104
jge 0x140002ce2
mov dword [rsp + 0x20], 0
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx + 0x50]
movzx eax, word [rcx + rax*2]
test eax, eax
je 0x140002c92
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx + 0x50]
movzx eax, word [rcx + rax*2]
mov ecx, eax
call fcn.14000dcd8
mov ecx, dword [rsp + 0x20]
mov byte [rsp + rcx + 0x50], al
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
jmp 0x140002c51
mov eax, dword [rsp + 0x20]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0x104
jae 0x140002ca8
jmp 0x140002cae
call fcn.14000389c
nop
mov rax, qword [rsp + 0x30]
mov byte [rsp + rax + 0x50], 0
lea rcx, [rsp + 0x50]
call fcn.140002ed0
cmp eax, dword [rsp + 0x180]
jne 0x140002ce0
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x28]
mov rax, qword [rcx + rax + 0x20]
jmp 0x140002cf8
jmp 0x140002ce4
jmp 0x140002cf6
mov rax, qword [rsp + 0x28]
mov rax, qword [rax]
mov qword [rsp + 0x28], rax
jmp 0x140002c18
xor eax, eax
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140003740
add rsp, 0x178
ret
Function at 0x140002d10
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x178
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x160], rax
cmp qword [rsp + 0x190], 0
je 0x140002d49
cmp dword [rsp + 0x198], 0
jne 0x140002d50
xor eax, eax
jmp 0x140002eab
mov rax, qword [rsp + 0x190]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140002d7d
xor eax, eax
jmp 0x140002eab
mov rax, qword [rsp + 0x38]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
cmp dword [rax], 0x4550
je 0x140002daa
xor eax, eax
jmp 0x140002eab
lea rax, [rsp + 0x70]
mov rcx, qword [rsp + 0x40]
mov rdi, rax
lea rsi, [rcx + 0x18]
mov ecx, 0xf0
rep movsb byte [rdi], byte [rsi]
mov eax, 8
imul rax, rax, 0
mov eax, dword [rsp + rax + 0xe0]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x20], 0
jmp 0x140002e3e
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x14]
cmp dword [rsp + 0x20], eax
jae 0x140002ea9
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x48]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
movzx eax, word [rcx + rax*2]
mov rcx, qword [rsp + 0x58]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0x60]
call fcn.140002ed0
cmp dword [rsp + 0x198], eax
jne 0x140002ea7
mov rax, qword [rsp + 0x68]
jmp 0x140002eab
jmp 0x140002e34
xor eax, eax
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140003740
add rsp, 0x178
pop rdi
pop rsi
ret
Function at 0x140003360
Capabilities:
Enumerate processes

Disassembly:
push rdi
sub rsp, 0x290
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov qword [rsp + 0x28], 0
lea rax, [rsp + 0x40]
mov rdi, rax
xor eax, eax
mov ecx, 0x238
rep stosb byte [rdi], al
mov dword [rsp + 0x40], 0x238
mov dword [rsp + 0x30], 0
xor edx, edx
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0xffffffffffffffff
jne 0x1400033dd
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str._t____CreateToolhelp32Snapshot_Failed_With_Error_:__d__n
call fcn.140002b30
nop
jmp 0x14000349a
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x28]
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x14000340f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str._t____Process32FirstW_Failed_With_Error_:__d__n
call fcn.140002b30
nop
jmp 0x14000349a
mov dword [rsp + 0x20], 0
jmp 0x140003423
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 5
jge 0x140003483
movsxd rax, dword [rsp + 0x20]
lea rcx, str.x64dbg.exe
lea rdx, [rsp + 0x6c]
mov rax, qword [rcx + rax*8]
sub rax, rdx
movzx ecx, word [rdx]
cmp cx, word [rdx + rax]
jne 0x140003458
add rdx, 2
test cx, cx
jne 0x140003442
xor eax, eax
jmp 0x14000345d
sbb eax, eax
or eax, 1
test eax, eax
jne 0x140003481
mov r8d, dword [rsp + 0x48]
lea rdx, [rsp + 0x6c]
lea rcx, str._t_i__Found___s__Of_Pid_:__d__n
call fcn.140003610
mov dword [rsp + 0x30], 1
jmp 0x140003483
jmp 0x140003419
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x28]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x14000340f
cmp qword [rsp + 0x28], 0
je 0x1400034ae
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.140003740
add rsp, 0x290
pop rdi
ret

Function at 0x1400034d0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
sub rsp, 0x18
mov rax, qword gs:[0x60]
mov qword [rsp], rax
mov rax, qword [rsp]
movzx eax, byte [rax + 2]
cmp eax, 1
jne 0x1400034f5
mov eax, 1
jmp 0x1400034f7
xor eax, eax
add rsp, 0x18
ret

Function at 0x140003500
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
sub rsp, 0x18
mov rax, qword gs:[0x60]
mov qword [rsp + 8], rax
mov rax, qword [rsp + 8]
mov eax, dword [rax + 0xbc]
mov dword [rsp], eax
mov eax, dword [rsp]
and eax, 0x70
test eax, eax
je 0x140003531
mov eax, 1
jmp 0x140003533
xor eax, eax
add rsp, 0x18
ret

Function at 0x140004160
Capabilities:
Parse pe header

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