joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14002049c
Capabilities:
Encode data using xor
Encrypt data using rc4 prga
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 8], rcx
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rbx, r9
mov r11, r8
mov rsi, rdx
mov r9, rcx
mov r12, qword [r8 + 0x10]
mov r10, r8
cmp qword [r8 + 0x18], 8
jb 0x1400204db
mov r10, qword [r8]
movabs rax, 0xcbf29ce484222325
mov r8, r10
lea rdx, [r12 + r12]
lea rcx, [rdx + r10]
xor r13d, r13d
cmp r10, rcx
cmova rdx, r13
test rdx, rdx
je 0x140020522
movzx ecx, byte [r8]
xor rax, rcx
movabs rdi, 0x100000001b3
imul rax, rdi
inc r8
mov rcx, r8
sub rcx, r10
cmp rcx, rdx
jne 0x1400204ff
mov r8, qword [r9 + 0x30]
and r8, rax
add r8, r8
mov r15, qword [r9 + 0x18]
mov rdi, qword [r9 + 8]
cmp rdi, qword [r15 + r8*8]
je 0x1400205ee
mov rdi, qword [r15 + r8*8 + 8]
mov rdi, qword [rdi]
cmp rdi, qword [r15 + r8*8]
je 0x1400205ee
mov rdi, qword [rdi + 8]
lea rax, [rdi + 0x10]
mov rcx, rax
cmp qword [rax + 0x18], 8
jb 0x140020565
mov rcx, qword [rax]
mov r10, r11
cmp qword [r11 + 0x18], 8
jb 0x140020572
mov r10, qword [r11]
cmp r12, qword [rax + 0x10]
jne 0x140020546
mov r14, r12
test r12, r12
je 0x1400205b0
movzx eax, word [r10]
movzx edx, word [rcx]
cmp ax, dx
jb 0x140020546
sub r10, rcx
cmp ax, dx
ja 0x140020546
cmp r14, 1
je 0x1400205b0
dec r14
add rcx, 2
movzx eax, word [r10 + rcx]
movzx edx, word [rcx]
cmp ax, dx
jae 0x140020592
jmp 0x140020546
mov rcx, qword [rbx + 8]
mov rax, qword [rbx]
mov qword [rcx], rax
mov rcx, qword [rbx]
mov rax, qword [rbx + 8]
mov qword [rcx + 8], rax
dec qword [r9 + 0x10]
lea rcx, [rbx + 0x10]
call fcn.140006970
mov edx, 0x30
mov rcx, rbx
call fcn.140110004
mov qword [rsi], rdi
mov byte [rsi + 8], r13b
mov rax, rsi
jmp 0x140020682
mov rax, qword [rbx]
cmp rdi, rax
je 0x140020623
mov rcx, qword [rbx + 8]
mov qword [rcx], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rdi
mov rcx, qword [rdi + 8]
mov qword [rcx], rbx
mov rdx, qword [rdi + 8]
mov rcx, qword [rax + 8]
mov qword [rdi + 8], rcx
mov rcx, qword [rbx + 8]
mov qword [rax + 8], rcx
mov qword [rbx + 8], rdx
mov rdx, qword [r9 + 0x18]
mov rax, qword [rdx + r8*8]
cmp rax, qword [r9 + 8]
jne 0x140020640
mov qword [rdx + r8*8], rbx
mov rax, qword [r9 + 0x18]
mov qword [rax + r8*8 + 8], rbx
jmp 0x14002066f
cmp rax, rdi
jne 0x14002064b
mov qword [rdx + r8*8], rbx
jmp 0x14002066f
mov rax, qword [rdx + r8*8 + 8]
mov rcx, qword [rax]
mov qword [rdx + r8*8 + 8], rcx
cmp rcx, rbx
je 0x14002066f
mov rdx, qword [r9 + 0x18]
mov rax, qword [rdx + r8*8 + 8]
mov rcx, qword [rax + 8]
mov qword [rdx + r8*8 + 8], rcx
mov rcx, r9
call fcn.140020e84
nop
mov qword [rsi], rbx
mov byte [rsi + 8], 1
mov rax, rsi
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
Function at 0x140020f80
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, r8
mov rsi, rdx
mov r8, rcx
lea r9, [rdi + 0x10]
cmp qword [r9 + 0x18], 8
mov r10, r9
mov rdx, qword [r9 + 0x10]
jb 0x140020fad
mov r10, qword [r9]
add rdx, rdx
xor ebx, ebx
movabs rax, 0xcbf29ce484222325
mov r11, r10
lea rcx, [rdx + r10]
cmp r10, rcx
cmova rdx, rbx
test rdx, rdx
je 0x140020ff2
movzx ecx, byte [r11]
movabs rbx, 0x100000001b3
xor rax, rcx
inc r11
mov rcx, r11
sub rcx, r10
imul rax, rbx
cmp rcx, rdx
jne 0x140020fcf
mov rdx, qword [r8 + 0x30]
mov rcx, qword [r8 + 0x18]
and rdx, rax
add rdx, rdx
cmp qword [rcx + rdx*8 + 8], rdi
jne 0x14002102a
cmp qword [rcx + rdx*8], rdi
jne 0x14002101f
mov rax, qword [r8 + 8]
mov qword [rcx + rdx*8], rax
mov rcx, qword [r8 + 0x18]
mov rax, qword [r8 + 8]
jmp 0x140021023
mov rax, qword [rdi + 8]
mov qword [rcx + rdx*8 + 8], rax
jmp 0x140021037
cmp qword [rcx + rdx*8], rdi
jne 0x140021037
mov rax, qword [rdi]
mov qword [rcx + rdx*8], rax
mov rax, qword [rdi + 8]
mov rcx, r9
mov rbx, qword [rdi]
mov qword [rax], rbx
mov rdx, qword [rdi]
mov rax, qword [rdi + 8]
mov qword [rdx + 8], rax
dec qword [r8 + 0x10]
call fcn.140006970
mov edx, 0x30
mov rcx, rdi
call fcn.140110004
mov qword [rsi], rbx
mov rax, rsi
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14002149c
Capabilities:
Encode data using xor
Encrypt data using rc4 prga
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 8], rcx
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rbx, r9
mov r11, r8
mov rsi, rdx
mov r9, rcx
mov r12, qword [r8 + 0x10]
mov r10, r8
cmp qword [r8 + 0x18], 8
jb 0x1400214db
mov r10, qword [r8]
movabs rax, 0xcbf29ce484222325
mov r8, r10
lea rdx, [r12 + r12]
lea rcx, [r10 + rdx]
xor r13d, r13d
cmp r10, rcx
cmova rdx, r13
test rdx, rdx
je 0x140021522
movzx ecx, byte [r8]
xor rax, rcx
movabs rdi, 0x100000001b3
imul rax, rdi
inc r8
mov rcx, r8
sub rcx, r10
cmp rcx, rdx
jne 0x1400214ff
mov r8, qword [r9 + 0x30]
and r8, rax
add r8, r8
mov r15, qword [r9 + 0x18]
mov rdi, qword [r9 + 8]
cmp rdi, qword [r15 + r8*8]
je 0x1400215ee
mov rdi, qword [r15 + r8*8 + 8]
mov rdi, qword [rdi]
cmp rdi, qword [r15 + r8*8]
je 0x1400215ee
mov rdi, qword [rdi + 8]
lea rax, [rdi + 0x10]
mov rcx, rax
cmp qword [rax + 0x18], 8
jb 0x140021565
mov rcx, qword [rax]
mov r10, r11
cmp qword [r11 + 0x18], 8
jb 0x140021572
mov r10, qword [r11]
cmp r12, qword [rax + 0x10]
jne 0x140021546
mov r14, r12
test r12, r12
je 0x1400215b0
movzx eax, word [r10]
movzx edx, word [rcx]
cmp ax, dx
jb 0x140021546
sub r10, rcx
cmp ax, dx
ja 0x140021546
cmp r14, 1
je 0x1400215b0
dec r14
add rcx, 2
movzx eax, word [r10 + rcx]
movzx edx, word [rcx]
cmp ax, dx
jae 0x140021592
jmp 0x140021546
mov rcx, qword [rbx + 8]
mov rax, qword [rbx]
mov qword [rcx], rax
mov rcx, qword [rbx]
mov rax, qword [rbx + 8]
mov qword [rcx + 8], rax
dec qword [r9 + 0x10]
lea rcx, [rbx + 0x10]
call fcn.140006970
mov edx, 0x30
mov rcx, rbx
call fcn.140110004
mov qword [rsi], rdi
mov byte [rsi + 8], r13b
mov rax, rsi
jmp 0x140021682
mov rax, qword [rbx]
cmp rdi, rax
je 0x140021623
mov rcx, qword [rbx + 8]
mov qword [rcx], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rdi
mov rcx, qword [rdi + 8]
mov qword [rcx], rbx
mov rdx, qword [rdi + 8]
mov rcx, qword [rax + 8]
mov qword [rdi + 8], rcx
mov rcx, qword [rbx + 8]
mov qword [rax + 8], rcx
mov qword [rbx + 8], rdx
mov rdx, qword [r9 + 0x18]
mov rax, qword [rdx + r8*8]
cmp rax, qword [r9 + 8]
jne 0x140021640
mov qword [rdx + r8*8], rbx
mov rax, qword [r9 + 0x18]
mov qword [rax + r8*8 + 8], rbx
jmp 0x14002166f
cmp rax, rdi
jne 0x14002164b
mov qword [rdx + r8*8], rbx
jmp 0x14002166f
mov rax, qword [rdx + r8*8 + 8]
mov rcx, qword [rax]
mov qword [rdx + r8*8 + 8], rcx
cmp rcx, rbx
je 0x14002166f
mov rdx, qword [r9 + 0x18]
mov rax, qword [rdx + r8*8 + 8]
mov rcx, qword [rax + 8]
mov qword [rdx + r8*8 + 8], rcx
mov rcx, r9
call fcn.140020e84
nop
mov qword [rsi], rbx
mov byte [rsi + 8], 1
mov rax, rsi
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
Function at 0x14003a2c0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rdi
mov r9, rcx
mov r10d, 0x270
mov ecx, dword [rcx]
cmp ecx, r10d
jne 0x14003a31f
lea r8, [r9 + 8]
mov r11d, 0x7fffffff
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
and edx, r11d
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r10, 1
jne 0x14003a2df
mov ecx, dword [r9]
jmp 0x14003a3fd
cmp ecx, 0x4e0
jb 0x14003a3fd
lea r10, [r9 + 0x9c4]
mov edi, 0xe3
mov eax, dword [r10]
mov r11d, 0x7fffffff
mov edx, eax
lea r8, [r10 + 4]
xor edx, dword [r8]
and edx, r11d
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 + 0x634]
xor ecx, edx
mov dword [r10 - 0x9c0], ecx
lea r10, [r8]
sub rdi, 1
jne 0x14003a340
lea r10, [r9 + 0xd50]
mov edi, 0x18c
mov eax, dword [r10]
mov edx, eax
lea r8, [r10 + 4]
xor edx, dword [r8]
and edx, r11d
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 - 0xd4c]
xor ecx, edx
mov dword [r10 - 0x9c0], ecx
lea r10, [r8]
sub rdi, 1
jne 0x14003a389
mov edx, dword [r9 + 0x1380]
xor edx, dword [r9 + 4]
and edx, r11d
xor edx, dword [r9 + 0x1380]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
xor ecx, ecx
mov dword [r9], ecx
mov rdi, qword [rsp + 8]
mov eax, ecx
mov edx, dword [r9 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r9], eax
mov ecx, edx
mov eax, dword [r9 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
ret

Function at 0x1400485a8
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
lea r9, [r8 + 8]
mov rbx, rcx
cmp r9, r8
movabs rax, 0xcbf29ce484222325
mov r11, r8
sbb r10, r10
not r10
and r10d, 8
cmp r8, r9
ja 0x1400485f6
movzx ecx, byte [r11]
movabs r9, 0x100000001b3
xor rax, rcx
inc r11
mov rcx, r11
sub rcx, r8
imul rax, r9
cmp rcx, r10
jne 0x1400485d3
mov r9, qword [rbx + 0x30]
mov r11, qword [rbx + 0x18]
and r9, rax
add r9, r9
mov r10, qword [r11 + r9*8]
mov rcx, r10
cmp r10, qword [rbx + 8]
jne 0x140048617
mov rax, qword [rbx + 8]
jmp 0x14004861f
mov rax, qword [r11 + r9*8 + 8]
mov rax, qword [rax]
cmp rcx, rax
je 0x140048632
mov rax, qword [r8]
cmp qword [rcx + 0x10], rax
je 0x140048636
mov rcx, qword [rcx]
jmp 0x14004860b
mov rcx, qword [rbx + 8]
mov qword [rdx], rcx
mov rax, rdx
mov rbx, qword [rsp + 8]
ret
Function at 0x140049cdc
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov rdi, r8
mov rsi, rdx
mov r8, rcx
movabs rax, 0xcbf29ce484222325
lea r11, [rdi + 0x10]
lea rdx, [r11 + 8]
mov r9, r11
cmp rdx, r11
sbb r10, r10
not r10
and r10d, 8
cmp r11, rdx
ja 0x140049d3e
movzx ecx, byte [r9]
movabs rdx, 0x100000001b3
xor rax, rcx
inc r9
mov rcx, r9
sub rcx, r11
imul rax, rdx
cmp rcx, r10
jne 0x140049d1b
mov rdx, qword [r8 + 0x30]
mov rcx, qword [r8 + 0x18]
and rdx, rax
add rdx, rdx
cmp qword [rcx + rdx*8 + 8], rdi
jne 0x140049d76
cmp qword [rcx + rdx*8], rdi
jne 0x140049d6b
mov rax, qword [r8 + 8]
mov qword [rcx + rdx*8], rax
mov rcx, qword [r8 + 0x18]
mov rax, qword [r8 + 8]
jmp 0x140049d6f
mov rax, qword [rdi + 8]
mov qword [rcx + rdx*8 + 8], rax
jmp 0x140049d83
cmp qword [rcx + rdx*8], rdi
jne 0x140049d83
mov rax, qword [rdi]
mov qword [rcx + rdx*8], rax
mov rcx, qword [rdi + 8]
mov rbx, qword [rdi]
mov qword [rcx], rbx
mov rcx, qword [rdi + 8]
mov rdx, qword [rdi]
mov qword [rdx + 8], rcx
lea rcx, [r11 + 8]
dec qword [r8 + 0x10]
call fcn.140045230
mov edx, pe_nt_image_headers64
mov rcx, rdi
call fcn.140110004
mov qword [rsi], rbx
mov rax, rsi
mov rsi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x14004afa4
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
push rdi
push r14
sub rsp, 0x20
mov rdi, r8
mov r14, rdx
mov r8, rcx
movabs rax, 0xcbf29ce484222325
lea r9, [rdi + 0x10]
lea rdx, [r9 + 8]
mov r11, r9
cmp rdx, r9
sbb r10, r10
not r10
and r10d, 8
cmp r9, rdx
ja 0x14004b004
movzx ecx, byte [r11]
movabs rdx, 0x100000001b3
xor rax, rcx
inc r11
mov rcx, r11
sub rcx, r9
imul rax, rdx
cmp rcx, r10
jne 0x14004afe1
mov rdx, qword [r8 + 0x30]
mov rcx, qword [r8 + 0x18]
and rdx, rax
add rdx, rdx
cmp qword [rcx + rdx*8 + 8], rdi
jne 0x14004b03c
cmp qword [rcx + rdx*8], rdi
jne 0x14004b031
mov rax, qword [r8 + 8]
mov qword [rcx + rdx*8], rax
mov rcx, qword [r8 + 0x18]
mov rax, qword [r8 + 8]
jmp 0x14004b035
mov rax, qword [rdi + 8]
mov qword [rcx + rdx*8 + 8], rax
jmp 0x14004b049
cmp qword [rcx + rdx*8], rdi
jne 0x14004b049
mov rax, qword [rdi]
mov qword [rcx + rdx*8], rax
mov rax, qword [rdi + 8]
mov rbx, qword [rdi]
mov qword [rax], rbx
mov rcx, qword [rdi]
mov rax, qword [rdi + 8]
mov qword [rcx + 8], rax
lea rcx, [rdi + 0x38]
dec qword [r8 + 0x10]
call fcn.14004531c
mov rcx, qword [rdi + 0x38]
mov edx, 0x30
call fcn.140110004
lea rcx, [rdi + 0x20]
call fcn.14004531c
mov rcx, qword [rdi + 0x20]
mov edx, 0x30
call fcn.140110004
mov edx, 0x58
mov rcx, rdi
call fcn.140110004
mov qword [r14], rbx
mov rax, r14
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
Function at 0x14004b844
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], r9
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x50
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rax, qword [0x1401e0fc0]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rbx, r9
mov r10, r8
mov r14, rdx
mov rsi, rcx
mov qword [rsp + 0x20], rcx
movabs rax, 0xcbf29ce484222325
mov r9, r8
lea rdx, [r8 + 8]
cmp rdx, r8
sbb r8, r8
not r8
and r8d, 8
cmp r9, rdx
ja 0x14004b8c3
movzx ecx, byte [r9]
xor rax, rcx
movabs rdx, 0x100000001b3
imul rax, rdx
inc r9
mov rcx, r9
sub rcx, r10
cmp rcx, r8
jne 0x14004b8a0
mov r8, qword [rsi + 0x30]
and r8, rax
add r8, r8
mov rcx, qword [rsi + 0x18]
mov rdi, qword [rsi + 8]
cmp qword [rcx + r8*8], rdi
je 0x14004b8e3
mov rdi, qword [rcx + r8*8 + 8]
mov rdi, qword [rdi]
mov r9, rdi
cmp r9, qword [rcx + r8*8]
je 0x14004b93b
mov rdi, qword [rdi + 8]
mov r9, rdi
mov rax, qword [rdi + 0x10]
cmp qword [r10], rax
jne 0x14004b8e6
mov rdx, qword [rbx + 8]
mov rcx, qword [rbx]
mov qword [rdx], rcx
mov rdx, qword [rbx]
mov rcx, qword [rbx + 8]
mov qword [rdx + 8], rcx
dec qword [rsi + 0x10]
lea rcx, [rbx + 0x18]
call fcn.140045230
mov edx, pe_nt_image_headers64
mov rcx, rbx
call fcn.140110004
mov qword [r14], rdi
mov byte [r14 + 8], 0
mov rax, r14
jmp 0x14004ba5d
mov qword [rsp + 0x28], rbx
mov rax, qword [rbx]
cmp r9, rax
je 0x14004b975
mov rcx, qword [rbx + 8]
mov qword [rcx], rax
mov rcx, qword [rax + 8]
mov qword [rcx], r9
mov rcx, qword [r9 + 8]
mov qword [rcx], rbx
mov rdx, qword [r9 + 8]
mov rcx, qword [rax + 8]
mov qword [r9 + 8], rcx
mov rcx, qword [rbx + 8]
mov qword [rax + 8], rcx
mov qword [rbx + 8], rdx
mov rdx, qword [rsi + 0x18]
mov rax, qword [rdx + r8*8]
cmp rax, qword [rsi + 8]
jne 0x14004b992
mov qword [rdx + r8*8], rbx
mov rax, qword [rsi + 0x18]
mov qword [rax + r8*8 + 8], rbx
jmp 0x14004b9c1
cmp rax, r9
jne 0x14004b99d
mov qword [rdx + r8*8], rbx
jmp 0x14004b9c1
mov rax, qword [rdx + r8*8 + 8]
mov rcx, qword [rax]
mov qword [rdx + r8*8 + 8], rcx
cmp rcx, rbx
je 0x14004b9c1
mov rdx, qword [rsi + 0x18]
mov rax, qword [rdx + r8*8 + 8]
mov rcx, qword [rax + 8]
mov qword [rdx + r8*8 + 8], rcx
mov rax, qword [rsi + 0x10]
mov rdx, qword [rsi + 0x38]
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
movss xmm1, dword [0x14017fba8]
test rax, rax
jns 0x14004b9e2
addss xmm0, xmm1
xorps xmm2, xmm2
cvtsi2ss xmm2, rdx
test rdx, rdx
jns 0x14004b9f3
addss xmm2, xmm1
divss xmm0, xmm2
comiss xmm0, dword [rsi]
jbe 0x14004ba52
cmp rdx, 0x200
jae 0x14004ba0b
shl rdx, 3
jmp 0x14004ba1d
movabs rax, 0xfffffffffffffff
cmp rdx, rax
jae 0x14004ba1d
add rdx, rdx
mov rcx, rsi
call fcn.140044394
mov rax, qword [rsi + 8]
cmp qword [rax], rax
je 0x14004ba52
mov r15, qword [rax + 8]
mov rdi, qword [rsi + 8]
mov rdi, qword [rdi]
lea r8, [rdi + 0x10]
mov r9, rdi
lea rdx, [rsp + 0x38]
mov rcx, rsi
call fcn.14004b844
cmp rdi, r15
jne 0x14004ba32
mov qword [r14], rbx
mov byte [r14 + 8], 1
mov rax, r14
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14010fb20
add rsp, 0x50
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
Function at 0x14004c8bc
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], r9
push rsi
push rdi
push r14
sub rsp, 0x50
mov qword [rax - 0x40], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x1401e0fc0]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rbx, r9
mov r11, r8
mov r14, rdx
mov r10, rcx
mov qword [rsp + 0x20], rcx
movabs rax, 0xcbf29ce484222325
lea rcx, [r8 + 8]
cmp rcx, r8
sbb rdx, rdx
not rdx
and edx, 8
cmp r8, rcx
ja 0x14004c939
movzx ecx, byte [r8]
xor rax, rcx
movabs r9, 0x100000001b3
imul rax, r9
inc r8
mov rcx, r8
sub rcx, r11
cmp rcx, rdx
jne 0x14004c916
mov r9, qword [r10 + 0x30]
and r9, rax
add r9, r9
mov rcx, qword [r10 + 0x18]
mov rdi, qword [r10 + 8]
cmp qword [rcx + r9*8], rdi
je 0x14004c959
mov rdi, qword [rcx + r9*8 + 8]
mov rdi, qword [rdi]
mov r8, rdi
cmp r8, qword [rcx + r9*8]
je 0x14004c9d6
mov rdi, qword [rdi + 8]
mov r8, rdi
mov rax, qword [rdi + 0x10]
cmp qword [r11], rax
jne 0x14004c95c
mov rcx, qword [rbx + 8]
mov rax, qword [rbx]
mov qword [rcx], rax
mov rcx, qword [rbx]
mov rax, qword [rbx + 8]
mov qword [rcx + 8], rax
dec qword [r10 + 0x10]
lea rcx, [rbx + 0x38]
call fcn.14004531c
mov edx, 0x30
mov rcx, qword [rbx + 0x38]
call fcn.140110004
lea rcx, [rbx + 0x20]
call fcn.14004531c
mov edx, 0x30
mov rcx, qword [rbx + 0x20]
call fcn.140110004
mov edx, 0x58
mov rcx, rbx
call fcn.140110004
mov qword [r14], rdi
mov byte [r14 + 8], 0
mov rax, r14
jmp 0x14004ca6b
mov rax, qword [rbx]
cmp r8, rax
je 0x14004ca0b
mov rcx, qword [rbx + 8]
mov qword [rcx], rax
mov rcx, qword [rax + 8]
mov qword [rcx], r8
mov rcx, qword [r8 + 8]
mov qword [rcx], rbx
mov rdx, qword [r8 + 8]
mov rcx, qword [rax + 8]
mov qword [r8 + 8], rcx
mov rcx, qword [rbx + 8]
mov qword [rax + 8], rcx
mov qword [rbx + 8], rdx
mov rcx, qword [r10 + 0x18]
mov rax, qword [rcx + r9*8]
cmp rax, qword [r10 + 8]
jne 0x14004ca28
mov qword [rcx + r9*8], rbx
mov rax, qword [r10 + 0x18]
mov qword [rax + r9*8 + 8], rbx
jmp 0x14004ca57
cmp rax, r8
jne 0x14004ca33
mov qword [rcx + r9*8], rbx
jmp 0x14004ca57
mov rax, qword [rcx + r9*8 + 8]
mov rdx, qword [rax]
mov qword [rcx + r9*8 + 8], rdx
cmp rdx, rbx
je 0x14004ca57
mov r8, qword [r10 + 0x18]
mov rax, qword [r8 + r9*8 + 8]
mov rdx, qword [rax + 8]
mov qword [r8 + r9*8 + 8], rdx
mov rcx, r10
call fcn.14004d2a8
nop
mov qword [r14], rbx
mov byte [r14 + 8], 1
mov rax, r14
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14010fb20
mov rbx, qword [rsp + 0x80]
add rsp, 0x50
pop r14
pop rdi
pop rsi
ret
Function at 0x14008b4d4
Capabilities:
Start service
Stop service

Disassembly:
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x58], rsi
mov sil, cl
mov ebx, 0x10
mov r8d, ebx
lea rdx, str.ServicesActive
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rdi, rax
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x38]
test rax, rax
je 0x14008b5d9
mov r8d, ebx
lea rdx, str.wdnisdrv
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rbx, rax
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x38]
test rax, rax
je 0x14008b5eb
xor r8d, r8d
mov rcx, rax
test sil, sil
je 0x14008b57e
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x14008b571
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x420
je 0x14008b571
mov edx, 1
jmp 0x14008b573
xor dl, dl
mov rcx, qword [rsp + 0x38]
test dl, dl
jne 0x14008b5c7
jmp 0x14008b592
mov edx, 1
call qword [sym.imp.ADVAPI32.dll_ControlService]
mov rcx, qword [rsp + 0x38]
test eax, eax
je 0x14008b5b5
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
nop
mov rcx, rdi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
jmp qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
lea r8, [0x14017ca50]
mov edx, 0x1a
call fcn.1400290d4
int3
lea r8, [0x14017ca50]
mov edx, 0x16
call fcn.1400290d4
nop
lea r8, [0x14017ca50]
mov edx, reloc.WS2_32.dll_ntohs
call fcn.1400290d4
nop
lea r8, [0x14017ca50]
mov edx, 0x12
call fcn.1400290d4
int3

Function at 0x140090494
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov ebx, dword [rdx]
mov rdi, r8
mov rsi, rdx
mov r8d, ebx
mov rdx, rdi
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
xor edx, edx
mov r9d, eax
test eax, eax
jne 0x140090508
call fcn.140091428
mov ebx, eax
mov rcx, qword [0x1401d5090]
lea rax, [0x1401d5090]
cmp rcx, rax
je 0x140090504
test byte [rcx + 0x1c], 1
je 0x140090504
mov rcx, qword [rcx + 0x10]
lea r8, [0x14017cda0]
mov edx, 0x38
mov dword [rsp + 0x20], ebx
mov r9, rbp
call fcn.14008edd0
mov eax, ebx
jmp 0x14009052a
cmp r9d, ebx
ja 0x14009051e
lea eax, [r9 - 1]
cmp word [rdi + rax*2], dx
je 0x140090525
mov eax, 0x8000ffff
jmp 0x14009052a
test ebx, ebx
je 0x140090525
mov word [rdi], dx
mov qword [rsi], r9
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x14009080c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, rcx
mov rdi, rdx
mov rcx, rdx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x140090875
call fcn.140091428
mov ebx, eax
lea ecx, [rax + 0x7ff8fffe]
cmp ecx, 1
jbe 0x140090871
mov rcx, qword [0x1401d5090]
lea rax, [0x1401d5090]
cmp rcx, rax
je 0x140090871
test byte [rcx + 0x1c], 1
je 0x140090871
mov rcx, qword [rcx + 0x10]
lea r8, [0x14017cda0]
mov edx, 0x3d
mov dword [rsp + 0x20], ebx
mov r9, rdi
call fcn.14008edd0
mov eax, ebx
jmp 0x140090879
mov dword [rbx], eax
xor eax, eax
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x140090b24
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x10], rdx
push rsi
push rdi
push r14
sub rsp, 0x30
mov rbp, qword [r9]
mov rbx, r9
mov eax, ebp
mov r14, r8
mov dword [rsp + 0x58], eax
cmp rax, rbp
je 0x140090b59
mov eax, 0x80070057
jmp 0x140090c2f
mov rsi, qword [rsp + 0x70]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea rdx, str.SenseEnabled
mov r9, r14
mov qword [rsp + 0x20], rsi
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
test edi, edi
js 0x140090bb6
test rsi, rsi
je 0x140090bad
mov eax, dword [rsp + 0x58]
cmp rax, qword [rbx]
jbe 0x140090bad
mov qword [rbx], rax
mov eax, 0x800700ea
jmp 0x140090c2f
mov eax, dword [rsp + 0x58]
mov qword [rbx], rax
jmp 0x140090c1c
mov eax, 0x80070002
cmp edi, eax
je 0x140090c2f
mov eax, 0x800700ea
cmp edi, eax
je 0x140090c05
mov rcx, qword [0x1401d5090]
lea rax, [0x1401d5090]
cmp rcx, rax
je 0x140090c01
test byte [rcx + 0x1c], 1
je 0x140090c01
mov rcx, qword [rcx + 0x10]
lea r9, str.SenseEnabled
mov edx, 0x15
mov dword [rsp + 0x20], edi
lea r8, [0x14017cdb0]
call fcn.14008edd0
mov eax, edi
jmp 0x140090c18
mov ecx, dword [rsp + 0x58]
cmp qword [rbx], rcx
jb 0x140090c15
mov eax, 0x8000ffff
jmp 0x140090c2f
mov qword [rbx], rcx
test eax, eax
js 0x140090c2f
mov r8d, dword [r14]
mov r9, rbx
mov rdx, rbp
mov qword [rsp + 0x20], rsi
call fcn.140090a58
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret