joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14095afc0
Capabilities:
Terminate process

Disassembly:
fldenv [rax]
mov ebp, 0x4211721d
adc al, 0x55
iretd
cld
pop r11
jmp 0x14095afcd
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14095afdd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x14095afc5
lea eax, [rcx + 1]
jmp 0x14095afeb
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x14095affe
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x14095afe4
sub eax, 3
jb 0x14095b01e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x14095b06d
sar eax, 1
movsxd rbp, eax
jb 0x14095b054
jmp 0x14095b02c
add ebx, ebx
jne 0x14095b02a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x14095b054
inc ecx
add ebx, ebx
jne 0x14095b03a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x14095b054
call r11
adc ecx, ecx
add ebx, ebx
jne 0x14095b04d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x14095b03c
add ecx, 2
jmp 0x14095b059
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.14095af82
jmp 0x14095afcd
pop rsi
pop rdi
pop rax
mov dword [rdi], eax
sub rsp, 0x28
lea rdi, [rsi + 0x953000]
mov eax, dword [rdi]
or eax, eax
je 0x14095b0d9
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x95b70c]
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 0x14095b07d
jns 0x14095b0b2
movzx rdx, word [rdi]
add rdi, 2
jmp 0x14095b0bc
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 0x14095b0d3
mov qword [rbx], rax
add rbx, 8
jmp 0x14095b09d
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 0x14095b11d
cmp al, 0xef
ja 0x14095b105
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x14095b0e5
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0x14095b0f4
mov eax, dword [rdi]
add rdi, 4
jmp 0x14095b0f4
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 + 0x237]
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.14095b19c], 0xfc
lea rcx, [rsi - 0x1000]
push 1
pop rdx
xor r8, r8
push rax
call fcn.14095b19c
pop rax
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x14095b18c
sub rsp, 0xffffffffffffff80
jmp 0x1405caa40
Function at 0x14000ca48
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call fcn.1401168b8
nop
test rax, rax
je 0x14000ca92
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000ca92
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000ca92
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000ca92
cmp dword [rcx + 0x84], 0xe
jbe 0x14000ca92
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14000ca94
xor al, al
add rsp, 0x28
ret

Function at 0x14002ac80
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14002aca8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14002aca8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x1400e9778
Capabilities:
Execute anti-debugging instructions

Disassembly:
jmp 0x1401031f8
call fcn.1400dcce0
mov esp, 0x480abc95
out 0xa7, al
rol byte [rax + 0x48], 0x8d
cmp eax, 0x9ff03
call fcn.140118f38
invalid
Function at 0x1400fe6e0
Capabilities:
Execute anti-debugging instructions

Disassembly:
jmp 0x140166828
add byte [rax], al
xchg rbx, rax
mov rax, qword [rsp + 0x60]
push rbx
xchg rbx, rax
pop rax
add rsp, 0x20
push rbx
mov rbx, qword [rsp + 8]
lea rbx, [rbx + 0x6a]
xchg qword [rsp + 8], rbx
mov qword [rsp + 8], rbx
mov rbx, qword [rsp]
lea rsp, [rsp + 8]
xchg r15, rax
xchg qword [rsp], rax
xchg r15, rax
lea rsp, [rsp + 8]
xchg rcx, r14
xchg qword [rsp], rcx
xchg rcx, r14
lea rsp, [rsp + 8]
xchg rdi, r13
xchg qword [rsp], rdi
xchg rdi, r13
lea rsp, [rsp + 8]
xchg r12, rax
xchg qword [rsp], rax
xchg r12, rax
lea rsp, [rsp + 8]
xchg rdi, rax
xchg qword [rsp], rax
xchg rdi, rax
lea rsp, [rsp + 8]
xchg rdi, rsi
xchg qword [rsp], rdi
xchg rdi, rsi
lea rsp, [rsp + 8]
xchg rsi, rbp
xchg qword [rsp], rsi
xchg rsi, rbp
lea rsp, [rsp + 8]
ret
call fcn.1400e71e0
sub al, 0x98
int1
push 8
test al, 1
jp 0x14016687f
lea edi, [0x1401a72f0]
call fcn.14016e410
fsubr dword [rbp + rdi - 0x62ffffe6]
push rdx
mov rdx, qword [rsp + 8]
lea rdx, [rdx + 0x7b]
xchg qword [rsp + 8], rdx
mov qword [rsp + 8], rdx
mov rdx, qword [rsp]
lea rsp, [rsp + 8]
je 0x1401294a8
jne 0x1401294a8
jmp 0x1401294a6
add al, ch
idiv r15
dec dword [rbx + 0x14053495]
iretd

Function at 0x140122340
Capabilities:
Execute anti-debugging instructions

Disassembly:
jmp 0x14016c0f0
call fcn.140121ec8
invalid

Function at 0x140127ae0
Capabilities:
Execute anti-debugging instructions

Disassembly:
call fcn.14016b910
invalid
jmp 0x14010be50
Function at 0x140180838
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
mov r11d, dword [rcx]
mov rsi, r8
mov ebx, dword [rcx + 4]
mov rdi, rdx
movsxd rbp, r9d
mov r10, rcx
test r9d, r9d
jle 0x14018089f
sub rdi, r8
inc r11b
movzx r11d, r11b
mov r8b, byte [r11 + r10 + 8]
add bl, r8b
movzx ebx, bl
mov cl, byte [rbx + r10 + 8]
mov byte [r11 + r10 + 8], cl
add cl, r8b
mov byte [rbx + r10 + 8], r8b
movzx eax, cl
mov cl, byte [rax + r10 + 8]
xor cl, byte [rdi + rsi]
mov byte [rsi], cl
inc rsi
sub rbp, 1
jne 0x140180865
mov rbp, qword [rsp + 0x10]
mov eax, r9d
mov rsi, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
mov dword [r10 + 4], ebx
mov rbx, qword [rsp + 8]
mov dword [r10], r11d
ret
Function at 0x140748058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1407481df
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 0x140748089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14074806f
add dl, dl
jne 0x140748096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1407480f6
xor eax, eax
add dl, dl
jne 0x1407480a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1407481ad
add dl, dl
jne 0x1407480b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1407480c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1407480d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1407480dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1407480ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14074807e
mov eax, 1
add dl, dl
jne 0x140748106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140748113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1407480fb
sub eax, ebx
mov ebx, 1
jne 0x14074814c
mov ecx, 1
add dl, dl
jne 0x14074812e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14074813b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140748123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14074807e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140748168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140748175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14074815d
cmp eax, 0x7d00
jae 0x14074819b
cmp eax, 0x500
jb 0x140748196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14074807e
cmp eax, 0x7f
ja 0x14074819e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14074807e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1407481d2
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 0x14074807e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x1400113b0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400113fa
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400113fa
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400113fa
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400113fa
cmp dword [rcx + 0x84], 0xe
jbe 0x1400113fa
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400113fc
xor al, al
add rsp, 0x28
ret
Function at 0x1400291bc
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.14001c7b4
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001c7b4
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x14002930c
cmp rax, 0xffffffffffffffff
je 0x14002930c
xor edi, edi
test rbp, rbp
jle 0x1400292b7
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14001f0c8
mov rbx, rax
test rax, rax
jne 0x140029244
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x1400292ad
mov edx, 0x8000
mov ecx, r14d
call fcn.14001a0e8
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.14001d490
cmp eax, 0xffffffff
je 0x14002928d
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140029254
mov edx, r15d
mov ecx, r14d
call fcn.14001a0e8
jmp 0x1400292ad
cmp byte [rsi + 0x38], dil
je 0x1400292a4
cmp dword [rsi + 0x34], 5
jne 0x1400292a4
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x1400292ad
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14001ae7c
jmp 0x140029320
jns 0x140029320
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001c7b4
cmp rax, 0xffffffffffffffff
jne 0x1400292d8
cmp byte [rsi + 0x30], dil
je 0x140029320
mov edi, dword [rsi + 0x2c]
jmp 0x140029320
mov ecx, r14d
call fcn.1400185a0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140029320
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 0x140029320
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140029319
mov eax, dword [rsi + 0x2c]
jmp 0x14002931e
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001c7b4
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 0x141c8b075
Capabilities:
Encode data using xor

Disassembly:
dec cx
xor dword [rsp + 0x14], 0x7c263817
not cx
xor si, cx
lea rcx, [rsp + rcx + 0x18]
call fcn.141c78f84
mov r10d, 0xc43e9430
lea rdi, [r10 + r10*2 + 0x2cac5d0a]
mov r10, qword [rbp + riz]
movsx ecx, dil
add rbp, 8
push rdi
lea rdx, [rcx*4 - 0x244ee9d0]
or dword [rsp + 1], edx
mov rsi, rbp
movzx eax, dil
lea r8, [rdi*2 - 0x314060d7]
pop r11
jp 0x141c7dd6f
Function at 0x1800014e0
Capabilities:
Check os version

Disassembly:
push rsi
push rdi
push rbp
push rbx
push rax
mov rax, qword gs:[0x30]
mov ecx, dword [0x180276b10]
lea edx, [rcx + 1]
imul edx, ecx
test dl, 1
sete cl
cmp dword [0x180276b14], 0xa
setl dl
or dl, cl
mov ecx, 0x23addf7c
mov r9d, 0xb692452a
cmove ecx, r9d
mov rdx, qword [rax + 0x60]
mov r8d, 0xdd70bc36
cmove r8d, r9d
mov r9d, 0x4a8bfed8
mov r11d, 0x3abccf3f
cmove r9d, r11d
mov qword [0x180276aa8], rdx
mov r10d, 0xc84b17ad
cmove r10d, r11d
mov qword [rsp], rdx
test rax, rax
mov r11d, 0x748f6ee8
mov esi, 0xe96fee78
cmove esi, r11d
mov ebp, 0xd1dccd5b
mov edi, 0x7d6524c3
jmp 0x180001580
mov rax, qword [rdx + 0x18]
mov rax, qword [rax + 0x20]
mov rax, qword [rax]
mov rax, qword [rax + 0x20]
mov ebp, 0xdd70bc36
mov ebx, ebp
cmp ebp, 0x23addf7b
jg 0x1800015c0
cmp ebx, 0xdd70bc35
jg 0x1800015f0
cmp ebx, 0xb692452a
je 0x18000156c
cmp ebx, 0xc84b17ad
je 0x180001643
mov ebp, ebx
cmp ebx, 0xd1dccd5b
jne 0x180001580
cmp qword [rsp], 0
mov ebp, 0x798f62c
cmove ebp, r11d
jmp 0x180001580
cmp ebx, 0x5dd8c7a2
jg 0x180001615
cmp ebx, 0x23addf7c
je 0x18000164d
cmp ebx, 0x3abccf3f
je 0x180001657
mov ebp, ebx
cmp ebx, 0x4a8bfed8
jne 0x180001580
mov ebp, 0x5dd8c7a3
jmp 0x180001580
cmp ebx, 0xdd70bc36
je 0x180001663
cmp ebx, 0xe96fee78
je 0x180001679
mov ebp, ebx
cmp ebx, 0x798f62c
jne 0x180001580
mov ebp, esi
jmp 0x180001580
mov ebp, r10d
cmp ebx, 0x748f6ee8
je 0x180001580
mov ebp, r8d
cmp ebx, 0x7d6524c3
je 0x180001580
mov ebp, ebx
cmp ebx, 0x5dd8c7a3
jne 0x180001580
jmp 0x18000168d
xor eax, eax
mov ebp, r9d
jmp 0x180001580
mov ebp, 0x5dd8c7a3
jmp 0x180001580
mov ebp, 0xc84b17ad
xor eax, eax
jmp 0x180001580
mov rax, qword [rdx + 0x18]
mov rax, qword [rax + 0x20]
mov rax, qword [rax]
mov rax, qword [rax + 0x20]
mov ebp, ecx
jmp 0x180001580
cmp dword [rdx + 0x118], 0xa
mov ebp, 0x748f6ee8
cmove ebp, edi
jmp 0x180001580
add rsp, 8
pop rbx
pop rbp
pop rdi
pop rsi
ret
Function at 0x1800058b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
push rax
movzx eax, byte [rcx + 0x100]
movzx r9d, byte [rcx + 0x101]
mov ebp, 0x4b5346ab
mov r10d, 0xb6d640e1
mov r11d, 0x5f8c111e
mov esi, 0x96c3be3b
mov edi, 0xd5d1d0d3
mov ebx, 0xb63ad9fe
jmp 0x180005900
mov byte [rcx + 0x100], al
mov byte [rcx + 0x101], r9b
mov ebp, 0xd5d1d0d3
nop word [rax + rax]
cmp ebp, 0xd5d1d0d2
jg 0x180005940
cmp ebp, 0xbbd39ce6
jg 0x180005990
cmp ebp, 0xb63ad9fe
je 0x180005a02
cmp ebp, 0xb6d640e1
jne 0x180005aa7
cmp byte [rsp + 7], 0
mov ebp, 0x38018d2d
cmovne ebp, r11d
jmp 0x180005900
cmp ebp, 0x4b5346aa
jg 0x1800059c0
cmp ebp, 0xd5d1d0d3
je 0x180005a37
cmp ebp, 0x38018d2d
jne 0x180005900
mov r14d, dword [0x180276b90]
lea ebp, [r14 + 1]
imul ebp, r14d
test bpl, 1
mov ebp, 0xbbd39ce7
cmove ebp, edi
cmp dword [0x180276b94], 0xa
cmovl ebp, edi
jmp 0x180005900
cmp ebp, 0xbbd39ce7
je 0x1800058e8
cmp ebp, 0xd1ceaec4
jne 0x180005900
dec r8d
mov ebp, 0xb63ad9fe
jmp 0x180005900
cmp ebp, 0x5f8c111e
je 0x180005a6e
cmp ebp, 0x4b5346ab
jne 0x180005900
mov r14d, dword [0x180276b90]
lea ebp, [r14 + 1]
imul ebp, r14d
test bpl, 1
mov ebp, 0xd1ceaec4
cmove ebp, ebx
cmp dword [0x180276b94], 0xa
cmovl ebp, ebx
jmp 0x180005900
add r8d, 0xffffffff
setb byte [rsp + 7]
mov r14d, dword [0x180276b90]
lea ebp, [r14 + 1]
imul ebp, r14d
test bpl, 1
mov ebp, 0xd1ceaec4
cmove ebp, r10d
cmp dword [0x180276b94], 0xa
cmovl ebp, r10d
jmp 0x180005900
mov byte [rcx + 0x100], al
mov byte [rcx + 0x101], r9b
mov r14d, dword [0x180276b90]
lea ebp, [r14 + 1]
imul ebp, r14d
test bpl, 1
mov ebp, 0xbbd39ce7
cmove ebp, esi
cmp dword [0x180276b94], 0xa
cmovl ebp, esi
jmp 0x180005900
inc eax
movzx eax, al
movzx ebp, byte [rcx + rax]
add r9b, bpl
movzx r9d, r9b
movzx r14d, byte [rcx + r9]
mov byte [rcx + rax], r14b
mov byte [rcx + r9], bpl
add r14b, bpl
movzx r14d, r14b
movzx ebp, byte [rcx + r14]
xor byte [rdx], bpl
inc rdx
mov ebp, 0x4b5346ab
jmp 0x180005900
cmp ebp, 0x96c3be3b
jne 0x180005900
add rsp, 8
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
Function at 0x180007054
Capabilities:
Parse pe header

Disassembly:
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x180007054
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x1800070c3
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1800070c3
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1800070c3
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1800070c3
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1800070c3
cmp dword [rcx + 0x84], 0xe
jbe 0x1800070c3
cmp dword [rcx + 0xf8], 0
je 0x1800070c3
mov ecx, ebx
call fcn.180006f8c
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.1800071e8
nop
cmp dword [rbp + 0x20], 0
je 0x180007111
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.180007020
int3

Function at 0x180007c80
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x180007ca8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x180007ca8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x18000c100
Capabilities:
Query environment variable

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, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x18000c130
xor eax, eax
jmp 0x18000c1f3
mov rbp, rbx
cmp word [rax], si
je 0x18000c155
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x18000c13c
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x18000c138
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.18000c020
movsxd r14, eax
test eax, eax
jne 0x18000c193
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x18000c129
mov rcx, r14
call fcn.18000c54c
mov rdi, rax
test rax, rax
jne 0x18000c1ac
xor ecx, ecx
call fcn.180009c24
jmp 0x18000c188
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.18000c020
test eax, eax
jne 0x18000c1dd
mov rcx, rdi
call fcn.180009c24
jmp 0x18000c1e7
xor ecx, ecx
call fcn.180009c24
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x14003b4d0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
sub rsp, 0x68
xor r8d, r8d
mov dword [rax - 0x28], 0x360d360c
mov dword [rax - 0x24], 0x360f367c
mov edx, 0x3650
mov dword [rax - 0x20], 0x36123602
mov dword [rax - 0x1c], 0x3608361d
mov dword [rax - 0x18], 0x3669361f
mov dword [rax - 0x14], 0x366a3663
mov dword [rax - 0x10], 0x3614
mov byte [rax - 0xc], 1
mov eax, r8d
nop word [rax + rax]
lea ecx, [rdx + rax]
xor word [rsp + rax*2 + 0x40], cx
inc rax
cmp rax, 0xd
jb 0x14003b520
mov qword [rsp + 0x30], r8
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x28], r8d
xor r9d, r9d
mov byte [rsp + 0x5c], r8b
mov edx, 0xc0000000
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 3]
call qword [0x140049048]
mov qword [0x1400e1718], rax
test rax, rax
je 0x14003b577
cmp rax, 0xffffffffffffffff
setne al
add rsp, 0x68
ret
add rsp, 0x68
ret
Function at 0x14004717c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [0x1400490b8]
test rax, rax
je 0x1400471c6
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400471c6
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400471c6
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400471c6
cmp dword [rcx + 0x84], 0xe
jbe 0x1400471c6
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400471c8
xor al, al
add rsp, 0x28
ret
Function at 0x140003ff0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x370]
sub rsp, 0x470
mov rax, qword [0x140064d98]
xor rax, rsp
mov qword [rbp + 0x360], rax
mov rdi, rcx
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x208
call fcn.14002d420
lea rax, str.WinIoDrv0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], rax
lea r9, [0x1400659a0]
lea rax, str.Services_
mov rbx, 0xffffffffffffffff
lea r8, str._s_s_s
mov qword [rsp + 0x20], rax
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.140003760
lea r8, [rsp + 0x30]
mov rcx, 0xffffffff80000002
lea rdx, [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x1400041ec
lea r9, [0x140045890]
mov qword [rsp + 0x20], rdi
lea r8, [0x1400458a0]
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.140003760
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
lea rdx, str.Type
lea rax, [rsp + 0x38]
mov dword [rsp + 0x3c], 4
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov dword [rsp + 0x38], 0
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400040f9
cmp dword [rsp + 0x38], 1
je 0x14000412e
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
mov dword [rsp + 0x28], 4
lea rdx, str.Type
mov r9d, 4
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov dword [rsp + 0x38], 0
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
xor edx, edx
lea rcx, [rbp + 0x150]
mov r8d, 0x208
call fcn.14002d420
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
lea rdx, str.ImagePath
lea rax, [rbp + 0x150]
mov dword [rsp + 0x3c], 0x104
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140004191
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x150]
call fcn.1400325f8
test eax, eax
je 0x1400041dc
lea rax, [rsp + 0x40]
nop word [rax + rax]
cmp word [rax + rbx*2 + 2], 0
lea rbx, [rbx + 1]
jne 0x1400041a0
mov rcx, qword [rsp + 0x30]
lea eax, [rbx*2 + 2]
mov dword [rsp + 0x28], eax
lea rdx, str.ImagePath
lea rax, [rsp + 0x40]
mov r9d, 2
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.140004540
mov rcx, qword [rbp + 0x360]
xor rcx, rsp
call fcn.14002ba20
lea r11, [rsp + 0x470]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret