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

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
xor r15d, r15d
lea r12, [0x140000000]
movzx eax, byte [r15 + r12 + 0x694f0]
mov edi, eax
mov r8d, eax
shr edi, 5
mov r11d, eax
shr r8d, 6
mov ebp, edi
lea edx, [rax + rax]
shr r11d, 7
xor edx, eax
and ebp, 4
mov r10d, edi
mov r9d, r8d
and edi, 1
and r10d, 2
imul ecx, edi, 0x1b000000
and r8d, 1
lea ebx, [rdx + rdx]
and r9d, 2
lea edx, [rdx*4]
xor ebx, eax
xor edx, eax
shl ebx, 0x19
shl edx, 8
mov esi, eax
xor rbx, rcx
mov r14d, eax
imul ecx, r10d, 0x1b000000
xor rbx, rcx
imul ecx, r8d, 0x1b000000
xor rbx, rcx
imul ecx, r9d, 0x1b000000
xor rbx, rcx
imul ecx, ebp, 0x1b000000
xor rbx, rcx
imul ecx, r11d, 0x1b000000
xor rbx, rcx
imul ecx, edi, 0x11b00
xor rdx, rcx
imul ecx, r10d, 0x11b00
xor rdx, rcx
imul ecx, r8d, 0x11b00
xor rdx, rcx
imul ecx, r9d, 0x11b00
xor rdx, rcx
imul ecx, ebp, 0x11b00
xor rdx, rcx
imul ecx, edi, 0x11b0000
or rbx, rdx
lea edx, [rax*8]
xor edx, eax
lea eax, [rax*4]
shl edx, 0x10
xor eax, r14d
xor rdx, rcx
imul ecx, r10d, 0x11b0000
xor rdx, rcx
imul ecx, ebp, 0x11b0000
xor rdx, rcx
imul ecx, edi, 0x11b
or rbx, rdx
lea edx, [rax + rax]
xor rdx, rcx
imul ecx, r10d, 0x11b
xor rdx, rcx
imul ecx, ebp, 0x11b
xor rdx, rcx
imul ecx, r11d, 0x11b
xor rdx, rcx
xor rdx, rsi
or rdx, rbx
shl rdx, 0x20
or rdx, rbx
or rdx, rsi
mov qword [r12 + r15*8 + 0x858b0], rdx
inc r15
cmp r15, 0x100
jl 0x1400528d7
mov rbx, qword [rsp + 0x20]
mov rbp, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov byte [0x1400860b1], 1
pop r15
pop r14
pop r12
ret

Function at 0x140052a40
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
xor r11d, r11d
lea rbx, [0x140000000]
movzx r9d, byte [r11 + rbx + 0x693f0]
mov edx, r9d
shr edx, 7
imul r10d, edx, 0x1b000000
lea r8d, [r9 + r9]
imul ecx, edx, 0x11b
mov eax, r8d
shl eax, 0x18
xor r10, rax
mov eax, r9d
shl eax, 8
or eax, r9d
shl eax, 8
or r10, rax
mov eax, r8d
xor rcx, rax
xor rcx, r9
or rcx, r10
shl rcx, 0x20
or rcx, r10
mov qword [rbx + r11*8 + 0x850a0], rcx
inc r11
cmp r11, 0x100
jl 0x140052a4f
and qword [0x1400858a8], 0
and qword [0x1400858a0], 0
mov rbx, qword [rsp + 8]
mov byte [0x1400860b0], 1
ret
Function at 0x140054504
Capabilities:
Generate random numbers via winapi

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x90
mov rax, qword [0x14007f180]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rbx, r8
mov rdi, rdx
mov ecx, dword [0x1400861b0]
mov rax, qword gs:[0x58]
mov edx, shutdown
mov rax, qword [rax + rcx*8]
mov ecx, dword [rdx + rax]
cmp dword [0x1400860c0], ecx
jg 0x1400545e6
mov eax, ebx
cmp rbx, rax
jne 0x1400545a8
xor ecx, ecx
test rbx, rbx
setne cl
xor eax, eax
test ebx, ebx
setne al
cmp ecx, eax
jne 0x1400545a8
xor r9d, r9d
mov r8d, ebx
mov rdx, rdi
mov rcx, qword [0x1400860b8]
call sub.bcrypt.dll_BCryptGenRandom
test eax, eax
js 0x140054629
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14005c2e0
mov rbx, qword [rsp + 0xa0]
add rsp, 0x90
pop rdi
ret
mov ecx, 0x5b6
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rdx, str.GenerateBlock_size
lea rcx, [rsp + 0x20]
call fcn.14000b430
nop
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x40]
call fcn.140054234
lea rdx, [0x14007baf0]
lea rcx, [rsp + 0x40]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rcx, [0x1400860c0]
call fcn.14005c3a8
cmp dword [0x1400860c0], 0xffffffff
jne 0x140054550
lea rcx, [0x1400860b8]
call fcn.140054148
lea rcx, [0x140060adc]
call fcn.14005c684
nop
lea rcx, [0x1400860c0]
call fcn.14005c33c
jmp 0x140054550
mov ecx, eax
call fcn.14005466c
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rdx, [0x140067f68]
lea rcx, [rsp + 0x20]
call fcn.14000b430
nop
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x40]
call fcn.140054234
lea rdx, [0x14007baf0]
lea rcx, [rsp + 0x40]
call sub.VCRUNTIME140.dll__CxxThrowException
int3

Function at 0x140055a70
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
xor r14d, r14d
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
cmp r8, 8
jb 0x140055ae3
mov rbp, r8
shr rbp, 3
imul rax, rbp, 0xfffffffffffffff8
add rdi, rax
mov r8d, 8
lea rcx, [rsp + 0x58]
mov rdx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov r8d, 8
lea rcx, [rsp + 0x50]
mov rdx, rbx
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsp + 0x50]
add rsi, 8
xor rax, qword [rsp + 0x58]
add rbx, 8
or r14, rax
sub rbp, 1
jne 0x140055aa2
mov rcx, r14
shr rcx, 0x20
or ecx, r14d
mov edx, ecx
mov eax, ecx
shr edx, 8
or edx, ecx
shr eax, 0x10
and edx, 0xff00
or edx, eax
movzx eax, cl
shr edx, 8
or edx, eax
test rdi, rdi
je 0x140055b25
sub rsi, rbx
movzx ecx, byte [rsi + rbx]
movzx eax, byte [rbx]
inc rbx
xor ecx, eax
or edx, ecx
sub rdi, 1
jne 0x140055b11
mov rbx, qword [rsp + 0x40]
test edx, edx
mov rbp, qword [rsp + 0x48]
sete al
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
Function at 0x140055b40
Capabilities:
Encode data using xor

Disassembly:
test r9, r9
je 0x140055c06
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x30
mov rbx, r9
mov r15d, 4
mov rdi, r8
mov rsi, rdx
mov r14, rcx
cmp rbx, r15
jb 0x140055bd1
mov rbp, rbx
shr rbp, 2
imul rax, rbp, 0xfffffffffffffffc
add rbx, rax
mov r8, r15
lea rcx, [rsp + 0x20]
mov rdx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov r8, r15
lea rcx, [rsp + 0x68]
mov rdx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [rsp + 0x68]
lea rdx, [rsp + 0x24]
xor eax, dword [rsp + 0x20]
mov r8, r15
mov rcx, r14
mov dword [rsp + 0x24], eax
call sub.VCRUNTIME140.dll_memcpy
add r14, r15
add rsi, r15
add rdi, r15
sub rbp, 1
jne 0x140055b86
test rbx, rbx
je 0x140055bee
sub rsi, rdi
sub r14, rdi
mov al, byte [rsi + rdi]
xor al, byte [rdi]
mov byte [r14 + rdi], al
inc rdi
sub rbx, 1
jne 0x140055bdc
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret

Function at 0x140055c08
Capabilities:
Encode data using xor

Disassembly:
test r8, r8
je 0x140055cb5
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x30
mov rbx, r8
mov r14d, 4
mov rsi, rdx
mov rdi, rcx
cmp rbx, r14
jb 0x140055c8d
mov rbp, rbx
shr rbp, 2
imul rax, rbp, 0xfffffffffffffffc
add rbx, rax
mov r8, r14
lea rcx, [rsp + 0x68]
mov rdx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov r8, r14
lea rcx, [rsp + 0x60]
mov rdx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [rsp + 0x60]
lea rdx, [rsp + 0x20]
xor eax, dword [rsp + 0x68]
mov r8, r14
mov rcx, rdi
mov dword [rsp + 0x20], eax
call sub.VCRUNTIME140.dll_memcpy
add rdi, r14
add rsi, r14
sub rbp, 1
jne 0x140055c45
test rbx, rbx
je 0x140055ca3
sub rsi, rdi
mov al, byte [rsi + rdi]
xor byte [rdi], al
inc rdi
sub rbx, 1
jne 0x140055c95
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
Function at 0x14005bbd4
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movdqu xmm1, xmmword [rcx]
mov r9d, 4
shl edx, 2
mov r8, rcx
movdqu xmm0, xmmword [rcx + rdx*4]
movdqu xmmword [rcx], xmm0
movdqu xmmword [rcx + rdx*4], xmm1
add edx, 0xfffffffc
cmp edx, r9d
jbe 0x14005bc23
aesimc xmm0, xmmword [r8 + rdx*4]
mov ecx, r9d
add r9d, 4
aesimc xmm1, xmmword [r8 + rcx*4]
movdqu xmmword [r8 + rcx*4], xmm0
movdqu xmmword [r8 + rdx*4], xmm1
add edx, 0xfffffffc
cmp r9d, edx
jb 0x14005bbfa
mov eax, r9d
aesimc xmm0, xmmword [r8 + rax*4]
movdqu xmmword [r8 + rax*4], xmm0
ret

Function at 0x14005d1f8
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
movsxd r8, dword [0x18000003c]
lea rsi, [0x180000000]
add r8, rsi
mov rbx, rdx
mov rdi, rcx
cmp dword [r8 + 0x84], 0xd
jbe 0x180014874
mov r10d, dword [r8 + 0xf0]
xor r9d, r9d
test r10d, r10d
je 0x180014874
movzx ecx, word [r8 + 0x14]
movzx r11d, word [r8 + 6]
add rcx, 0x18
mov r10d, dword [r10 + rsi + 0xc]
add rcx, r8
test r11d, r11d
je 0x180014874
mov eax, dword [rcx + 0xc]
cmp r10d, eax
jb 0x180014868
mov edx, dword [rcx + 8]
add eax, edx
cmp r10d, eax
jb 0x180014886
inc r9d
add rcx, 0x28
cmp r9d, r11d
jb 0x180014856
xor eax, eax
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret
mov dword [rdi], edx
mov eax, dword [rcx + 0x24]
mov dword [rbx], eax
mov eax, dword [rcx + 0xc]
add rax, rsi
jmp 0x180014876

Function at 0x180014d40
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x180014d68
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x180014d68
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140037320
Capabilities:
Terminate process

Disassembly:
outsd dx, dword [rsi]
loopne 0x1400235eb
jbe 0x1400235dd
adc eax, 0x8b6419
add eax, 0xe046963e
and al, byte [rbp + 0x20]
or dword [rdi], 0x3d
rcr ebx, cl
invalid
call qword [rbx + InitCommonControls]
test eax, 0x5c3a69c2
leave
sub al, 0x5b
test byte [rax + 0x40], dl
cld
fadd qword [rdx - 0x4026ac7c]
push rsi
fnstcw word [rdx - 0x7df3b1fd]
jnp 0x140023602
clc
adc eax, edi
pop rdi
fimul word [rsi + 0x24af917d]
retf 0x410d
xchg ecx, eax
scasd eax, dword [rdi]
and al, 0xca
or eax, 0x610ee841
clc
add byte [rax], dh
invalid
cld
pop r11
jmp 0x14003732d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14003733d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x140037325
lea eax, [rcx + 1]
call r11
adc eax, eax
add ebx, ebx
jne 0x140037355
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x140037342
sub eax, 3
jb 0x14003736f
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x1400373a6
movsxd rbp, eax
lea eax, [rcx + 1]
call r11
adc ecx, ecx
call r11
adc ecx, ecx
jne 0x140037396
mov ecx, eax
add eax, 2
call r11
adc ecx, ecx
add ebx, ebx
jne 0x140037394
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x140037383
cmp rbp, 0xfffffffffffff300
adc ecx, eax
call fcn.1400372e2
jmp 0x14003732d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x22e00
mov dl, reloc.COMCTL32.dll_InitCommonControls
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x1400373f2
cmp rsi, rcx
jae 0x1400373fa
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x1400373d9
cmp al, 0x8f
ja 0x1400373d9
cmp byte [rsi - 2], 0xf
je 0x1400373df
sub al, 0xe8
cmp al, 1
ja 0x1400373c3
cmp rsi, rcx
jae 0x1400373fa
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x1400373c9
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x1400373fa
lodsb al, byte [rsi]
jmp 0x1400373d9
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x35000]
mov eax, dword [rdi]
or eax, eax
je 0x140037463
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x39e30]
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 0x140037407
jns 0x14003743c
movzx rdx, word [rdi]
add rdi, 2
jmp 0x140037446
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 0x14003745d
mov qword [rbx], rax
add rbx, 8
jmp 0x140037427
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 + 0x18f]
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 0x1400374bb
sub rsp, 0xffffffffffffff80
jmp 0x140023590
Function at 0x140004b60
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x10], rdx
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
cmp qword [rdx + 0x18], 8
mov r15, rcx
mov r13, rdx
jb 0x140004b91
mov r13, qword [rdx]
cmp qword [rcx + 0x18], 8
mov r12, r15
jb 0x140004b9e
mov r12, qword [rcx]
movzx edx, word [0x14004ff90]
mov eax, 0x13
movzx ecx, word [0x14004ff92]
mov r14d, 0x13
movzx ebp, word [0x14004ff8c]
movzx r8d, ax
movzx r10d, word [0x14004ff8e]
xor dx, ax
lea ebx, [rax + 0x6a]
mov word [rsp + 0x30], ax
lea r9d, [rax + 0x4e]
xor cx, ax
lea edi, [rax + 0x5f]
xor bp, ax
lea esi, [rax + 0x4d]
xor r10w, ax
lea r11d, [rax + 0x53]
xor r9w, r14w
movzx eax, word [0x14004ff94]
xor dx, r14w
xor ax, r8w
mov word [rsp + 0x32], r9w
xor r8w, r14w
mov word [rsp + 0x42], dx
xor cx, r14w
mov word [rsp + 0x3c], r8w
xor bx, r14w
mov word [rsp + 0x44], cx
mov word [rsp + 0x36], bx
lea rdx, [rsp + 0x32]
xor ebx, ebx
xor r11w, r14w
xor r10w, r14w
mov dword [rsp + 0x28], ebx
xor ax, r14w
mov qword [rsp + 0x20], rbx
xor di, r14w
mov word [rsp + 0x34], r11w
xor si, r14w
mov word [rsp + 0x38], di
xor bp, r14w
mov word [rsp + 0x3a], si
mov r8, r12
mov word [rsp + 0x3e], bp
mov r9, r13
mov word [rsp + 0x40], r10w
xor ecx, ecx
mov word [rsp + 0x46], ax
mov word [rsp + 0x48], bx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov rdx, qword [r15 + 0x18]
mov r14, qword [rsp + 0x88]
cmp rdx, 8
jb 0x140004cc9
mov rcx, qword [r15]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x140004cc4
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140004d42
mov rcx, r8
call fcn.14001bfa4
mov qword [r15 + 0x10], rbx
mov qword [r15 + 0x18], 7
mov word [r15], bx
mov rdx, qword [r14 + 0x18]
cmp rdx, 8
jb 0x140004d14
mov rcx, qword [r14]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x140004d0f
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140004d42
mov rcx, r8
call fcn.14001bfa4
lea r11, [rsp + 0x50]
mov qword [r14 + 0x10], rbx
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov word [r14], bx
mov rbx, qword [r11 + 0x30]
mov qword [r14 + 0x18], 7
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
call fcn.140025ba8
int3
Function at 0x140004d50
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
xor ebp, ebp
mov rdi, rcx
cmp qword [rcx + 0x18], 8
mov dword [rsp + 0x50], ebp
jb 0x140004d72
mov rcx, qword [rcx]
mov qword [rsp + 0x30], rbp
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
xor r8d, r8d
mov edx, 0x10000000
mov dword [rsp + 0x20], 1
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x50
jne 0x140004e06
mov rdx, qword [rdi + 0x18]
cmp rdx, 8
jb 0x140004de5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x140004de0
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140004eb2
mov rcx, r8
call fcn.14001bfa4
mov al, 1
mov rsi, qword [rsp + 0x68]
mov word [rdi], bp
mov qword [rdi + 0x10], rbp
mov rbp, qword [rsp + 0x60]
mov qword [rdi + 0x18], 7
add rsp, 0x40
pop rdi
ret
cmp rsi, 0xffffffffffffffff
jne 0x140004e20
mov rdx, qword [rdi + 0x18]
cmp rdx, 8
jb 0x140004e94
lea rdx, [rdx*2 + 2]
jmp 0x140004e6b
lea r9, [rsp + 0x50]
mov qword [rsp + 0x58], rbx
mov r8d, 0x41200
mov qword [rsp + 0x20], rbp
lea rdx, [0x140058c20]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rdi + 0x18]
test bl, bl
mov rbx, qword [rsp + 0x58]
jne 0x140004e9b
cmp rax, 8
jb 0x140004e94
lea rdx, [rax*2 + 2]
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x140004e8f
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140004eb2
mov rcx, r8
call fcn.14001bfa4
xor al, al
jmp 0x140004de7
cmp rax, 8
jb 0x140004de5
lea rdx, [rax*2 + 2]
jmp 0x140004db8
call fcn.140025ba8
int3
Function at 0x140004ec0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
xor ebp, ebp
mov rdi, rcx
cmp qword [rcx + 0x18], 8
mov dword [rsp + 0x50], ebp
jb 0x140004ee2
mov rcx, qword [rcx]
mov qword [rsp + 0x30], rbp
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
xor r8d, r8d
mov edx, 0x10000000
mov dword [rsp + 0x20], 1
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x50
jne 0x140004f76
mov rdx, qword [rdi + 0x18]
cmp rdx, 8
jb 0x140004f55
lea rdx, [rdx*2 + 2]
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x140004f50
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140005022
mov rcx, r8
call fcn.14001bfa4
mov al, 1
mov rsi, qword [rsp + 0x68]
mov word [rdi], bp
mov qword [rdi + 0x10], rbp
mov rbp, qword [rsp + 0x60]
mov qword [rdi + 0x18], 7
add rsp, 0x40
pop rdi
ret
cmp rsi, 0xffffffffffffffff
jne 0x140004f90
mov rdx, qword [rdi + 0x18]
cmp rdx, 8
jb 0x140005004
lea rdx, [rdx*2 + 2]
jmp 0x140004fdb
lea r9, [rsp + 0x50]
mov qword [rsp + 0x58], rbx
mov r8d, 0x8b08
mov qword [rsp + 0x20], rbp
lea rdx, [0x14021d350]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rdi + 0x18]
test bl, bl
mov rbx, qword [rsp + 0x58]
jne 0x14000500b
cmp rax, 8
jb 0x140005004
lea rdx, [rax*2 + 2]
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x140004fff
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140005022
mov rcx, r8
call fcn.14001bfa4
xor al, al
jmp 0x140004f57
cmp rax, 8
jb 0x140004f55
lea rdx, [rax*2 + 2]
jmp 0x140004f28
call fcn.140025ba8
int3
Function at 0x1400054d0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x180]
sub rsp, 0x280
mov rdi, rdx
mov dword [rsp + 0x40], 0x238
xor edx, edx
mov esi, r8d
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x140005552
xor r14d, r14d
mov edx, 7
mov qword [rsp + 0x20], r14
mov r8, rax
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], rdx
inc r8
cmp word [r14 + r8*2], r14w
jne 0x140005530
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.140002600
mov rdx, qword [rsp + 0x38]
mov r8, qword [rsp + 0x20]
jmp 0x1400055a3
lea rdx, [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140005580
cmp esi, dword [rsp + 0x48]
je 0x140005620
lea rdx, [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140005564
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor r14d, r14d
mov edx, 7
mov r8d, r14d
mov qword [rsp + 0x20], r14
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], rdx
mov rax, qword [rsp + 0x30]
lea rcx, [rsp + 0x20]
cmp rdx, 8
mov qword [rdi], r14
lea rsi, [rsp + 0x20]
mov qword [rdi + 0x10], r14
cmovae rcx, r8
mov qword [rdi + 0x18], 0xf
cmovae rsi, r8
lea rbx, [rcx + rax*2]
mov rcx, rdi
mov rdx, rbx
sub rdx, rsi
sar rdx, 1
call fcn.140014760
cmp rsi, rbx
je 0x140005668
nop dword [rax + rax]
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
movzx r9d, byte [rsi]
cmp rcx, rdx
jae 0x140005657
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0x10
jb 0x140005615
mov rax, qword [rdi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14000565f
xor r14d, r14d
lea rax, [rsp + 0x6c]
mov edx, 7
mov qword [rsp + 0x20], r14
mov qword [rsp + 0x30], r14
mov r8, 0xffffffffffffffff
mov qword [rsp + 0x38], rdx
inc r8
cmp word [rax + r8*2], r14w
jne 0x140005643
lea rdx, [rsp + 0x6c]
jmp 0x14000553c
mov rcx, rdi
call fcn.140018460
add rsi, 2
cmp rsi, rbx
jne 0x1400055f0
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x1400056a6
mov rcx, qword [rsp + 0x20]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400056a1
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400056c6
call fcn.14001bfa4
lea r11, [rsp + 0x280]
mov rax, rdi
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.140025ba8
int3
Function at 0x1400056d0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
mov qword [rsp + 8], rcx
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xb0
lea rbx, [rcx + 8]
xor eax, eax
mov esi, 0x10
mov qword [rbx + 0x18], 0xf
mov edx, esi
mov qword [rbx], rax
mov rcx, rbx
mov qword [rbx + 0x10], rax
call fcn.140014760
mov rax, qword gs:[0x58]
movabs rbp, 0x4ec4ec4ec4ec4ec5
mov r14d, 0x14
movabs r13, 0x5851f42d4c957f2d
mov edi, 0x20
movabs r12, 0x9d89d89d89d89d8
movabs r15, 0x5555555555555555
add r14, qword [rax]
add rdi, qword [rax]
nop word [rax + rax]
mov eax, dword [r14]
test al, 1
jne 0x1400057c0
or eax, 1
mov dword [r14], eax
call fcn.14001b334
mov edx, eax
lea r8, [rdi + 0x10]
mov qword [rdi + 8], rdx
mov ecx, 1
mov qword [rdi + 0x1388], r15
nop dword [rax + rax]
mov rax, rdx
lea r8, [r8 + 8]
shr rax, 0x3e
xor rdx, rax
imul rdx, r13
add rdx, rcx
inc rcx
mov qword [r8 - 8], rdx
cmp rcx, 0x138
jb 0x140005790
mov dword [rdi], 0x138
nop dword [rax + rax]
mov rcx, rdi
call fcn.1400196a0
mov rcx, rax
mov rax, rbp
mul rcx
shr rdx, 3
cmp rdx, r12
jae 0x1400057c0
mov r8, qword [rbx + 0x18]
mov rax, rbp
mul rcx
shr rdx, 3
imul rax, rdx, 0x1a
mov rdx, qword [rbx + 0x10]
sub rcx, rax
add cl, 0x61
cmp rdx, r8
jae 0x140005819
lea rax, [rdx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp r8, 0x10
jb 0x14000580f
mov rax, qword [rbx]
mov byte [rax + rdx], cl
mov byte [rax + rdx + 1], 0
jmp 0x140005825
movzx r9d, cl
mov rcx, rbx
call fcn.140018460
add esi, 0xffffffff
jne 0x140005760
xor edi, edi
lea rax, [0x140005920]
xor ecx, ecx
mov dword [rsp + 0x60], edi
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rdi
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp qword [rbx + 0x18], 0x10
xorps xmm0, xmm0
mov r15, qword [rsp + 0xe0]
xorps xmm1, xmm1
mov qword [rsp + 0x78], rax
mov rax, rbx
movdqa xmmword [rsp + 0x80], xmm0
movdqa xmmword [rsp + 0x90], xmm1
jb 0x14000587f
mov rax, qword [rbx]
lea rcx, [rsp + 0x60]
mov qword [rsp + 0xa0], rax
call qword [sym.imp.USER32.dll_RegisterClassA]
cmp qword [rbx + 0x18], 0x10
jb 0x14000589c
mov rbx, qword [rbx]
mov rax, qword [rsp + 0x78]
lea r8, [0x14004fe2b]
mov qword [rsp + 0x58], rdi
mov r9d, 0xcf0000
mov qword [rsp + 0x50], rax
mov rdx, rbx
mov qword [rsp + 0x48], rdi
xor ecx, ecx
mov qword [rsp + 0x40], rdi
mov dword [rsp + 0x38], 0x80000000
mov dword [rsp + 0x30], 0x80000000
mov dword [rsp + 0x28], 0x80000000
mov dword [rsp + 0x20], 0x80000000
call qword [sym.imp.USER32.dll_CreateWindowExA]
lea r11, [rsp + 0xb0]
mov qword [r15], rax
mov rbx, qword [r11 + 0x38]
mov rax, r15
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret