joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140023a64
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.140016be8
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x140023aee
cmp byte [rbp - 0x21], r15b
je 0x140023ae9
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x140023b24
call fcn.1400189c0
test eax, eax
jne 0x140023b10
cmp byte [rbp - 0x21], r15b
je 0x140023b08
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x140023b24
cmp byte [rbp - 0x21], r15b
je 0x140023b21
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.140016d20
test eax, eax
jne 0x140023bc4
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.140016be8
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x140023b63
cmp byte [rbp - 0x21], r15b
je 0x140023b98
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x140023b98
call fcn.1400189c0
test eax, eax
jne 0x140023b84
cmp byte [rbp - 0x21], r15b
je 0x140023b7d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x140023b98
cmp byte [rbp - 0x21], r15b
je 0x140023b95
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.140016d20
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x140023bc4
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x140023bc7
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x140023bd5
mov rcx, rdi
call fcn.140017afc
cmp byte [rbp + 0x3f], r15b
je 0x140023be4
mov rcx, qword [rbp + 0x27]
call fcn.140017afc
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x140025818
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.14001b304
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001b304
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140025968
cmp rax, 0xffffffffffffffff
je 0x140025968
xor edi, edi
test rbp, rbp
jle 0x140025913
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.140018680
mov rbx, rax
test rax, rax
jne 0x1400258a0
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140025909
mov edx, 0x8000
mov ecx, r14d
call fcn.14001427c
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.140019e2c
cmp eax, 0xffffffff
je 0x1400258e9
cdqe
sub rbp, rax
test rbp, rbp
jg 0x1400258b0
mov edx, r15d
mov ecx, r14d
call fcn.14001427c
jmp 0x140025909
cmp byte [rsi + 0x38], dil
je 0x140025900
cmp dword [rsi + 0x34], 5
jne 0x140025900
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140025909
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.140017afc
jmp 0x14002597c
jns 0x14002597c
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001b304
cmp rax, 0xffffffffffffffff
jne 0x140025934
cmp byte [rsi + 0x30], dil
je 0x14002597c
mov edi, dword [rsi + 0x2c]
jmp 0x14002597c
mov ecx, r14d
call fcn.14001e2c4
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x14002597c
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 0x14002597c
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140025975
mov eax, dword [rsi + 0x2c]
jmp 0x14002597a
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001b304
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 0x1400264d0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400264f8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1400264f8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x1417a8058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1417a81df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x1417a8089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1417a806f
add dl, dl
jne 0x1417a8096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1417a80f6
xor eax, eax
add dl, dl
jne 0x1417a80a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1417a81ad
add dl, dl
jne 0x1417a80b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1417a80c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1417a80d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1417a80dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1417a80ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1417a807e
mov eax, 1
add dl, dl
jne 0x1417a8106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1417a8113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1417a80fb
sub eax, ebx
mov ebx, 1
jne 0x1417a814c
mov ecx, 1
add dl, dl
jne 0x1417a812e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1417a813b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1417a8123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1417a807e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1417a8168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1417a8175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1417a815d
cmp eax, 0x7d00
jae 0x1417a819b
cmp eax, 0x500
jb 0x1417a8196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1417a807e
cmp eax, 0x7f
ja 0x1417a819e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1417a807e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1417a81d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x1417a807e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x1800045f0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
push r14
sub rsp, 0x50
mov qword [rax - 0x30], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov r14, r8
mov rbp, rcx
xor esi, esi
mov dword [rsp + 0x20], esi
lea rcx, [rax - 0x28]
call fcn.1800048e8
nop
lea rcx, [rsp + 0x30]
call fcn.1800132d4
mov rdx, rax
xor r8d, r8d
mov rcx, rbp
call fcn.18000457c
lea rcx, [rsp + 0x30]
call fcn.1800132d4
test rax, rax
je 0x18000469f
mov rcx, r14
call fcn.1800132d4
mov rcx, rax
xor edx, edx
mov rax, rsi
div rcx
mov rcx, r14
call fcn.1800045d8
mov rdi, rax
mov rdx, rsi
mov rcx, rbp
call fcn.1800045d8
mov rbx, rax
mov rdx, rsi
lea rcx, [rsp + 0x30]
call fcn.1800045d8
mov cl, byte [rax]
xor cl, byte [rdi]
mov byte [rbx], cl
inc rsi
lea rcx, [rsp + 0x30]
call fcn.1800132d4
cmp rsi, rax
jb 0x18000464e
lea rcx, [rsp + 0x30]
call fcn.1800011bc
mov rax, rbp
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop r14
ret

Function at 0x1800046c8
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
push r14
sub rsp, 0x50
mov qword [rax - 0x30], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov r14, r8
mov rbp, rdx
mov rsi, rcx
xor edi, edi
mov dword [rsp + 0x20], edi
mov rcx, rdx
call fcn.1800132d4
mov rdx, rax
xor r8d, r8d
lea rcx, [rsp + 0x30]
call fcn.18000457c
nop
mov rcx, rbp
call fcn.1800132d4
test rax, rax
je 0x180004767
mov rcx, r14
call fcn.1800132d4
mov rcx, rax
xor edx, edx
mov rax, rdi
div rcx
mov rcx, r14
call fcn.1800045d8
mov bl, byte [rax]
mov rdx, rdi
mov rcx, rbp
call fcn.1800045d8
xor bl, byte [rax]
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.1800045d8
mov byte [rax], bl
inc rdi
mov rcx, rbp
call fcn.1800132d4
cmp rdi, rax
jb 0x18000471e
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.180004acc
nop
lea rcx, [rsp + 0x30]
call fcn.1800011bc
mov rax, rsi
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop r14
ret
Function at 0x180004930
Capabilities:
Decode data using base64 via dword translation table

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, 0x50
mov rbx, qword [r8]
and dword [rsp + 0x20], 0
mov rdi, rdx
mov rsi, rcx
test rbx, rbx
jne 0x180004971
lea rdx, [0x1800324fe]
call fcn.1800010e8
jmp 0x180004aa7
xor ebp, ebp
mov rax, rbx
lea r12d, [rbp + 1]
and eax, 3
jne 0x18000498b
cmp byte [rbx + rdx - 1], 0x3d
je 0x18000498b
xor r14d, r14d
jmp 0x18000499b
mov r14, r12
cmp rax, 2
ja 0x1800049a0
cmp byte [rbx + rdx - 2], 0x3d
jne 0x1800049a0
xor r15d, r15d
jmp 0x1800049a3
mov r15, r12
sub rbx, r14
lea rcx, [rsp + 0x28]
xor r8d, r8d
and rbx, 0xfffffffffffffffc
mov rdx, rbx
shr rdx, 2
lea rax, [r15 + rdx*2]
add rdx, rax
add rdx, r14
call fcn.18000457c
lea rcx, [rsp + 0x28]
xor edx, edx
call fcn.1800045d8
lea r11, [0x180033620]
mov r9, rax
test rbx, rbx
je 0x180004a46
lea r8, [rbx - 1]
lea r10, [rdi + 1]
shr r8, 2
add r8, r12
movzx eax, byte [r10]
movzx ecx, byte [r10 - 1]
lea r10, [r10 + 4]
mov edx, dword [r11 + rcx*4]
shl edx, 6
or edx, dword [r11 + rax*4]
movzx eax, byte [r10 - 3]
shl edx, 6
or edx, dword [r11 + rax*4]
movzx eax, byte [r10 - 2]
shl edx, 6
or edx, dword [r11 + rax*4]
mov eax, edx
sar eax, 0x10
mov byte [r9 + rbp], al
add rbp, r12
mov eax, edx
sar eax, 8
mov byte [r9 + rbp], al
add rbp, r12
mov byte [r9 + rbp], dl
add rbp, r12
sub r8, r12
jne 0x1800049f2
test r14, r14
je 0x180004a90
movzx eax, byte [rbx + rdi]
movzx edx, byte [rbx + rdi + 1]
mov ecx, dword [r11 + rax*4]
mov r8d, dword [r11 + rdx*4]
shl ecx, 6
or r8d, ecx
shl r8d, 0xc
mov eax, r8d
sar eax, 0x10
mov byte [r9 + rbp], al
test r15, r15
je 0x180004a90
movzx eax, byte [rbx + rdi + 2]
sar r8d, 8
mov ecx, dword [r11 + rax*4]
shl ecx, 6
sar ecx, 8
or cl, r8b
mov byte [r9 + rbp + 1], cl
lea rdx, [rsp + 0x28]
mov rcx, rsi
call fcn.180004524
lea rcx, [rsp + 0x28]
call fcn.1800011bc
lea r11, [rsp + 0x50]
mov rax, rsi
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
ret
Function at 0x180004b14
Capabilities:
Encode data using base64

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, 0x30
mov r9, qword [r8]
and dword [rsp + 0x20], 0
mov rsi, rdx
add r9, 2
mov rbx, r8
movabs r12, 0xaaaaaaaaaaaaaaab
mov rax, r12
mov r14b, 0x3d
mov r15, rcx
mov r8b, r14b
mul r9
shr rdx, 1
shl rdx, 2
call fcn.18000457c
xor edx, edx
mov rcx, r15
call fcn.1800045d8
mov r11, qword [rbx]
mov rbx, qword [str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov rdi, rax
mov r9, r11
mov rax, r12
xor r8d, r8d
mul r11
shr rdx, 1
lea rcx, [rdx + rdx*2]
sub r9, rcx
sub r11, r9
je 0x180004c14
lea rcx, [r11 - 1]
mov rax, r12
lea rbp, [rsi + 1]
mul rcx
mov r10, rdx
shr r10, 1
inc r10
movzx eax, byte [rbp]
movzx ecx, byte [rbp - 1]
lea rbp, [rbp + 3]
shl ecx, 8
or ecx, eax
movzx eax, byte [rbp - 2]
shl ecx, 8
or ecx, eax
movsxd rdx, ecx
mov rax, rdx
sar rax, 0x12
mov al, byte [rax + rbx]
mov byte [r8 + rdi], al
mov rax, rdx
add r8, 4
sar rax, 0xc
and eax, 0x3f
mov al, byte [rax + rbx]
mov byte [r8 + rdi - 3], al
mov rax, rdx
and edx, 0x3f
sar rax, 6
and eax, 0x3f
mov al, byte [rax + rbx]
mov byte [r8 + rdi - 2], al
mov al, byte [rdx + rbx]
mov byte [r8 + rdi - 1], al
dec r10
jne 0x180004bb1
test r9, r9
je 0x180004c85
dec r9
je 0x180004c30
movzx eax, byte [r11 + rsi]
movzx edx, byte [r11 + rsi + 1]
shl eax, 8
or edx, eax
jmp 0x180004c35
movzx edx, byte [r11 + rsi]
mov eax, edx
mov ecx, edx
sar eax, 2
sar ecx, 0xa
and ecx, 0x3f
test r9, r9
cmovne eax, ecx
cdqe
mov cl, byte [rax + rbx]
mov eax, edx
mov byte [r8 + rdi], cl
and eax, 3
mov ecx, edx
sar ecx, 4
shl eax, 4
and ecx, 0x3f
test r9, r9
cmovne eax, ecx
cdqe
mov cl, byte [rax + rbx]
mov byte [r8 + rdi + 1], cl
je 0x180004c80
and edx, 0xf
shl edx, 2
movsxd rax, edx
mov r14b, byte [rax + rbx]
mov byte [r8 + rdi + 2], r14b
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
mov rax, r15
add rsp, 0x30
pop r15
pop r14
pop r12
ret
Function at 0x1800053e8
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x50
mov rdi, rcx
lea rcx, [rax - 0x38]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov rsi, qword [rsp + 0x28]
mov rbp, qword [rsp + 0x30]
cmp rdi, 0x40000000
jbe 0x18000542f
lea rax, [rdi - 0x40000000]
cmp rsi, rax
cmovb rsi, rax
mov rbx, qword [0x18004ba10]
lea rax, [rdi + 0x40000000]
cmp rbp, rax
cmova rbp, rax
sub rbp, 0xfff
test rbx, rbx
je 0x18000546a
cmp rbx, rsi
jb 0x180005465
cmp rbx, rbp
jae 0x180005465
cmp qword [rbx + 8], 0
jne 0x180005537
mov rbx, qword [rbx]
jmp 0x18000544b
mov r14, rdi
cmp rdi, rsi
jb 0x1800054b1
mov r8d, dword [rsp + 0x48]
mov rdx, rsi
mov rcx, r14
call fcn.18000530c
mov r14, rax
test rax, rax
je 0x1800054b1
mov edx, 0x1000
mov r9d, 0x40
mov r8d, 0x3000
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
jne 0x1800054f7
cmp r14, rsi
jae 0x180005472
test rbx, rbx
jmp 0x1800054ee
mov r8d, dword [rsp + 0x48]
mov rdx, rbp
mov rcx, rdi
call fcn.180005280
mov rdi, rax
test rax, rax
je 0x180005537
mov edx, 0x1000
mov r9d, 0x40
mov r8d, 0x3000
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
jne 0x1800054f7
cmp rdi, rbp
jbe 0x1800054b6
jmp 0x180005537
and qword [rbx + 8], 0
and dword [rbx + 0x10], 0
lea rcx, [rbx + 0x40]
mov rdx, rcx
sub rdx, rbx
mov rax, qword [rbx + 8]
add rdx, 0x40
mov qword [rcx], rax
mov qword [rbx + 8], rcx
add rcx, 0x40
cmp rdx, 0xfc0
jbe 0x18000550a
mov rax, qword [0x18004ba10]
mov qword [rbx], rax
mov qword [0x18004ba10], rbx
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
mov rax, rbx
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop r14
ret
Function at 0x180005dd8
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov ebx, ecx
mov esi, edx
mov ebp, 5
imul rbx, rbx, 0x38
add rbx, qword [0x18004ba00]
test byte [rbx + 0x20], 1
mov rdi, qword [rbx]
je 0x180005e11
sub rdi, rbp
mov ebp, 7
lea r9, [rsp + 0x30]
mov r8d, 0x40
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x180005e36
mov eax, 0xa
jmp 0x180005ec2
test esi, esi
je 0x180005e58
mov byte [rdi], 0xe9
mov eax, dword [rbx + 8]
sub eax, edi
sub eax, 5
mov dword [rdi + 1], eax
test byte [rbx + 0x20], 1
je 0x180005e79
mov rax, qword [rbx]
mov word [rax], 0xf9eb
jmp 0x180005e79
mov eax, dword [rbx + 0x18]
test byte [rbx + 0x20], 1
mov dword [rdi], eax
je 0x180005e73
movzx eax, word [rbx + 0x1c]
mov word [rdi + 4], ax
mov al, byte [rbx + 0x1e]
mov byte [rdi + 6], al
jmp 0x180005e79
mov al, byte [rbx + 0x1c]
mov byte [rdi + 4], al
mov r8d, dword [rsp + 0x30]
lea r9, [rsp + 0x30]
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, rbp
mov rcx, rax
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
and byte [rbx + 0x20], 0xfd
and sil, 1
mov al, sil
shl sil, 2
add al, al
or al, byte [rbx + 0x20]
and al, 0xfb
or al, sil
mov byte [rbx + 0x20], al
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x180005f18
Capabilities:
Enumerate threads

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
xor edx, edx
mov rbx, rcx
lea ecx, [rdx + 4]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x18000600c
lea rdx, [rsp + 0x20]
mov rcx, rax
mov dword [rsp + 0x20], 0x1c
call sub.KERNEL32.dll_Thread32First
jmp 0x180005ffb
cmp dword [rsp + 0x20], 0x10
jb 0x180005fe6
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x2c], eax
jne 0x180005fe6
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rsp + 0x28], eax
je 0x180005fe6
mov r8, qword [rbx]
test r8, r8
jne 0x180005fa7
mov dword [rbx + 8], 0x80
mov rcx, qword [0x180043a08]
xor edx, edx
mov r8d, 0x200
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbx], rax
test rax, rax
je 0x180006003
jmp 0x180005fd6
mov eax, dword [rbx + 8]
cmp dword [rbx + 0xc], eax
jb 0x180005fd6
mov rcx, qword [0x180043a08]
lea r9d, [rax + rax]
xor edx, edx
shl r9, 2
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
test rax, rax
je 0x180006003
mov ecx, dword [rbx + 8]
mov qword [rbx], rax
add ecx, ecx
mov dword [rbx + 8], ecx
mov edx, dword [rbx + 0xc]
mov rcx, qword [rbx]
mov eax, dword [rsp + 0x28]
mov dword [rcx + rdx*4], eax
inc dword [rbx + 0xc]
lea rdx, [rsp + 0x20]
mov rcx, rdi
mov dword [rsp + 0x20], 0x1c
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x180005f56
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x1800060d0
Capabilities:
Suspend thread

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
and qword [rcx], 0
and dword [rcx + 8], 0
and dword [rcx + 0xc], 0
mov ebp, r8d
mov r14d, edx
mov rbx, rcx
call fcn.180005f18
cmp qword [rbx], 0
je 0x180006151
xor edi, edi
cmp dword [rbx + 0xc], edi
jbe 0x180006151
mov rax, qword [rbx]
xor edx, edx
mov r8d, dword [rax + rdi*4]
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x18000614a
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov r8d, ebp
mov edx, r14d
mov rcx, rsi
call fcn.1800063d0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [rbx + 0xc]
jb 0x180006110
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret

Function at 0x1800064d0
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx], 0
mov rbx, rcx
je 0x180006534
xor edi, edi
cmp dword [rcx + 0xc], edi
jbe 0x180006522
mov rax, qword [rbx]
xor edx, edx
mov r8d, dword [rax + rdi*4]
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x18000651b
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [rbx + 0xc]
jb 0x1800064ef
mov r8, qword [rbx]
mov rcx, qword [0x180043a08]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x180006e64
Capabilities:
Encode data using xor

Disassembly:
test edx, edx
je 0x180006ebb
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbp, r8
mov esi, edx
mov rdi, rcx
xor ebx, ebx
mov rcx, rbp
call qword [0x180042828]
xor edx, edx
mov r8d, eax
mov eax, ebx
inc ebx
div r8d
mov al, byte [rdx + rbp]
xor byte [rdi], al
inc rdi
cmp ebx, esi
jb 0x180006e86
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x18000d30c
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rdi
lea rbp, [rsp - 0x60]
sub rsp, 0x160
lea rax, str.SOFTWAREGoogleChromeBLBeacon
lea rdx, str.chrome
mov rbx, rcx
mov qword [rsp + 0x50], rax
lea rax, str.SOFTWAREWOW6432NodeGoogleChromeBLBeacon
mov dword [rbp + 0x88], 0x100
mov qword [rsp + 0x58], rax
lea rax, str.SOFTWAREMicrosoftEdgeBLBeacon
mov qword [rsp + 0x30], rax
lea rax, str.SOFTWAREWOW6432NodeMicrosoftEdgeBLBeacon
mov qword [rsp + 0x38], rax
lea rax, str.SOFTWAREOpera_SoftwareOpera_Stable
mov qword [rsp + 0x40], rax
lea rax, str.SOFTWAREWOW6432NodeOpera_SoftwareOpera_Stable
mov qword [rsp + 0x48], rax
call fcn.18001e780
test eax, eax
jne 0x18000d388
lea rdi, [rsp + 0x50]
jmp 0x18000d3ba
lea rdx, str.edge
mov rcx, rbx
call fcn.18001e780
test eax, eax
jne 0x18000d3a2
lea rdi, [rsp + 0x30]
jmp 0x18000d3ba
lea rdx, str.opera
mov rcx, rbx
call fcn.18001e780
test eax, eax
jne 0x18000d430
lea rdi, [rsp + 0x40]
xor ebx, ebx
mov rdx, qword [rdi + rbx*8]
lea rax, [rbp + 0x98]
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x18000d427
mov rcx, qword [rbp + 0x98]
lea rax, [rbp + 0x88]
lea rdx, str.version
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x18000d43d
mov rcx, qword [rbp + 0x98]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc rbx
cmp rbx, 2
jl 0x18000d3bc
xor eax, eax
add rsp, 0x160
pop rdi
pop rbx
pop rbp
ret
mov eax, dword [rbp + 0x88]
and dword [rbp + 0x90], 0
lea r8, [rbp + 0x90]
lea rdx, [0x180032660]
lea rcx, [rsp + 0x60]
mov byte [rsp + rax + 0x60], 0
call fcn.18001e3b8
mov rcx, qword [rbp + 0x98]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [rbp + 0x90]
jmp 0x18000d432

Function at 0x18000d7d0
Capabilities:
Enumerate process modules

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x198]
sub rsp, 0x290
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
mov edi, edx
mov rbx, rcx
and dword [rsp + 0x38], 0
lea rcx, [rsp + 0x20]
call fcn.18000be94
nop
lea eax, [rdi + 1]
test eax, 0xfffffffe
jne 0x18000d81a
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edi, eax
mov edx, edi
mov ecx, 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x18000d866
mov dword [rsp + 0x50], 0x238
lea rdx, [rsp + 0x50]
mov rcx, rax
call sub.KERNEL32.dll_Module32First
jmp 0x18000d862
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x20]
call fcn.1800134e8
lea rdx, [rsp + 0x50]
mov rcx, rdi
call sub.KERNEL32.dll_Module32Next
test eax, eax
jne 0x18000d846
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.18000bebc
nop
lea rcx, [rsp + 0x20]
call fcn.18000c540
mov rax, rbx
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret