joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140004ed0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov rcx, rax
lea r8d, [rdx + 4]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
xor r11d, r11d
lea rsi, str.MVJcPGRgsXSvWbfxpvSiEyEjGNcEhBfHHgHlOjwSNrTmIliGJiXrduARQaCJfithsBSSHEKxInTAOKaTxHTSmKvyKIyxUkWawYBWTHRNqCuIIgAESayxoKnoIeKgJVZXMSNDKsQtGMUhLEeTqrHiYY
mov r10, rax
sub rbx, rax
movabs rdi, 0x6c80d901b2036407
lea r9, [rax + 2]
nop dword [rax + rax]
movsxd r8, r11d
lea r9, [r9 + 0xc]
mov rax, rdi
mov rcx, r8
mul r8
add r11d, 6
shr rdx, 6
imul rax, rdx, 0x97
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 1]
xor al, byte [rbx + r9 - 0xe]
movsx eax, al
mov word [r9 - 0xe], ax
mov rax, rdi
mul rcx
shr rdx, 6
imul rax, rdx, 0x97
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 2]
xor al, byte [r9 + rbx - 0xc]
movsx eax, al
mov word [r9 - 0xc], ax
mov rax, rdi
mul rcx
shr rdx, 6
imul rax, rdx, 0x97
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 3]
xor al, byte [rbx + r9 - 0xa]
movsx eax, al
mov word [r9 - 0xa], ax
mov rax, rdi
mul rcx
shr rdx, 6
imul rax, rdx, 0x97
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 4]
xor al, byte [rbx + r9 - 8]
movsx eax, al
mov word [r9 - 8], ax
mov rax, rdi
mul rcx
shr rdx, 6
imul rax, rdx, 0x97
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 5]
xor al, byte [rbx + r9 - 6]
movsx eax, al
mov word [r9 - 6], ax
mov rax, rdi
mul rcx
shr rdx, 6
imul rax, rdx, 0x97
sub rcx, rax
movzx eax, byte [rcx + rsi]
xor al, byte [rbx + r9 - 4]
movsx eax, al
mov word [r9 - 4], ax
cmp r11d, 6
jb 0x140004f20
mov rbx, qword [rsp + 0x30]
mov rax, r10
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140005040
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov rcx, rax
lea r8d, [rdx + 0xe]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
xor r11d, r11d
lea rsi, str.MVJcPGRgsXSvWbfxpvSiEyEjGNcEhBfHHgHlOjwSNrTmIliGJiXrduARQaCJfithsBSSHEKxInTAOKaTxHTSmKvyKIyxUkWawYBWTHRNqCuIIgAESayxoKnoIeKgJVZXMSNDKsQtGMUhLEeTqrHiYY
mov r10, rax
sub rbx, rax
movabs rdi, 0x6c80d901b2036407
lea r9, [rax + 2]
nop dword [rax + rax]
movsxd r8, r11d
mov rax, rdi
mul r8
mov rcx, r8
shr rdx, 6
imul rax, rdx, 0x97
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 1]
xor al, byte [rbx + r9 - 2]
movsx eax, al
mov word [r9 - 2], ax
mov rax, rdi
mul rcx
shr rdx, 6
imul rax, rdx, 0x97
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 2]
xor al, byte [rbx + r9]
movsx eax, al
mov word [r9], ax
mov rax, rdi
mul rcx
shr rdx, 6
imul rax, rdx, 0x97
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 3]
xor al, byte [rbx + r9 + 2]
movsx eax, al
mov word [r9 + 2], ax
mov rax, rdi
mul rcx
shr rdx, 6
imul rax, rdx, 0x97
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 4]
xor al, byte [rbx + r9 + 4]
movsx eax, al
mov word [r9 + 4], ax
mov rax, rdi
mul rcx
shr rdx, 6
imul rax, rdx, 0x97
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 5]
xor al, byte [rbx + r9 + 6]
movsx eax, al
mov word [r9 + 6], ax
mov rax, rdi
mul rcx
shr rdx, 6
imul rax, rdx, 0x97
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 6]
xor al, byte [rbx + r9 + 8]
movsx eax, al
mov word [r9 + 8], ax
mov rax, rdi
mul rcx
shr rdx, 6
imul rax, rdx, 0x97
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 7]
xor al, byte [rbx + r9 + 0xa]
movsx eax, al
mov word [r9 + 0xa], ax
mov rax, rdi
mul rcx
shr rdx, 6
imul rax, rdx, 0x97
sub rcx, rax
movzx eax, byte [rcx + rsi]
xor al, byte [rbx + r9 + 0xc]
movsx eax, al
mov word [r9 + 0xc], ax
lea rcx, [r8 + 8]
mov rax, rdi
mul rcx
add r11d, 0xb
lea r9, [r9 + 0x16]
shr rdx, 6
imul rax, rdx, 0x97
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 9]
xor al, byte [rbx + r9 - 8]
movsx eax, al
mov word [r9 - 8], ax
mov rax, rdi
mul rcx
shr rdx, 6
imul rax, rdx, 0x97
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 0xa]
xor al, byte [rbx + r9 - 6]
movsx eax, al
mov word [r9 - 6], ax
mov rax, rdi
mul rcx
shr rdx, 6
imul rax, rdx, 0x97
sub rcx, rax
movzx eax, byte [rcx + rsi]
xor al, byte [rbx + r9 - 4]
movsx eax, al
mov word [r9 - 4], ax
cmp r11d, 0xb
jb 0x140005090
mov rbx, qword [rsp + 0x30]
mov rax, r10
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140009040
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
movsxd rax, dword [rcx + 0x3c]
mov r12, rdx
mov rdx, rcx
mov ecx, dword [rax + rcx + 0x88]
xor eax, eax
add rcx, rdx
mov dword [rbp - 0x2c], eax
mov qword [rbp - 0x28], rcx
mov r8d, dword [rcx + 0x1c]
mov r9d, dword [rcx + 0x20]
add r8, rdx
mov r10d, dword [rcx + 0x24]
add r9, rdx
add r10, rdx
mov qword [rbp - 0x20], r8
mov qword [rbp - 0x18], r9
mov qword [rbp - 0x10], r10
cmp dword [rcx + 0x18], eax
jbe 0x14000926e
mov word [rbp + 0x50], 0x564d
mov word [rbp + 0x58], 0x564d
nop
mov esi, dword [r9 + rax*4]
lea rcx, [rbp + 0x50]
movzx eax, word [r10 + rax*2]
add rsi, rdx
xor edi, edi
mov r15d, dword [r8 + rax*4]
add r15, rdx
mov qword [rbp - 8], r15
call fcn.1400015b0
movzx ecx, byte [rax]
cmp byte [rsi], cl
je 0x1400090f4
nop dword [rax]
lea rcx, [rbp + 0x50]
inc rdi
call fcn.1400015b0
movzx ecx, byte [rax]
cmp byte [rdi + rsi], cl
jne 0x1400090e0
lea rcx, [rbp + 0x58]
xor ebx, ebx
call fcn.1400015b0
movzx ecx, byte [rax]
cmp byte [r12], cl
je 0x140009125
nop dword [rax + rax]
lea rcx, [rbp + 0x58]
inc rbx
call fcn.1400015b0
movzx ecx, byte [rax]
cmp byte [rbx + r12], cl
jne 0x140009110
cmp rdi, rbx
jne 0x140009242
mov r13, rsi
mov word [rbp - 0x50], 0x564d
sub r13, r12
mov r14, r12
nop dword [rax]
lea rcx, [rbp - 0x50]
xor ebx, ebx
call fcn.1400015b0
movzx ecx, byte [rax]
cmp byte [rsi], cl
je 0x140009166
lea rcx, [rbp - 0x50]
inc rbx
call fcn.1400015b0
movzx ecx, byte [rax]
cmp byte [rbx + rsi], cl
jne 0x140009152
mov rax, r14
sub rax, r12
dec rbx
cmp rax, rbx
jae 0x140009268
movsx r15d, byte [r14 + r13]
lea rcx, [rbp - 0x4e]
mov dword [rbp - 0x4e], 0x56002c
call fcn.140002280
movzx eax, word [rax]
cmp r15d, eax
jl 0x1400091d8
lea rcx, [rbp - 0x4a]
mov dword [rbp - 0x4a], 0x560037
call fcn.140002280
movzx ecx, word [rax]
cmp r15d, ecx
jg 0x1400091d8
lea rcx, [rbp - 0x46]
mov dword [rbp - 0x46], 0x56002c
mov dword [rbp - 0x42], 0x56000c
call fcn.140002280
lea rcx, [rbp - 0x42]
movzx ebx, byte [rax]
call fcn.140002280
movzx ecx, byte [rax]
sub cl, bl
add r15b, cl
movsx edi, byte [r14]
lea rcx, [rbp - 0x3e]
mov dword [rbp - 0x3e], 0x56002c
call fcn.140002280
movzx eax, word [rax]
cmp edi, eax
jl 0x140009235
lea rcx, [rbp - 0x3a]
mov dword [rbp - 0x3a], 0x560037
call fcn.140002280
movzx ecx, word [rax]
cmp edi, ecx
jg 0x140009235
lea rcx, [rbp - 0x36]
mov dword [rbp - 0x36], 0x56002c
mov dword [rbp - 0x32], 0x56000c
call fcn.140002280
lea rcx, [rbp - 0x32]
movzx ebx, byte [rax]
call fcn.140002280
movzx ecx, byte [rax]
sub cl, bl
add dil, cl
cmp r15b, dil
jne 0x140009242
inc r14
jmp 0x140009140
mov eax, dword [rbp - 0x2c]
mov rcx, qword [rbp - 0x28]
inc eax
mov dword [rbp - 0x2c], eax
cmp eax, dword [rcx + 0x18]
jae 0x14000926e
mov rdx, qword [rbp + 0x40]
mov r8, qword [rbp - 0x20]
mov r9, qword [rbp - 0x18]
mov r10, qword [rbp - 0x10]
jmp 0x1400090b0
mov rax, qword [rbp - 8]
jmp 0x140009270
xor eax, eax
mov rbx, qword [rsp + 0xb8]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000a140
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rax, qword gs:[0x60]
mov rsi, rcx
mov rdi, qword [rax + 0x18]
add rdi, 0x20
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x14000a1a2
nop dword [rax + rax]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov rcx, rax
mov r8d, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rcx, qword [rbx + 0x40]
mov rdx, rsi
mov r8, rax
call fcn.14000cc90
test al, al
jne 0x14000a1b4
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x14000a170
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rax, qword [rbx + 0x20]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
mov eax, 0x53
mov dword [rbp - 0x20], 0x130006
lea rcx, [rbp - 0x20]
mov word [rbp - 0xc], ax
mov dword [rbp - 0x1c], 0x2d0018
mov dword [rbp - 0x18], 0xb0015
mov dword [rbp - 0x14], 0x260010
mov dword [rbp - 0x10], 0x1d0020
call fcn.140005040
mov rcx, rax
call 0x14000a140
mov qword [0x14000f1b8], rax
lea rcx, [rbp - 0x20]
mov eax, 0x73
mov dword [rbp - 0x20], 0x130006
mov word [rbp - 0x10], ax
mov dword [rbp - 0x1c], 0x2d0018
mov dword [rbp - 0x18], 0xb0015
mov dword [rbp - 0x14], 0x550061
call fcn.140002090
mov rcx, rax
call 0x14000a140
lea rcx, [rbp - 0x20]
mov qword [0x14000f1a8], rax
mov dword [rbp - 0x20], 0x220023
mov dword [rbp - 0x1c], 0xf002e
mov dword [rbp - 0x18], 0x47003c
call fcn.140004ed0
mov rcx, rax
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
mov r12, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop rbp
jmp 0x14000a140
Function at 0x14000d3e0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
mov rbx, qword [0x14000f1c0]
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x20], 0x3e001e
mov dword [rbp - 0x1c], 0xf002f
mov dword [rbp - 0x18], 0x74003c
mov dword [rbp - 0x14], 0x490060
mov dword [rbp - 0x10], 0x340017
mov dword [rbp - 0xc], 0x76003f
call fcn.1400027b0
mov rcx, rax
call rbx
mov rbx, qword [0x14000f1c0]
lea rcx, [rbp - 0x20]
mov qword [0x14000f1a0], rax
mov dword [rbp - 0x20], 0x3f001a
mov dword [rbp - 0x1c], 0xa0024
mov dword [rbp - 0x18], 0x22003e
mov dword [rbp - 0x14], 0x490026
mov dword [rbp - 0x10], 0x340017
mov dword [rbp - 0xc], 0x76003f
call fcn.1400027b0
mov rcx, rax
call rbx
movdqa xmm0, xmmword [0x14000e640]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x14000f130]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x14000f1b0], rax
mov word [rbp - 0x10], 0x2106
mov byte [rbp - 0xe], 0x53
call fcn.140004690
mov rcx, qword [0x14000f1a0]
mov rdx, rax
call rbx
mov rbx, qword [0x14000f130]
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x20], 0xf2f3e1e
mov dword [rbp - 0x1c], 0x22a023c
mov dword [rbp - 0x18], 0x13272d10
mov word [rbp - 0x14], 0x6200
call fcn.140002f20
mov rcx, qword [0x14000f1a0]
mov rdx, rax
call rbx
mov rbx, qword [0x14000f130]
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x20], 0x63e3804
mov dword [rbp - 0x1c], 0x13372922
mov dword [rbp - 0x18], 0x1836283c
mov word [rbp - 0x14], 0x6216
call fcn.140002f20
mov rcx, qword [0x14000f1b0]
mov rdx, rax
call rbx
movdqa xmm0, xmmword [0x14000e6c0]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x14000f130]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x14000f0e8], rax
mov byte [rbp - 0x10], 0x70
call fcn.1400043a0
mov rcx, qword [0x14000f1b0]
mov rdx, rax
call rbx
movdqa xmm0, xmmword [0x14000e5d0]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x14000f130]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x14000f0f0], rax
mov dword [rbp - 0x10], 0x69361a14
call fcn.140002450
mov rcx, qword [0x14000f1b0]
mov rdx, rax
call rbx
movdqa xmm0, xmmword [0x14000e620]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x14000f130]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x14000f0e0], rax
mov byte [rbp - 0x10], 0x70
call fcn.1400043a0
mov rcx, qword [0x14000f1b0]
mov rdx, rax
call rbx
movdqa xmm0, xmmword [0x14000e590]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x14000f130]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x14000f0d8], rax
mov dword [rbp - 0x10], 0x283d1919
mov byte [rbp - 0xc], 0x45
call fcn.1400031a0
mov rcx, qword [0x14000f1b0]
mov rdx, rax
call rbx
movdqa xmm0, xmmword [0x14000e5f0]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x14000f130]
movdqu xmmword [rbp - 0x20], xmm0
mov word [rbp - 0x10], 0x371e
mov byte [rbp - 0xe], 0x53
call fcn.140004690
mov rcx, qword [0x14000f1b0]
mov rdx, rax
mov rax, rbx
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rbp
jmp rax
Function at 0x140011276
Capabilities:
Terminate process

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

