joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14002dcd0
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rbp
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x40], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x140073008]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rdi, rcx
cmp qword [rcx + 0x68], 0
je 0x14002de38
cmp byte [rcx + 0x72], 0
je 0x14002de38
mov ebx, 0xffff
mov edx, ebx
call fcn.14002d360
cmp bx, ax
jne 0x14002dd2d
xor al, al
jmp 0x14002de3a
mov edx, 0xf
mov qword [rbp - 0x18], rdx
mov byte [rbp - 0x30], 0
xor ecx, ecx
mov qword [rbp - 0x30], rcx
mov qword [rbp - 0x20], 8
lea rax, [rbp - 0x30]
cmp rdx, 0x10
cmovae rax, rcx
mov byte [rax + 8], cl
mov rdx, qword [rbp - 0x18]
nop dword [rax + rax]
lea rcx, [rbp - 0x30]
cmp rdx, 0x10
cmovae rcx, qword [rbp - 0x30]
lea r8, [rbp - 0x30]
cmovae r8, qword [rbp - 0x30]
mov r9, qword [rbp - 0x20]
add r9, rcx
lea rax, [rbp - 0x38]
mov qword [rsp + 0x20], rax
lea rdx, [rdi + 0x74]
mov rcx, qword [rdi + 0x68]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_wchar_t__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x14002dd9f
sub eax, 1
jne 0x14002de0d
jmp 0x14002dda3
mov byte [rdi + 0x72], 0
lea rax, [rbp - 0x30]
mov r9, qword [rbp - 0x30]
mov rdx, qword [rbp - 0x18]
cmp rdx, 0x10
cmovae rax, r9
mov rbx, qword [rbp - 0x38]
sub rbx, rax
je 0x14002ddea
lea rcx, [rbp - 0x30]
cmp rdx, 0x10
cmovae rcx, r9
mov r9, qword [rdi + 0x80]
mov r8, rbx
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rdx, qword [rbp - 0x18]
cmp rbx, rax
jne 0x14002de16
cmp byte [rdi + 0x72], 0
je 0x14002de1a
test rbx, rbx
jne 0x14002dd60
xor r8d, r8d
lea edx, [rbx + 8]
lea rcx, [rbp - 0x30]
call fcn.14002ed00
jmp 0x14002dd57
sub eax, 2
mov rdx, qword [rbp - 0x18]
je 0x14002de1a
xor bl, bl
jmp 0x14002de1c
mov bl, 1
cmp rdx, 0x10
jb 0x14002de33
lea r8, [rdx + 1]
mov rdx, qword [rbp - 0x30]
lea rcx, [rbp - 0x30]
call fcn.14002ef40
movzx eax, bl
jmp 0x14002de3a
mov al, 1
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140043860
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x140043d40
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
sub rsp, 0x18
mov r8, rcx
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x140043dd1
movsxd rax, dword [0x14000003c]
lea rdx, [0x140000000]
lea rcx, [rax + rdx]
cmp dword [rcx], 0x4550
jne 0x140043dd1
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140043dd1
sub r8, rdx
movzx eax, word [rcx + 0x14]
lea rdx, [rcx + 0x18]
add rdx, rax
movzx eax, word [rcx + 6]
lea rcx, [rax + rax*4]
lea r9, [rdx + rcx*8]
mov qword [rsp], rdx
cmp rdx, r9
je 0x140043db5
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x140043daf
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x140043db7
add rdx, 0x28
jmp 0x140043d94
xor edx, edx
test rdx, rdx
jne 0x140043dc0
xor al, al
jmp 0x140043dd7
test dword [rdx + 0x24], 0x80000000
je 0x140043dcd
xor al, al
jmp 0x140043dd7
mov al, 1
jmp 0x140043dd7
xor al, al
jmp 0x140043dd7
add rsp, 0x18
ret

Function at 0x140047e00
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x18], 8
mov rsi, rdx
mov rdi, rcx
jb 0x140047e1f
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
cmp eax, 0xffffffff
jne 0x140047e4e
mov r8, rsi
lea rcx, [rsp + 0x30]
mov rdx, rdi
call fcn.140047cb0
mov eax, dword [rax]
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
test rsi, rsi
je 0x140047e62
mov dword [rsi], 0
call fcn.1400493f0
mov qword [rsi + 8], rax
bt ebx, 0xa
jae 0x140047ea9
mov rcx, rdi
call fcn.140047990
test al, al
je 0x140047e94
test bl, 0x10
mov eax, 4
mov ecx, 0xb
cmovne eax, ecx
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov eax, 9
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov rsi, qword [rsp + 0x40]
and ebx, 0x10
or ebx, 0x20
shr ebx, 4
mov eax, ebx
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140048000
Capabilities:
Delete directory
Delete file

Disassembly:
push rdi
sub rsp, 0x50
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x68], rbx
mov rax, qword [0x140073008]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rdi, r8
mov rbx, rcx
cmp edx, 1
jne 0x14004804a
test r8, r8
je 0x140048043
mov dword [r8], 0
call fcn.1400493f0
mov qword [rdi + 8], rax
xor al, al
jmp 0x140048109
lea eax, [rdx - 3]
mov qword [rsp + 0x40], 0xf
mov qword [rsp + 0x38], 0
mov byte [rsp + 0x28], 0
mov r8d, 0x19
lea rdx, str.boost::filesystem::remove
lea rcx, [rsp + 0x28]
test eax, 0xfffffff7
je 0x1400480c2
call fcn.1400344d0
nop
cmp qword [rbx + 0x18], 8
jb 0x14004808f
mov rcx, qword [rbx]
jmp 0x140048092
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
sete cl
lea r9, [rsp + 0x28]
mov r8, rdi
mov rdx, rbx
call fcn.1400478b0
movzx ebx, al
lea rcx, [rsp + 0x28]
call fcn.14002f030
test bl, bl
je 0x140048107
xor al, al
jmp 0x140048109
call fcn.1400344d0
nop
cmp qword [rbx + 0x18], 8
jb 0x1400480d4
mov rcx, qword [rbx]
jmp 0x1400480d7
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
sete cl
lea r9, [rsp + 0x28]
mov r8, rdi
mov rdx, rbx
call fcn.1400478b0
movzx ebx, al
lea rcx, [rsp + 0x28]
call fcn.14002f030
test bl, bl
jne 0x140048043
mov al, 1
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140043860
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
Function at 0x140048180
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x80
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rsp + 0xc8], rbx
mov rax, qword [0x140073008]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov r14, r8
mov rdi, rdx
mov rsi, rcx
cmp qword [rdx + 0x18], 8
jb 0x1400481c4
mov rcx, qword [rdx]
jmp 0x1400481c7
mov rcx, rdx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebp, eax
cmp eax, 0xffffffff
jne 0x1400481e7
mov r8, r14
mov rdx, rdi
mov rcx, rsi
call fcn.140047cb0
jmp 0x140048318
xor r15d, r15d
bt eax, 0xa
jae 0x1400482d8
cmp qword [rdi + 0x18], 8
jb 0x140048200
mov rdx, qword [rdi]
jmp 0x140048203
mov rdx, rdi
mov qword [rsp + 0x68], 7
mov qword [rsp + 0x60], r15
mov word [rsp + 0x50], r15w
cmp word [rdx], r15w
jne 0x140048222
mov r8, r15
jmp 0x140048230
or r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], r15w
jne 0x140048226
lea rcx, [rsp + 0x50]
call fcn.14002b550
nop
lea rcx, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae rcx, qword [rsp + 0x50]
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0x2000000
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 7]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x50]
call fcn.14002b100
cmp rbx, 0xffffffffffffffff
jne 0x1400482a3
mov r8, r14
mov rdx, rdi
mov rcx, rsi
call fcn.140047cb0
nop
lea rcx, [rsp + 0x40]
call int.140047690
jmp 0x140048318
mov rcx, rdi
call fcn.140047990
test al, al
jne 0x1400482ce
mov edx, ebp
mov rcx, rdi
call fcn.140047a70
mov dword [rsi], 9
mov dword [rsi + 4], eax
lea rcx, [rsp + 0x40]
call int.140047690
jmp 0x140048318
lea rcx, [rsp + 0x40]
call int.140047690
test r14, r14
je 0x1400482e9
mov dword [r14], r15d
call fcn.1400493f0
mov qword [r14 + 8], rax
mov edx, ebp
mov rcx, rdi
test bpl, 0x10
mov dword [rsp + 0x40], 3
jne 0x140048304
mov dword [rsp + 0x40], 2
call fcn.140047a70
mov dword [rsp + 0x44], eax
lea rax, [rsp + 0x40]
mov rax, qword [rax]
mov qword [rsi], rax
mov rax, rsi
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140043860
mov rbx, qword [rsp + 0xc8]
add rsp, 0x80
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret

Function at 0x140049740
Capabilities:
Query or enumerate registry value

Disassembly:
sub rsp, 0x48
mov rax, qword [rsp + 0x78]
mov r8, rdx
mov qword [rsp + 0x30], rax
xor edx, edx
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r9
mov r9d, 0xffff
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
add rsp, 0x48
ret
Function at 0x140049810
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x140073008]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, qword [rsp + 0x80]
mov rsi, r9
mov rdi, qword [rsp + 0x88]
test rbx, rbx
je 0x140049849
test rdi, rdi
jne 0x14004984e
lea eax, [rdi + 0x57]
jmp 0x1400498be
test rdi, rdi
je 0x140049856
mov eax, dword [rdi]
mov dword [rsp + 0x30], eax
jmp 0x14004985e
mov dword [rsp + 0x30], 0
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [rsp + 0x34]
test rsi, rsi
je 0x140049883
mov dword [rsi], edx
mov ecx, dword [rsp + 0x30]
test rdi, rdi
je 0x14004988e
mov dword [rdi], ecx
test eax, eax
jne 0x1400498be
test rbx, rbx
je 0x1400498bc
cmp edx, 1
jne 0x1400498d3
test ecx, ecx
je 0x1400498b9
test dl, cl
jne 0x1400498b2
mov rax, rcx
shr rax, 1
cmp word [rbx + rax*2 - 2], 0
je 0x1400498bc
mov eax, 0xd
jmp 0x1400498be
mov byte [rbx], 0
xor eax, eax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140043860
add rsp, 0x40
pop rdi
pop rsi
pop rbx
ret
cmp edx, 7
jne 0x1400498bc
test cl, 1
jne 0x1400498b2
mov eax, ecx
shr eax, 1
cmp eax, 1
jb 0x1400498b2
mov rdx, rcx
shr rdx, 1
cmp word [rbx + rdx*2 - 2], 0
jne 0x1400498b2
cmp eax, 1
jbe 0x1400498bc
cmp word [rbx + rdx*2 - 4], 0
je 0x1400498bc
mov eax, 0xd
jmp 0x1400498be
Function at 0x140013a30
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x11], 0
je 0x140013a53
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 9]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x10
jb 0x140013a40
mov byte [rcx + 0x11], 0
mov rax, rcx
ret

Function at 0x140013a60
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 8], 0
je 0x140013a83
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 9]
xor byte [rax + rcx], dl
inc rax
cmp rax, 7
jb 0x140013a70
mov byte [rcx + 8], 0
mov rax, rcx
ret

Function at 0x140013a90
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0xe], 0
je 0x140013ab3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 9]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0xd
jb 0x140013aa0
mov byte [rcx + 0xe], 0
mov rax, rcx
ret
Function at 0x140017440
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 7], 0
je 0x140017463
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 9]
xor byte [rax + rcx], dl
inc rax
cmp rax, 6
jb 0x140017450
mov byte [rcx + 7], 0
mov rax, rcx
ret

Function at 0x140017470
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0xa], 0
je 0x140017493
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 9]
xor byte [rax + rcx], dl
inc rax
cmp rax, 9
jb 0x140017480
mov byte [rcx + 0xa], 0
mov rax, rcx
ret

Function at 0x1400174a0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 9], 0
je 0x1400174c3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 9]
xor byte [rax + rcx], dl
inc rax
cmp rax, 8
jb 0x1400174b0
mov byte [rcx + 9], 0
mov rax, rcx
ret
Function at 0x14001c790
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x21], 0
je 0x14001c7b3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 9]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x20
jb 0x14001c7a0
mov byte [rcx + 0x21], 0
mov rax, rcx
ret

Function at 0x14001c7c0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x1b], 0
je 0x14001c7e3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 9]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x1a
jb 0x14001c7d0
mov byte [rcx + 0x1b], 0
mov rax, rcx
ret

Function at 0x14001c7f0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x13], 0
je 0x14001c813
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 9]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x12
jb 0x14001c800
mov byte [rcx + 0x13], 0
mov rax, rcx
ret

Function at 0x14001c890
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x18], rbp
push rsi
sub rsp, 0x160
mov rax, qword [0x1401a8f70]
xor rax, rsp
mov qword [rsp + 0x150], rax
xor edx, edx
mov dword [rsp + 0x20], 0x130
mov rsi, rcx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbp, rax
cmp rax, 0xffffffffffffffff
jne 0x14001c8d5
xor eax, eax
jmp 0x14001c9c6
mov qword [rsp + 0x170], rbx
lea rdx, [rsp + 0x20]
mov rcx, rbp
mov qword [rsp + 0x178], rdi
call qword [sym.imp.KERNEL32.dll_Process32First]
lea rax, [rsp + 0x4c]
mov rbx, 0xffffffffffffffff
nop
inc rbx
cmp byte [rax + rbx], 0
jne 0x14001c900
cmp qword [rsi + 0x18], 0x10
mov rcx, rsi
mov rdi, qword [rsi + 0x10]
jb 0x14001c91a
mov rcx, qword [rsi]
cmp rbx, rdi
lea rdx, [rsp + 0x4c]
mov r8, rdi
cmovb r8, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14001c93d
cmp rdi, rbx
jb 0x14001c93d
jbe 0x14001c9e7
lea rdx, [rsp + 0x20]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
je 0x14001c9ab
nop
lea rax, [rsp + 0x4c]
mov rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x14001c960
cmp qword [rsi + 0x18], 0x10
mov rcx, rsi
mov rdi, qword [rsi + 0x10]
jb 0x14001c97a
mov rcx, qword [rsi]
cmp rbx, rdi
lea rdx, [rsp + 0x4c]
mov r8, rdi
cmovb r8, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14001c999
cmp rdi, rbx
jb 0x14001c999
jbe 0x14001c9e7
lea rdx, [rsp + 0x20]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x14001c950
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rbx, qword [rsp + 0x170]
mov rdi, qword [rsp + 0x178]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.14010bf00
mov rbp, qword [rsp + 0x180]
add rsp, 0x160
pop rsi
ret
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x28]
jmp 0x14001c9b6
Function at 0x14001ce10
Capabilities:
Encode data using xor
Enumerate processes

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
push rdi
sub rsp, 0x2c0
mov rax, qword [0x1401a8f70]
xor rax, rsp
mov qword [rsp + 0x2b8], rax
mov qword [rsp + 0x38], rsp
mov dword [r11 - 0x38], 0x62796f62
mov dword [r11 - 0x34], 0x223c6268
mov dword [r11 - 0x30], 0x787f763f
mov word [r11 - 0x2c], 0x100
xor esi, esi
mov ecx, esi
nop dword [rax]
lea eax, [rcx + 9]
xor byte [rsp + rcx + 0x290], al
inc rcx
cmp rcx, 0xc
jb 0x14001ce60
mov byte [rsp + 0x29d], sil
lea rcx, [rsp + 0x290]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
movdqa xmm0, xmmword [0x140169bc0]
movdqu xmmword [rsp + 0x2a0], xmm0
mov word [rsp + 0x2b0], WSAGetLastError
mov byte [rsp + 0x2b2], 1
mov rdx, rsi
nop
lea ecx, [rdx + 9]
xor byte [rsp + rdx + 0x2a0], cl
inc rdx
cmp rdx, 0x11
jb 0x14001ceb0
mov byte [rsp + 0x2b2], sil
lea rdx, [rsp + 0x2a0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
mov qword [rsp + 0x290], rax
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x50], 0x238
lea rdx, [rsp + 0x50]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
mov qword [rsp + 0x40], rsi
mov dword [rsp + 0x30], esi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [rsp + 0x34], eax
mov r8d, dword [rsp + 0x58]
cmp eax, r8d
jne 0x14001cf3b
lea rdx, [0x14001cfbf]
mov rcx, qword [rsp + 0x38]
call sub.VCRUNTIME140.dll__local_unwind
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
mov qword [rsp + 0x40], rax
test rax, rax
jne 0x14001cf66
lea rdx, [0x14001cfbf]
mov rcx, qword [rsp + 0x38]
call sub.VCRUNTIME140.dll__local_unwind
mov qword [rsp + 0x20], rsi
mov r9d, 4
lea r8, [rsp + 0x30]
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
jne 0x14001cf97
lea rdx, [0x14001cfbf]
mov rcx, qword [rsp + 0x38]
call sub.VCRUNTIME140.dll__local_unwind
mov eax, dword [rdi]
cmp dword [rsp + 0x30], eax
je 0x14001cfb6
call fcn.14001c4d0
lea rdx, [0x14001cfe6]
mov rcx, qword [rsp + 0x38]
call sub.VCRUNTIME140.dll__local_unwind
nop
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x14001cfe6
xor esi, esi
mov rdi, qword [rsp + 0x290]
mov eax, dword [rsp + 0x34]
jmp 0x14001cf20
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14001cff6
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x2b8]
xor rcx, rsp
call fcn.14010bf00
lea r11, [rsp + 0x2c0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x14001dc10
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x26], 0
je 0x14001dc33
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 9]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x25
jb 0x14001dc20
mov byte [rcx + 0x26], 0
mov rax, rcx
ret

Function at 0x14001dc40
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 6], 0
je 0x14001dc63
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 9]
xor byte [rax + rcx], dl
inc rax
cmp rax, 5
jb 0x14001dc50
mov byte [rcx + 6], 0
mov rax, rcx
ret

Function at 0x14001dc90
Capabilities:
Print debug messages

Disassembly:
mov r11, rsp
sub rsp, 0xb8
mov rax, qword [0x1401a8f70]
xor rax, rsp
mov qword [rsp + 0xa0], rax
movdqa xmm0, xmmword [0x140169b90]
movdqa xmmword [rsp + 0x30], xmm0
movdqa xmm1, xmmword [0x140169b20]
movdqa xmmword [rsp + 0x40], xmm1
movdqa xmm0, xmmword [0x140169a30]
movdqa xmmword [rsp + 0x50], xmm0
movdqa xmm1, xmmword [0x1401698a0]
movdqa xmmword [rsp + 0x60], xmm1
movdqa xmm0, xmmword [0x140169850]
movdqa xmmword [rsp + 0x70], xmm0
movdqa xmm1, xmmword [str.__x_z]
movdqa xmmword [r11 - 0x38], xmm1
mov dword [r11 - 0x28], 0x1f4e194c
mov dword [r11 - 0x24], 0x34a1d48
mov dword [r11 - 0x20], 0x7560154
mov dword [r11 - 0x1c], 0x1000550
xor eax, eax
mov qword [rsp + 0x20], rax
cmp rax, 0x6e
jae 0x14001dd3d
lea ecx, [rax + 9]
xor cl, byte [rsp + rax + 0x30]
mov byte [rsp + rax + 0x30], cl
inc rax
jmp 0x14001dd22
mov byte [rsp + 0x9f], 0
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x14001dd52
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.14010bf00
add rsp, 0xb8
ret

Function at 0x14001dd70
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x17], 0
je 0x14001dd93
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 9]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x16
jb 0x14001dd80
mov byte [rcx + 0x17], 0
mov rax, rcx
ret
Function at 0x14001f490
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x15], 0
je 0x14001f4b3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 9]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x14
jb 0x14001f4a0
mov byte [rcx + 0x15], 0
mov rax, rcx
ret

Function at 0x14001f4c0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x1f], 0
je 0x14001f4e3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 9]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x1e
jb 0x14001f4d0
mov byte [rcx + 0x1f], 0
mov rax, rcx
ret

Function at 0x14001f4f0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x10], 0
je 0x14001f513
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 9]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0xf
jb 0x14001f500
mov byte [rcx + 0x10], 0
mov rax, rcx
ret
Function at 0x14001f520
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Execute command

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xe0
mov rax, qword [0x1401a8f70]
xor rax, rsp
mov qword [rbp + 0x4f], rax
xor edi, edi
mov dword [rbp - 0x49], 0x50255655
mov ecx, edi
mov dword [rbp - 0x45], 0x647c6a66
mov dword [rbp - 0x41], 0x71787c78
mov word [rbp - 0x3d], 0x67
mov byte [rbp - 0x3b], 1
nop dword [rax + rax]
lea eax, [rcx + 9]
xor byte [rbp + rcx - 0x49], al
inc rcx
cmp rcx, 0xd
jb 0x14001f570
lea rax, [rbp - 0x49]
mov dword [rbp - 0x49], 0x50255655
mov qword [rbp + 0x37], rax
mov rcx, rdi
mov dword [rbp - 0x45], 0x77486743
mov dword [rbp - 0x41], 0x1006054
lea eax, [rcx + 9]
xor byte [rbp + rcx - 0x49], al
inc rcx
cmp rcx, 0xa
jb 0x14001f5a0
lea rax, [rbp - 0x49]
mov dword [rbp - 0x49], 0x50255655
mov qword [rbp + 0x3f], rax
mov rcx, rdi
mov dword [rbp - 0x45], 0x654b7d46
mov dword [rbp - 0x41], 0x6676627c
mov word [rbp - 0x3d], 0x100
nop word [rax + rax]
lea eax, [rcx + 9]
xor byte [rbp + rcx - 0x49], al
inc rcx
cmp rcx, 0xc
jb 0x14001f5e0
lea rax, [rbp - 0x49]
mov rbx, rdi
mov qword [rbp + 0x47], rax
nop dword [rax + rax]
mov rcx, qword [rbp + rbx*8 + 0x37]
xor r9d, r9d
mov qword [rsp + 0x30], rdi
mov edx, 0x80000000
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
cmp rax, 0xffffffffffffffff
je 0x14001f6c3
movdqa xmm0, xmmword [0x140169b00]
mov rax, rdi
movdqa xmm1, xmmword [0x140169c10]
movdqa xmmword [rbp - 0x39], xmm0
movdqa xmm0, xmmword [0x140169a60]
movdqa xmmword [rbp - 0x29], xmm1
movdqa xmm1, xmmword [str.YOURP]
movdqa xmmword [rbp - 0x19], xmm0
movdqa xmm0, xmmword [0x1401698b0]
movdqa xmmword [rbp - 9], xmm1
movdqa xmm1, xmmword [0x140169a10]
movdqa xmmword [rbp + 7], xmm0
movdqa xmmword [rbp + 0x17], xmm1
mov dword [rbp + 0x27], 0x1e0457
mov word [rbp + 0x2b], 0x100
nop dword [rax]
nop dword [rax + rax]
lea ecx, [rax + 9]
xor byte [rbp + rax - 0x39], cl
inc rax
cmp rax, 0x64
jb 0x14001f6a0
lea rcx, [rbp - 0x39]
mov byte [rbp + 0x2c], dil
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
call fcn.14001c4d0
inc rbx
cmp rbx, 3
jl 0x14001f600
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.14010bf00
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret