joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140047dc0
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 0x140047fae
xor ebp, ebp
mov dword [r9], ebp
test ebx, ebx
je 0x140047fae
test rdx, rdx
je 0x140047fae
lea ecx, [r8 + r8*4]
mov eax, 0xaaaaaaab
mul ecx
shr edx, 1
lea ecx, [rdx + 4]
mov dword [r9], ecx
call fcn.140011960
mov r10, rax
test rax, rax
je 0x140047fae
mov qword [rsp + 0x58], rdi
mov eax, 0xaaaaaaab
mul ebx
mov qword [rsp + 0x20], r13
mov ecx, ebp
mov edi, edx
lea r13, [0x1401e3be0]
shr edi, 1
je 0x140047ed8
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 0x140047e60
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 0x140047f49
cmp ebx, 1
jne 0x140047f90
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 0x140047f84
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 0x14004a4e0
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 0x14004a6a4
test edx, edx
je 0x14004a6a4
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 0x14004a69c
nop dword [rax]
movzx ecx, byte [rbx]
lea eax, [rcx - 0x28]
cmp edi, 3
jb 0x14004a65a
cmp ax, 0x32
jbe 0x14004a5e4
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 0x14004a601
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 0x14004a61e
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.14003c160
cmp edi, 3
jbe 0x14004a69c
add edi, 0xfffffffd
add rbx, 3
cmp edi, 2
jae 0x14004a5d0
jmp 0x14004a69c
cmp al, 0x32
jbe 0x14004a662
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 0x14004a67f
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.14003ad80
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 0x14004bab0
Capabilities:
Encode data using base64
Encrypt data using rc4 prga

Disassembly:
mov r9, r8
lea r8, [0x1401e3880]
jmp 0x14004bac0

Function at 0x14004bac0
Capabilities:
Encode data using base64

Disassembly:
mov r11, rsp
push rbx
push rsi
push r12
push r15
sub rsp, 0x158
mov rax, qword [0x1402b87c0]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov rbx, r9
mov r15, r8
mov esi, edx
mov r12, rcx
test edx, edx
je 0x14004bd32
test rcx, rcx
je 0x14004bd32
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.140031de0
test al, al
je 0x14004bd2e
mov eax, 0xaaaaaaab
xor ebp, ebp
mul esi
xor r10d, r10d
xor edi, edi
mov r14d, edx
shr r14d, 1
je 0x14004bc31
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 0x14004bc09
mov r8d, r10d
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.14002e1a0
test al, al
je 0x14004bd2e
xor r10d, r10d
xor r11d, r11d
inc edi
cmp edi, r14d
jb 0x14004bb60
test r10d, r10d
je 0x14004bc31
mov r8d, r10d
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.14002e1a0
test al, al
je 0x14004bd2e
lea eax, [r14 + r14*2]
mov cl, 1
sub esi, eax
sub esi, 1
je 0x14004bc9f
cmp esi, 1
jne 0x14004bcf5
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.14002d2d0
test al, al
je 0x14004bcf3
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.14002d2d0
test al, al
je 0x14004bcf3
and edi, 0xf
shl edi, 2
movzx edx, byte [rdi + r15]
jmp 0x14004bcd5
movzx edi, byte [rbp + r12]
mov rcx, rbx
mov eax, edi
shr rax, 2
movzx edx, byte [rax + r15]
call fcn.14002d2d0
test al, al
je 0x14004bcf3
and edi, 3
mov rcx, rbx
shl edi, 4
movzx edx, byte [rdi + r15]
call fcn.14002d2d0
test al, al
je 0x14004bcf3
mov dl, 0x3d
mov rcx, rbx
call fcn.14002d2d0
test al, al
je 0x14004bcf3
mov dl, 0x3d
mov rcx, rbx
call fcn.14002d2d0
test al, al
je 0x14004bcf3
mov cl, 1
jmp 0x14004bcf5
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.1401d42a0
add rsp, 0x158
pop r15
pop r12
pop rsi
pop rbx
ret
xor al, al
jmp 0x14004bcf8
mov al, 1
jmp 0x14004bd10
mov r9, r8
lea r8, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789__
jmp 0x14004bac0
Function at 0x14004bea0
Capabilities:
Encode data using base64

Disassembly:
mov r11, rsp
push rbx
push rsi
push r12
push r15
sub rsp, 0x158
mov rax, qword [0x1402b87c0]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov rbx, r9
mov r15, r8
mov esi, edx
mov r12, rcx
test edx, edx
je 0x14004bd32
test rcx, rcx
je 0x14004bd32
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.140031de0
test al, al
je 0x14004bd2e
mov eax, 0xaaaaaaab
xor ebp, ebp
mul esi
xor r10d, r10d
xor edi, edi
mov r14d, edx
shr r14d, 1
je 0x14004bc31
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 0x14004bc09
mov r8d, r10d
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.14002e1a0
test al, al
je 0x14004bd2e
xor r10d, r10d
xor r11d, r11d
inc edi
cmp edi, r14d
jb 0x14004bb60
test r10d, r10d
je 0x14004bc31
mov r8d, r10d
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.14002e1a0
test al, al
je 0x14004bd2e
lea eax, [r14 + r14*2]
mov cl, 1
sub esi, eax
sub esi, 1
je 0x14004bc9f
cmp esi, 1
jne 0x14004bcf5
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.14002d2d0
test al, al
je 0x14004bcf3
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.14002d2d0
test al, al
je 0x14004bcf3
and edi, 0xf
shl edi, 2
movzx edx, byte [rdi + r15]
jmp 0x14004bcd5
movzx edi, byte [rbp + r12]
mov rcx, rbx
mov eax, edi
shr rax, 2
movzx edx, byte [rax + r15]
call fcn.14002d2d0
test al, al
je 0x14004bcf3
and edi, 3
mov rcx, rbx
shl edi, 4
movzx edx, byte [rdi + r15]
call fcn.14002d2d0
test al, al
je 0x14004bcf3
mov dl, 0x3d
mov rcx, rbx
call fcn.14002d2d0
test al, al
je 0x14004bcf3
mov dl, 0x3d
mov rcx, rbx
call fcn.14002d2d0
test al, al
je 0x14004bcf3
mov cl, 1
jmp 0x14004bcf5
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.1401d42a0
add rsp, 0x158
pop r15
pop r12
pop rsi
pop rbx
ret
xor al, al
jmp 0x14004bcf8
mov al, 1
jmp 0x14004bd10
mov r9, r8
lea r8, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789__
jmp 0x14004bac0
Function at 0x14004e720
Capabilities:
Get hostname

Disassembly:
push rbx
sub rsp, 0x1b0
mov rax, qword [0x1402b87c0]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
mov rbx, rcx
call fcn.14002f3c0
cmp byte [0x1402bb181], 0
jne 0x14004e7a3
xor edx, edx
mov r8d, 0x200
lea rcx, [0x1402bb350]
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x20], 0x100
lea rdx, [rsp + 0x20]
lea rcx, [0x1402bb350]
call qword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
jne 0x14004e79c
movsd xmm0, qword [str.Win32]
movsd qword [0x1402bb350], xmm0
movzx eax, word [0x1401e4050]
mov word [0x1402bb358], ax
mov byte [0x1402bb181], 1
xor edx, edx
mov r8d, 0x170
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rsp + 0x30]
call fcn.1400072c0
nop
lea rdx, [0x1402bb350]
lea rcx, [rsp + 0x30]
call fcn.140007fa0
lea rcx, [rsp + 0x30]
call fcn.14000a650
mov rdx, rax
mov rcx, rbx
call fcn.14002ceb0
nop
lea rcx, [rsp + 0x30]
call fcn.140007320
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.1401d42a0
add rsp, 0x1b0
pop rbx
ret
Function at 0x140078440
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 [0x1402b87c0]
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 0x140078697
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.1400797f0
movsxd r12, eax
cmp ebx, esi
jle 0x1400784e9
lea r9, [rbp + 0x50]
mov r8d, r14d
mov edx, ebx
mov rcx, r15
call fcn.140078840
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 [0x14021b2a0]
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 0x140078550
movsxd rax, ecx
cmp rax, rdi
jge 0x140078612
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 0x140078600
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.140078ba0
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.140078840
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.1401d42a0
add rsp, 0x2c0
pop r15
pop r14
pop r13
pop rbx
pop rbp
ret
Function at 0x140093a20
Capabilities:
Hash data using crc32b

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
movzx ecx, byte [0x1402bc0a0]
movzx eax, byte [0x1402bc0a1]
test cl, cl
jne 0x140093c10
test al, al
jne 0x140093c18
cmp qword [0x1402bc0a8], 0
jne 0x140093c3d
mov ecx, 0x100
mov byte [0x1402bc0a1], 1
call fcn.1400119f0
mov rdi, rax
test rax, rax
je 0x140093c3d
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 0x140093b92
lea ecx, [r8 + 1]
mov edx, 1
shl edx, cl
or r9d, edx
shr eax, 1
test al, 1
je 0x140093ba5
mov ecx, r8d
mov edx, 1
shl edx, cl
or r9d, edx
shr eax, 1
sub r8d, 2
cmp r8d, 0xfffffffe
jg 0x140093b80
mov dword [r11], r9d
inc r10d
add r11, 4
cmp r10d, 0xff
jbe 0x140093a80
cmp qword [0x1402bc0a8], rbx
jne 0x140093bf0
mov qword [0x1402bc0a8], rdi
mov byte [0x1402bc0a0], 1
mov byte [0x1402bc0a1], bl
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rcx, rdi
call fcn.1401d47d8
mov byte [0x1402bc0a0], 1
mov byte [0x1402bc0a1], bl
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
test al, al
je 0x140093c3d
test cl, cl
jne 0x140093c3d
xor ebx, ebx
test al, al
je 0x140093c3d
nop
mov ecx, 2
call sub.KERNEL32.dll_Sleep
inc ebx
cmp ebx, 0xc8
ja 0x140093c3d
cmp byte [0x1402bc0a1], 0
jne 0x140093c20
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140093c50
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 8
mov r10, rdx
mov r11, rcx
test rdx, rdx
je 0x140093eac
test r8d, r8d
je 0x140093eac
cmp r8d, 0x10
jb 0x140093e6b
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 [0x1402bc0a8]
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 [0x1402bc0a8]
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 [0x1402bc0a8]
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 [0x1402bc0a8]
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 [0x1402bc0a8]
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 [0x1402bc0a8]
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 [0x1402bc0a8]
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 [0x1402bc0a8]
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 [0x1402bc0a8]
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 [0x1402bc0a8]
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 [0x1402bc0a8]
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 [0x1402bc0a8]
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 [0x1402bc0a8]
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 [0x1402bc0a8]
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 [0x1402bc0a8]
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 [0x1402bc0a8]
xor edx, dword [rax + rcx*4]
mov dword [r11 + 8], edx
mov ebx, edx
sub r9, 1
jne 0x140093c90
mov rbx, qword [rsp]
test r8d, r8d
je 0x140093eac
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 [0x1402bc0a8]
xor ecx, dword [rax + rdx*4]
mov dword [r11 + 8], ecx
mov r9d, ecx
add r8d, 0xffffffff
jne 0x140093e80
add rsp, 8
ret
Function at 0x1400956c0
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 [0x1402b87c0]
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 0x14009585d
mov ecx, dword [rsp + 0x30]
test ecx, ecx
je 0x1400958d3
call fcn.140011960
mov rdi, rax
test rax, rax
je 0x1400958d7
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 0x1400957dd
mov r8d, dword [rsp + 0x30]
mov eax, dword [rsp + 0x34]
cmp eax, 4
jne 0x1400957a0
cmp r8d, eax
jne 0x1400957c2
mov edx, dword [rdi]
mov rcx, rbx
call fcn.14002cda0
mov sil, 1
mov rcx, rdi
call fcn.1401d47d8
jmp 0x1400958d3
dec eax
cmp eax, 1
ja 0x1400957c2
mov rdx, rdi
mov rcx, rbx
call fcn.14002ceb0
mov sil, 1
mov rcx, rdi
call fcn.1401d47d8
jmp 0x1400958d3
mov rdx, rdi
mov rcx, rbx
call fcn.14002d4f0
mov sil, 1
mov rcx, rdi
call fcn.1401d47d8
jmp 0x1400958d3
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.14002c780
nop
mov edx, r12d
lea rcx, [rbp - 0x79]
call fcn.14002df80
mov rbx, qword [r14]
lea rcx, [rbp - 0x79]
call fcn.140032750
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.14002c7d0
mov rcx, rdi
call fcn.1401d47d8
jmp 0x1400958d3
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.14002c780
nop
mov edx, edi
lea rcx, [rbp - 0x79]
call fcn.14002df80
mov rbx, qword [r14]
lea rcx, [rbp - 0x79]
call fcn.140032750
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.14002c7d0
movzx eax, sil
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.1401d42a0
add rsp, 0xe0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret