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

Disassembly:
jmp 0x14001c4f0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14001c510
xor al, al
jmp 0x14001c591
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14001c523
xor al, al
jmp 0x14001c591
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 0x14001c54d
xor al, al
jmp 0x14001c591
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x14001c561
xor al, al
jmp 0x14001c591
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x14001c573
xor al, al
jmp 0x14001c591
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001c58f
xor al, al
jmp 0x14001c591
mov al, 1
add rsp, 0x38
ret

Function at 0x14001157d
Capabilities:
Create directory
Execute command

Disassembly:
jmp 0x1400198e0
push rbx
push rsi
push rdi
sub rsp, 0x100
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rax, qword [0x140029010]
xor rax, rsp
mov qword [rsp + 0xf8], rax
mov rbx, r8
mov rsi, rdx
mov rdi, rcx
mov qword [rsp + 0x28], rbx
call fcn.1400115dc
test al, al
je 0x1400199f7
mov r8, rbx
lea rdx, str.logs_
lea rcx, [rsp + 0xd0]
call fcn.1400110c3
nop
lea rcx, [rsp + 0xd0]
call fcn.140011a3c
mov rcx, rax
call qword [sym.imp.ucrtbased.dll__wmkdir]
mov r8, rdi
lea rdx, str.copy__
lea rcx, [rsp + 0xa8]
call fcn.1400110c3
nop
lea r8, str.__logs_
mov rdx, rax
lea rcx, [rsp + 0x80]
call fcn.1400116c2
nop
mov r8, rsi
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.14001192e
nop
lea r8, str.maps
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.1400116c2
nop
lea rcx, [rsp + 0x58]
call fcn.1400118de
nop
lea rcx, [rsp + 0x80]
call fcn.1400118de
nop
lea rcx, [rsp + 0xa8]
call fcn.1400118de
lea rcx, [rsp + 0x30]
call fcn.140011a3c
mov rcx, rax
call qword [sym.imp.ucrtbased.dll__wsystem]
lea rcx, [rsp + 0x30]
call fcn.1400118de
nop
lea rcx, [rsp + 0xd0]
call fcn.1400118de
nop
mov rcx, rbx
call fcn.1400118de
mov rcx, qword [rsp + 0xf8]
xor rcx, rsp
call fcn.140011910
add rsp, 0x100
pop rdi
pop rsi
pop rbx
ret

Function at 0x140011613
Capabilities:
Terminate process

Disassembly:
jmp 0x14001c670
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 0x140011893
Capabilities:
Write file on windows

Disassembly:
jmp 0x140015fb0
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xc0
mov qword [rbp - 1], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x140029010]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov r14, rcx
xor esi, esi
mov dword [rbp - 0x45], esi
cmp qword [rcx + 0x68], rsi
je 0x140016194
cmp byte [rcx + 0x72], sil
je 0x140016194
call fcn.140011aa0
movzx ebx, ax
mov r8, qword [r14]
movzx edx, ax
mov rcx, r14
call qword [r8 + 0x18]
mov word [rbp - 0x49], ax
mov word [rbp - 0x45], bx
lea rdx, [rbp - 0x49]
lea rcx, [rbp - 0x45]
call fcn.1400117f8
test al, al
je 0x140016036
xor al, al
jmp 0x140016196
xor r8d, r8d
lea edx, [r8 + 8]
lea rcx, [rbp - 0x41]
call fcn.1400118bb
nop
nop word [rax + rax]
lea rdx, [rbp + 0x1f]
lea rcx, [rbp - 0x41]
call fcn.140011942
mov rbx, rax
lea rdx, [rbp + 7]
lea rcx, [rbp - 0x41]
call fcn.140011942
mov rdi, rax
mov rcx, rbx
call fcn.1400110b9
mov rbx, rax
lea rcx, [rbp - 0x41]
call fcn.14001187f
add rbx, rax
mov rcx, rdi
call fcn.1400110b9
mov r8, rax
lea rax, [rbp + 0x37]
mov qword [rsp + 0x20], rax
mov r9, rbx
lea rdx, [r14 + 0x74]
mov rcx, qword [r14 + 0x68]
call qword [sym.imp.MSVCP140D.dll_public:_int___cdecl_std::codecvt_wchar_t__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
mov ebx, eax
lea rcx, [rbp + 7]
call fcn.140011424
nop
lea rcx, [rbp + 0x1f]
call fcn.140011424
test ebx, ebx
je 0x1400160d0
sub ebx, 1
jne 0x14001617b
jmp 0x1400160d5
mov byte [r14 + 0x72], 0
lea rdx, [rbp - 0x19]
lea rcx, [rbp - 0x41]
call fcn.140011942
nop
mov rcx, rax
call fcn.1400110b9
mov rbx, qword [rbp + 0x37]
sub rbx, rax
lea rcx, [rbp - 0x19]
call fcn.140011424
test rbx, rbx
je 0x14001613e
lea rdx, [rbp - 0x19]
lea rcx, [rbp - 0x41]
call fcn.140011942
nop
or esi, 1
mov dword [rbp - 0x45], esi
mov rcx, rax
call fcn.1400110b9
mov rcx, rax
mov r9, qword [r14 + 0x80]
mov r8, rbx
mov edx, 1
call qword [sym.imp.ucrtbased.dll_fwrite]
cmp rbx, rax
je 0x14001613e
mov dil, 1
jmp 0x140016141
xor dil, dil
test sil, 1
je 0x140016153
and esi, 0xfffffffe
lea rcx, [rbp - 0x19]
call fcn.140011424
test dil, dil
jne 0x140016184
cmp byte [r14 + 0x72], dil
je 0x140016180
test rbx, rbx
jne 0x140016050
xor r8d, r8d
lea edx, [rbx + 8]
lea rcx, [rbp - 0x41]
call fcn.140011181
jmp 0x140016050
sub ebx, 2
jne 0x140016184
mov bl, 1
jmp 0x140016186
xor bl, bl
lea rcx, [rbp - 0x41]
call fcn.1400111bd
movzx eax, bl
jmp 0x140016196
mov al, 1
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.140011910
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x414a20
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x414bc6
sub rsp, 0x50
mov qword [rsp + 0x48], rbp
lea rbp, [rsp + 0x48]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.00430b40
xorps xmm15, xmm15
mov r14, qword [0x00598420]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
jne 0x414a8b
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
jmp 0x414aa0
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
ret
sub rcx, rbx
add rax, rbx
mov rbx, rcx
nop
test rbx, rbx
jbe 0x414ac5
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rax
mov rcx, rbx
jmp 0x414ad9
cmp rbx, 0x1000
jae 0x414a95
nop dword [rax]
jmp 0x414b49
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
nop
cmp rbx, 0x1000
jae 0x414aed
xor edx, edx
jmp 0x414b40
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.00430b40
xorps xmm15, xmm15
mov r14, qword [0x00598420]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
sete al
mov rcx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x38]
mov edx, eax
mov rax, qword [rsp + 0x40]
nop dword [rax]
test dl, dl
jne 0x414acf
jmp 0x414ab4
call fcn.0045fb60
xorps xmm15, xmm15
mov r14, qword [0x00598420]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x30], rax
call fcn.00435080
lea rax, [0x004ac73d]
mov ebx, 0x18
call fcn.00435980
mov rax, qword [rsp + 0x38]
call fcn.00435680
lea rax, [0x004ac7fd]
mov ebx, 0x19
call fcn.00435980
mov rax, qword [rsp + 0x30]
nop
call fcn.00435680
call fcn.004352e0
call fcn.00435100
lea rax, [0x004ae9b4]
mov ebx, 0x21
nop dword [rax + rax]
call fcn.00433740
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0045bfc0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
nop
jmp fcn.00414a20
Function at 0x414c00
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x414e2a
sub rsp, 0x58
mov qword [rsp + 0x50], rbp
lea rbp, [rsp + 0x50]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rbx
mov rcx, qword [sym.imp.kernel32.dll_VirtualAlloc]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
call fcn.00430bc0
xorps xmm15, xmm15
mov r14, qword [0x00598420]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rcx, rax
cmp qword [rsp + 0x28], rax
je 0x414c79
mov rbx, qword [rsp + 0x68]
mov rax, rbx
jmp 0x414c8c
mov rbp, qword [rsp + 0x50]
add rsp, 0x58
ret
sub rdx, rbx
add rcx, rbx
mov rbx, rdx
test rbx, rbx
jbe 0x414cb0
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov rdx, rbx
nop
jmp 0x414cc4
cmp rbx, 0x1000
jae 0x414c83
jmp 0x414d45
mov rbp, qword [rsp + 0x50]
add rsp, 0x58
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
cmp rbx, 0x1000
jae 0x414cd6
xor esi, esi
jmp 0x414d36
mov rax, qword [sym.imp.kernel32.dll_VirtualAlloc]
mov qword [rsp], rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
nop dword [rax]
call fcn.00430bc0
xorps xmm15, xmm15
mov r14, qword [0x00598420]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x28], 0
sete al
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
mov esi, eax
mov rax, qword [rsp + 0x68]
test sil, sil
jne 0x414cba
nop
jmp 0x414ca2
call fcn.0045fb60
xorps xmm15, xmm15
mov r14, qword [0x00598420]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov dword [rsp + 0x34], eax
cmp eax, 8
jne 0x414dc5
call fcn.00435080
lea rax, [0x004acbcc]
mov ebx, 0x19
call fcn.00435980
mov rax, qword [rsp + 0x68]
call fcn.00435680
lea rax, [0x004ac7fd]
mov ebx, 0x19
call fcn.00435980
mov eax, dword [rsp + 0x34]
nop dword [rax]
call fcn.00435680
call fcn.004352e0
call fcn.00435100
lea rax, [0x004a9824]
mov ebx, 0xd
nop dword [rax + rax]
call fcn.00433740
cmp eax, 0x5af
je 0x414d68
call fcn.00435080
lea rax, [0x004acbcc]
mov ebx, 0x19
nop dword [rax]
call fcn.00435980
mov rax, qword [rsp + 0x38]
call fcn.00435680
lea rax, [0x004ac7fd]
mov ebx, 0x19
nop dword [rax + rax]
call fcn.00435980
mov eax, dword [rsp + 0x34]
call fcn.00435680
call fcn.004352e0
call fcn.00435100
lea rax, [0x004ae2c8]
mov ebx, 0x1f
call fcn.00433740
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0045bfc0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.00414c00
Function at 0x41d0e0
Capabilities:
Hash data using murmur3

Disassembly:
sub rsp, 0x18
mov qword [rsp + 0x10], rbp
lea rbp, [rsp + 0x10]
cmp byte [0x00598250], 0
jne 0x41d1cf
mov rdx, qword [rax + 0x50]
test byte [rdx], al
nop
nop
nop
sub rbx, qword [rax + 0x18]
mov esi, dword [rax + 0x5c]
imul rbx, rsi
mov rsi, rbx
shr rbx, 0x20
shr rsi, 0x23
and ebx, 7
mov rdi, rcx
mov rcx, rbx
mov r8d, 1
shl r8d, cl
add rdx, rsi
lock or byte [rdx], r8b
nop
nop
mov rcx, qword [rax + 0x18]
nop
movabs rdx, 0x800000000000
lea rax, [rdx + rcx]
mov rdx, rax
shr rax, 0x2a
cmp rax, 0x40
jae 0x41d1c5
lea rbx, [0x0056a690]
mov rax, qword [rbx + rax*8]
shr rdx, 0x16
and edx, 0xfffff
mov rdx, qword [rax + rdx*8]
test byte [rdx], al
test byte [rax], al
mov rax, rcx
shr rcx, 0x10
and ecx, 0x3f
movzx ebx, byte [rdx + rcx + 0x11440]
lea rdx, [rdx + rcx]
lea rdx, [rdx + 0x11440]
shr rax, 0xd
and eax, 7
mov rcx, rax
mov eax, 1
shl eax, cl
test al, bl
jne 0x41d1a7
lock or byte [rdx], al
mov rax, qword [r14 + 0x30]
mov rax, qword [rax + 0xa0]
test byte [rax], al
add qword [rax + 0x1248], rdi
mov rbp, qword [rsp + 0x10]
add rsp, 0x18
ret
mov ecx, 0x40
call fcn.0045e640
lea rax, [0x004b0343]
mov ebx, 0x2c
nop dword [rax + rax]
call fcn.00433740
nop
int3

Function at 0x41f5c0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x41f6be
sub rsp, 0x48
mov qword [rsp + 0x40], rbp
lea rbp, [rsp + 0x40]
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rbx
mov qword [rsp + 8], 0
jmp 0x41f600
mov rax, qword [rsp + 0x50]
mov rcx, rdx
mov rbx, qword [rsp + 0x58]
nop
cmp qword [rsp + 8], rbx
jae 0x41f6af
test byte [rax], al
lea rcx, [rax + 0x100b8]
mov rax, rcx
call fcn.00420180
nop dword [rax]
test rax, rax
je 0x41f6af
movups xmmword [rsp + 0x10], xmm15
movups xmmword [rsp + 0x20], xmm15
movups xmmword [rsp + 0x30], xmm15
lea rcx, [0x0041f700]
mov qword [rsp + 0x10], rcx
lea rdx, [rsp + 8]
mov qword [rsp + 0x18], rdx
mov rdx, qword [rsp + 0x50]
mov qword [rsp + 0x20], rdx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rbx
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x38], rax
lea rbx, [rsp + 0x10]
mov qword [rsp], rbx
call fcn.0045be80
xorps xmm15, xmm15
mov r14, qword [0x00598420]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rdx, qword [rsp + 0x60]
test rdx, rdx
jne 0x41f69d
xor eax, eax
jmp 0x41f6a7
mov rax, qword [rdx]
call rax
mov rdx, qword [rsp + 0x60]
test al, al
je 0x41f5f2
mov rax, qword [rsp + 8]
mov rbp, qword [rsp + 0x40]
add rsp, 0x48
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
call fcn.0045bfc0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
jmp fcn.0041f5c0
Function at 0x441e80
Capabilities:
Encode data using base64

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x441fea
sub rsp, 0x20
mov qword [rsp + 0x18], rbp
lea rbp, [rsp + 0x18]
mov ecx, dword [rax + 0x190]
mov edx, dword [rax + 0x194]
mov rsi, qword [rax + 0x998]
mov edi, dword [rax + 0x194]
cmp edi, edx
jne 0x441e98
cmp edx, ecx
jne 0x441fd8
nop dword [rax]
test rsi, rsi
jne 0x441fd8
mov qword [rsp + 0x28], rax
test rbx, rbx
jne 0x441ef4
nop
call fcn.0045ffc0
xorps xmm15, xmm15
mov r14, qword [0x00598420]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rbx, qword [rsp]
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x10], rbx
call fcn.00441d80
mov rcx, qword [0x00545548]
mov rdx, qword [0x00545540]
mov rbx, qword [rsp + 0x28]
mov esi, dword [rbx]
mov edi, esi
sar esi, 0x1f
shr esi, 0x1b
add esi, edi
mov r8d, esi
and esi, 0xffffffe0
sub edi, esi
test edi, edi
jl 0x441fd3
cmp edi, 0x20
sbb esi, esi
sar r8d, 5
mov rax, rcx
mov ecx, edi
mov r9d, 1
shl r9d, cl
and r9d, esi
movsxd rsi, r8d
cmp rax, rsi
jbe 0x441fc8
lea rcx, [rdx + rsi*4]
lock or dword [rcx], r9d
mov rcx, qword [0x00545f50]
mov qword [rbx + 8], rcx
nop
mov rcx, rbx
mov qword [0x00545f50], rbx
nop
mov edx, 1
lea rsi, [0x00545f58]
lock xadd dword [rsi], edx
mov rdx, qword [rcx + 0x1220]
shr rdx, 0x3d
test dl, dl
jne 0x441fb7
nop
nop
mov rax, qword [rsp + 0x10]
movabs rdx, 0x1fffffffffffffff
and rdx, rax
bts rdx, 0x3f
xchg qword [rcx + 0x1220], rdx
mov rbp, qword [rsp + 0x18]
add rsp, 0x20
ret
lea rax, [0x004afb19]
mov ebx, 0x28
call fcn.00433740
mov rcx, rax
mov rax, rsi
call fcn.0045e620
call fcn.00431d60
lea rax, [0x004aef23]
mov ebx, 0x23
call fcn.00433740
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0045bfc0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.00441e80
Function at 0x18000230c
Capabilities:
Allocate or change rwx memory
Create thread
Inject thread
Spawn thread to rwx shellcode

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x18003d040]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rbx, rdx
mov dword [rsp + 0x20], 0x40
xor edx, edx
mov r9d, 0x3000
mov r8d, 0x1000
mov rsi, rcx
xor edi, edi
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rbp, rax
test rax, rax
je 0x180002525
xor edx, edx
lea r8d, [rdi + 0x20]
lea rcx, [rsp + 0x40]
call fcn.18002a290
mov rax, qword [sym.imp.KERNEL32.dll_TerminateProcess]
lea rdx, str.TarHandle_0x
mov qword [rsp + 0x50], rax
lea rcx, [0x18003e3d0]
mov eax, dword [0x18003fa38]
mov dword [rsp + 0x48], eax
mov rax, qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x40], rbx
call fcn.180004f54
mov rcx, rax
lea rdx, [0x1800022c4]
call fcn.180003170
mov rcx, rax
mov rdx, rbx
call fcn.180002cec
mov rcx, rax
call fcn.180003190
lea r9d, [rdi + 0x20]
mov qword [rsp + 0x20], rdi
lea r8, [rsp + 0x40]
mov rdx, rbp
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x1800024e1
lea r9, [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_40]
mov qword [rsp + 0x20], rdi
lea r8, [0x1800022dc]
mov rcx, rsi
sub r9d, r8d
lea rdx, [rbp + 0x20]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x1800024e1
mov qword [rsp + 0x30], rdi
lea r9, [rbp + 0x20]
mov dword [rsp + 0x28], edi
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], rbp
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
test rax, rax
jne 0x180002447
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.CreateRemoteThread_
jmp 0x1800024ee
or edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rsi
mov edi, eax
call qword [sym.imp.KERNEL32.dll_GetProcessId]
lea rdx, str.injected
mov ebx, eax
lea rcx, [0x18003e3d0]
call fcn.180004f54
mov rcx, rax
lea rdx, [0x1800022ac]
call fcn.180003170
mov rcx, rax
mov edx, ebx
call fcn.180002e0c
mov rcx, rax
lea rdx, str._AT:
call fcn.180004f54
mov rcx, rax
lea rdx, [0x1800022c4]
call fcn.180003170
mov rcx, rax
mov rdx, rbp
call fcn.180002cec
mov rcx, rax
lea rdx, str._Status
call fcn.180004f54
mov rcx, rax
mov edx, edi
call fcn.180002e0c
mov rcx, rax
call fcn.180003190
mov dil, 1
jmp 0x18000250e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.WriteProcessMemory_
lea rcx, [0x18003e3d0]
mov ebx, eax
call fcn.180004f54
mov edx, ebx
mov rcx, rax
call fcn.180002e0c
mov rcx, rax
call fcn.180003190
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rbp
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
jmp 0x180002552
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.VirtualAllocEx_
mov ebx, eax
lea rcx, [0x18003e3d0]
call fcn.180004f54
mov rcx, rax
mov edx, ebx
call fcn.180002e0c
mov rcx, rax
call fcn.180003190
mov al, dil
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.180009190
mov rbx, qword [rsp + 0xa0]
add rsp, 0x70
pop rdi
pop rsi
pop rbp
ret
Function at 0x180002620
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x280
mov rax, qword [0x18003d040]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov rdi, rcx
mov qword [rsp + 0x20], rcx
xor ebx, ebx
mov dword [rsp + 0x30], 0x238
xor edx, edx
lea ecx, [rbx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x180002687
lea rdx, str.CreateToolhelp32Snapshot_Error_
lea rcx, [0x18003e3d0]
call fcn.180004f54
mov rcx, rax
call fcn.180003190
jmp 0x1800026f1
lea rdx, [rsp + 0x30]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
jmp 0x1800026be
mov rcx, rdi
call fcn.1800031cc
mov rdx, rax
lea rcx, [rsp + 0x5c]
call fcn.1800137c8
test eax, eax
je 0x1800026c4
lea rdx, [rsp + 0x30]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x180002697
jmp 0x1800026e7
mov bl, 1
mov rcx, rdi
call fcn.1800031cc
mov rdx, rax
lea rcx, str.ProcessName:__s__n
call fcn.1800011c0
mov edx, dword [rsp + 0x38]
mov dword [0x18003fa38], edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rcx, rdi
call fcn.1800031d4
mov al, bl
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.180009190
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x180002930
Capabilities:
Acquire debug privileges

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x18003d040]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor ebx, ebx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rsp + 0x30]
lea edx, [rbx + 0x20]
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1800029bc
lea r8, [rsp + 0x3c]
mov dword [rsp + 0x38], 1
lea rdx, str.SeDebugPrivilege
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
mov rcx, qword [rsp + 0x30]
lea r9d, [rbx + 0x10]
lea r8, [rsp + 0x38]
mov qword [rsp + 0x28], rbx
xor edx, edx
mov dword [rsp + 0x44], 2
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rsp + 0x30]
test eax, eax
sete bl
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.180009190
add rsp, 0x50
pop rbx
ret

Function at 0x180002c98
Capabilities:
Create thread

Disassembly:
sub rsp, 0x48
mov rax, qword [0x18003d040]
xor rax, rsp
mov qword [rsp + 0x38], rax
cmp edx, 1
jne 0x180002cd3
lea rcx, [rsp + 0x30]
xor r9d, r9d
mov qword [rsp + 0x28], rcx
lea r8, [0x180002a6c]
and dword [rsp + 0x20], 0
xor ecx, ecx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.180009190
add rsp, 0x48
ret
Function at 0x1800080c0
Capabilities:
Read file on windows

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, 0x20
mov rbp, r8
mov r14, rdx
mov rdi, rcx
test r8, r8
jg 0x1800080ee
xor eax, eax
jmp 0x1800081d4
cmp qword [rcx + 0x68], 0
je 0x1800080ff
call fcn.1800081f0
jmp 0x1800081d4
mov rax, qword [rcx + 0x38]
mov rsi, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x180008116
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x180008118
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x18000814a
cmp rax, rbp
mov rbx, rbp
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call fcn.180029bf0
mov rax, qword [rdi + 0x50]
add r14, rbx
sub rsi, rbx
sub dword [rax], ebx
mov rcx, qword [rdi + 0x38]
movsxd rax, ebx
add qword [rcx], rax
cmp qword [rdi + 0x80], 0
je 0x1800081ce
mov r8, qword [rdi + 0x18]
lea rax, [rdi + 0x70]
cmp qword [r8], rax
jne 0x180008181
mov rcx, qword [rdi + 0x88]
mov rdx, qword [rdi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rdi + 0x38]
mov qword [rax], rcx
mov rax, qword [rdi + 0x50]
mov dword [rax], edx
mov ebx, 0xfff
jmp 0x1800081aa
mov r9, qword [rdi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call fcn.1800148d0
add r14, rax
sub rsi, rax
cmp rax, rbx
jne 0x1800081ce
cmp rsi, rbx
ja 0x180008188
test rsi, rsi
je 0x1800081ce
mov r9, qword [rdi + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.1800148d0
sub rsi, rax
sub rbp, rsi
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret

Function at 0x1800131c0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rcx
neg rcx
test rax, 7
je 0x1800131dd
nop
mov dl, byte [rax]
inc rax
test dl, dl
je 0x180013238
test al, 7
jne 0x1800131d0
movabs r8, 0x7efefefefefefeff
movabs r11, 0x8101010101010100
mov rdx, qword [rax]
mov r9, r8
add rax, 8
add r9, rdx
not rdx
xor rdx, r9
and rdx, r11
je 0x1800131f1
mov rdx, qword [rax - 8]
test dl, dl
je 0x180013262
test dh, dh
je 0x18001325c
shr rdx, 0x10
test dl, dl
je 0x180013256
test dh, dh
je 0x180013250
shr rdx, 0x10
test dl, dl
je 0x18001324a
test dh, dh
je 0x180013244
shr edx, 0x10
test dl, dl
je 0x18001323e
test dh, dh
jne 0x1800131f1
lea rax, [rax + rcx - 1]
ret
lea rax, [rax + rcx - 2]
ret
lea rax, [rax + rcx - 3]
ret
lea rax, [rax + rcx - 4]
ret
lea rax, [rax + rcx - 5]
ret
lea rax, [rax + rcx - 6]
ret
lea rax, [rax + rcx - 7]
ret
lea rax, [rax + rcx - 8]
ret