joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14002f420
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push rbp
sub rsp, 0x80
lea rbp, [rsp + 0x80]
mov qword [rbp - 8], 0xfffffffffffffffe
xorps xmm0, xmm0
movaps xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
mov edx, 0x10
call qword [sym.imp.ADVAPI32.dll_SystemFunction036]
test al, al
je 0x14002f45f
mov rax, qword [rbp - 0x20]
add rsp, 0x80
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov qword [rbp - 0x10], rax
lea rax, [rbp - 0x10]
mov qword [rbp - 0x30], rax
lea rax, [0x14001fbf0]
mov qword [rbp - 0x28], rax
lea rax, [0x140064130]
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], 1
mov qword [rbp - 0x60], 0
lea rax, [rbp - 0x30]
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], 1
lea rdx, str.library_std_src_syswindows_rand.rs
lea rcx, [rbp - 0x60]
call fcn.1400357c0
ud2

Function at 0x1400352e4
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14003532e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14003532e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14003532e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14003532e
cmp dword [rcx + 0x84], 0xe
jbe 0x14003532e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140035330
xor al, al
add rsp, 0x28
ret
Function at 0x140001140
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor edx, edx
lea r8, [0x140053b70]
mov r9d, edx
mov r10d, 8
mov ecx, r9d
mov eax, r9d
shr ecx, 1
mov r9d, ecx
xor r9d, 0xedb88320
test al, 1
cmove r9d, ecx
sub r10, 1
jne 0x140001152
mov dword [r8], r9d
inc edx
add r8, 4
cmp edx, 0x100
jb 0x140001149
mov byte [0x140053f70], 1
ret

Function at 0x14000118c
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 [0x140051010]
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.14001d4a0
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 0x14000132e
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.1400224e4
mov qword [rdi], rax
test rax, rax
je 0x14000132a
mov rdx, qword [rbp - 0x31]
test rdx, rdx
je 0x14000125d
mov r8d, dword [rbp - 0x29]
mov rcx, rax
add r8, r8
call fcn.14001e560
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 0x14000128a
mov rax, qword [rbp - 1]
test rax, rax
je 0x14000128a
cmp word [rax], r15w
jne 0x14000128a
dec ecx
add rax, 2
mov dword [rbp + 7], ecx
mov qword [rbp - 1], rax
test ecx, ecx
jne 0x14000126e
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.1400224e4
mov qword [rdi + 8], rax
test rax, rax
je 0x1400012fd
mov word [rax], r15w
mov rdx, qword [rbp - 1]
test rdx, rdx
je 0x1400012d2
mov r8d, dword [rbp + 7]
mov rcx, qword [rdi + 8]
add r8, r8
add rcx, 2
call fcn.14001e560
mov rdx, qword [rbp + 0xf]
test rdx, rdx
je 0x1400012f5
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.14001e560
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 0x140001326
cmp ecx, 1
je 0x140001320
mov byte [rdi + 0x16], sil
jmp 0x14000132a
mov byte [rdi + 0x16], 2
jmp 0x14000132a
mov byte [rdi + 0x16], 1
mov al, 1
jmp 0x140001330
xor al, al
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.14001b1a0
mov rbx, qword [rsp + 0xe0]
add rsp, 0xa0
pop r15
pop r13
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400015b4
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [0x140051010]
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 [0x140053f70], 0
jne 0x1400015ed
call fcn.140001140
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, [0x140053b70]
xor ebx, dword [rcx + rax*4]
sub r8, 1
jne 0x1400015fb
call fcn.1400224ec
not ebx
xor eax, ebx
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14001b1a0
add rsp, 0x40
pop rbx
ret

Function at 0x14000177c
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 0x14000179d
inc r9b
cmp r9b, 4
jb 0x14000178f
mov rbx, qword [rsp + 8]
ret
Function at 0x1400017c4
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 [0x140051010]
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 0x14000199c
movups xmm0, xmmword [rbx + 0xb0]
mov r8, rbx
lea rdx, [rbp - 0x20]
xor ecx, ecx
movdqu xmmword [rbp - 0x20], xmm0
call fcn.14000177c
mov sil, 1
lea rdx, [rbp - 0x20]
mov r8, r13
mov rcx, rdx
mov r9, r13
movzx eax, byte [rcx]
lea r10, [0x140040470]
mov al, byte [rax + r10]
mov byte [rcx], al
add rcx, r13
sub r9, 1
jne 0x140001832
inc rdx
sub r8, 1
jne 0x14000182c
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 0x140001962
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 0x1400018ad
mov r8, rbx
lea rdx, [rbp - 0x20]
mov cl, sil
call fcn.14000177c
inc sil
jmp 0x140001825
mov r8, rbx
lea rdx, [rbp - 0x20]
mov cl, 0xa
call fcn.14000177c
mov eax, 0xf
mov cl, byte [rax + rbx + 0xb0]
cmp cl, 0xff
jne 0x140001991
mov byte [rbx + rax + 0xb0], 0
sub rax, 1
jns 0x140001975
jmp 0x14000199a
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 0x1400017fe
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.14001b1a0
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 [0x140051010]
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.1400024f8
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.140002080
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.1400026ec
xor eax, eax
mov rcx, qword [rbp + 0x98]
xor rcx, rsp
call fcn.14001b1a0
mov rbx, qword [rsp + 0x1b8]
add rsp, 0x1a0
pop rbp
ret
Function at 0x1400037a0
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
push r15
inc dword [rcx + 0x80c]
lea r11, [rcx + 0x404]
mov edx, dword [rcx + 0x80c]
lea rdi, [rcx + 0x604]
add edx, dword [rcx + 0x808]
lea rsi, [rcx + 4]
mov r8d, dword [rcx + 0x804]
mov r10, rcx
mov rbx, r11
mov rbp, rdi
cmp r11, rdi
jae 0x1400039c7
mov r14d, 4
mov r15d, 0x3fc
mov ecx, dword [rbx]
mov r9d, r8d
mov eax, ecx
shl r9d, 0xd
and rax, r15
xor r9d, r8d
add r9d, dword [rdi]
add rdi, r14
mov r8d, r9d
shr r8d, 6
mov eax, dword [rax + r11]
xor r8d, r9d
add eax, edx
add eax, r9d
mov dword [rbx], eax
add rbx, r14
shr rax, 8
and rax, r15
add ecx, dword [rax + r11]
mov dword [rsi], ecx
add rsi, r14
add r8d, dword [rdi]
add rdi, r14
mov edx, dword [rbx]
mov eax, edx
and rax, r15
lea r9d, [r8*4]
xor r9d, r8d
mov eax, dword [rax + r11]
add eax, ecx
add eax, r8d
mov dword [rbx], eax
add rbx, r14
shr rax, 8
and rax, r15
mov ecx, dword [rax + r11]
add ecx, edx
mov dword [rsi], ecx
add rsi, r14
add r9d, dword [rdi]
add rdi, r14
mov edx, dword [rbx]
mov r8d, r9d
mov eax, edx
shr r8d, 0x10
and rax, r15
xor r8d, r9d
mov eax, dword [rax + r11]
add eax, ecx
add eax, r9d
mov dword [rbx], eax
add rbx, r14
shr rax, 8
and rax, r15
mov ecx, dword [rax + r11]
add ecx, edx
mov dword [rsi], ecx
add rsi, r14
mov edx, dword [rbx]
mov eax, edx
add r8d, dword [rdi]
and rax, r15
add rdi, r14
mov eax, dword [rax + r11]
add eax, ecx
add eax, r8d
mov dword [rbx], eax
add rbx, r14
shr rax, 8
and rax, r15
add edx, dword [rax + r11]
mov dword [rsi], edx
add rsi, r14
cmp rbx, rbp
jb 0x140003800
mov rdi, r11
mov ecx, dword [rbx]
mov r9d, r8d
mov eax, ecx
shl r9d, 0xd
and rax, r15
xor r9d, r8d
add r9d, dword [rdi]
add rdi, r14
mov r8d, r9d
shr r8d, 6
mov eax, dword [rax + r11]
xor r8d, r9d
add eax, edx
add eax, r9d
mov dword [rbx], eax
add rbx, r14
shr rax, 8
and rax, r15
add ecx, dword [rax + r11]
mov dword [rsi], ecx
add rsi, r14
add r8d, dword [rdi]
add rdi, r14
mov edx, dword [rbx]
mov eax, edx
and rax, r15
lea r9d, [r8*4]
xor r9d, r8d
mov eax, dword [rax + r11]
add eax, ecx
add eax, r8d
mov dword [rbx], eax
add rbx, r14
shr rax, 8
and rax, r15
mov ecx, dword [rax + r11]
add ecx, edx
mov dword [rsi], ecx
add rsi, r14
add r9d, dword [rdi]
add rdi, r14
mov edx, dword [rbx]
mov r8d, r9d
mov eax, edx
shr r8d, 0x10
and rax, r15
xor r8d, r9d
mov eax, dword [rax + r11]
add eax, ecx
add eax, r9d
mov dword [rbx], eax
add rbx, r14
shr rax, 8
and rax, r15
mov ecx, dword [rax + r11]
add ecx, edx
mov dword [rsi], ecx
add rsi, r14
mov edx, dword [rbx]
mov eax, edx
add r8d, dword [rdi]
and rax, r15
add rdi, r14
mov eax, dword [rax + r11]
add eax, ecx
add eax, r8d
mov dword [rbx], eax
add rbx, r14
shr rax, 8
and rax, r15
add edx, dword [rax + r11]
mov dword [rsi], edx
add rsi, r14
cmp rdi, rbp
jb 0x1400038e5
mov rbx, qword [rsp + 0x18]
mov rbp, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x30]
mov dword [r10 + 0x808], edx
mov dword [r10 + 0x804], r8d
pop r15
pop r14
ret
Function at 0x140003c7c
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov edx, dword [0x140054940]
lea r8, [0x140053f80]
cmp edx, 0x270
jl 0x140003d35
mov rdx, r8
lea r11, [0x14005430c]
mov r9d, 0x7fffffff
lea r10, [0x140045d00]
mov ecx, dword [rdx]
xor ecx, dword [rdx + 4]
and ecx, r9d
xor ecx, dword [rdx]
mov eax, ecx
shr ecx, 1
and eax, 1
xor ecx, dword [r10 + rax*4]
xor ecx, dword [rdx + 0x634]
mov dword [rdx], ecx
add rdx, 4
cmp rdx, r11
jl 0x140003cac
lea rdx, [0x14005430c]
lea r11, [0x14005493c]
mov ecx, dword [rdx]
xor ecx, dword [rdx + 4]
and ecx, r9d
xor ecx, dword [rdx]
mov eax, ecx
shr ecx, 1
and eax, 1
xor ecx, dword [r10 + rax*4]
xor ecx, dword [rdx - 0x38c]
mov dword [rdx], ecx
add rdx, 4
cmp rdx, r11
jl 0x140003ce0
mov eax, dword [0x14005493c]
mov ecx, dword [0x140053f80]
and eax, 0x80000000
and ecx, r9d
or ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
xor ecx, dword [r10 + rax*4]
xor ecx, dword [0x1400545b0]
mov dword [0x14005493c], ecx
xor edx, edx
movsxd rax, edx
inc edx
mov dword [0x140054940], edx
mov ecx, dword [r8 + 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 0x1400053a8
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 [0x140051010]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbp, qword [rsp + 0x80]
xor ebx, ebx
mov rsi, r8
test rdx, rdx
je 0x140005441
test r8, r8
je 0x140005441
test rbp, rbp
je 0x140005441
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 0x140005441
test eax, eax
jne 0x140005438
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 0x140005443
xor eax, eax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14001b1a0
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret

Function at 0x1400056d8
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 0x140005732
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 0x140005732
inc ebx
cmp ebx, 0x32
jl 0x14000570f
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 0x140005750
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 0x1400057aa
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 0x1400057aa
inc ebx
cmp ebx, 0x32
jl 0x140005787
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 0x14000be3c
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 0x14000be88
mov rdi, qword [rcx + 8]
cmp rdi, qword [rcx + 0x10]
je 0x14000be88
lea rdx, [r14 + 8]
mov rcx, rdi
call fcn.14000cea4
cmp rax, 0xffffffffffffffff
jne 0x14000be7d
add rdi, 0x60
cmp rdi, qword [rsi + 0x10]
jne 0x14000be5f
jmp 0x14000be88
mov rdx, rdi
mov rcx, rsi
call fcn.14000dc9c
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 0x14000bec0
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edx, 0x3a98
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
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 0x14000dc9c
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 [0x140051010]
xor rax, rsp
mov qword [rbp + 0x3f], rax
cmp byte [rcx + 0x28], 0
mov rbx, rdx
mov rdi, rcx
jne 0x14000de42
and dword [rbp + 0xf], 0
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
cmp qword [rbx + 0x18], 8
mov rsi, rax
jb 0x14000dce5
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 0x14000de42
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 0x14000de39
cmp dword [rbp + 0x1b], 1
je 0x14000de39
jmp 0x14000ddc3
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 0x14000de39
cmp dword [rbp + 0x1b], 1
je 0x14000de39
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov ecx, dword [rdi + 0x2c]
sub rax, rsi
cmp rax, rcx
ja 0x14000de39
cmp dword [rbp + 0x1b], 3
je 0x14000dd79
lea rdx, [rbp + 7]
mov rcx, rdi
call fcn.14000de64
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 0x14000de39
jmp 0x14000de33
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 0x14000de39
cmp dword [rbp + 0x1b], 1
je 0x14000de39
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov edx, dword [rdi + 0x2c]
sub rax, rsi
cmp rax, rdx
ja 0x14000de39
cmp dword [rbp + 0x1b], 1
jne 0x14000ddf1
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.14001b1a0
mov rbx, qword [rsp + 0xd0]
add rsp, 0xa0
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000e800
Capabilities:
Encode data using xor

Disassembly:
push rbx
xor r10d, r10d
mov rbx, rdx
mov r11, rcx
test r9, r9
je 0x14000e954
cmp r9, 8
jb 0x14000e929
lea rcx, [r9 - 1]
lea rax, [r8 - 1]
add rcx, r11
add rax, r9
cmp r11, rax
ja 0x14000e83a
cmp rcx, r8
jae 0x14000e929
lea rax, [r9 - 1]
add rax, rbx
cmp r11, rax
ja 0x14000e84f
cmp rcx, rbx
jae 0x14000e929
mov rcx, rbx
mov qword [rsp + 0x18], rdi
sub rcx, r8
mov rdx, r11
cmp r9, 0x40
jb 0x14000e8e9
mov rdi, r9
mov qword [rsp + 0x10], rsi
and edi, 0x3f
mov rsi, r9
sub rsi, rdi
lea rax, [r8 + 0x10]
sub rdx, r8
nop
movdqu xmm0, xmmword [rax - 0x10]
add r10, 0x40
movdqu xmm1, xmmword [rcx + rax - 0x10]
movdqu xmm2, xmmword [rcx + rax]
lea rax, [rax + 0x40]
xorps xmm1, xmm0
movdqu xmm0, xmmword [rax - 0x40]
movdqu xmmword [rdx + rax - 0x50], xmm1
xorps xmm2, xmm0
movdqu xmm0, xmmword [rax - 0x30]
movdqu xmm1, xmmword [rcx + rax - 0x30]
movdqu xmmword [rdx + rax - 0x40], xmm2
xorps xmm1, xmm0
movdqu xmm0, xmmword [rax - 0x20]
movdqu xmm2, xmmword [rcx + rax - 0x20]
movdqu xmmword [rdx + rax - 0x30], xmm1
xorps xmm2, xmm0
movdqu xmmword [rdx + rax - 0x20], xmm2
cmp r10, rsi
jb 0x14000e880
mov rsi, qword [rsp + 0x10]
cmp rdi, 8
jb 0x14000e91f
jmp 0x14000e8ec
sub rdx, r8
mov rdi, r9
and rdi, 0xfffffffffffffff8
lea rax, [r10 + r8]
nop word [rax + rax]
movq xmm1, qword [rcx + rax]
add r10, 8
movq xmm0, qword [rax]
lea rax, [rax + 8]
xorps xmm1, xmm0
movq qword [rdx + rax - 8], xmm1
cmp r10, rdi
jb 0x14000e900
mov rdi, qword [rsp + 0x18]
cmp r10, r9
jae 0x14000e954
sub rbx, r8
lea rax, [r10 + r8]
sub r11, r8
sub r9, r10
nop word [rax + rax]
movzx ecx, byte [rax + rbx]
xor cl, byte [rax]
mov byte [rax + r11], cl
lea rax, [rax + 1]
sub r9, 1
jne 0x14000e940
pop rbx
ret
Function at 0x14000e960
Capabilities:
Encode data using xor

Disassembly:
push rdi
sub rsp, 0x50
mov rax, qword [0x140051010]
xor rax, rsp
mov qword [rsp + 0x48], rax
xorps xmm0, xmm0
mov qword [rsp + 0x30], 0
lea rax, [rsp + 0x30]
mov rdi, rcx
lea r9, [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x38]
movups xmmword [rsp + 0x38], xmm0
call fcn.14000fb40
test eax, eax
jne 0x14000eafe
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 [0x140054b80], eax
mov qword [rdi + 0xa0], r9
mov qword [rdi + 0x120], r8
jne 0x14000ea2c
mov eax, 1
mov dword [0x140054b80], 1
xor ecx, ecx
cpuid
mov dword [0x140054b88], eax
mov dword [0x140054b8c], ebx
mov dword [0x140054b90], ecx
mov dword [0x140054b94], edx
mov dword [0x140054b84], ecx
jmp 0x14000ea32
mov ecx, dword [0x140054b84]
test cl, 2
jne 0x14000eaf7
mov qword [rdi + 0xe0], 0
mov qword [rdi + 0x60], 0
mov ebx, 4
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 0x14000ea53
mov r10d, 2
mov ebx, r10d
nop
mov r8, qword [rdi + rbx*8 + 0xe0]
mov r9, qword [rdi + rbx*8 + 0x60]
cmp rbx, 1
jle 0x14000eae8
lea rax, [rdi + 0x68]
lea rdx, [rbx - 1]
nop dword [rax + rax]
mov rcx, r8
xor rcx, qword [rax + 0x80]
mov qword [rax + rbx*8 + 0x80], rcx
lea rax, [rax + 8]
mov rcx, r9
xor rcx, qword [rax - 8]
mov qword [rax + rbx*8 - 8], rcx
sub rdx, 1
jne 0x14000eac0
lea eax, [r10 + r10]
add rbx, rbx
mov r10d, eax
cmp eax, 8
jle 0x14000eaa0
mov rbx, qword [rsp + 0x68]
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14001b1a0
add rsp, 0x50
pop rdi
ret