Disassembly:
jmp 0x140015180
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400151a0
xor al, al
jmp 0x140015221
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400151b3
xor al, al
jmp 0x140015221
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 0x1400151dd
xor al, al
jmp 0x140015221
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1400151f1
xor al, al
jmp 0x140015221
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140015203
xor al, al
jmp 0x140015221
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001521f
xor al, al
jmp 0x140015221
mov al, 1
add rsp, 0x38
ret
Function at 0x14003b1c0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rax, qword [0x140082030]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov dil, 1
cmp qword [rcx + 0x68], 0
je 0x14003b27c
mov rsi, rcx
cmp byte [rcx + 0x71], 0
je 0x14003b27c
mov rax, qword [rsi]
mov rax, qword [rax + 0x18]
mov rcx, rsi
mov edx, 0xffffffff
call qword [0x1400b8010]
cmp eax, 0xffffffff
je 0x14003b27a
mov rcx, qword [rsi + 0x68]
lea r9, [rsp + 0x50]
lea rdx, [rsi + 0x74]
mov rax, qword [rcx]
mov rax, qword [rax + 0x40]
lea r8, [rsp + 0x28]
mov qword [rsp + 0x20], r8
lea rdi, [rsp + 0x30]
mov r8, rdi
call qword [0x1400b8010]
cmp eax, 3
je 0x14003b293
cmp eax, 1
je 0x14003b249
test eax, eax
jne 0x14003b27a
mov byte [rsi + 0x71], 0
mov rbx, qword [rsp + 0x28]
sub rbx, rdi
je 0x14003b270
mov r9, qword [rsi + 0x80]
mov edx, 1
mov rcx, rdi
mov r8, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rbx, rax
jne 0x14003b27a
cmp byte [rsi + 0x71], 0
sete dil
jmp 0x14003b27c
xor edi, edi
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140038de0
mov eax, edi
add rsp, 0x60
pop rbx
pop rdi
pop rsi
ret
mov byte [rsi + 0x71], 0
mov dil, 1
jmp 0x14003b27c
Function at 0x140001050
Capabilities:
Find process by pid

Disassembly:
push rbx
sub rsp, 0x20
mov rcx, qword [rcx + 8]
test rcx, rcx
je 0x140001097
and qword [rsp + 0x30], 0
lea rdx, [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140001097
call sub.ntoskrnl.exe_PsGetProcessSectionBaseAddress
mov rbx, rax
test rax, rax
je 0x140001097
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov rax, rbx
jmp 0x140001099
xor eax, eax
add rsp, 0x20
pop rbx
ret

Function at 0x140001140
Capabilities:
Attach user process memory

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x60
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rdi, rcx
test rcx, rcx
jne 0x140001165
xor eax, eax
jmp 0x1400011ce
mov rbx, qword [rcx + 0x28]
test rbx, rbx
jne 0x140001179
call fcn.14000127c
mov ecx, eax
mov rbx, qword [rcx + rdi]
mov rax, rbx
shr rax, 0x38
cmp al, 0x40
jne 0x1400011cb
cmp byte [0x140003018], 0
jne 0x1400011bf
xorps xmm0, xmm0
lea rdx, [rsp + 0x20]
mov rcx, rdi
movups xmmword [rsp + 0x20], xmm0
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
call qword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
lea rcx, [rsp + 0x20]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
mov byte [0x140003018], 1
mov rax, qword [0x140003010]
test rax, rax
jne 0x1400011ce
mov rax, rbx
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140001820
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret

Function at 0x1400011e8
Capabilities:
Get system information on windows

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
push rdi
sub rsp, 0x50
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov r8d, 0x20
lea r9, [r11 - 0x38]
lea rdx, [r11 - 0x30]
mov dword [r11 - 0x38], r8d
mov edi, ecx
call fcn.140001847
mov edx, dword [rsp + 0x20]
xor ecx, ecx
mov r8d, 0xb1127cfc
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov rbx, rax
test rax, rax
jne 0x14000123a
xor eax, eax
jmp 0x140001262
mov r8d, dword [rsp + 0x20]
lea r9, [rsp + 0x20]
mov rdx, rbx
mov ecx, edi
call fcn.140001847
test eax, eax
je 0x14000125f
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
jmp 0x140001236
mov rax, rbx
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140001820
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
Function at 0x140001450
Capabilities:
Find process by pid

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x30
mov rbx, rcx
mov rcx, qword [rcx + 8]
test rcx, rcx
je 0x1400014f2
and qword [rsp + 0x40], 0
lea rdx, [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1400014f2
call fcn.140001140
mov rdi, rax
test rax, rax
je 0x1400014f2
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov rdx, qword [rbx + 0x10]
mov rcx, rdi
call fcn.14000154c
test rax, rax
je 0x1400014f2
and qword [rsp + 0x48], 0
mov rcx, rax
and ecx, 0xfff
mov r8d, 0x1000
sub r8, rcx
mov r9d, 1
mov rcx, qword [rbx + 0x20]
mov rdx, rax
cmp r8, rcx
cmovae r8, rcx
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x20], rcx
mov rcx, qword [rbx + 0x18]
call qword [sym.imp.ntoskrnl.exe_MmCopyMemory]
xor eax, eax
jmp 0x1400014f7
mov eax, 0xc0000001
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x140001774
Capabilities:
Find process by pid

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rcx, qword [rcx + 8]
test rcx, rcx
je 0x1400017fb
and qword [rsp + 0x30], 0
lea rdx, [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1400017fb
call fcn.140001140
mov rcx, qword [rsp + 0x30]
mov rbx, rax
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov rdx, qword [rdi + 0x10]
mov rcx, rbx
call fcn.14000154c
test rax, rax
je 0x1400017fb
mov rdx, qword [rdi + 0x18]
lea r9, [rsp + 0x38]
mov rcx, rax
mov r8d, 0x1000
and ecx, 0xfff
sub r8, rcx
mov rcx, qword [rdi + 0x20]
cmp r8, rcx
cmovae r8, rcx
mov rcx, rax
call fcn.140001700
xor eax, eax
jmp 0x140001800
mov eax, 0xc0000001
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140027e40
Capabilities:
Clear file content

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 r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.14001b8c4
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001b8c4
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140027f90
cmp rax, 0xffffffffffffffff
je 0x140027f90
xor edi, edi
test rbp, rbp
jle 0x140027f3b
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14001dec8
mov rbx, rax
test rax, rax
jne 0x140027ec8
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140027f31
mov edx, 0x8000
mov ecx, r14d
call fcn.140015978
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.14001c5a0
cmp eax, 0xffffffff
je 0x140027f11
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140027ed8
mov edx, r15d
mov ecx, r14d
call fcn.140015978
jmp 0x140027f31
cmp byte [rsi + 0x38], dil
je 0x140027f28
cmp dword [rsi + 0x34], 5
jne 0x140027f28
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140027f31
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.140019f88
jmp 0x140027fa4
jns 0x140027fa4
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001b8c4
cmp rax, 0xffffffffffffffff
jne 0x140027f5c
cmp byte [rsi + 0x30], dil
je 0x140027fa4
mov edi, dword [rsi + 0x2c]
jmp 0x140027fa4
mov ecx, r14d
call fcn.14001706c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140027fa4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x140027fa4
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140027f9d
mov eax, dword [rsi + 0x2c]
jmp 0x140027fa2
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001b8c4
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x1428e668c
Capabilities:
Encode data using xor

Disassembly:
jmp 0x1428e6696
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x1428e66bf
pop rbp
sub rbp, 0x33
sub rbp, 0x28e668c
sub rsp, 0x20
jmp 0x1428e66de
mov rax, 0x28e668c
add rax, rbp
add rax, 0x84
mov rcx, 0x60b
mov rdx, 0x5ec8ae43
xor byte [rax], dl
inc rax
dec rcx
jne 0x1428e66fd
jmp 0x1428e6714
or ecx, edx
stosb byte [rdi], al
enter 0x7fca, 0x43
or eax, r10d
invalid
Function at 0x1400013c0
Capabilities:
Print debug messages
Terminate process

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
cmp byte [rcx + 0x1018], 0
mov rbp, rcx
jne 0x1400013fb
lea rcx, str.CommandlineLib_is_not_initialized___4__n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
int3
xor r14d, r14d
mov esi, r14d
cmp dword [rbp + 0x10], r14d
jle 0x140001452
mov qword [rsp + 0x30], rbx
lea rbx, [rbp + 0x18]
mov qword [rsp + 0x38], rdi
mov rdi, qword [rbx]
test rdi, rdi
je 0x14000143d
mov rcx, qword [rbx + 0x800]
xor eax, eax
add rcx, rcx
rep stosb byte [rdi], al
mov rcx, qword [rbx]
call fcn.140002130
mov qword [rbx], r14
mov qword [rbx + 0x800], r14
inc esi
add rbx, 8
cmp esi, dword [rbp + 0x10]
jl 0x140001415
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x48]
mov dword [rbp + 0x10], r14d
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x140002bc8
Capabilities:
Parse pe header

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

Function at 0x14000cec4
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14000ccc0