joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001bc90
Capabilities:
Get windows directory from kuser_shared_data

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov qword [rax + 8], rcx
push rbp
push rdi
push r14
lea rbp, [rax - 0x228]
sub rsp, 0x310
xor r14d, r14d
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
mov ecx, 0x7f7fffff
mov qword [rsp + 0x30], r14
xorps xmm7, xmm7
mov qword [rsp + 0x38], r14
movaps xmm6, xmm2
mov dword [rsp + 0x40], r14d
mov rsi, rdx
mov byte [rsp + 0x60], r14b
mov dword [rsp + 0x64], r14d
call fcn.140030720
mov ecx, 0x3f800000
movss dword [rsp + 0x68], xmm0
mov byte [rsp + 0x6c], r14b
mov dword [rsp + 0x70], r14d
call fcn.140030720
mov ecx, 0x3f800000
mov qword [rsp + 0x78], r14
mov byte [rsp + 0x4c], 1
mov dword [rsp + 0x44], 3
mov dword [rsp + 0x48], 1
call fcn.140030720
movss dword [rsp + 0x74], xmm0
lea rcx, [rbp - 0x20]
movabs rax, 0x9d66c35702260e09
xor edx, edx
mov qword [rbp - 0x80], rax
mov r8d, 0x200
movabs rax, 0x29a5c56218761f7e
mov qword [rbp - 0x78], rax
movabs rax, 0x9d08c33802600e55
movdqa xmm0, xmmword [rbp - 0x80]
mov qword [rsp + 0x20], rax
movabs rax, 0x29a5c53e18051f0a
mov qword [rsp + 0x28], rax
xorps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm0
call fcn.1400a6950
lea rax, [rbp - 0x20]
mov rbx, 0xffffffffffffffff
mov qword [rbp + 0x1e0], rax
mov edx, 0x7ffe0030
mov rdi, rbx
inc rdi
cmp word [rdx + rdi*2], r14w
jne 0x14001bda1
add rdi, rdi
lea rcx, [rbp - 0x20]
mov r8, rdi
call fcn.1400a62b0
mov rcx, qword [rbp + 0x1e0]
lea rax, [rsp + 0x20]
add rcx, rdi
mov rdi, rbx
mov qword [rbp + 0x1e0], rcx
inc rdi
cmp word [rax + rdi*2], r14w
jne 0x14001bdd3
add rdi, rdi
lea rdx, [rsp + 0x20]
mov r8, rdi
call fcn.1400a62b0
mov rcx, qword [rbp + 0x1e0]
add rcx, rdi
mov qword [rbp + 0x1e0], rcx
nop
inc rbx
cmp word [rsi + rbx*2], r14w
jne 0x14001be00
add rbx, rbx
mov rdx, rsi
mov r8, rbx
call fcn.1400a62b0
add qword [rbp + 0x1e0], rbx
lea r8, [rbp + 0x238]
mov r9b, 1
mov qword [rbp + 0x230], r14
lea rdx, [rbp + 0x230]
mov qword [rbp + 0x238], r14
lea rcx, [rbp - 0x20]
call fcn.14002e040
mov rdx, qword [rbp + 0x230]
test rdx, rdx
je 0x14001bebe
mov rcx, qword [rbp + 0x238]
test rcx, rcx
je 0x14001bebe
movups xmm0, xmmword [rsp + 0x30]
movups xmm1, xmmword [rsp + 0x40]
mov rax, qword [0x1401c50d0]
movups xmmword [rbp - 0x70], xmm0
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rbp - 0x60], xmm1
movups xmm1, xmmword [rsp + 0x70]
mov qword [rbp - 0x70], rdx
lea rdx, [rbp - 0x70]
mov dword [rbp - 0x68], ecx
mov rcx, qword [rax + 0x40]
movups xmmword [rbp - 0x40], xmm0
mov byte [rbp - 0x40], r14b
movss dword [rbp - 0x60], xmm6
movups xmmword [rbp - 0x50], xmm7
movups xmmword [rbp - 0x30], xmm1
call fcn.140021e00
mov rcx, qword [0x1401c50d0]
cmp qword [rcx + 0x78], r14
jne 0x14001bec1
mov qword [rcx + 0x78], rax
jmp 0x14001bec1
mov rax, r14
lea r11, [rsp + 0x310]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x1400285c0
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x10], rdx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x20
xor edi, edi
mov r14d, 0xa6d99f45
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax]
nop dword [rax + rax]
movups xmm0, xmmword [rax + 0x58]
movd ecx, xmm0
sub cx, 8
test edi, edi
je 0x140028663
psrldq xmm0, 8
movq r9, xmm0
movzx ecx, cx
shr rcx, 1
lea r11, [r9 + rcx*2]
mov r10d, 0x811c9dc5
cmp r9, r11
je 0x14002865a
nop
movsx ecx, byte [r9]
mov edx, ecx
sub cl, 0x41
mov r8d, edx
or r8d, 0x20
cmp cl, 0x19
cmova r8d, edx
xor r8d, r10d
imul r10d, r8d, 0x1000193
add r9, 2
cmp r9, r11
jne 0x140028630
cmp r10d, edi
jne 0x1400287da
mov rbx, qword [rax + 0x30]
test rbx, rbx
je 0x1400287e2
movsxd rcx, dword [rbx + 0x3c]
mov rdx, qword [rcx + rbx + 0x88]
mov r12, rdx
shr r12, 0x20
mov esi, edx
add rsi, rbx
cmp rsi, rbx
je 0x1400287da
mov r11d, dword [rsi + 0x18]
test r11d, r11d
je 0x1400287da
mov r15d, dword [rsi + 0x20]
dec r11d
lea rcx, [rbx + r11*4]
mov r8d, dword [rcx + r15]
add r8, rbx
mov r10d, 0x811c9dc5
movzx r9d, byte [r8]
inc r8
test r9b, r9b
je 0x1400286ed
movsx ecx, r9b
sub r9b, 0x41
mov edx, ecx
or edx, 0x20
cmp r9b, 0x19
cmova edx, ecx
xor edx, r10d
imul r10d, edx, 0x1000193
movzx r9d, byte [r8]
lea r8, [r8 + 1]
test r9b, r9b
jne 0x1400286c2
cmp r10d, r14d
je 0x1400286ff
test r11d, r11d
jne 0x1400286a2
mov rax, qword [rax]
jmp 0x140028600
mov ecx, dword [rsi + 0x24]
add rcx, rbx
movzx edx, word [rcx + r11*2]
mov ecx, dword [rsi + 0x1c]
add rcx, rbx
mov eax, dword [rcx + rdx*4]
add rax, rbx
cmp rax, rsi
jbe 0x1400287e4
lea rcx, [rsi + r12]
cmp rax, rcx
jae 0x1400287e4
mov edi, 0x811c9dc5
mov dword [rsp + 0x58], edi
mov r9d, edi
mov dword [rsp + 0x5c], edi
movzx r8d, byte [rax]
cmp r8b, 0x2e
je 0x14002877d
nop word [rax + rax]
movsx ecx, r8b
sub r8b, 0x41
mov edx, ecx
or edx, 0x20
cmp r8b, 0x19
cmova edx, ecx
xor edx, edi
imul edi, edx, 0x1000193
inc rax
movzx r8d, byte [rax]
cmp r8b, 0x2e
jne 0x140028750
mov dword [rsp + 0x58], edi
inc rax
movzx r8d, byte [rax]
test r8b, r8b
je 0x1400287c0
nop dword [rax]
movsx ecx, r8b
sub r8b, 0x41
mov edx, ecx
or edx, 0x20
cmp r8b, 0x19
cmova edx, ecx
xor edx, r9d
imul r9d, edx, 0x1000193
lea rax, [rax + 1]
movzx r8d, byte [rax]
test r8b, r8b
jne 0x140028790
mov dword [rsp + 0x5c], r9d
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov r14, qword [rsp + 0x58]
shr r14, 0x20
mov rax, qword [rax]
jmp 0x140028600
xor eax, eax
lea rcx, [0x140027910]
call rax
mov qword [0x1401c51f8], rax
mov al, 1
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x14002d630
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rax, qword [rcx]
test rax, rax
je 0x14002d87e
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], 0
xor edi, edi
mov r14d, 0x68d17ae7
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax]
nop word [rax + rax]
movups xmm0, xmmword [rax + 0x58]
movd ecx, xmm0
sub cx, 8
test edi, edi
je 0x14002d6e3
psrldq xmm0, 8
movq r9, xmm0
movzx ecx, cx
shr rcx, 1
lea r11, [r9 + rcx*2]
mov r10d, 0x811c9dc5
cmp r9, r11
je 0x14002d6da
nop
movsx ecx, byte [r9]
mov edx, ecx
sub cl, 0x41
mov r8d, edx
or r8d, 0x20
cmp cl, 0x19
cmova r8d, edx
xor r8d, r10d
imul r10d, r8d, 0x1000193
add r9, 2
cmp r9, r11
jne 0x14002d6b0
cmp r10d, edi
jne 0x14002d85a
mov rbx, qword [rax + 0x30]
test rbx, rbx
je 0x14002d862
movsxd rcx, dword [rbx + 0x3c]
mov rdx, qword [rcx + rbx + 0x88]
mov r12, rdx
shr r12, 0x20
mov esi, edx
add rsi, rbx
cmp rsi, rbx
je 0x14002d85a
mov r11d, dword [rsi + 0x18]
test r11d, r11d
je 0x14002d85a
mov r15d, dword [rsi + 0x20]
dec r11d
lea rcx, [r15 + r11*4]
mov r8d, dword [rcx + rbx]
add r8, rbx
mov r10d, 0x811c9dc5
movzx r9d, byte [r8]
inc r8
test r9b, r9b
je 0x14002d76d
movsx ecx, r9b
sub r9b, 0x41
mov edx, ecx
or edx, 0x20
cmp r9b, 0x19
cmova edx, ecx
xor edx, r10d
imul r10d, edx, 0x1000193
movzx r9d, byte [r8]
lea r8, [r8 + 1]
test r9b, r9b
jne 0x14002d742
cmp r10d, r14d
je 0x14002d77f
test r11d, r11d
jne 0x14002d722
mov rax, qword [rax]
jmp 0x14002d680
mov ecx, dword [rsi + 0x1c]
add rcx, rbx
mov eax, dword [rsi + 0x24]
add rax, rbx
movzx eax, word [rax + r11*2]
mov eax, dword [rcx + rax*4]
add rax, rbx
cmp rax, rsi
jbe 0x14002d864
lea rcx, [r12 + rsi]
cmp rax, rcx
jae 0x14002d864
mov edi, 0x811c9dc5
mov dword [rsp + 0x60], edi
mov r9d, edi
mov dword [rsp + 0x64], edi
movzx r8d, byte [rax]
cmp r8b, 0x2e
je 0x14002d7fd
nop word [rax + rax]
movsx ecx, r8b
sub r8b, 0x41
mov edx, ecx
or edx, 0x20
cmp r8b, 0x19
cmova edx, ecx
xor edx, edi
imul edi, edx, 0x1000193
inc rax
movzx r8d, byte [rax]
cmp r8b, 0x2e
jne 0x14002d7d0
mov dword [rsp + 0x60], edi
inc rax
movzx r8d, byte [rax]
test r8b, r8b
je 0x14002d840
nop dword [rax]
movsx ecx, r8b
sub r8b, 0x41
mov edx, ecx
or edx, 0x20
cmp r8b, 0x19
cmova edx, ecx
xor edx, r9d
imul r9d, edx, 0x1000193
lea rax, [rax + 1]
movzx r8d, byte [rax]
test r8b, r8b
jne 0x14002d810
mov dword [rsp + 0x64], r9d
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov r14, qword [rsp + 0x60]
shr r14, 0x20
mov rax, qword [rax]
jmp 0x14002d680
xor eax, eax
lea rdx, [rsp + 0x68]
mov r9d, 0x8000
lea r8, [rsp + 0x70]
mov rcx, 0xffffffffffffffff
call rax
nop
add rsp, 0x20
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14002dde0
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov r13, qword [rcx]
test r13, r13
je 0x14002e01a
xor edi, edi
mov r14d, 0xe049c205
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax]
nop word [rax + rax]
movups xmm0, xmmword [rax + 0x58]
movd ecx, xmm0
sub cx, 8
test edi, edi
je 0x14002de93
psrldq xmm0, 8
movq r9, xmm0
movzx ecx, cx
shr rcx, 1
lea r11, [r9 + rcx*2]
mov r10d, 0x811c9dc5
cmp r9, r11
je 0x14002de8a
nop
movsx ecx, byte [r9]
mov edx, ecx
sub cl, 0x41
mov r8d, edx
or r8d, 0x20
cmp cl, 0x19
cmova r8d, edx
xor r8d, r10d
imul r10d, r8d, 0x1000193
add r9, 2
cmp r9, r11
jne 0x14002de60
cmp r10d, edi
jne 0x14002e00a
mov rbx, qword [rax + 0x30]
test rbx, rbx
je 0x14002e012
movsxd rcx, dword [rbx + 0x3c]
mov rdx, qword [rcx + rbx + 0x88]
mov r12, rdx
shr r12, 0x20
mov esi, edx
add rsi, rbx
cmp rsi, rbx
je 0x14002e00a
mov r11d, dword [rsi + 0x18]
test r11d, r11d
je 0x14002e00a
mov r15d, dword [rsi + 0x20]
dec r11d
lea rcx, [r15 + r11*4]
mov r8d, dword [rcx + rbx]
add r8, rbx
mov r10d, 0x811c9dc5
movzx r9d, byte [r8]
inc r8
test r9b, r9b
je 0x14002df1d
movsx ecx, r9b
sub r9b, 0x41
mov edx, ecx
or edx, 0x20
cmp r9b, 0x19
cmova edx, ecx
xor edx, r10d
imul r10d, edx, 0x1000193
movzx r9d, byte [r8]
lea r8, [r8 + 1]
test r9b, r9b
jne 0x14002def2
cmp r10d, r14d
je 0x14002df2f
test r11d, r11d
jne 0x14002ded2
mov rax, qword [rax]
jmp 0x14002de30
mov ecx, dword [rsi + 0x1c]
add rcx, rbx
mov eax, dword [rsi + 0x24]
add rax, rbx
movzx eax, word [rax + r11*2]
mov eax, dword [rcx + rax*4]
add rax, rbx
cmp rax, rsi
jbe 0x14002e014
lea rcx, [r12 + rsi]
cmp rax, rcx
jae 0x14002e014
mov edi, 0x811c9dc5
mov dword [rsp + 0x50], edi
mov r9d, edi
mov dword [rsp + 0x54], edi
movzx r8d, byte [rax]
cmp r8b, 0x2e
je 0x14002dfad
nop word [rax + rax]
movsx ecx, r8b
sub r8b, 0x41
mov edx, ecx
or edx, 0x20
cmp r8b, 0x19
cmova edx, ecx
xor edx, edi
imul edi, edx, 0x1000193
inc rax
movzx r8d, byte [rax]
cmp r8b, 0x2e
jne 0x14002df80
mov dword [rsp + 0x50], edi
inc rax
movzx r8d, byte [rax]
test r8b, r8b
je 0x14002dff0
nop dword [rax]
movsx ecx, r8b
sub r8b, 0x41
mov edx, ecx
or edx, 0x20
cmp r8b, 0x19
cmova edx, ecx
xor edx, r9d
imul r9d, edx, 0x1000193
lea rax, [rax + 1]
movzx r8d, byte [rax]
test r8b, r8b
jne 0x14002dfc0
mov dword [rsp + 0x54], r9d
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov r14, qword [rsp + 0x50]
shr r14, 0x20
mov rax, qword [rax]
jmp 0x14002de30
xor eax, eax
mov rcx, r13
call rax
nop
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x140037a80
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rbp
push rdi
push r13
push r14
push r15
sub rsp, 0x28
mov rax, qword [0x1401c5120]
mov r13d, edx
mov qword [rsp + 0x70], rax
xor edi, edi
mov rax, qword gs:[0x60]
mov r14d, 0x89eabb08
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x20], r12
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax]
nop dword [rax + rax]
movups xmm0, xmmword [rax + 0x58]
movd ecx, xmm0
sub cx, 8
test edi, edi
je 0x140037b33
psrldq xmm0, 8
mov r10d, 0x811c9dc5
movq r9, xmm0
movzx ecx, cx
shr rcx, 1
lea r11, [r9 + rcx*2]
cmp r9, r11
je 0x140037b2a
nop
movsx ecx, byte [r9]
mov edx, ecx
sub cl, 0x41
mov r8d, edx
or r8d, 0x20
cmp cl, 0x19
cmova r8d, edx
add r9, 2
xor r8d, r10d
imul r10d, r8d, 0x1000193
cmp r9, r11
jne 0x140037b00
cmp r10d, edi
jne 0x140037caa
mov rbx, qword [rax + 0x30]
test rbx, rbx
je 0x140037cb2
movsxd rcx, dword [rbx + 0x3c]
mov rdx, qword [rcx + rbx + 0x88]
mov r12, rdx
mov esi, edx
shr r12, 0x20
add rsi, rbx
cmp rsi, rbx
je 0x140037caa
mov r11d, dword [rsi + 0x18]
test r11d, r11d
je 0x140037caa
mov r15d, dword [rsi + 0x20]
dec r11d
mov r10d, 0x811c9dc5
lea rcx, [r15 + r11*4]
mov r8d, dword [rcx + rbx]
add r8, rbx
movzx r9d, byte [r8]
inc r8
test r9b, r9b
je 0x140037bbe
movsx ecx, r9b
lea r8, [r8 + 1]
sub r9b, 0x41
mov edx, ecx
or edx, 0x20
cmp r9b, 0x19
movzx r9d, byte [r8 - 1]
cmova edx, ecx
xor edx, r10d
imul r10d, edx, 0x1000193
test r9b, r9b
jne 0x140037b92
cmp r10d, r14d
je 0x140037bd0
test r11d, r11d
jne 0x140037b72
mov rax, qword [rax]
jmp 0x140037ad0
mov ecx, dword [rsi + 0x24]
add rcx, rbx
movzx edx, word [rcx + r11*2]
mov ecx, dword [rsi + 0x1c]
add rcx, rbx
mov eax, dword [rcx + rdx*4]
add rax, rbx
cmp rax, rsi
jbe 0x140037cb4
lea rcx, [r12 + rsi]
cmp rax, rcx
jae 0x140037cb4
movzx r8d, byte [rax]
mov edi, 0x811c9dc5
mov dword [rsp + 0x60], edi
mov r9d, edi
mov dword [rsp + 0x64], edi
cmp r8b, 0x2e
je 0x140037c4e
nop word [rax + rax]
movsx ecx, r8b
sub r8b, 0x41
mov edx, ecx
or edx, 0x20
cmp r8b, 0x19
movzx r8d, byte [rax + 1]
cmova edx, ecx
inc rax
xor edx, edi
imul edi, edx, 0x1000193
cmp r8b, 0x2e
jne 0x140037c20
mov dword [rsp + 0x60], edi
movzx r8d, byte [rax + 1]
inc rax
test r8b, r8b
je 0x140037c90
nop dword [rax + rax]
movsx ecx, r8b
lea rax, [rax + 1]
sub r8b, 0x41
mov edx, ecx
or edx, 0x20
cmp r8b, 0x19
movzx r8d, byte [rax]
cmova edx, ecx
xor edx, r9d
imul r9d, edx, 0x1000193
test r8b, r8b
jne 0x140037c60
mov dword [rsp + 0x64], r9d
mov rax, qword gs:[0x60]
mov r14, qword [rsp + 0x60]
shr r14, 0x20
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov rax, qword [rax]
jmp 0x140037ad0
xor eax, eax
mov ecx, r13d
call rax
mov rax, qword [rsp + 0x70]
mov r12, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x68]
mov byte [rax + 0x3f0], 1
add rsp, 0x28
pop r15
pop r14
pop r13
pop rdi
pop rbp
pop rbx
ret
Function at 0x140038b20
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x30
cmp qword [r9 + 0x18], 7
mov r10, r8
mov eax, dword [r9 + 0x10]
mov rbx, rdx
lea eax, [rax*2 + 2]
jbe 0x140038b41
mov r9, qword [r9]
cmp qword [r8 + 0x18], 7
jbe 0x140038b4b
mov r10, qword [r8]
mov rcx, qword [rcx]
xor r8d, r8d
mov dword [rsp + 0x28], eax
mov rdx, r10
mov qword [rsp + 0x20], r9
mov r9d, 1
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [rbx], eax
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x140038b80
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x30
mov rax, r8
mov rbx, rdx
mov r8d, dword [r9 + 8]
sub r8d, dword [r9]
mov rdx, qword [r9]
cmp qword [rax + 0x18], 7
jbe 0x140038ba0
mov rax, qword [rax]
mov rcx, qword [rcx]
mov r9d, 3
mov dword [rsp + 0x28], r8d
xor r8d, r8d
mov qword [rsp + 0x20], rdx
mov rdx, rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [rbx], eax
mov rax, rbx
add rsp, 0x30
pop rbx
ret
Function at 0x140038f70
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x70
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
xor r14d, r14d
mov dword [rbp + 0x20], r14d
cmp qword [r8 + 0x18], 7
jbe 0x140038f9f
mov r8, qword [r8]
lea rax, [rbp + 0x20]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
xor edx, edx
mov r9d, 2
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
je 0x140038fd2
mov dword [rbx], eax
mov byte [rbx + 0x20], r14b
jmp 0x140039153
mov r8d, dword [rbp + 0x20]
shr r8, 1
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
mov qword [rbp - 0x18], r14
mov qword [rbp - 0x10], r14
mov edx, 0x20
lea rcx, [rbp - 0x28]
call fcn.1400567a0
nop
lea rax, [rbp - 0x28]
cmp qword [rbp - 0x10], 7
cmova rax, qword [rbp - 0x28]
cmp qword [rdi + 0x18], 7
jbe 0x14003900f
mov rdi, qword [rdi]
lea rcx, [rbp + 0x20]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
mov r9d, 2
mov r8, rdi
xor edx, edx
mov rcx, qword [rsi]
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
je 0x140039085
mov dword [rbx], eax
mov byte [rbx + 0x20], 0
mov rax, qword [rbp - 0x10]
cmp rax, 7
jbe 0x140039153
lea rax, [rax*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rdx, rcx
cmp rax, 0x1000
jb 0x14003907a
mov rcx, qword [rcx - 8]
sub rdx, rcx
lea rax, [rdx - 8]
cmp rax, 0x1f
ja 0x14003916b
call fcn.14000da60
nop
jmp 0x140039153
mov ecx, dword [rbp + 0x20]
shr rcx, 1
dec rcx
mov r8, qword [rbp - 0x18]
cmp rcx, r8
ja 0x1400390b0
mov qword [rbp - 0x18], rcx
lea rax, [rbp - 0x28]
cmp qword [rbp - 0x10], 7
cmova rax, qword [rbp - 0x28]
mov word [rax + rcx*2], r14w
jmp 0x14003910b
mov rdx, rcx
sub rdx, r8
mov rdi, qword [rbp - 0x10]
mov rax, rdi
sub rax, r8
cmp rdx, rax
ja 0x1400390f4
mov qword [rbp - 0x18], rcx
lea r9, [rbp - 0x28]
cmp rdi, 7
cmova r9, qword [rbp - 0x28]
lea rdi, [r9 + r8*2]
test rdx, rdx
je 0x1400390e9
movzx eax, r14w
mov rcx, rdx
rep stosw word [rdi], ax
lea rax, [r8 + rdx]
mov word [r9 + rax*2], r14w
jmp 0x14003910b
mov word [rsp + 0x20], r14w
mov r9, rdx
movzx r8d, byte [rbp + 0x20]
lea rcx, [rbp - 0x28]
call fcn.1400579c0
lea rdx, [rbp - 0x28]
mov rcx, rbx
call fcn.140051930
mov byte [rbx + 0x20], 1
mov rax, qword [rbp - 0x10]
cmp rax, 7
jbe 0x140039153
lea rax, [rax*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rdx, rcx
cmp rax, 0x1000
jb 0x14003914d
mov rcx, qword [rcx - 8]
sub rdx, rcx
lea rax, [rdx - 8]
cmp rax, 0x1f
ja 0x14003916b
call fcn.14000da60
nop
mov rax, rbx
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.140087d64
int3
Function at 0x14003c1c0
Capabilities:
Get windows directory from kuser_shared_data

Disassembly:
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x250
mov rsi, rdx
movabs rax, 0xf78ae3a7f6daa19d
mov qword [rsp + 0x30], rax
movabs rax, 0x148c2eb22c351ba6
mov qword [rsp + 0x38], rax
movabs rax, 0xf7e4e3c8f69ca1c1
mov qword [rsp + 0x20], rax
movabs rax, 0x148c2eee2c461bd2
mov qword [rsp + 0x28], rax
movdqa xmm0, xmmword [rsp + 0x30]
xorps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm0
xor edx, edx
mov r8d, 0x200
lea rcx, [rsp + 0x40]
call fcn.1400a6950
lea rax, [rsp + 0x40]
mov qword [rsp + 0x240], rax
mov edx, 0x7ffe0030
mov rbx, 0xffffffffffffffff
mov rdi, rbx
nop dword [rax + rax]
inc rdi
cmp word [rdx + rdi*2], 0
jne 0x14003c260
add rdi, rdi
mov r8, rdi
lea rcx, [rsp + 0x40]
call fcn.1400a62b0
mov rcx, qword [rsp + 0x240]
add rcx, rdi
mov qword [rsp + 0x240], rcx
lea rax, [rsp + 0x20]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x14003c292
add rbx, rbx
mov r8, rbx
lea rdx, [rsp + 0x20]
call fcn.1400a62b0
mov rcx, qword [rsp + 0x240]
add rcx, rbx
mov qword [rsp + 0x240], rcx
mov rdx, rsi
lea rdi, [rsi + 0x18]
cmp qword [rdi], 7
jbe 0x14003c2d5
mov rdx, qword [rsi]
lea rbp, [rsi + 0x18]
jmp 0x14003c2d8
mov rbp, rdi
lea r14, [rsi + 0x10]
mov rax, qword [r14]
lea rbx, [rax + rax]
mov r8, rbx
call fcn.1400a62b0
add qword [rsp + 0x240], rbx
xor r15d, r15d
mov qword [rsp + 0x280], r15
mov qword [rsp + 0x290], r15
mov r9b, 1
lea r8, [rsp + 0x290]
lea rdx, [rsp + 0x280]
lea rcx, [rsp + 0x40]
call fcn.14002e040
test al, al
je 0x14003c335
mov rcx, qword [rsp + 0x280]
call fcn.14000da60
nop
cmp qword [rsp + 0x280], 0
setne bl
mov rax, qword [rdi]
cmp rax, 7
jbe 0x14003c382
mov rcx, qword [rsi]
lea rax, [rax*2 + 2]
mov rdi, rbp
cmp rax, 0x1000
jb 0x14003c37c
mov rdx, qword [rcx - 8]
sub rcx, rdx
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14003c3aa
mov rcx, rdx
lea r14, [rsi + 0x10]
lea rdi, [rsi + 0x18]
call fcn.14000da60
nop
mov qword [r14], r15
mov qword [rdi], 7
mov word [rsi], r15w
movzx eax, bl
mov rbx, qword [rsp + 0x298]
add rsp, 0x250
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.140087d64
int3
Function at 0x140055d60
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r14, rdx
mov rsi, qword [0x1401c50f8]
xor edi, edi
cmp qword [rsi + 0x10], 0x80
jne 0x140055df1
mov rbp, qword [rsi]
lea rax, [rbp + 1]
and eax, 0x7f
mov qword [rsi], rax
mov qword [rsi + 0x10], 0x7f
lea rbx, [rbp + 1]
shl rbx, 5
add rbx, rsi
mov rcx, qword [rbx]
test rcx, rcx
je 0x140055dfb
mov rax, qword [rbx + 0x10]
sub rax, rcx
cmp rax, 0x1000
jb 0x140055dde
mov rdx, qword [rcx - 8]
sub rcx, rdx
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140055f2c
mov rcx, rdx
call fcn.14000da60
nop
mov qword [rbx], rdi
mov qword [rbx + 8], rdi
mov qword [rbx + 0x10], rdi
jmp 0x140055dfb
mov rbp, qword [rsi + 8]
inc rbp
and ebp, 0x7f
mov r15, rbp
shl r15, 5
add r15, 0x18
add r15, rsi
mov qword [rsp + 0x90], r15
mov dword [r15], edi
mov qword [r15 + 8], rdi
mov qword [r15 + 0x10], rdi
mov qword [r15 + 0x18], rdi
mov rbx, r14
cmp byte [r14], 0
je 0x140055e38
nop dword [rax]
inc rbx
cmp byte [rbx], 0
jne 0x140055e30
sub rbx, r14
mov dword [rsp + 0x20], edi
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], rdi
lea rdx, [rbx + 1]
test rdx, rdx
je 0x140055e60
lea rcx, [rsp + 0x28]
call fcn.1400020f0
rdtsc
shl rdx, 0x20
or rax, rdx
mov qword [rsp + 0x80], rax
mov dword [rsp + 0x20], eax
mov r8, qword [rsp + 0x30]
mov r13, qword [rsp + 0x28]
sub r8, r13
xor edx, edx
mov rcx, r13
call fcn.1400a6950
test rbx, rbx
je 0x140055ebd
mov r8, rdi
mov rcx, qword [rsp + 0x80]
nop dword [rax]
movzx eax, dil
add al, al
lea edx, [rax + rdi]
add dl, cl
xor dl, byte [r8 + r14]
mov byte [r8 + r13], dl
inc edi
movsxd r8, edi
cmp r8, rbx
jb 0x140055ea0
lea rdx, [rsp + 0x28]
lea rcx, [r15 + 8]
call fcn.140001fb0
mov eax, dword [rsp + 0x20]
mov dword [r15], eax
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x140055f06
mov rax, qword [rsp + 0x38]
sub rax, rcx
mov rdx, rcx
cmp rax, 0x1000
jb 0x140055f00
mov rcx, qword [rcx - 8]
sub rdx, rcx
lea rax, [rdx - 8]
cmp rax, 0x1f
ja 0x140055f26
call fcn.14000da60
nop
mov qword [rsi + 8], rbp
inc qword [rsi + 0x10]
mov rbx, qword [rsp + 0x88]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140087d64
nop
call fcn.140087d64
int3
Function at 0x140066220
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
rdtsc
shl rdx, 0x20
lea r9, [0x1401c0a7c]
or rax, rdx
imul ecx, eax, 0xa69e7
imul eax, ecx, 0x42e194
mov dword [0x1401c0a70], ecx
mov dword [0x1401c0a74], eax
imul eax, eax, 0xd362b
xor r8d, r8d
mov dword [0x1401c0a78], eax
nop word [rax + rax]
mov ecx, r8d
lea r9, [r9 + 4]
shr ecx, 1
mov edx, ecx
xor edx, 0xedb88320
test r8b, 1
cmove edx, ecx
mov eax, edx
shr eax, 1
mov ecx, eax
xor ecx, 0xedb88320
test dl, 1
cmove ecx, eax
mov eax, ecx
shr eax, 1
mov edx, eax
xor edx, 0xedb88320
test cl, 1
cmove edx, eax
mov eax, edx
shr eax, 1
mov ecx, eax
xor ecx, 0xedb88320
test dl, 1
cmove ecx, eax
mov eax, ecx
shr eax, 1
mov edx, eax
xor edx, 0xedb88320
test cl, 1
cmove edx, eax
mov eax, edx
shr eax, 1
mov ecx, eax
xor ecx, 0xedb88320
test dl, 1
cmove ecx, eax
mov eax, ecx
shr eax, 1
mov edx, eax
xor edx, 0xedb88320
test cl, 1
cmove edx, eax
mov ecx, edx
shr ecx, 1
mov eax, ecx
xor eax, 0xedb88320
test dl, 1
cmove eax, ecx
inc r8d
mov dword [r9 - 4], eax
cmp r8d, 0x100
jb 0x140066260
ret