joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400010b4
Capabilities:
Execute anti-debugging instructions

Disassembly:
xor eax, eax
nop
cpuid
nop
mov eax, 1
nop
cpuid
nop
movabs r9, 0xb2d05e00
nop
cpuid
nop
rdtsc
nop
shl rdx, 0x20
nop
or rax, rdx
nop
mov rcx, rax
nop
fldpi
nop
frndint
nop
rdtsc
nop
shl rdx, 0x20
nop
or rax, rdx
nop
sub rax, rcx
nop
cmp rax, r9
nop
jb 0x1400010e1
nop
nop
push rbp
nop
mov rbp, rsp
nop
sub rsp, 8
nop
mov r10, 0xa
nop
mov rcx, 0xffffffff9f345678
nop
dec rcx
nop
xor r9, r9
nop
mov rax, rcx
nop
jne 0x14000111a
nop
xor rax, rax
nop
mov rax, rbx
nop
add rax, rdx
nop
dec r10
nop
xor r11, r11
nop
jne 0x140001111
nop
xor rax, rax
mov rax, 0xa
nop
dec rax
nop
add rsp, 8
pop rbp
ret

Function at 0x140002ae6
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
sub rsp, 0xa0
mov rcx, 0
mov rdx, 0xaa89
mov r8, 0x1000
lea r9, [rcx + 0x40]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140002b21
mov eax, 1
jmp 0x140002b7c
lea rax, str.ATfA
mov rdi, qword [rsp + 0x20]
mov rsi, rax
mov rcx, 0xaa89
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
invalid

Function at 0x1400077bc
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.140007624
Function at 0x18001eb10
Capabilities:
Allocate or change rwx memory
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x98
mov rax, qword [0x1800c33b0]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov eax, 8
imul rax, rax, 0
lea rcx, [0x1800c33e0]
mov rax, qword [rcx + rax]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x40], rax
mov byte [rsp + 0x60], 0x48
mov byte [rsp + 0x61], 0xb8
mov byte [rsp + 0x62], 0x46
mov byte [rsp + 0x63], WSAStartup
mov byte [rsp + 0x64], 0x68
mov byte [rsp + 0x65], 0x1c
mov byte [rsp + 0x66], 0x62
mov byte [rsp + 0x67], 0x30
mov byte [rsp + 0x68], 0x78
mov byte [rsp + 0x69], 0x61
mov byte [rsp + 0x70], 0x48
mov byte [rsp + 0x71], 0xb8
mov byte [rsp + 0x72], 0x30
mov byte [rsp + 0x73], 0x58
mov byte [rsp + 0x74], 0x45
mov byte [rsp + 0x75], 0xc7
mov byte [rsp + 0x76], 0x5e
mov byte [rsp + 0x77], 0x75
mov byte [rsp + 0x78], 0x50
mov byte [rsp + 0x79], recv
movabs rax, 0xba9a625d43d54c35
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x80], rax
mov dword [rsp + 0x20], 0
mov r8d, 0xa
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x28]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x18001ec11
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
jmp 0x18001ebe9
mov r8d, 0xa
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0x40]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x18001ec39
mov rax, qword [rsp + 0x40]
inc rax
mov qword [rsp + 0x40], rax
jmp 0x18001ec11
mov rax, qword [rsp + 0x28]
add rax, 0x11
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x40]
sub rcx, rax
mov rax, rcx
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x34], 0x40
mov dword [rsp + 0x38], 0
mov eax, dword [rsp + 0x30]
lea r9, [rsp + 0x38]
mov r8d, dword [rsp + 0x34]
mov edx, eax
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [rsp + 0x20], 0
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x48], rax
jmp 0x18001eca7
mov rax, qword [rsp + 0x48]
inc rax
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x40]
cmp qword [rsp + 0x48], rax
je 0x18001ece9
mov eax, dword [rsp + 0x20]
movzx eax, byte [rsp + rax + 0x80]
mov rcx, qword [rsp + 0x48]
movzx ecx, byte [rcx]
xor ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x48]
mov byte [rcx], al
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
and eax, 7
mov dword [rsp + 0x20], eax
jmp 0x18001ec9a
mov eax, dword [rsp + 0x30]
lea r9, [rsp + 0x34]
mov r8d, dword [rsp + 0x38]
mov edx, eax
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.180084a40
add rsp, 0x98
ret
Function at 0x1406441c0
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x1406441cd
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x1406441dd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x1406441c5
lea eax, [rcx + 1]
jmp 0x1406441eb
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x1406441fe
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x1406441e4
sub eax, 3
jb 0x14064421e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x14064426d
sar eax, 1
movsxd rbp, eax
jb 0x140644254
jmp 0x14064422c
add ebx, ebx
jne 0x14064422a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140644254
inc ecx
add ebx, ebx
jne 0x14064423a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140644254
call r11
adc ecx, ecx
add ebx, ebx
jne 0x14064424d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x14064423c
add ecx, 2
jmp 0x140644259
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.140644182
jmp 0x1406441cd
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0xac000
mov dl, 9
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x1406442b9
cmp rsi, rcx
jae 0x1406442c1
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x1406442a0
cmp al, 0x8f
ja 0x1406442a0
cmp byte [rsi - 2], 0xf
je 0x1406442a6
sub al, 0xe8
cmp al, 1
ja 0x14064428a
cmp rsi, rcx
jae 0x1406442c1
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x140644290
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x1406442c1
lodsb al, byte [rsi]
jmp 0x1406442a0
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x641000]
mov eax, dword [rdi]
or eax, eax
je 0x14064431e
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x64449c]
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 0x1406442ce
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 0x140644318
mov qword [rbx], rax
add rbx, 8
jmp 0x1406442ee
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x140644358
cmp al, 0xef
ja 0x14064434a
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x14064432a
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x140644339
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1af]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
mov byte [fcn.1406443d7], 0xfc
lea rcx, [rsi - 0x1000]
push 1
pop rdx
xor r8, r8
push rax
call fcn.1406443d7
pop rax
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x1406443c7
sub rsp, 0xffffffffffffff80
jmp 0x140001125
Function at 0x1400399d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x270
lea rbp, [rsp + 0x80]
mov rsi, rcx
mov rdi, qword [rdx + 8]
cmp rdi, 0xffffffffffffffff
je 0x140039ad1
mov eax, dword [rdx + 0x10]
movzx ebx, word [rdx + 0x40]
movzx r15d, word [rdx + 0x42]
movzx r14d, word [rdx + 0x44]
mov dword [rdx + 0x10], 0
cmp eax, 1
jne 0x140039a3a
mov r12, qword [rdx]
cmp bx, 0x2e
jne 0x140039aec
test r15w, r15w
je 0x140039a3a
mov eax, r15d
xor eax, 0x2e
or ax, r14w
jne 0x140039aec
mov r14, rdx
lea rbx, [rbp - 0x60]
mov r8d, 0x250
mov rcx, rbx
xor edx, edx
call fcn.14005ba47
mov rcx, rdi
mov rdx, rbx
call qword [0x1400613e0]
test eax, eax
je 0x140039add
mov rbx, qword [r14]
lea r14, [rbp - 0x60]
mov r15, qword [0x1400613e0]
jmp 0x140039a8d
mov rcx, rdi
mov rdx, r14
call r15
test eax, eax
je 0x140039add
cmp word [rbp - 0x34], 0x2e
jne 0x140039aaa
movzx eax, word [rbp - 0x32]
test ax, ax
je 0x140039a80
cmp ax, 0x2e
jne 0x140039aaa
cmp word [rbp - 0x30], 0
je 0x140039a80
lock inc qword [rbx]
jle 0x140039b78
lea rcx, [rsi + 0x10]
lea rdx, [rbp - 0x60]
mov r8d, 0x250
call fcn.14005ba3b
mov eax, 8
jmp 0x140039b57
mov qword [rsi], 0
jmp 0x140039b63
call qword [0x140061210]
cmp eax, 0x12
jne 0x140039b40
xor eax, eax
jmp 0x140039b60
lock inc qword [r12]
jle 0x140039b78
lea rax, [rdx + 0x14]
add rdx, 0x46
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmm2, xmmword [rax + 0x1c]
movups xmmword [rsi + 0x2c], xmm2
movups xmmword [rsi + 0x20], xmm1
movups xmmword [rsi + 0x10], xmm0
lea rcx, [rsi + 0x42]
mov r8d, 0x21e
call fcn.14005ba3b
mov qword [rsi + 8], r12
mov word [rsi + 0x3c], bx
mov word [rsi + 0x3e], r15w
mov word [rsi + 0x40], r14w
mov qword [rsi], 1
jmp 0x140039b63
mov ebx, eax
shl rbx, 0x20
or rbx, 2
mov qword [rsi + 8], 0
mov eax, 0x10
mov qword [rsi + rax], rbx
mov eax, 1
mov qword [rsi], rax
mov rax, rsi
add rsp, 0x270
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
pop rbp
ret
ud2
Function at 0x14003b290
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0x60]
mov qword [rbp], 0xfffffffffffffffe
mov rbx, rdx
mov qword [rbp - 8], rcx
movzx r12d, byte [rdx + 0x18]
mov byte [rdx + 0x18], 0
mov qword [rbp - 0x20], 0
mov qword [rbp - 0x18], 2
mov qword [rbp - 0x10], 0
mov r13, qword [rdx + 8]
movzx esi, word [rdx + 0x10]
mov eax, 2
xor edi, edi
xor r14d, r14d
jmp 0x14003b2fc
mov word [rax + rdi*2], r15w
inc rdi
mov qword [rbp - 0x10], rdi
mov rdx, qword [rbx]
mov r15d, esi
test si, si
jne 0x14003b3a0
nop dword [rax + rax]
cmp rdx, r13
je 0x14003b466
lea rcx, [rdx + 1]
mov qword [rbx], rcx
movzx r9d, byte [rdx]
movzx r15d, r9b
test r15b, r15b
jns 0x14003b3ca
mov r8d, r15d
and r8d, 0x1f
lea rcx, [rdx + 2]
mov qword [rbx], rcx
movzx r10d, byte [rdx + 1]
and r10d, 0x3f
cmp r15b, 0xdf
jbe 0x14003b3c0
lea rcx, [rdx + 3]
mov qword [rbx], rcx
movzx r15d, byte [rdx + 2]
shl r10d, 6
and r15d, 0x3f
or r15d, r10d
cmp r9b, 0xf0
jb 0x14003b3e8
lea rcx, [rdx + 4]
mov qword [rbx], rcx
movzx edx, byte [rdx + 3]
and r8d, 7
shl r8d, 0x12
shl r15d, 6
and edx, 0x3f
or edx, r15d
or edx, r8d
mov r15d, edx
cmp r15d, 0xffff
jbe 0x14003b3ca
jmp 0x14003b3f8
mov word [rbx + 0x10], 0
xor esi, esi
cmp r15w, 0x22
je 0x14003b3d6
jmp 0x14003b430
shl r8d, 6
or r8d, r10d
mov r15d, r8d
xor esi, esi
mov rdx, rcx
cmp r15w, 0x22
jne 0x14003b430
xor r14b, 1
mov r15d, esi
test si, si
je 0x14003b310
jmp 0x14003b3a0
shl r8d, 0xc
or r15d, r8d
cmp r15d, 0xffff
jbe 0x14003b3ca
lea r8d, [r15 + 0xff0000]
shr r8d, 0xa
or r8d, 0xd800
and r15d, 0x3ff
or r15d, 0xdc00
mov word [rbx + 0x10], r15w
mov rdx, rcx
mov esi, r15d
mov r15d, r8d
cmp r15w, 0x22
je 0x14003b3d6
nop dword [rax]
movzx ecx, r15w
cmp ecx, 0x3b
jne 0x14003b43f
test r14b, 1
je 0x14003b462
cmp rdi, qword [rbp - 0x20]
jne 0x14003b2f0
lea rcx, [rbp - 0x20]
lea rdx, [0x14043e798]
call fcn.14002fa30
mov rax, qword [rbp - 0x18]
jmp 0x14003b2f0
mov byte [rbx + 0x18], 1
test rdi, rdi
setne al
or r12b, al
je 0x14003b49f
mov rdx, qword [rbp - 0x18]
lea rcx, [rbp - 0x40]
mov r8, rdi
call fcn.1400331e0
movups xmm0, xmmword [rbp - 0x40]
movups xmm1, xmmword [rbp - 0x30]
mov rax, qword [rbp - 8]
movups xmmword [rax + 0x10], xmm1
movups xmmword [rax], xmm0
mov rdx, qword [rbp - 0x20]
test rdx, rdx
jne 0x14003b4b9
jmp 0x14003b4cb
movabs rax, 0x8000000000000000
mov rcx, qword [rbp - 8]
mov qword [rcx], rax
mov rdx, qword [rbp - 0x20]
test rdx, rdx
je 0x14003b4cb
mov rcx, qword [rbp - 0x18]
add rdx, rdx
mov r8d, 2
call fcn.14000bfc0
mov rax, qword [rbp - 8]
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x140044a20
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
lea rbp, [rsp + 0x20]
mov rdi, r8
mov rsi, rcx
mov rcx, qword [rcx + 8]
mov rbx, qword [rsi + 0x10]
xor r14d, r14d
mov eax, 0
cmp rbx, 3
jb 0x140044a8c
movzx r8d, byte [rbx + rcx - 2]
mov r9d, r8d
and r9b, 0xf0
xor r14d, r14d
cmp r9b, 0xa0
jne 0x140044a8c
xor r14d, r14d
cmp byte [rbx + rcx - 3], 0xed
jne 0x140044a8c
movzx r14d, byte [rbx + rcx - 1]
and r8d, 0xf
and r14d, 0x3f
shl r8d, 0x10
shl r14d, 0xa
or r14d, r8d
mov al, 1
cmp rdi, 3
jb 0x140044b38
cmp byte [rdx], 0xed
jne 0x140044b41
movzx r12d, byte [rdx + 1]
mov r8d, r12d
and r8b, 0xf0
cmp r8b, 0xb0
setne r8b
xor al, 1
or al, r8b
jne 0x140044b41
movzx r13d, byte [rdx + 2]
cmp rbx, 3
jb 0x140044ad1
add rbx, 0xfffffffffffffffd
mov qword [rsi + 0x10], rbx
and r13d, 0x3f
shl r12d, 6
lea r8, [rdi + 1]
mov rax, qword [rsi]
sub rax, rbx
cmp rax, r8
jb 0x140044c2b
add rdx, 3
mov r15, rdx
and r12d, 0x3c0
or r14d, r13d
or r14d, r12d
add r14d, 0x10000
mov rcx, rsi
mov edx, r14d
call fcn.140036cf0
add rdi, 0xfffffffffffffffd
mov rax, qword [rsi]
mov rbx, qword [rsi + 0x10]
sub rax, rbx
cmp rax, rdi
jb 0x140044c50
mov rcx, qword [rsi + 8]
add rcx, rbx
mov rdx, r15
jmp 0x140044bde
test rdi, rdi
je 0x140044bd0
lea rax, [rdx + rdi]
mov r9, rdx
jmp 0x140044b68
add r9, 2
cmp r8, rax
cmovne r8, r9
nop word cs:[rax + rax]
mov r9, r8
cmp r8, rax
je 0x140044bd0
lea r8, [r9 + 1]
movzx r10d, byte [r9]
test r10b, r10b
jns 0x140044b60
cmp r10b, 0xe0
jb 0x140044b4a
cmp r10b, 0xed
jne 0x140044b9f
cmp r8, rax
je 0x140044bd0
lea r8, [r9 + 2]
cmp r8, rax
je 0x140044bd0
cmp byte [r9 + 1], 0x9f
ja 0x140044bcc
add r9, 3
mov r8, r9
jmp 0x140044b60
add r9, 2
cmp r8, rax
cmove r9, r8
xor r8d, r8d
cmp r9, rax
setne r8b
add r8, r9
cmp r10b, 0xf0
jb 0x140044b60
xor r9d, r9d
cmp r8, rax
setne r9b
add r8, r9
jmp 0x140044b60
mov byte [rsi + 0x18], 0
mov rax, qword [rsi]
sub rax, rbx
cmp rax, rdi
jb 0x140044bfe
add rcx, rbx
mov r8, rdi
call fcn.14005ba3b
add rbx, rdi
mov qword [rsi + 0x10], rbx
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov qword [rsp + 0x20], 1
mov r9d, 1
mov rcx, rsi
mov r14, rdx
mov rdx, rbx
mov r8, rdi
call fcn.14005e9b0
mov rdx, r14
mov rcx, qword [rsi + 8]
mov rbx, qword [rsi + 0x10]
jmp 0x140044bdb
mov qword [rsp + 0x20], 1
mov r9d, 1
mov rcx, rsi
mov r15, rdx
mov rdx, rbx
call fcn.14005e9b0
mov rdx, r15
jmp 0x140044aec
mov qword [rsp + 0x20], 1
mov r9d, 1
mov rcx, rsi
mov rdx, rbx
mov r8, rdi
call fcn.14005e9b0
mov rbx, qword [rsi + 0x10]
jmp 0x140044b29
Function at 0x140001146
Capabilities:
Execute anti-debugging instructions

Disassembly:
xor eax, eax
nop
cpuid
nop
mov eax, 1
nop
cpuid
nop
movabs r9, 0xb2d05e00
nop
cpuid
nop
rdtsc
nop
shl rdx, 0x20
nop
or rax, rdx
nop
mov rcx, rax
nop
fldpi
nop
frndint
nop
rdtsc
nop
shl rdx, 0x20
nop
or rax, rdx
nop
sub rax, rcx
nop
cmp rax, r9
nop
jb 0x140001173
nop
nop
push rbp
nop
mov rbp, rsp
nop
sub rsp, 8
nop
mov r10, 0xa
nop
mov rcx, 0xffffffff9f345678
nop
dec rcx
nop
xor r9, r9
nop
mov rax, rcx
nop
jne 0x1400011ac
nop
xor rax, rax
nop
mov rax, rbx
nop
add rax, rdx
nop
dec r10
nop
xor r11, r11
nop
jne 0x1400011a3
nop
xor rax, rax
mov rax, 0xa
nop
dec rax
nop
add rsp, 8
pop rbp
ret

Function at 0x140003654
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x110
mov rsi, rdx
mov rbp, rcx
lea rdx, [0x140017584]
mov rcx, r8
mov rdi, r9
mov rbx, r8
call fcn.1400057e8
test eax, eax
jne 0x140003693
lea rbx, [0x140017568]
jmp 0x1400036e9
lea rdx, [0x140017798]
mov rcx, rbx
call fcn.1400057e8
test eax, eax
jne 0x1400036af
lea rbx, [0x140017650]
jmp 0x1400036e9
lea rdx, [0x1400177a8]
mov rcx, rbx
call fcn.1400057e8
test eax, eax
jne 0x1400036cb
lea rbx, [0x140017670]
jmp 0x1400036e9
lea rdx, [0x1400177c0]
mov rcx, rbx
call fcn.1400057e8
test eax, eax
jne 0x140003772
lea rbx, [0x140017690]
lea rcx, [rbp + 0x28]
lea rdx, [rsp + 0x30]
call qword [sym.imp.ole32.dll_StringFromIID]
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x40]
call fcn.14000589c
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
lea rdx, [0x140013a6c]
lea rcx, [rsp + 0x40]
call fcn.140005870
lea rcx, [rsp + 0x40]
mov rdx, rsi
call fcn.140005870
lea rcx, [rsp + 0x40]
call fcn.140005524
mov rcx, qword [rdi]
mov esi, 1
add eax, eax
mov r9d, esi
xor r8d, r8d
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0x40]
mov rdx, rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x140003772
mov rcx, qword [rdi]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x140003774
xor eax, eax
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x1400051a4
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x260
mov ebp, ecx
mov edx, ecx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x1400051d7
xor eax, eax
jmp 0x140005224
xor ebx, ebx
mov dword [rsp + 0x20], 0x238
mov edi, ebx
test edi, edi
jne 0x1400051f9
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140005219
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x140005219
cmp dword [rsp + 0x28], ebp
je 0x140005215
inc edi
jmp 0x1400051e3
mov ebx, dword [rsp + 0x40]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x1400068c4
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.140006734
Function at 0x140009658
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x50
mov rax, qword [0x140016e60]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.1400077b8
xor ebx, ebx
cmp qword [0x1400184f0], rbx
mov rdi, rax
jne 0x14000976b
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x140009842
lea rdx, [0x140012520]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140009842
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x1400184f0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x1400184f8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetUserObjectInformationW
mov rcx, rsi
mov qword [0x140018500], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x140018510], rax
test rax, rax
je 0x140009762
lea rdx, [0x1400124c0]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov qword [0x140018508], rax
jmp 0x140009772
mov rax, qword [0x140018508]
jmp 0x140009779
mov rax, qword [0x140018508]
mov r11, qword [0x140018510]
cmp rax, rdi
je 0x1400097e0
cmp r11, rdi
je 0x1400097e0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x140018510]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x1400097e0
test rax, rax
je 0x1400097e0
call rsi
test rax, rax
je 0x1400097da
lea rcx, [rsp + 0x30]
mov r9d, 0xc
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x1400097da
test byte [rsp + 0x40], 1
jne 0x1400097e0
bts ebp, 0x15
jmp 0x140009820
mov rcx, qword [0x1400184f8]
cmp rcx, rdi
je 0x140009820
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x140009820
call rax
mov rbx, rax
test rax, rax
je 0x140009820
mov rcx, qword [0x140018500]
cmp rcx, rdi
je 0x140009820
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x140009820
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x1400184f0]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x140009842
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x140009844
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140009a80
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x180001450
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x180001483
xor eax, eax
jmp 0x18000154c
mov rax, qword [rsp + 0x38]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x50]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x1800014b0
xor eax, eax
jmp 0x18000154c
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x28]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x20], 0
jmp 0x1800014dc
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 6]
cmp dword [rsp + 0x20], eax
jge 0x18000154a
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov rdx, rax
mov rcx, qword [rsp + 0x60]
call fcn.1800196f0
test eax, eax
jne 0x180001548
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x30]
mov eax, dword [rdx + rax + 8]
mov dword [rcx], eax
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx + rax + 0xc]
mov rcx, qword [rsp + 0x50]
add rcx, rax
mov rax, rcx
jmp 0x18000154c
jmp 0x1800014d2
xor eax, eax
add rsp, 0x48
ret
Function at 0x1800410c8
Capabilities:
Create thread
Print debug messages

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, 0x50
mov esi, r8d
mov r14, rdx
mov rbx, rcx
call fcn.18002c080
mov bpl, al
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
xor edi, edi
test eax, eax
je 0x18004111b
test rbx, rbx
je 0x18004110c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test bpl, bpl
je 0x18004111b
mov edi, 4
jmp 0x1800411c4
call fcn.18002be28
test al, al
jne 0x180041138
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
neg eax
sbb edi, edi
neg edi
add edi, 3
jmp 0x1800411c4
test bpl, bpl
je 0x18004119b
mov qword [rsp + 0x28], rdi
lea r9, [rsp + 0x30]
lea r8, [0x180040f24]
mov dword [rsp + 0x20], edi
xor edx, edx
mov qword [rsp + 0x30], r14
xor ecx, ecx
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x40], esi
mov dword [rsp + 0x44], edi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1800411c4
xor r8d, r8d
or edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObjectEx]
mov rcx, rbx
test eax, eax
je 0x180041195
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1800411c4
mov edi, dword [rsp + 0x44]
jmp 0x18004118d
call fcn.18002bfac
test al, al
jne 0x1800411ac
bts esi, 0x15
xor ecx, ecx
jmp 0x1800411b4
call fcn.18002bee4
mov rcx, rax
mov r9d, esi
mov r8, r14
mov rdx, rbx
call fcn.18002bc60
mov edi, eax
mov rbx, qword [rsp + 0x60]
mov eax, edi
mov rdi, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop r14
ret