joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14004a820
Capabilities:
Encode data using base64

Disassembly:
push rbx
push rbp
push r14
push r15
sub rsp, 0x28
mov r14, r9
mov ebx, r8d
mov r15, rdx
test r9, r9
je 0x14004aa0e
xor ebp, ebp
mov dword [r9], ebp
test ebx, ebx
je 0x14004aa0e
test rdx, rdx
je 0x14004aa0e
lea ecx, [r8 + r8*4]
mov eax, 0xaaaaaaab
mul ecx
shr edx, 1
lea ecx, [rdx + 4]
mov dword [r9], ecx
call fcn.140010d80
mov r10, rax
test rax, rax
je 0x14004aa0e
mov qword [rsp + 0x58], rdi
mov eax, 0xaaaaaaab
mul ebx
mov qword [rsp + 0x20], r13
mov ecx, ebp
mov edi, edx
lea r13, [0x1401e6ee0]
shr edi, 1
je 0x14004a938
mov qword [rsp + 0x50], rsi
lea ebp, [rdi + rdi*2]
mov qword [rsp + 0x60], r12
lea ecx, [rdi*4]
mov r12d, edi
mov r11, r10
mov rsi, r15
nop dword [rax + rax]
movzx edx, byte [rsi]
lea r11, [r11 + 4]
movzx r8d, byte [rsi + 2]
mov eax, edx
movzx r9d, byte [rsi + 1]
lea rsi, [rsi + 3]
shr rax, 2
and edx, 3
shl edx, 4
movzx eax, byte [rax + r13]
mov byte [r11 - 4], al
mov eax, r9d
shr rax, 4
and r9d, 0xf
or rdx, rax
shl r9d, 2
movzx eax, byte [rdx + r13]
mov byte [r11 - 3], al
mov eax, r8d
shr rax, 6
and r8d, 0x3f
mov edx, r9d
or rdx, rax
movzx eax, byte [rdx + r13]
mov byte [r11 - 2], al
movzx eax, byte [r8 + r13]
mov byte [r11 - 1], al
sub r12, 1
jne 0x14004a8c0
mov r12, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x50]
lea eax, [rdi + rdi*2]
mov rdi, qword [rsp + 0x58]
sub ebx, eax
sub ebx, 1
je 0x14004a9a9
cmp ebx, 1
jne 0x14004a9f0
movsxd rdx, ecx
inc ecx
movsxd rax, ebp
movzx r8d, byte [rax + r15]
movzx r9d, byte [rax + r15 + 1]
mov eax, r8d
shr rax, 2
and r8d, 3
shl r8d, 4
movzx eax, byte [rax + r13]
mov byte [rdx + r10], al
mov eax, r9d
shr rax, 4
and r9d, 0xf
or r8, rax
movsxd rdx, ecx
inc ecx
shl r9d, 2
movzx eax, byte [r8 + r13]
mov byte [rdx + r10], al
movzx eax, byte [r9 + r13]
movsxd rdx, ecx
mov byte [rdx + r10], al
jmp 0x14004a9e4
movsxd rdx, ecx
inc ecx
movsxd rax, ebp
movzx r8d, byte [rax + r15]
mov eax, r8d
and r8d, 3
shr rax, 2
shl r8d, 4
movzx eax, byte [rax + r13]
mov byte [rdx + r10], al
movzx eax, byte [r8 + r13]
movsxd rdx, ecx
inc ecx
mov byte [rdx + r10], al
movsxd rax, ecx
mov byte [rax + r10], 0x3d
inc ecx
movsxd rax, ecx
inc ecx
mov byte [rax + r10], 0x3d
mov r13, qword [rsp + 0x20]
movsxd rax, ecx
mov byte [rax + r10], 0
mov rax, r10
mov dword [r14], ecx
add rsp, 0x28
pop r15
pop r14
pop rbp
pop rbx
ret
xor eax, eax
add rsp, 0x28
pop r15
pop r14
pop rbp
pop rbx
ret
Function at 0x14004cf40
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0x90
mov rsi, r8
mov edi, edx
mov rbx, rcx
test rcx, rcx
je 0x14004d104
test edx, edx
je 0x14004d104
mov qword [rax + 8], r14
mov eax, 0x23
mov word [rbp + 0x4b], ax
mov r14d, 0x28
mov qword [rbp - 0x19], 0x250024
mov dword [rbp - 0x11], 0x270026
mov dword [rbp - 0xd], 0x290028
mov dword [rbp - 9], 0x10000
mov dword [rbp - 5], 0x30002
mov dword [rbp - 1], 0x50004
mov dword [rbp + 3], 0x70006
mov qword [rbp + 7], 0x90008
mov qword [rbp + 0xf], 0x2a0000
mov dword [rbp + 0x17], 0xa0000
mov dword [rbp + 0x1b], 0xc000b
mov dword [rbp + 0x1f], 0xe000d
mov dword [rbp + 0x23], 0x10000f
mov dword [rbp + 0x27], 0x120011
mov dword [rbp + 0x2b], 0x140013
mov dword [rbp + 0x2f], 0x160015
mov dword [rbp + 0x33], 0x180017
mov dword [rbp + 0x37], 0x1a0019
mov dword [rbp + 0x3b], 0x1c001b
mov dword [rbp + 0x3f], 0x1e001d
mov dword [rbp + 0x43], 0x20001f
mov dword [rbp + 0x47], 0x220021
cmp edx, 2
jb 0x14004d0fc
nop dword [rax]
movzx ecx, byte [rbx]
lea eax, [rcx - 0x28]
cmp edi, 3
jb 0x14004d0ba
cmp ax, 0x32
jbe 0x14004d044
mov ecx, r14d
sub cx, r14w
movzx eax, cx
movzx ecx, byte [rbx + 1]
movzx r9d, word [rbp + rax*2 - 0x19]
lea eax, [rcx - 0x28]
cmp ax, 0x32
jbe 0x14004d061
mov ecx, r14d
sub cx, r14w
movzx eax, cx
movzx ecx, byte [rbx + 2]
movzx r8d, word [rbp + rax*2 - 0x19]
lea eax, [rcx - 0x28]
cmp ax, 0x32
jbe 0x14004d07e
mov ecx, r14d
sub cx, r14w
movzx edx, cx
imul ecx, r9d, 0x2b
add cx, r8w
movzx eax, cx
imul ecx, eax, 0x2b
add cx, word [rbp + rdx*2 - 0x19]
movzx edx, cx
mov rcx, rsi
call fcn.14003ebc0
cmp edi, 3
jbe 0x14004d0fc
add edi, 0xfffffffd
add rbx, 3
cmp edi, 2
jae 0x14004d030
jmp 0x14004d0fc
cmp al, 0x32
jbe 0x14004d0c2
movzx ecx, r14w
sub cx, r14w
movzx eax, cx
movzx ecx, byte [rbx + 1]
movzx r8d, word [rbp + rax*2 - 0x19]
lea eax, [rcx - 0x28]
cmp ax, 0x32
jbe 0x14004d0df
mov ecx, r14d
sub cx, r14w
movzx eax, r8b
movzx edx, cx
imul ecx, eax, 0x2b
add cl, byte [rbp + rdx*2 - 0x19]
movzx edx, cl
mov rcx, rsi
call fcn.14003d7e0
mov r14, qword [rsp + 0xa0]
lea r11, [rsp + 0x90]
mov al, 1
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x14004e510
Capabilities:
Encode data using base64
Encrypt data using rc4 prga

