joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001150
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor edx, edx
lea r8, [0x140055bf0]
mov r9d, edx
mov r10d, 8
mov ecx, r9d
mov eax, r9d
shr ecx, 1
mov r9d, ecx
xor r9d, 0xedb88320
and al, 1
cmove r9d, ecx
sub r10, 1
jne 0x140001162
mov dword [r8], r9d
inc edx
add r8, 4
cmp edx, 0x100
jb 0x140001159
mov byte [0x140055be8], 1
ret

Function at 0x14000119c
Capabilities:
Parse url

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r13
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xa0
mov rax, qword [0x140053010]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rdi, rdx
mov rbx, rcx
mov esi, 0x68
lea rcx, [rbp - 0x49]
mov r8d, esi
xor edx, edx
call fcn.14001c6a0
xorps xmm0, xmm0
mov dword [rbp - 0x49], esi
xor eax, eax
mov dword [rbp - 0x29], 1
movups xmmword [rdi], xmm0
mov rcx, rbx
mov qword [rdi + 0x10], rax
mov dword [rbp + 7], 1
mov dword [rbp + 0x17], 1
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea r9, [rbp - 0x49]
xor r8d, r8d
mov edx, eax
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCrackUrlW]
xor esi, esi
test eax, eax
je 0x14000133e
mov ecx, dword [rbp - 0x29]
lea eax, [rsi + 2]
inc ecx
lea r13, [rsi - 1]
mul rcx
cmovo rax, r13
mov rcx, rax
call fcn.1400214b4
mov qword [rdi], rax
test rax, rax
je 0x14000133a
mov rdx, qword [rbp - 0x31]
test rdx, rdx
je 0x14000126d
mov r8d, dword [rbp - 0x29]
mov rcx, rax
add r8, r8
call fcn.14001d5c0
mov ecx, dword [rbp - 0x29]
mov rax, qword [rdi]
mov word [rax + rcx*2], si
mov ecx, dword [rbp + 7]
mov r15d, 0x2f
test ecx, ecx
je 0x14000129a
mov rax, qword [rbp - 1]
test rax, rax
je 0x14000129a
cmp word [rax], r15w
jne 0x14000129a
dec ecx
add rax, 2
mov dword [rbp + 7], ecx
mov qword [rbp - 1], rax
test ecx, ecx
jne 0x14000127e
mov ebx, dword [rbp + 0x17]
mov eax, 2
inc ebx
add ebx, ecx
lea ecx, [rbx + 1]
mul rcx
cmovo rax, r13
mov rcx, rax
call fcn.1400214b4
mov qword [rdi + 8], rax
test rax, rax
je 0x14000130d
mov word [rax], r15w
mov rdx, qword [rbp - 1]
test rdx, rdx
je 0x1400012e2
mov r8d, dword [rbp + 7]
mov rcx, qword [rdi + 8]
add r8, r8
add rcx, 2
call fcn.14001d5c0
mov rdx, qword [rbp + 0xf]
test rdx, rdx
je 0x140001305
mov ecx, dword [rbp + 7]
mov rax, qword [rdi + 8]
inc rcx
mov r8d, dword [rbp + 0x17]
add r8, r8
lea rcx, [rax + rcx*2]
call fcn.14001d5c0
mov rax, qword [rdi + 8]
mov word [rax + rbx*2], si
mov eax, dword [rbp + 7]
mov ecx, dword [rbp - 0x35]
inc eax
mov dword [rdi + 0x10], eax
movzx eax, word [rbp - 0x25]
mov word [rdi + 0x14], ax
sub ecx, 3
je 0x140001336
cmp ecx, 1
je 0x140001330
mov byte [rdi + 0x16], sil
jmp 0x14000133a
mov byte [rdi + 0x16], 2
jmp 0x14000133a
mov byte [rdi + 0x16], 1
mov al, 1
jmp 0x140001340
xor al, al
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.14001a2c0
mov rbx, qword [rsp + 0xe0]
add rsp, 0xa0
pop r15
pop r13
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400015c4
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [0x140053010]
xor rax, rsp
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_GetCursorPos]
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
cmp byte [0x140055be8], 0
jne 0x1400015fd
call fcn.140001150
or ebx, 0xffffffff
lea rdx, [rsp + 0x20]
mov r8d, 0x10
movzx eax, byte [rdx]
mov ecx, ebx
xor rcx, rax
shr ebx, 8
movzx eax, cl
inc rdx
lea rcx, [0x140055bf0]
xor ebx, dword [rcx + rax*4]
sub r8, 1
jne 0x14000160b
call fcn.1400214bc
not ebx
xor eax, ebx
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14001a2c0
add rsp, 0x40
pop rbx
ret

Function at 0x14000178c
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
xor r9b, r9b
movzx r11d, cl
shl r11d, 2
mov rbx, r8
movzx r8d, r9b
xor r10b, r10b
add r8d, r11d
shl r8d, 2
movzx eax, r10b
inc r10b
add eax, r8d
mov cl, byte [rax + rbx]
xor byte [rdx], cl
inc rdx
cmp r10b, 4
jb 0x1400017ad
inc r9b
cmp r9b, 4
jb 0x14000179f
mov rbx, qword [rsp + 8]
ret
Function at 0x1400017d4
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
mov rax, qword [0x140053010]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rbx, rcx
mov rdi, rdx
mov ecx, 0x10
lea r14d, [rcx + 0x18]
lea r13d, [rcx - 0xc]
cmp rcx, 0x10
jne 0x1400019ac
movups xmm0, xmmword [rbx + 0xb0]
mov r8, rbx
lea rdx, [rbp - 0x20]
xor ecx, ecx
movdqu xmmword [rbp - 0x20], xmm0
call fcn.14000178c
mov sil, 1
lea rdx, [rbp - 0x20]
mov r8, r13
mov rcx, rdx
mov r9, r13
movzx eax, byte [rcx]
lea r10, [0x1400445e0]
mov al, byte [rax + r10]
mov byte [rcx], al
add rcx, r13
sub r9, 1
jne 0x140001842
inc rdx
sub r8, 1
jne 0x14000183c
mov al, byte [rbp - 0x1b]
mov cl, byte [rbp - 0x1f]
mov byte [rbp - 0x1f], al
mov al, byte [rbp - 0x17]
mov byte [rbp - 0x1b], al
mov al, byte [rbp - 0x13]
mov byte [rbp - 0x17], al
mov al, byte [rbp - 0x16]
mov byte [rbp - 0x13], cl
mov cl, byte [rbp - 0x1e]
mov byte [rbp - 0x1e], al
mov al, byte [rbp - 0x12]
mov byte [rbp - 0x16], cl
mov cl, byte [rbp - 0x1a]
mov byte [rbp - 0x1a], al
mov al, byte [rbp - 0x11]
mov byte [rbp - 0x12], cl
mov cl, byte [rbp - 0x1d]
mov byte [rbp - 0x1d], al
mov al, byte [rbp - 0x15]
mov byte [rbp - 0x11], al
mov al, byte [rbp - 0x19]
mov byte [rbp - 0x15], al
mov byte [rbp - 0x19], cl
cmp sil, 0xa
je 0x140001972
lea r11, [rbp - 0x1f]
mov r15, r13
mov r9b, byte [r11 - 1]
mov r8b, byte [r11 + 2]
mov dl, r9b
xor dl, byte [r11]
xor r8b, byte [r11 + 1]
mov al, dl
shr al, 7
add dl, dl
movzx eax, al
mov r10b, r8b
imul ecx, eax, 0x1b
xor r10b, r9b
xor r10b, byte [r11]
xor cl, dl
mov dl, byte [r11 + 1]
xor dl, byte [r11]
xor cl, r9b
xor cl, r10b
mov al, dl
mov byte [r11 - 1], cl
add dl, dl
shr al, 7
movzx eax, al
imul ecx, eax, 0x1b
mov al, r8b
shr al, 7
add r8b, r8b
movzx eax, al
xor cl, dl
mov dl, byte [r11 + 2]
xor cl, byte [r11]
xor dl, r9b
xor cl, r10b
mov byte [r11], cl
imul ecx, eax, 0x1b
mov al, dl
shr al, 7
add dl, dl
movzx eax, al
xor cl, r8b
xor cl, byte [r11 + 1]
xor cl, r10b
mov byte [r11 + 1], cl
imul ecx, eax, 0x1b
xor cl, dl
xor cl, byte [r11 + 2]
xor cl, r10b
mov byte [r11 + 2], cl
add r11, r13
sub r15, 1
jne 0x1400018bd
mov r8, rbx
lea rdx, [rbp - 0x20]
mov cl, sil
call fcn.14000178c
inc sil
jmp 0x140001835
mov r8, rbx
lea rdx, [rbp - 0x20]
mov cl, 0xa
call fcn.14000178c
mov eax, 0xf
mov cl, byte [rbx + rax + 0xb0]
cmp cl, 0xff
jne 0x1400019a1
mov byte [rbx + rax + 0xb0], 0
sub rax, 1
jns 0x140001985
jmp 0x1400019aa
inc cl
mov byte [rbx + rax + 0xb0], cl
xor ecx, ecx
mov al, byte [rbp + rcx - 0x20]
inc rcx
xor byte [rdi], al
inc rdi
sub r14, 1
jne 0x14000180e
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.14001a2c0
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret
Function at 0x140002ff4
Capabilities:
Encode data using xor

Disassembly:
neg r8d
mov r10, rcx
movsxd r11, r8d
mov r9, rdx
mov r8d, 0xa
sub r10, rdx
movsxd rcx, dword [r10 + r9]
movsxd rdx, dword [r9]
xor rdx, rcx
and rdx, r11
mov rax, rdx
xor rax, rcx
mov qword [r10 + r9], rax
movsxd rax, dword [r9]
xor rax, rdx
mov qword [r9], rax
lea r9, [r9 + 8]
sub r8, 1
jne 0x140003009
ret

Function at 0x1400036d8
Capabilities:
Encrypt data using curve25519

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
lea rbp, [rsp - 0xa0]
sub rsp, 0x1a0
mov rax, qword [0x140053010]
xor rax, rsp
mov qword [rbp + 0x98], rax
movups xmm0, xmmword [rdx]
mov rbx, rcx
lea rcx, [rbp - 0x80]
movups xmm1, xmmword [rdx + 0x10]
mov rdx, r8
movd eax, xmm0
movups xmmword [rbp + 0x80], xmm1
and al, 0xf8
psrldq xmm1, 0xf
movups xmmword [rbp + 0x70], xmm0
mov byte [rbp + 0x70], al
movd eax, xmm1
and al, 0x3f
or al, 0x40
mov byte [rbp + 0x8f], al
call fcn.140002504
lea r9, [rbp - 0x80]
lea r8, [rbp + 0x70]
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0x20]
call fcn.140003034
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x30]
call fcn.14000332c
lea r8, [rbp - 0x30]
lea rdx, [rbp + 0x20]
lea rcx, [rsp + 0x20]
call fcn.14000208c
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.1400026f8
xor eax, eax
mov rcx, qword [rbp + 0x98]
xor rcx, rsp
call fcn.14001a2c0
mov rbx, qword [rsp + 0x1b8]
add rsp, 0x1a0
pop rbp
ret
Function at 0x140003ca4
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov edx, dword [0x1400569b0]
lea r9, [0x140055ff0]
cmp edx, 0x270
jl 0x140003d5a
mov r8, r9
lea r11, [0x1400487c0]
mov r10d, 0x7fffffff
lea rdx, [0x14005637c]
mov ecx, dword [r8 + 4]
xor ecx, dword [r8]
and ecx, r10d
xor ecx, dword [r8]
mov eax, ecx
shr ecx, 1
and eax, 1
xor ecx, dword [r11 + rax*4]
xor ecx, dword [r8 + 0x634]
mov dword [r8], ecx
add r8, 4
cmp r8, rdx
jl 0x140003cd4
mov ecx, dword [rdx + 4]
xor ecx, dword [rdx]
and ecx, r10d
xor ecx, dword [rdx]
mov eax, ecx
shr ecx, 1
and eax, 1
xor ecx, dword [r11 + rax*4]
lea rax, [0x1400569ac]
xor ecx, dword [rdx - 0x38c]
mov dword [rdx], ecx
add rdx, 4
cmp rdx, rax
jl 0x140003cff
mov ecx, dword [0x140055ff0]
xor ecx, dword [0x1400569ac]
and ecx, r10d
xor ecx, dword [0x1400569ac]
mov eax, ecx
shr ecx, 1
and eax, 1
xor ecx, dword [r11 + rax*4]
xor ecx, dword [0x140056620]
mov dword [0x1400569ac], ecx
xor edx, edx
movsxd rax, edx
inc edx
mov dword [0x1400569b0], edx
mov ecx, dword [r9 + rax*4]
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
ret
Function at 0x140003d90
Capabilities:
Hash data using murmur3

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
mov esi, r9d
mov edi, r8d
mov rbx, rdx
mov r14, rcx
test r9d, r9d
je 0x140003e11
lea eax, [r8 - 2]
mov r9d, r8d
and eax, 0xf
and r9d, 0xf
mov r11d, dword [rdx + rax*4]
lea eax, [r8 + 1]
and eax, 0xf
mov ecx, r11d
rol ecx, 0xf
mov r10d, dword [rdx + rax*4]
mov eax, r10d
ror eax, 7
mov edx, r10d
rol edx, 0xe
xor edx, eax
shr r10d, 3
xor edx, r10d
mov eax, r11d
rol eax, 0xd
xor ecx, eax
shr r11d, 0xa
lea eax, [r8 - 7]
xor ecx, r11d
and eax, 0xf
add edx, ecx
add edx, dword [rbx + rax*4]
add dword [rbx + r9*4], edx
mov r10d, dword [rbx + r9*4]
jmp 0x140003e1a
mov eax, edi
and eax, 0xf
mov r10d, dword [rdx + rax*4]
mov rbx, qword [rsp + 8]
mov eax, 0xfffffffc
sub eax, edi
mov r11d, edi
and eax, 7
not r11d
and r11d, 7
mov r8d, dword [r14 + rax*4]
mov eax, 0xfffffffe
sub eax, edi
mov r9d, r8d
and eax, 7
ror r9d, 0xb
mov edx, dword [r14 + rax*4]
mov eax, r8d
rol eax, 7
mov ecx, edx
xor r9d, eax
mov eax, r8d
ror eax, 6
xor r9d, eax
mov eax, 0xfffffffd
sub eax, edi
and eax, 7
xor ecx, dword [r14 + rax*4]
lea rax, [0x140044700]
and ecx, r8d
xor ecx, edx
add r9d, ecx
lea ecx, [rdi + rsi]
mov rsi, qword [rsp + 0x10]
add r9d, dword [rax + rcx*4]
mov eax, 3
sub eax, edi
add r9d, r10d
add dword [r14 + r11*4], r9d
and eax, 7
mov ecx, dword [r14 + r11*4]
add dword [r14 + rax*4], ecx
mov eax, edi
neg eax
mov ecx, 2
and eax, 7
sub ecx, edi
and ecx, 7
mov r10d, dword [r14 + rax*4]
mov eax, 1
mov edx, dword [r14 + rcx*4]
sub eax, edi
mov rdi, qword [rsp + 0x18]
and eax, 7
mov r9d, r10d
ror r9d, 0xd
mov r8d, dword [r14 + rax*4]
mov eax, r10d
rol eax, 0xa
xor r9d, eax
mov eax, r10d
ror eax, 2
xor r9d, eax
mov eax, r8d
xor eax, r10d
and r8d, r10d
and edx, eax
or edx, r8d
add r9d, edx
add dword [r14 + r11*4], r9d
mov r14, qword [rsp + 0x20]
ret

Function at 0x1400053c0
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
push rbp
push rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x140053010]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbp, qword [rsp + 0x80]
xor ebx, ebx
mov rsi, r8
test rdx, rdx
je 0x140005459
test r8, r8
je 0x140005459
test rbp, rbp
je 0x140005459
lea rax, [r11 - 0x28]
mov qword [r11 - 0x28], rbx
lea r9d, [rbx + 2]
mov qword [r11 - 0x38], rax
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
cmp eax, 5
je 0x140005459
test eax, eax
jne 0x140005450
mov rcx, qword [rsp + 0x30]
lea r9d, [rbx + 4]
mov dword [rsp + 0x28], r9d
xor r8d, r8d
mov rdx, rsi
mov qword [rsp + 0x20], rbp
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x30]
mov edi, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
sete bl
mov eax, ebx
jmp 0x14000545b
xor eax, eax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14001a2c0
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400056f0
Capabilities:
Write file 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, 0x30
and qword [rax - 0x18], 0
mov rdi, r9
mov esi, r8d
mov rbp, rdx
mov r14, rcx
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x14000574a
lea ebx, [rax + 1]
and qword [rsp + 0x20], 0
mov r9, rdi
mov r8d, esi
mov rdx, rbp
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x14000574a
inc ebx
cmp ebx, 0x32
jl 0x140005727
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret

Function at 0x140005768
Capabilities:
Read file 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, 0x30
and qword [rax - 0x18], 0
mov rdi, r9
mov esi, r8d
mov rbp, rdx
mov r14, rcx
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1400057c2
lea ebx, [rax + 1]
and qword [rsp + 0x20], 0
mov r9, rdi
mov r8d, esi
mov rdx, rbp
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1400057c2
inc ebx
cmp ebx, 0x32
jl 0x14000579f
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x14000b994
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
push rdi
push r14
sub rsp, 0x20
cmp byte [rcx + 0x28], 0
mov r14, rdx
mov rsi, rcx
jne 0x14000b9e0
mov rdi, qword [rcx + 8]
cmp rdi, qword [rcx + 0x10]
je 0x14000b9e0
lea rdx, [r14 + 8]
mov rcx, rdi
call fcn.14000c8b4
cmp rax, 0xffffffffffffffff
jne 0x14000b9d5
add rdi, 0x60
cmp rdi, qword [rsi + 0x10]
jne 0x14000b9b7
jmp 0x14000b9e0
mov rdx, rdi
mov rcx, rsi
call fcn.14000d660
mov r8d, dword [r14]
xor edx, edx
lea ecx, [rdx + 1]
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x14000ba0a
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
Function at 0x14000d660
Capabilities:
Modify service
Query service status
Stop service

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xa0
mov rax, qword [0x140053010]
xor rax, rsp
mov qword [rbp + 0x3f], rax
cmp byte [rcx + 0x28], 0
mov rbx, rdx
mov rdi, rcx
jne 0x14000d806
and dword [rbp + 0xf], 0
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
cmp qword [rbx + 0x18], 8
mov rsi, rax
jb 0x14000d6a9
mov rbx, qword [rbx]
mov rcx, qword [rdi + 0x20]
mov r8d, 0x2e
mov rdx, rbx
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov qword [rbp + 7], rax
mov rbx, rax
test rax, rax
je 0x14000d806
and qword [rsp + 0x50], 0
or edx, 0xffffffff
and qword [rsp + 0x48], 0
mov r9d, edx
and qword [rsp + 0x40], 0
mov r8d, 4
and qword [rsp + 0x38], 0
mov rcx, rax
and qword [rsp + 0x30], 0
and qword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
lea rax, [rbp + 0xf]
mov r9d, 0x24
lea r8, [rbp + 0x17]
mov qword [rsp + 0x20], rax
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x14000d7fd
cmp dword [rbp + 0x1b], 1
je 0x14000d7fd
jmp 0x14000d787
mov ecx, dword [rbp + 0x2f]
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rax, [rbp + 0xf]
mov r9d, 0x24
lea r8, [rbp + 0x17]
mov qword [rsp + 0x20], rax
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x14000d7fd
cmp dword [rbp + 0x1b], 1
je 0x14000d7fd
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov ecx, dword [rdi + 0x2c]
sub rax, rsi
cmp rax, rcx
ja 0x14000d7fd
cmp dword [rbp + 0x1b], 3
je 0x14000d73d
lea rdx, [rbp + 7]
mov rcx, rdi
call fcn.14000d828
mov rbx, qword [rbp + 7]
lea r8, [rbp + 0x17]
mov rcx, rbx
mov edx, 1
call qword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x14000d7fd
jmp 0x14000d7f7
mov ecx, dword [rbp + 0x2f]
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rax, [rbp + 0xf]
mov r9d, 0x24
lea r8, [rbp + 0x17]
mov qword [rsp + 0x20], rax
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x14000d7fd
cmp dword [rbp + 0x1b], 1
je 0x14000d7fd
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov ecx, dword [rdi + 0x2c]
sub rax, rsi
cmp rax, rcx
ja 0x14000d7fd
cmp dword [rbp + 0x1b], 1
jne 0x14000d7b5
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.14001a2c0
mov rbx, qword [rsp + 0xd0]
add rsp, 0xa0
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000e290
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 8
mov r10, rcx
xor ecx, ecx
test r9, r9
je 0x14000e3b4
cmp r9, 0x40
jb 0x14000e387
lea r11, [r9 - 1]
lea rax, [r8 - 1]
add r11, r10
add rax, r9
cmp r10, rax
ja 0x14000e2c8
cmp r11, r8
jae 0x14000e387
lea rax, [rdx - 1]
add rax, r9
cmp r10, rax
ja 0x14000e2dd
cmp r11, rdx
jae 0x14000e387
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp], rdi
mov rdi, r9
and rdi, 0xffffffffffffffc0
mov r11, rdx
lea rax, [r8 + 0x10]
sub r11, r8
mov rbx, r10
sub rbx, r8
nop dword [rax]
nop word [rax + rax]
movdqu xmm0, xmmword [rax - 0x10]
add rcx, 0x40
movdqu xmm1, xmmword [r11 + rax - 0x10]
movdqu xmm2, xmmword [r11 + rax]
lea rax, [rax + 0x40]
pxor xmm1, xmm0
movdqu xmm0, xmmword [rax - 0x40]
movdqu xmmword [rbx + rax - 0x50], xmm1
pxor xmm2, xmm0
movdqu xmm0, xmmword [rax - 0x30]
movdqu xmm1, xmmword [r11 + rax - 0x30]
movdqu xmmword [rbx + rax - 0x40], xmm2
pxor xmm1, xmm0
movdqu xmm0, xmmword [rax - 0x20]
movdqu xmm2, xmmword [r11 + rax - 0x20]
movdqu xmmword [rbx + rax - 0x30], xmm1
pxor xmm2, xmm0
movdqu xmmword [rbx + rax - 0x20], xmm2
cmp rcx, rdi
jb 0x14000e310
mov rdi, qword [rsp]
mov rbx, qword [rsp + 0x10]
mov rsi, qword [rsp + 0x18]
cmp rcx, r9
jae 0x14000e3b4
sub rdx, r8
lea rax, [rcx + r8]
sub r10, r8
sub r9, rcx
nop dword [rax]
nop dword [rax + rax]
movzx ecx, byte [rax + rdx]
xor cl, byte [rax]
mov byte [rax + r10], cl
lea rax, [rax + 1]
sub r9, 1
jne 0x14000e3a0
add rsp, 8
ret
Function at 0x14000e3c0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x140053010]
xor rax, rsp
mov qword [rsp + 0x48], rax
xorps xmm0, xmm0
lea rax, [rsp + 0x30]
xor esi, esi
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x38]
mov qword [rsp + 0x30], rsi
lea rdx, [rsp + 0x38]
mov rdi, rcx
movups xmmword [rsp + 0x38], xmm0
call fcn.14000f380
test eax, eax
jne 0x14000e578
mov r8d, dword [rsp + 0x38]
mov ecx, dword [rsp + 0x3c]
mov r9d, dword [rsp + 0x40]
bswap ecx
mov ecx, ecx
bswap r8d
bswap r9d
mov r8d, r8d
shl r8, 0x20
or r8, rcx
mov r9d, r9d
mov ecx, dword [rsp + 0x44]
shl r9, 0x20
bswap ecx
mov ecx, ecx
or r9, rcx
mov qword [rsp + 0x68], rbx
cmp dword [0x1400569c4], esi
mov qword [rdi + 0xa0], r9
mov qword [rdi + 0x120], r8
jne 0x14000e48e
mov eax, 1
mov dword [0x1400569c4], 1
xor ecx, ecx
cpuid
mov dword [0x140056bd0], eax
mov dword [0x140056bd4], ebx
mov dword [0x140056bd8], ecx
mov dword [0x140056bdc], edx
mov dword [0x1400569c8], ecx
jmp 0x14000e494
mov ecx, dword [0x1400569c8]
test cl, 2
jne 0x14000e571
mov qword [rdi + 0xe0], rsi
mov qword [rdi + 0x60], rsi
mov ebx, 4
nop dword [rax]
mov eax, r9d
mov rcx, r8
and eax, 1
shl rcx, 0x3f
imul edx, eax, 0xe1000000
mov rax, r9
shr rax, 1
mov r9, rcx
or r9, rax
mov rax, r8
shr rax, 1
mov qword [rdi + rbx*8 + 0x60], r9
mov ecx, edx
shl rcx, 0x20
mov r8, rcx
xor r8, rax
mov qword [rdi + rbx*8 + 0xe0], r8
shr ebx, 1
jne 0x14000e4b0
mov esi, 2
mov ebx, esi
nop dword [rax]
lea rcx, [rdi + 0x60]
mov r9, qword [rcx + rbx*8]
lea rdx, [rdi + 0xe0]
mov r8, qword [rdx + rbx*8]
lea rcx, [rcx + rbx*8]
lea rdx, [rdx + rbx*8]
cmp rbx, 1
jle 0x14000e564
sub rdx, rdi
lea rax, [rdi + 0x68]
sub rcx, rdi
lea r10, [rdx - 0x60]
lea r11, [rcx - 0x60]
lea rdx, [rbx - 1]
nop word [rax + rax]
mov rcx, r8
xor rcx, qword [rax + 0x80]
mov qword [r10 + rax], rcx
lea rax, [rax + 8]
mov rcx, r9
xor rcx, qword [rax - 8]
mov qword [r11 + rax - 8], rcx
sub rdx, 1
jne 0x14000e540
lea eax, [rsi + rsi]
add rbx, rbx
mov esi, eax
cmp eax, 8
jle 0x14000e500
mov rbx, qword [rsp + 0x68]
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14001a2c0
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
Function at 0x14000fac0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movups xmm1, xmmword [rdx]
aeskeygenassist xmm0, xmm1, 1
pshufd xmm3, xmm0, 0xff
pxor xmm3, xmm1
movups xmmword [rcx], xmm1
pslldq xmm1, 4
pxor xmm3, xmm1
pslldq xmm1, 4
pxor xmm3, xmm1
pslldq xmm1, 4
pxor xmm3, xmm1
aeskeygenassist xmm0, xmm3, 2
pshufd xmm1, xmm0, 0xff
pxor xmm1, xmm3
movdqu xmmword [rcx + 0x10], xmm3
pslldq xmm3, 4
movdqa xmm0, xmm3
pslldq xmm3, 4
pxor xmm0, xmm1
movdqa xmm2, xmm3
pxor xmm2, xmm0
pslldq xmm3, 4
pxor xmm2, xmm3
aeskeygenassist xmm0, xmm2, 4
pshufd xmm1, xmm0, 0xff
pxor xmm1, xmm2
movdqu xmmword [rcx + 0x20], xmm2
pslldq xmm2, 4
movdqa xmm0, xmm2
pslldq xmm2, 4
pxor xmm0, xmm1
movdqa xmm3, xmm2
pxor xmm3, xmm0
pslldq xmm2, 4
pxor xmm3, xmm2
aeskeygenassist xmm0, xmm3, 8
pshufd xmm1, xmm0, 0xff
pxor xmm1, xmm3
movdqu xmmword [rcx + 0x30], xmm3
pslldq xmm3, 4
movdqa xmm0, xmm3
pslldq xmm3, 4
pxor xmm0, xmm1
movdqa xmm2, xmm3
pxor xmm2, xmm0
pslldq xmm3, 4
pxor xmm2, xmm3
aeskeygenassist xmm0, xmm2, 0x10
pshufd xmm1, xmm0, 0xff
pxor xmm1, xmm2
movdqu xmmword [rcx + 0x40], xmm2
pslldq xmm2, 4
movdqa xmm0, xmm2
pslldq xmm2, 4
pxor xmm0, xmm1
movdqa xmm3, xmm2
pxor xmm3, xmm0
pslldq xmm2, 4
pxor xmm3, xmm2
aeskeygenassist xmm0, xmm3, 0x20
pshufd xmm1, xmm0, 0xff
pxor xmm1, xmm3
movdqu xmmword [rcx + 0x50], xmm3
pslldq xmm3, 4
movdqa xmm0, xmm3
pslldq xmm3, 4
pxor xmm0, xmm1
movdqa xmm2, xmm3
pxor xmm2, xmm0
pslldq xmm3, 4
pxor xmm2, xmm3
aeskeygenassist xmm0, xmm2, 0x40
pshufd xmm1, xmm0, 0xff
pxor xmm1, xmm2
movdqu xmmword [rcx + 0x60], xmm2
pslldq xmm2, 4
movdqa xmm0, xmm2
pslldq xmm2, 4
movdqa xmm3, xmm2
pxor xmm0, xmm1
pxor xmm3, xmm0
pslldq xmm2, 4
pxor xmm3, xmm2
aeskeygenassist xmm0, xmm3, 0x80
pshufd xmm1, xmm0, 0xff
pxor xmm1, xmm3
movdqu xmmword [rcx + 0x70], xmm3
pslldq xmm3, 4
movdqa xmm0, xmm3
pslldq xmm3, 4
pxor xmm0, xmm1
movdqa xmm2, xmm3
pxor xmm2, xmm0
pslldq xmm3, 4
pxor xmm2, xmm3
aeskeygenassist xmm0, xmm2, 0x1b
pshufd xmm1, xmm0, 0xff
pxor xmm1, xmm2
movdqu xmmword [rcx + 0x80], xmm2
pslldq xmm2, 4
movdqa xmm0, xmm2
pslldq xmm2, 4
pxor xmm0, xmm1
movdqa xmm3, xmm2
pxor xmm3, xmm0
pslldq xmm2, 4
pxor xmm3, xmm2
aeskeygenassist xmm0, xmm3, 0x36
pshufd xmm1, xmm0, 0xff
pxor xmm1, xmm3
movdqu xmmword [rcx + 0x90], xmm3
pslldq xmm3, 4
movdqa xmm0, xmm3
pslldq xmm3, 4
pxor xmm0, xmm1
movdqa xmm1, xmm3
pxor xmm1, xmm0
pslldq xmm3, 4
pxor xmm1, xmm3
movdqu xmmword [rcx + 0xa0], xmm1
ret