Disassembly:
mov r9, r8
lea r8, [0x1401e6b80]
jmp 0x14004e520

Function at 0x14004e520
Capabilities:
Encode data using base64

Disassembly:
mov r11, rsp
push rbx
push rsi
push r12
push r15
sub rsp, 0x158
mov rax, qword [0x1402bc7c0]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov rbx, r9
mov r15, r8
mov esi, edx
mov r12, rcx
test edx, edx
je 0x14004e792
test rcx, rcx
je 0x14004e792
lea ecx, [rdx*4 + 8]
mov qword [r11 - 0x28], rbp
mov eax, 0xaaaaaaab
mov qword [r11 - 0x30], rdi
mul ecx
mov qword [r11 - 0x38], r14
mov ecx, edx
xor edx, edx
shr ecx, 1
lea eax, [rcx + rcx]
div esi
lea edx, [rcx + 3]
mov rcx, rbx
add edx, eax
call fcn.140034840
test al, al
je 0x14004e78e
mov eax, 0xaaaaaaab
xor ebp, ebp
mul esi
xor r10d, r10d
xor edi, edi
mov r14d, edx
shr r14d, 1
je 0x14004e691
xor r11d, r11d
nop word [rax + rax]
movsx r8, byte [rbp + r12]
add r10d, 4
inc ebp
mov eax, r8d
shr rax, 2
and eax, 0x3f
movsx r9, byte [rbp + r12]
inc ebp
mov ecx, r9d
movzx eax, byte [rax + r15]
mov byte [rsp + r11 + 0x20], al
mov rax, r8
movsx edx, byte [rbp + r12]
and eax, 3
shl rax, 4
inc ebp
shr rcx, 4
and ecx, 0xf
or rcx, rax
movzx eax, byte [rcx + r15]
mov rcx, r9
mov byte [rsp + r11 + 0x21], al
and ecx, 0xf
mov eax, edx
shl rcx, 2
shr rax, 6
and edx, 0x3f
and eax, 3
or rcx, rax
movzx eax, byte [rcx + r15]
mov byte [rsp + r11 + 0x22], al
movzx eax, byte [rdx + r15]
mov byte [rsp + r11 + 0x23], al
add r11, 4
cmp r10d, 0x100
jl 0x14004e669
mov r8d, r10d
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.140030c00
test al, al
je 0x14004e78e
xor r10d, r10d
xor r11d, r11d
inc edi
cmp edi, r14d
jb 0x14004e5c0
test r10d, r10d
je 0x14004e691
mov r8d, r10d
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.140030c00
test al, al
je 0x14004e78e
lea eax, [r14 + r14*2]
mov cl, 1
sub esi, eax
sub esi, 1
je 0x14004e6ff
cmp esi, 1
jne 0x14004e755
movzx esi, byte [rbp + r12]
lea eax, [rbp + 1]
movzx edi, byte [rax + r12]
mov rcx, rbx
mov eax, esi
shr rax, 2
movzx edx, byte [rax + r15]
call fcn.14002fd30
test al, al
je 0x14004e753
and esi, 3
mov eax, edi
shr rax, 4
shl esi, 4
mov ecx, esi
or rcx, rax
movzx edx, byte [rcx + r15]
mov rcx, rbx
call fcn.14002fd30
test al, al
je 0x14004e753
and edi, 0xf
shl edi, 2
movzx edx, byte [rdi + r15]
jmp 0x14004e735
movzx edi, byte [rbp + r12]
mov rcx, rbx
mov eax, edi
shr rax, 2
movzx edx, byte [rax + r15]
call fcn.14002fd30
test al, al
je 0x14004e753
and edi, 3
mov rcx, rbx
shl edi, 4
movzx edx, byte [rdi + r15]
call fcn.14002fd30
test al, al
je 0x14004e753
mov dl, 0x3d
mov rcx, rbx
call fcn.14002fd30
test al, al
je 0x14004e753
mov dl, 0x3d
mov rcx, rbx
call fcn.14002fd30
test al, al
je 0x14004e753
mov cl, 1
jmp 0x14004e755
xor cl, cl
movzx eax, cl
mov rdi, qword [rsp + 0x148]
mov rbp, qword [rsp + 0x150]
mov r14, qword [rsp + 0x140]
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.1401d75d0
add rsp, 0x158
pop r15
pop r12
pop rsi
pop rbx
ret
xor al, al
jmp 0x14004e758
mov al, 1
jmp 0x14004e770
mov r9, r8
lea r8, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789__
jmp 0x14004e520
Function at 0x14004e900
Capabilities:
Encode data using base64

Disassembly:
mov r11, rsp
push rbx
push rsi
push r12
push r15
sub rsp, 0x158
mov rax, qword [0x1402bc7c0]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov rbx, r9
mov r15, r8
mov esi, edx
mov r12, rcx
test edx, edx
je 0x14004e792
test rcx, rcx
je 0x14004e792
lea ecx, [rdx*4 + 8]
mov qword [r11 - 0x28], rbp
mov eax, 0xaaaaaaab
mov qword [r11 - 0x30], rdi
mul ecx
mov qword [r11 - 0x38], r14
mov ecx, edx
xor edx, edx
shr ecx, 1
lea eax, [rcx + rcx]
div esi
lea edx, [rcx + 3]
mov rcx, rbx
add edx, eax
call fcn.140034840
test al, al
je 0x14004e78e
mov eax, 0xaaaaaaab
xor ebp, ebp
mul esi
xor r10d, r10d
xor edi, edi
mov r14d, edx
shr r14d, 1
je 0x14004e691
xor r11d, r11d
nop word [rax + rax]
movsx r8, byte [rbp + r12]
add r10d, 4
inc ebp
mov eax, r8d
shr rax, 2
and eax, 0x3f
movsx r9, byte [rbp + r12]
inc ebp
mov ecx, r9d
movzx eax, byte [rax + r15]
mov byte [rsp + r11 + 0x20], al
mov rax, r8
movsx edx, byte [rbp + r12]
and eax, 3
shl rax, 4
inc ebp
shr rcx, 4
and ecx, 0xf
or rcx, rax
movzx eax, byte [rcx + r15]
mov rcx, r9
mov byte [rsp + r11 + 0x21], al
and ecx, 0xf
mov eax, edx
shl rcx, 2
shr rax, 6
and edx, 0x3f
and eax, 3
or rcx, rax
movzx eax, byte [rcx + r15]
mov byte [rsp + r11 + 0x22], al
movzx eax, byte [rdx + r15]
mov byte [rsp + r11 + 0x23], al
add r11, 4
cmp r10d, 0x100
jl 0x14004e669
mov r8d, r10d
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.140030c00
test al, al
je 0x14004e78e
xor r10d, r10d
xor r11d, r11d
inc edi
cmp edi, r14d
jb 0x14004e5c0
test r10d, r10d
je 0x14004e691
mov r8d, r10d
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.140030c00
test al, al
je 0x14004e78e
lea eax, [r14 + r14*2]
mov cl, 1
sub esi, eax
sub esi, 1
je 0x14004e6ff
cmp esi, 1
jne 0x14004e755
movzx esi, byte [rbp + r12]
lea eax, [rbp + 1]
movzx edi, byte [rax + r12]
mov rcx, rbx
mov eax, esi
shr rax, 2
movzx edx, byte [rax + r15]
call fcn.14002fd30
test al, al
je 0x14004e753
and esi, 3
mov eax, edi
shr rax, 4
shl esi, 4
mov ecx, esi
or rcx, rax
movzx edx, byte [rcx + r15]
mov rcx, rbx
call fcn.14002fd30
test al, al
je 0x14004e753
and edi, 0xf
shl edi, 2
movzx edx, byte [rdi + r15]
jmp 0x14004e735
movzx edi, byte [rbp + r12]
mov rcx, rbx
mov eax, edi
shr rax, 2
movzx edx, byte [rax + r15]
call fcn.14002fd30
test al, al
je 0x14004e753
and edi, 3
mov rcx, rbx
shl edi, 4
movzx edx, byte [rdi + r15]
call fcn.14002fd30
test al, al
je 0x14004e753
mov dl, 0x3d
mov rcx, rbx
call fcn.14002fd30
test al, al
je 0x14004e753
mov dl, 0x3d
mov rcx, rbx
call fcn.14002fd30
test al, al
je 0x14004e753
mov cl, 1
jmp 0x14004e755
xor cl, cl
movzx eax, cl
mov rdi, qword [rsp + 0x148]
mov rbp, qword [rsp + 0x150]
mov r14, qword [rsp + 0x140]
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.1401d75d0
add rsp, 0x158
pop r15
pop r12
pop rsi
pop rbx
ret
xor al, al
jmp 0x14004e758
mov al, 1
jmp 0x14004e770
mov r9, r8
lea r8, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789__
jmp 0x14004e520
Function at 0x140051180
Capabilities:
Get hostname

Disassembly:
push rbx
sub rsp, 0x1b0
mov rax, qword [0x1402bc7c0]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
mov rbx, rcx
call fcn.140031e20
cmp byte [0x1402bf391], 0
jne 0x140051203
xor edx, edx
mov r8d, 0x200
lea rcx, [0x1402bf560]
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x20], pe_nt_image_headers64
lea rdx, [rsp + 0x20]
lea rcx, [0x1402bf560]
call qword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
jne 0x1400511fc
movsd xmm0, qword [str.Win32]
movsd qword [0x1402bf560], xmm0
movzx eax, word [0x1401e7350]
mov word [0x1402bf568], ax
mov byte [0x1402bf391], 1
xor edx, edx
mov r8d, 0x170
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rsp + 0x30]
call fcn.140005780
nop
lea rdx, [0x1402bf560]
lea rcx, [rsp + 0x30]
call fcn.140006460
lea rcx, [rsp + 0x30]
call fcn.140008ee0
mov rdx, rax
mov rcx, rbx
call fcn.14002f910
nop
lea rcx, [rsp + 0x30]
call fcn.1400057e0
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.1401d75d0
add rsp, 0x1b0
pop rbx
ret
Function at 0x14007b3a0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push rbp
push rbx
push r13
push r14
push r15
lea rbp, [rsp - 0x1c0]
sub rsp, 0x2c0
mov rax, qword [0x1402bc7c0]
xor rax, rsp
mov qword [rbp + 0x190], rax
mov rax, qword [rbp + 0x210]
mov r13, rcx
mov rcx, qword [rbp + 0x218]
mov r14d, r9d
mov qword [rsp + 0x20], rcx
mov ebx, r8d
mov qword [rsp + 0x28], rax
mov r15, rdx
test rax, rax
je 0x14007b5f7
mov qword [rsp + 0x2b8], rsi
lea eax, [r9 - 2]
mov ecx, 0x80
mov qword [rsp + 0x2b0], rdi
cmp eax, 1
mov qword [rsp + 0x2a8], r12
mov esi, 0x40
cmovbe esi, ecx
mov ecx, r14d
call fcn.14007c750
movsxd r12, eax
cmp ebx, esi
jle 0x14007b449
lea r9, [rbp + 0x50]
mov r8d, r14d
mov edx, ebx
mov rcx, r15
call fcn.14007b7a0
lea r15, [rbp + 0x50]
mov ebx, r12d
mov r8d, esi
lea rcx, [rsp + 0x30]
xor edx, edx
mov edi, esi
call sub.VCRUNTIME140.dll_memset
mov r8d, esi
lea rcx, [rbp - 0x40]
xor edx, edx
call sub.VCRUNTIME140.dll_memset
cmp ebx, esi
lea rcx, [rsp + 0x30]
mov eax, esi
mov rdx, r15
cmovle eax, ebx
movsxd rbx, eax
mov r8, rbx
call sub.VCRUNTIME140.dll_memcpy
mov r8, rbx
lea rcx, [rbp - 0x40]
mov rdx, r15
call sub.VCRUNTIME140.dll_memcpy
movdqa xmm2, xmmword [str.6666666666666666_sha3]
xor ecx, ecx
movdqa xmm3, xmmword [0x14021e5b0]
mov eax, ecx
nop word [rax + rax]
movdqu xmm0, xmmword [rsp + rax + 0x30]
add ecx, 0x40
movdqa xmm1, xmm2
pxor xmm0, xmm2
movdqu xmmword [rsp + rax + 0x30], xmm0
movdqu xmm0, xmmword [rbp + rax - 0x40]
pxor xmm0, xmm3
movdqu xmmword [rbp + rax - 0x40], xmm0
movdqu xmm0, xmmword [rsp + rax + 0x40]
pxor xmm1, xmm0
movdqu xmm0, xmmword [rbp + rax - 0x30]
movdqu xmmword [rsp + rax + 0x40], xmm1
pxor xmm0, xmm3
movdqa xmm1, xmm3
movdqu xmmword [rbp + rax - 0x30], xmm0
movdqu xmm0, xmmword [rsp + rax + 0x50]
pxor xmm0, xmm2
movdqu xmmword [rsp + rax + 0x50], xmm0
movdqu xmm0, xmmword [rbp + rax - 0x20]
pxor xmm1, xmm0
movdqu xmm0, xmmword [rsp + rax + 0x60]
movdqu xmmword [rbp + rax - 0x20], xmm1
movdqa xmm1, xmm2
pxor xmm1, xmm0
movdqu xmm0, xmmword [rbp + rax - 0x10]
movdqu xmmword [rsp + rax + 0x60], xmm1
pxor xmm0, xmm3
movdqu xmmword [rbp + rax - 0x10], xmm0
add rax, 0x40
cmp rax, rdi
jl 0x14007b4b0
movsxd rax, ecx
cmp rax, rdi
jge 0x14007b572
nop dword [rax]
nop dword [rax + rax]
xor byte [rsp + rax + 0x30], 0x36
xor byte [rbp + rax - 0x40], 0x5c
inc rax
cmp rax, rdi
jl 0x14007b560
mov r9, qword [rsp + 0x20]
lea rax, [rsp + 0x30]
lea r8, [rbp + 0x90]
mov qword [r13 + 8], rax
mov edx, r14d
mov dword [r13 + 0x808], esi
mov rcx, r13
call fcn.14007bb00
mov r8, rdi
lea rdx, [rbp - 0x40]
lea rcx, [rbp + 0xd0]
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [rbp + 0xd0]
mov r8, r12
add rcx, rdi
lea rdx, [rbp + 0x90]
call sub.VCRUNTIME140.dll_memcpy
mov r9, qword [rsp + 0x28]
lea edx, [r12 + rsi]
mov r8d, r14d
lea rcx, [rbp + 0xd0]
call fcn.14007b7a0
mov r12, qword [rsp + 0x2a8]
mov al, 1
mov rdi, qword [rsp + 0x2b0]
mov rsi, qword [rsp + 0x2b8]
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.1401d75d0
add rsp, 0x2c0
pop r15
pop r14
pop r13
pop rbx
pop rbp
ret
Function at 0x140096980
Capabilities:
Hash data using crc32b

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
movzx ecx, byte [0x1402c02b0]
movzx eax, byte [0x1402c02b1]
test cl, cl
jne 0x140096b70
test al, al
jne 0x140096b78
cmp qword [0x1402c02b8], 0
jne 0x140096b9d
mov ecx, pe_nt_image_headers64
mov byte [0x1402c02b1], 1
call fcn.140010e10
mov rdi, rax
test rax, rax
je 0x140096b9d
xor ebx, ebx
mov r11, rax
mov r10d, ebx
nop dword [rax + rax]
mov ecx, r10d
mov r8d, r10d
and ecx, 1
shr r8d, 1
shl ecx, 7
mov r9d, ebx
mov edx, ecx
or edx, 0x40
test r8b, 1
cmove edx, ecx
shr r8d, 1
mov ecx, edx
or ecx, 0x20
test r8b, 1
cmove ecx, edx
shr r8d, 1
mov edx, ecx
or edx, 0x10
test r8b, 1
cmove edx, ecx
shr r8d, 1
mov ecx, edx
or ecx, 8
test r8b, 1
cmove ecx, edx
shr r8d, 1
mov edx, ecx
or edx, 4
test r8b, 1
cmove edx, ecx
shr r8d, 1
mov ecx, edx
or ecx, 2
test r8b, 1
cmove ecx, edx
mov eax, ecx
or eax, 1
test r8b, 2
mov r8d, 0x1e
cmove eax, ecx
shl eax, 0x18
mov ecx, eax
add eax, eax
sar ecx, 0x1f
and ecx, 0x4c11db7
xor ecx, eax
mov edx, ecx
sar edx, 0x1f
and edx, 0x4c11db7
lea eax, [rcx + rcx]
xor edx, eax
mov ecx, edx
sar ecx, 0x1f
and ecx, 0x4c11db7
lea eax, [rdx + rdx]
xor ecx, eax
mov edx, ecx
sar edx, 0x1f
and edx, 0x4c11db7
lea eax, [rcx + rcx]
xor edx, eax
mov ecx, edx
sar ecx, 0x1f
and ecx, 0x4c11db7
lea eax, [rdx + rdx]
xor ecx, eax
mov edx, ecx
sar edx, 0x1f
and edx, 0x4c11db7
lea eax, [rcx + rcx]
xor edx, eax
mov ecx, edx
sar ecx, 0x1f
and ecx, 0x4c11db7
lea eax, [rdx + rdx]
xor ecx, eax
mov eax, ecx
add ecx, ecx
sar eax, 0x1f
and eax, 0x4c11db7
xor eax, ecx
nop dword [rax + rax]
test al, 1
je 0x140096af2
lea ecx, [r8 + 1]
mov edx, 1
shl edx, cl
or r9d, edx
shr eax, 1
test al, 1
je 0x140096b05
mov ecx, r8d
mov edx, 1
shl edx, cl
or r9d, edx
shr eax, 1
sub r8d, 2
cmp r8d, 0xfffffffe
jg 0x140096ae0
mov dword [r11], r9d
inc r10d
add r11, 4
cmp r10d, 0xff
jbe 0x1400969e0
cmp qword [0x1402c02b8], rbx
jne 0x140096b50
mov qword [0x1402c02b8], rdi
mov byte [0x1402c02b0], 1
mov byte [0x1402c02b1], bl
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rcx, rdi
call fcn.1401d7b18
mov byte [0x1402c02b0], 1
mov byte [0x1402c02b1], bl
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
test al, al
je 0x140096b9d
test cl, cl
jne 0x140096b9d
xor ebx, ebx
test al, al
je 0x140096b9d
nop
mov ecx, 2
call sub.KERNEL32.dll_Sleep
inc ebx
cmp ebx, 0xc8
ja 0x140096b9d
cmp byte [0x1402c02b1], 0
jne 0x140096b80
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140096bb0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 8
mov r10, rdx
mov r11, rcx
test rdx, rdx
je 0x140096e0c
test r8d, r8d
je 0x140096e0c
cmp r8d, 0x10
jb 0x140096dcb
mov r9d, r8d
mov qword [rsp], rbx
mov ebx, dword [rcx + 8]
shr r9, 4
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [r10]
mov ecx, ebx
shr ecx, 8
movzx edx, bl
xor rdx, rax
mov rax, qword [0x1402c02b8]
xor ecx, dword [rax + rdx*4]
mov edx, ecx
mov dword [r11 + 8], edx
movzx eax, byte [r10 + 1]
movzx ecx, cl
xor rcx, rax
shr edx, 8
mov rax, qword [0x1402c02b8]
xor edx, dword [rax + rcx*4]
mov dword [r11 + 8], edx
movzx eax, byte [r10 + 2]
movzx ecx, dl
xor rcx, rax
shr edx, 8
mov rax, qword [0x1402c02b8]
xor edx, dword [rax + rcx*4]
mov dword [r11 + 8], edx
movzx eax, byte [r10 + 3]
movzx ecx, dl
xor rcx, rax
shr edx, 8
mov rax, qword [0x1402c02b8]
xor edx, dword [rax + rcx*4]
mov dword [r11 + 8], edx
movzx eax, byte [r10 + 4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
mov rax, qword [0x1402c02b8]
xor edx, dword [rax + rcx*4]
mov dword [r11 + 8], edx
movzx eax, byte [r10 + 5]
movzx ecx, dl
xor rcx, rax
shr edx, 8
mov rax, qword [0x1402c02b8]
xor edx, dword [rax + rcx*4]
mov dword [r11 + 8], edx
movzx eax, byte [r10 + 6]
movzx ecx, dl
xor rcx, rax
shr edx, 8
mov rax, qword [0x1402c02b8]
xor edx, dword [rax + rcx*4]
mov dword [r11 + 8], edx
movzx eax, byte [r10 + 7]
movzx ecx, dl
xor rcx, rax
shr edx, 8
mov rax, qword [0x1402c02b8]
xor edx, dword [rax + rcx*4]
mov dword [r11 + 8], edx
movzx eax, byte [r10 + 8]
movzx ecx, dl
xor rcx, rax
shr edx, 8
mov rax, qword [0x1402c02b8]
xor edx, dword [rax + rcx*4]
mov dword [r11 + 8], edx
movzx eax, byte [r10 + 9]
movzx ecx, dl
xor rcx, rax
shr edx, 8
mov rax, qword [0x1402c02b8]
xor edx, dword [rax + rcx*4]
mov dword [r11 + 8], edx
movzx eax, byte [r10 + 0xa]
movzx ecx, dl
xor rcx, rax
shr edx, 8
mov rax, qword [0x1402c02b8]
xor edx, dword [rax + rcx*4]
mov dword [r11 + 8], edx
movzx eax, byte [r10 + 0xb]
movzx ecx, dl
xor rcx, rax
shr edx, 8
mov rax, qword [0x1402c02b8]
add r8d, 0xfffffff0
xor edx, dword [rax + rcx*4]
mov dword [r11 + 8], edx
movzx eax, byte [r10 + 0xc]
movzx ecx, dl
xor rcx, rax
shr edx, 8
mov rax, qword [0x1402c02b8]
xor edx, dword [rax + rcx*4]
mov dword [r11 + 8], edx
movzx eax, byte [r10 + 0xd]
movzx ecx, dl
xor rcx, rax
shr edx, 8
mov rax, qword [0x1402c02b8]
xor edx, dword [rax + rcx*4]
mov dword [r11 + 8], edx
movzx eax, byte [r10 + 0xe]
movzx ecx, dl
xor rcx, rax
shr edx, 8
mov rax, qword [0x1402c02b8]
xor edx, dword [rax + rcx*4]
mov dword [r11 + 8], edx
movzx eax, byte [r10 + 0xf]
add r10, 0x10
movzx ecx, dl
xor rcx, rax
shr edx, 8
mov rax, qword [0x1402c02b8]
xor edx, dword [rax + rcx*4]
mov dword [r11 + 8], edx
mov ebx, edx
sub r9, 1
jne 0x140096bf0
mov rbx, qword [rsp]
test r8d, r8d
je 0x140096e0c
mov r9d, dword [r11 + 8]
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [r10]
lea r10, [r10 + 1]
movzx edx, r9b
mov ecx, r9d
xor rdx, rax
shr ecx, 8
mov rax, qword [0x1402c02b8]
xor ecx, dword [rax + rdx*4]
mov dword [r11 + 8], ecx
mov r9d, ecx
add r8d, 0xffffffff
jne 0x140096de0
add rsp, 8
ret
Function at 0x140098620
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xe0
mov rax, qword [0x1402bc7c0]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov r14, r9
mov rbx, r8
mov r15, rdx
mov r12, rcx
xor ecx, ecx
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x34], 1
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x34]
xor r8d, r8d
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edi, eax
xor sil, sil
test eax, eax
jne 0x1400987bd
mov ecx, dword [rsp + 0x30]
test ecx, ecx
je 0x140098833
call fcn.140010d80
mov rdi, rax
test rax, rax
je 0x140098837
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x34]
xor r8d, r8d
mov rdx, r15
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov r12d, eax
test eax, eax
jne 0x14009873d
mov r8d, dword [rsp + 0x30]
mov eax, dword [rsp + 0x34]
cmp eax, 4
jne 0x140098700
cmp r8d, eax
jne 0x140098722
mov edx, dword [rdi]
mov rcx, rbx
call fcn.14002f800
mov sil, 1
mov rcx, rdi
call fcn.1401d7b18
jmp 0x140098833
dec eax
cmp eax, 1
ja 0x140098722
mov rdx, rdi
mov rcx, rbx
call fcn.14002f910
mov sil, 1
mov rcx, rdi
call fcn.1401d7b18
jmp 0x140098833
mov rdx, rdi
mov rcx, rbx
call fcn.14002ff50
mov sil, 1
mov rcx, rdi
call fcn.1401d7b18
jmp 0x140098833
xorps xmm0, xmm0
movups xmmword [rbp - 0x79], xmm0
movups xmmword [rbp - 0x69], xmm0
movups xmmword [rbp - 0x59], xmm0
movups xmmword [rbp - 0x49], xmm0
movups xmmword [rbp - 0x39], xmm0
movups xmmword [rbp - 0x29], xmm0
movups xmmword [rbp - 0x19], xmm0
movups xmmword [rbp - 9], xmm0
movups xmmword [rbp + 7], xmm0
lea rcx, [rbp - 0x79]
call fcn.14002f1e0
nop
mov edx, r12d
lea rcx, [rbp - 0x79]
call fcn.1400309e0
mov rbx, qword [r14]
lea rcx, [rbp - 0x79]
call fcn.1400351b0
mov r8, rax
lea rdx, str.RegistryQueryError2
mov rcx, r14
call qword [rbx + 0x58]
mov rax, qword [r14]
mov r8, r15
lea rdx, str.ValueName
mov rcx, r14
call qword [rax + 0x58]
nop
lea rcx, [rbp - 0x79]
call fcn.14002f230
mov rcx, rdi
call fcn.1401d7b18
jmp 0x140098833
xorps xmm0, xmm0
movups xmmword [rbp - 0x79], xmm0
movups xmmword [rbp - 0x69], xmm0
movups xmmword [rbp - 0x59], xmm0
movups xmmword [rbp - 0x49], xmm0
movups xmmword [rbp - 0x39], xmm0
movups xmmword [rbp - 0x29], xmm0
movups xmmword [rbp - 0x19], xmm0
movups xmmword [rbp - 9], xmm0
movups xmmword [rbp + 7], xmm0
lea rcx, [rbp - 0x79]
call fcn.14002f1e0
nop
mov edx, edi
lea rcx, [rbp - 0x79]
call fcn.1400309e0
mov rbx, qword [r14]
lea rcx, [rbp - 0x79]
call fcn.1400351b0
mov r8, rax
lea rdx, str.RegistryQueryError
mov rcx, r14
call qword [rbx + 0x58]
mov r9, qword [r14]
mov r8, r15
lea rdx, str.ValueName
mov rcx, r14
call qword [r9 + 0x58]
nop
lea rcx, [rbp - 0x79]
call fcn.14002f230
movzx eax, sil
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.1401d75d0
add rsp, 0xe0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret