joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000c1b0
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg
Hash data with crc32
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x30
cmp byte [rcx + 0x41], 0
mov rsi, rdx
mov edi, r8d
mov rbx, rcx
je 0x14000c2b7
mov rcx, qword [rcx + 0x50]
mov rax, rcx
test rcx, rcx
je 0x14000c1ef
cmp dword [rbx + 0x58], edi
jae 0x14000c1ef
call fcn.14000cb30
mov qword [rbx + 0x50], 0
jmp 0x14000c1f4
test rax, rax
jne 0x14000c203
lea ecx, [rdi + rdi]
call fcn.14000cb38
mov qword [rbx + 0x50], rax
mov dword [rbx + 0x58], edi
mov r8, rdi
mov rdx, rsi
mov rcx, rax
mov rbp, rdi
call fcn.140023e00
test edi, edi
je 0x14000c2b1
mov qword [rsp + 0x58], r15
xor r11d, r11d
lea r15, [0x140027130]
mov rsi, rdi
nop
mov rax, qword [rbx + 0x50]
lea r11, [r11 + 1]
mov r8d, dword [rbx + 0x4c]
mov edx, dword [rbx + 0x44]
mov r9d, r8d
mov ecx, edx
and r9d, 0xfffd
movsx r10, byte [r11 + rax - 1]
or r9d, 2
xor rcx, r10
shr edx, 8
movzx eax, cl
movzx ecx, r8b
shr r8d, 8
xor edx, dword [r15 + rax*4]
movzx eax, dl
add eax, dword [rbx + 0x48]
imul eax, eax, 0x8088405
mov dword [rbx + 0x44], edx
inc eax
mov dword [rbx + 0x48], eax
shr rax, 0x18
xor rcx, rax
xor r8d, dword [r15 + rcx*4]
mov ecx, r9d
xor ecx, 1
mov dword [rbx + 0x4c], r8d
mov rax, qword [rbx + 0x50]
imul ecx, r9d
shr ecx, 8
xor cl, r10b
mov byte [r11 + rax - 1], cl
sub rsi, 1
jne 0x14000c230
mov r15, qword [rsp + 0x58]
mov rsi, qword [rbx + 0x50]
jmp 0x14000c2ba
mov rbp, rdi
mov rdx, qword [rbx + 0x30]
test rdx, rdx
je 0x14000c304
mov ecx, dword [rbx + 0x38]
lea eax, [rcx + rdi]
cmp eax, dword [rbx + 0x3c]
jb 0x14000c2e4
mov dword [rbx + 0x24], 0x30000
xor eax, eax
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
add rcx, rdx
mov r8, rbp
mov rdx, rsi
call fcn.140023e00
add dword [rbx + 0x38], edi
mov eax, edi
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14000c338
lea r9, [rsp + 0x50]
mov qword [rsp + 0x20], 0
mov r8d, edi
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [rsp + 0x50]
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
mov dword [rbx + 0x24], 0x1000000
xor eax, eax
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000d754
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000d79e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000d79e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000d79e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000d79e
cmp dword [rcx + 0x84], 0xe
jbe 0x14000d79e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14000d7a0
xor al, al
add rsp, 0x28
ret

Function at 0x1400169b0
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400167ac
Function at 0x14001c138
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x14001c168
xor eax, eax
jmp 0x14001c22b
mov rbp, rbx
cmp word [rax], si
je 0x14001c18d
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14001c174
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14001c170
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.14001c058
movsxd r14, eax
test eax, eax
jne 0x14001c1cb
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14001c161
mov rcx, r14
call fcn.140017360
mov rdi, rax
test rax, rax
jne 0x14001c1e4
xor ecx, ecx
call fcn.140017324
jmp 0x14001c1c0
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.14001c058
test eax, eax
jne 0x14001c215
mov rcx, rdi
call fcn.140017324
jmp 0x14001c21f
xor ecx, ecx
call fcn.140017324
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x14002042c
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x140020442
mov al, 1
jmp 0x1400204a2
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x140020453
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x1400204a0
mov ecx, dword [rcx + 0x18]
nop
call fcn.14001c9a0
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400204a0
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1400204a0
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1400204a0
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x1400204a2
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x140021114
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.140013454
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14002119e
cmp byte [rbp - 0x21], r15b
je 0x140021199
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x1400211d4
call fcn.1400186b8
test eax, eax
jne 0x1400211c0
cmp byte [rbp - 0x21], r15b
je 0x1400211b8
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1400211d4
cmp byte [rbp - 0x21], r15b
je 0x1400211d1
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.14001a7a4
test eax, eax
jne 0x140021274
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.140013454
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x140021213
cmp byte [rbp - 0x21], r15b
je 0x140021248
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x140021248
call fcn.1400186b8
test eax, eax
jne 0x140021234
cmp byte [rbp - 0x21], r15b
je 0x14002122d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x140021248
cmp byte [rbp - 0x21], r15b
je 0x140021245
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.14001a7a4
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x140021274
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x140021277
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x140021285
mov rcx, rdi
call fcn.140017324
cmp byte [rbp + 0x3f], r15b
je 0x140021294
mov rcx, qword [rbp + 0x27]
call fcn.140017324
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret

Function at 0x1400237f0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140023818
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140023818
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140006800
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbx
mov rax, rcx
add qword [rcx + 0x30], r8
mov r11, qword [rcx + 0x40]
test r11, r11
je 0x140006842
mov r10d, 8
sub r10, r11
cmp r8, r10
mov rdi, r10
cmovb rdi, r8
cmp rdi, 3
jbe 0x14000684a
mov esi, dword [rdx]
mov r9d, 4
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jb 0x14000685b
jmp 0x140006872
xor r10d, r10d
jmp 0x1400068fd
xor esi, esi
xor r9d, r9d
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jae 0x140006872
movzx ebx, word [rdx + r9]
lea ecx, [r9*8]
shl rbx, cl
or rsi, rbx
or r9, 2
cmp r9, rdi
jae 0x140006889
movzx edi, byte [rdx + r9]
shl r9d, 3
mov ecx, r9d
shl rdi, cl
or rsi, rdi
lea ecx, [r11*8]
shl rsi, cl
or rsi, qword [rax + 0x38]
mov qword [rax + 0x38], rsi
cmp r10, r8
jbe 0x1400068a9
add r11, r8
jmp 0x1400069da
mov r11, qword [rax + 0x18]
mov r9, qword [rax + 0x10]
mov rcx, qword [rax]
add rcx, r9
rol r9, 0xd
xor r11, rsi
xor r9, rcx
rol rcx, 0x20
mov rdi, qword [rax + 8]
add rdi, r11
rol r11, 0x10
xor r11, rdi
add rcx, r11
rol r11, 0x15
xor r11, rcx
add rdi, r9
rol r9, 0x11
mov qword [rax + 0x18], r11
xor r9, rdi
rol rdi, 0x20
mov qword [rax + 0x10], r9
mov qword [rax + 8], rdi
xor rcx, rsi
mov qword [rax], rcx
sub r8, r10
mov r11d, r8d
and r11d, 7
and r8, 0xfffffffffffffff8
cmp r10, r8
jae 0x140006972
mov rcx, qword [rax]
mov r9, qword [rax + 8]
mov rdi, qword [rax + 0x18]
mov rsi, qword [rax + 0x10]
nop
add rcx, rsi
rol rsi, 0xd
mov rbx, qword [rdx + r10]
xor rsi, rcx
rol rcx, 0x20
xor rdi, rbx
add r9, rdi
rol rdi, 0x10
xor rdi, r9
add rcx, rdi
rol rdi, 0x15
add r9, rsi
rol rsi, 0x11
xor rsi, r9
rol r9, 0x20
xor rdi, rcx
xor rcx, rbx
add r10, 8
cmp r10, r8
jb 0x140006920
mov qword [rax + 0x18], rdi
mov qword [rax + 0x10], rsi
mov qword [rax + 8], r9
mov qword [rax], rcx
cmp r11d, 3
jbe 0x140006990
mov r9d, dword [rdx + r10]
mov r8d, 4
mov rcx, r8
or rcx, 1
cmp rcx, r11
jb 0x1400069a2
jmp 0x1400069bc
xor r9d, r9d
xor r8d, r8d
mov rcx, r8
or rcx, 1
cmp rcx, r11
jae 0x1400069bc
lea rcx, [r8 + r10]
movzx esi, word [rdx + rcx]
lea ecx, [r8*8]
shl rsi, cl
or r9, rsi
or r8, 2
cmp r8, r11
jae 0x1400069d6
add r10, r8
movzx edx, byte [rdx + r10]
shl r8d, 3
mov ecx, r8d
shl rdx, cl
or r9, rdx
mov qword [rax + 0x38], r9
mov qword [rax + 0x40], r11
pop rbx
pop rdi
pop rsi
ret
Function at 0x14001d9d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rax, rdx
mov rsi, qword [rsp + 0x90]
mov rdi, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x80]
mov ebx, ecx
shr ebx, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov r15, rax
movzx r14d, byte [rax + 1]
add rax, 2
lea r10, [r11 + r14]
cmp byte [r15], bl
jne 0x14001da60
cmp r11, r10
ja 0x14001dad6
cmp r10, rdx
ja 0x14001daea
add r11, r9
xor r15d, r15d
nop word cs:[rax + rax]
cmp r14, r15
je 0x14001da62
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x14001da40
jmp 0x14001dac4
ja 0x14001da6a
mov r11, r10
cmp rax, r8
jne 0x14001da04
add rsi, rdi
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea r8, [rdi + 1]
movzx edx, byte [rdi]
test dl, dl
js 0x14001daa0
mov rdi, r8
sub ecx, edx
jns 0x14001dabb
jmp 0x14001dac6
cmp r8, rsi
je 0x14001dafb
movzx r8d, byte [rdi + 1]
add rdi, 2
and edx, 0x7f
shl edx, 8
or edx, r8d
sub ecx, edx
js 0x14001dac6
xor al, 1
cmp rdi, rsi
jne 0x14001da80
jmp 0x14001dac6
xor eax, eax
and al, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.1401102e0
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.140110050
ud2
lea rcx, str.called__Option::unwrap____on_a__None__value
lea r8, str.librarycore_srcunicodeprintable.rs
mov edx, 0x2b
call fcn.1401100d0
ud2

Function at 0x14001f700
Capabilities:
Hash data with crc32

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
mov r10, rdx
mov eax, ecx
not eax
cmp r8, 0x40
jb 0x14001fae6

Function at 0x14001fb70
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
sub rsp, 0x48
movdqa xmmword [rsp + 0x30], xmm9
movdqa xmmword [rsp + 0x20], xmm8
movdqa xmmword [rsp + 0x10], xmm7
movdqa xmmword [rsp], xmm6
cmp r8, 0x80
jb case.0x140014a68.102
movdqu xmm4, xmmword [rdx]
movdqu xmm3, xmmword [rdx + 0x10]
movdqu xmm2, xmmword [rdx + 0x20]
movdqu xmm1, xmmword [rdx + 0x30]
not ecx
movd xmm0, ecx
pxor xmm0, xmm4
add rdx, 0x40
add r8, 0xffffffffffffffc0
movabs rax, 0x154442bd4
movq xmm4, rax
movdqa xmm5, xmmword [0x140119710]
nop word cs:[rax + rax]
movdqa xmm6, xmm0
pclmulqdq xmm6, xmm4, 0
movdqa xmm7, xmm0
pclmulqdq xmm7, xmm5, 0x11
movdqu xmm0, xmmword [rdx]
pxor xmm0, xmm6
pxor xmm0, xmm7
movdqu xmm6, xmmword [rdx + 0x10]
movdqu xmm7, xmmword [rdx + 0x20]
movdqu xmm8, xmmword [rdx + 0x30]
movdqa xmm9, xmm3
pclmulqdq xmm9, xmm4, 0
pxor xmm9, xmm6
pclmulqdq xmm3, xmm5, 0x11
pxor xmm3, xmm9
movdqa xmm6, xmm2
pclmulqdq xmm6, xmm4, 0
pxor xmm6, xmm7
pclmulqdq xmm2, xmm5, 0x11
pxor xmm2, xmm6
movdqa xmm6, xmm1
pclmulqdq xmm6, xmm4, 0
pxor xmm6, xmm8
pclmulqdq xmm1, xmm5, 0x11
pxor xmm1, xmm6
add rdx, 0x40
add r8, 0xffffffffffffffc0
cmp r8, 0x3f
ja 0x14001fbe0
movabs rax, 0x1751997d0
movq xmm4, rax
movdqa xmm6, xmm0
pclmulqdq xmm6, xmm4, 0
movdqa xmm5, xmmword [0x140119720]
pclmulqdq xmm0, xmm5, 0x11
cmp al, byte [rbp + rax*8 + 0x11]
Function at 0x14003e1a0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x78
mov rsi, rdx
cmp dword [rcx], 2
jne 0x14003e236
movdqu xmm0, xmmword [rcx + 8]
pshufd xmm1, xmm0, 0x44
pxor xmm1, xmmword [str.uespemosarenegylmodnarodsetybdet]
movdqa xmmword [rsp + 0x30], xmm1
pshufd xmm1, xmm0, 0xee
pxor xmm1, xmmword [0x140119680]
movdqa xmmword [rsp + 0x40], xmm1
movdqa xmmword [rsp + 0x50], xmm0
pxor xmm0, xmm0
movdqa xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], 0
mov rdi, qword [rsi]
xor eax, eax
test rdi, rdi
setne al
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x28]
mov r8d, 8
call fcn.140006800
test rdi, rdi
je 0x14003e2c5
mov rdx, qword [rsi + 8]
mov r8, qword [rsi + 0x10]
lea rcx, [rsp + 0x30]
jmp 0x14003e2de
mov rdx, qword [rsi]
xor ecx, ecx
test rdx, rdx
setne cl
movabs rax, 0xcbf29ce484222325
xor rax, rcx
movabs rcx, 0x1efac7090aef4a21
imul rax, rcx
test rdx, rdx
je 0x14003e3d6
mov r9, qword [rsi + 0x10]
test r9, r9
je 0x14003e458
mov rcx, qword [rsi + 8]
movabs rdx, 0x100000001b3
mov r10, r9
and r10, 7
je 0x14003e3e3
mov r11, rax
mov r8, rcx
nop word cs:[rax + rax]
movzx eax, byte [r8]
inc r8
xor rax, r11
imul rax, rdx
mov r11, rax
dec r10
jne 0x14003e2a0
cmp r9, 8
jae 0x14003e3ec
jmp 0x14003e458
movzx eax, byte [rsi + 8]
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x28]
mov r8d, 8
call fcn.140006800
mov rcx, qword [rsp + 0x40]
mov r9, qword [rsp + 0x60]
shl r9, 0x38
or r9, qword [rsp + 0x68]
mov rax, qword [rsp + 0x48]
mov r8, qword [rsp + 0x30]
add r8, rcx
rol rcx, 0xd
xor rax, r9
xor rcx, r8
rol r8, 0x20
mov rdx, qword [rsp + 0x38]
add rdx, rax
rol rax, 0x10
xor rax, rdx
add r8, rax
rol rax, 0x15
add rdx, rcx
rol rcx, 0x11
xor rax, r8
xor rcx, rdx
rol rdx, 0x20
xor r8, r9
add r8, rcx
rol rcx, 0xd
xor rcx, r8
rol r8, 0x20
xor rdx, 0xff
add rdx, rax
rol rax, 0x10
xor rax, rdx
add r8, rax
rol rax, 0x15
add rdx, rcx
rol rcx, 0x11
xor rcx, rdx
rol rdx, 0x20
xor rax, r8
add r8, rcx
rol rcx, 0xd
xor rcx, r8
rol r8, 0x20
add rdx, rax
rol rax, 0x10
xor rax, rdx
add r8, rax
rol rax, 0x15
add rdx, rcx
rol rcx, 0x11
xor rcx, rdx
rol rdx, 0x20
xor rax, r8
add r8, rcx
rol rcx, 0xd
xor rcx, r8
add rdx, rax
shl rax, 0x10
xor rax, rdx
shr rax, 0x2b
add rdx, rcx
shr rcx, 0x2f
xor rcx, rax
mov rax, rdx
shr rax, 0x20
xor rax, rdx
xor rax, rcx
jmp 0x14003e458
movzx edx, byte [rsi + 8]
xor rax, rdx
imul rax, rcx
jmp 0x14003e458
mov r8, rcx
cmp r9, 8
jb 0x14003e458
add rcx, r9
nop
movzx r9d, byte [r8]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 1]
xor rax, r9
imul rax, rdx
movzx r9d, byte [r8 + 2]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 3]
xor rax, r9
imul rax, rdx
movzx r9d, byte [r8 + 4]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 5]
xor rax, r9
imul rax, rdx
movzx r9d, byte [r8 + 6]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 7]
add r8, 8
xor rax, r9
imul rax, rdx
cmp r8, rcx
jne 0x14003e3f0
and eax, 0x7fff
add rsp, 0x78
pop rdi
pop rsi
ret
Function at 0x140040f40
Capabilities:
Check for software breakpoints
Encode data using xor
Encrypt data using speck
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
mov eax, 0x1cc8
call fcn.14010e3d0
sub rsp, rax
movaps xmmword [rsp + 0x1cb0], xmm12
movaps xmmword [rsp + 0x1ca0], xmm11
movaps xmmword [rsp + 0x1c90], xmm10
movaps xmmword [rsp + 0x1c80], xmm9
movaps xmmword [rsp + 0x1c70], xmm8
movaps xmmword [rsp + 0x1c60], xmm7
movdqa xmmword [rsp + 0x1c50], xmm6
mov qword [rsp + 0x78], rcx
movzx eax, byte [r8 + 0x16]
mov byte [rsp + 0x67], al
mov rcx, qword [r8]
mov rax, qword [r8 + 8]
mov qword [rsp + 0x290], rax
mov qword [rsp + 0x2b0], rcx
lea rax, [rcx + 8]
mov qword [rsp + 0x2a8], rax
movzx eax, byte [r8 + 0x15]
mov byte [rsp + 0x66], al
movzx eax, byte [r8 + 0x13]
mov byte [rsp + 0x4f], al
movzx eax, byte [r8 + 0x14]
mov byte [rsp + 0x2f], al
movzx eax, byte [r8 + 0x10]
mov byte [rsp + 0x65], al
movzx eax, byte [r8 + 0x11]
mov byte [rsp + 0x3f], al
lea rax, [rsp + 0x357]
and rax, 0xfffffffffffffff8
lea rcx, [rsp + 0x350]
mov qword [rsp + 0x2a0], rax
sub rax, rcx
mov qword [rsp + 0x298], rax
pxor xmm6, xmm6
movaps xmm7, xmmword [0x140119740]
movdqa xmm8, xmmword [0x140119660]
movss xmm9, dword [0x140119750]
movdqa xmm10, xmmword [str.uespemosarenegylmodnarodsetybdet]
movdqa xmm11, xmmword [0x140119680]
movdqa xmm12, xmmword [0x140119810]
mov qword [rsp + 0x238], rdx
mov rbp, qword [rdx + 8]
Function at 0x14004a8a0
Capabilities:
Encrypt data using speck

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x298
movdqa xmmword [rsp + 0x280], xmm15
movdqa xmmword [rsp + 0x270], xmm14
movdqa xmmword [rsp + 0x260], xmm13
movdqa xmmword [rsp + 0x250], xmm12
movdqa xmmword [rsp + 0x240], xmm11
movdqa xmmword [rsp + 0x230], xmm10
movdqa xmmword [rsp + 0x220], xmm9
movdqa xmmword [rsp + 0x210], xmm8
movdqa xmmword [rsp + 0x200], xmm7
movaps xmmword [rsp + 0x1f0], xmm6
mov rsi, r9
mov r14, r8
mov qword [rsp + 0x100], rdx
mov rdi, rcx
mov r15, qword [rsp + 0x300]
test r9, r9
je 0x14004aa6e
lea rax, [r14 + rsi]
xor edx, edx
movdqa xmm0, xmmword [str.xn__]
mov rcx, r14
jmp 0x14004a95f
xor r9d, r9d
mov rdx, r9
cmp rcx, rax
je 0x14004b82e
movzx r10d, byte [rcx]
movzx r8d, r10b
test r8b, r8b
js 0x14004a980
inc rcx
cmp r8d, 0x2e
jne 0x14004aa10
jmp 0x14004a950
mov r9d, r8d
and r9d, 0x1f
movzx r11d, byte [rcx + 1]
and r11d, 0x3f
cmp r8b, 0xdf
jbe 0x14004a9d9
movzx r8d, byte [rcx + 2]
shl r11d, 6
and r8d, 0x3f
or r8d, r11d
cmp r10b, 0xf0
jb 0x14004a9f2
movzx r10d, byte [rcx + 3]
add rcx, 4
and r9d, 7
shl r9d, 0x12
shl r8d, 6
and r10d, 0x3f
or r10d, r8d
or r10d, r9d
mov r8d, r10d
cmp r8d, 0x2e
jne 0x14004aa10
jmp 0x14004a950
add rcx, 2
shl r9d, 6
or r9d, r11d
mov r8d, r9d
cmp r8d, 0x2e
jne 0x14004aa10
jmp 0x14004a950
add rcx, 3
shl r9d, 0xc
or r8d, r9d
cmp r8d, 0x2e
je 0x14004a950
nop word [rax + rax]
cmp r8d, 0x110000
je 0x14004b82e
test rdx, rdx
jne 0x14004aa28
cmp r8d, 0x2d
je 0x14004aa6e
mov r9d, 5
cmp rdx, 4
ja 0x14004aa53
movdqa xmmword [rsp + 0x50], xmm0
je 0x14004b961
cmp r8d, dword [rsp + rdx*4 + 0x50]
jne 0x14004aa53
inc rdx
mov r9, rdx
cmp rdx, 4
je 0x14004aa6e
lea edx, [r8 - 0x61]
cmp edx, 0x1a
jb 0x14004a953
add r8d, 0xffffffd0
cmp r8d, 0xa
jb 0x14004a953
mov qword [rsp + 0x138], rdi
mov r8, qword [rsp + 0x100]
mov eax, dword [r8 + 0x30]
movzx ecx, byte [r8 + 0x34]
add rsi, r14
xorps xmm6, xmm6
movups xmmword [rsp + 0x142], xmm6
movzx edx, word [rsp + 0x150]
mov word [rsp + 0xe6], dx
movdqu xmm0, xmmword [rsp + 0x140]
movdqu xmmword [rsp + 0xd6], xmm0
movups xmmword [rsp + 0xb8], xmm6
mov byte [rsp + 0xc8], 0
mov qword [rsp + 0x50], 0
mov dword [rsp + 0x60], 0
mov word [rsp + 0x64], 0
mov byte [rsp + 0x68], 0
mov dword [rsp + 0x6c], 0
mov byte [rsp + 0x70], 0
and al, 0x70
add bh, al
and al, 0x74
add byte [rax], al
add byte [rax], al
mov rax, qword [r15 + 8]
mov rbx, qword [r15 + 0x10]
sub rax, rbx
cmp rax, rsi
jb 0x14004b94a
mov rcx, qword [r15]
add rcx, rbx
mov rdx, r14
mov r8, rsi
call sub.VCRUNTIME140.dll_memcpy
add rbx, rsi
mov qword [r15 + 0x10], rbx
mov qword [rdi], 0
mov dword [rdi + 8], 0
mov rcx, r15
mov rdx, rbx
mov r8, rsi
call fcn.140112100
mov rbx, qword [r15 + 0x10]
jmp 0x14004b842
lea r8, str.C:Usersmpx16.cargo_registry_srcindex.crates.io_6f17d22bba15001fidna_0.5.0_srcuts46.rs
mov ecx, 4
mov edx, 4
call fcn.14010ffd0
or al, 0
ud2
Function at 0x14005fce0
Capabilities:
Query or enumerate registry value

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x78
mov rax, r8
mov rbx, rdx
mov rsi, rcx
lea rcx, [rsp + 0x60]
mov r8d, 0xb
mov rdx, rax
call fcn.14005f9a0
mov dword [rsp + 0x38], 0x800
mov dword [rsp + 0x3c], 0
movzx eax, byte [0x14018af58]
mov rcx, qword [0x14018aea8]
test rcx, rcx
jne 0x14005fd48
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
test rax, rax
je 0x14005fe9c
mov rcx, rax
mov qword [0x14018aea8], rax
mov r8d, 0x800
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
je 0x14005fe9c
mov r14, rax
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 0x800
mov qword [rsp + 0x50], 0
mov rdi, qword [rsp + 0x60]
lea rbp, [rsp + 0x38]
lea r15, [rsp + 0x3c]
mov r12, qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rsi, qword [rsp + 0x48]
mov r13, qword [rsp + 0x50]
sub rsi, r13
nop word cs:[rax + rax]
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], r14
mov rcx, rbx
mov rdx, rdi
xor r8d, r8d
mov r9, r15
call r12
cmp eax, 0xea
jne 0x14005fdee
mov r8d, dword [rsp + 0x38]
cmp rsi, r8
jae 0x14005fdb0
lea rcx, [rsp + 0x40]
mov rdx, r13
call fcn.140112100
mov r14, qword [rsp + 0x40]
jmp 0x14005fd94
test eax, eax
jne 0x14005fe24
mov eax, dword [rsp + 0x38]
mov qword [rsp + 0x50], rax
mov eax, dword [rsp + 0x3c]
cmp eax, 0xb
mov rdx, qword [rsp + 0x58]
jbe 0x14005fe7e
movabs rax, 0xde00000002
mov qword [rdx], rax
mov byte [rdx + 0x18], 0xc
cmp qword [rsp + 0x48], 0
jne 0x14005fe40
jmp 0x14005fe52
shl rax, 0x20
or rax, 2
mov rdx, qword [rsp + 0x58]
mov qword [rdx], rax
mov byte [rdx + 0x18], 0xc
cmp qword [rsp + 0x48], 0
je 0x14005fe52
mov rcx, qword [0x14018aea8]
xor edx, edx
mov r8, r14
call qword [sym.imp.KERNEL32.dll_HeapFree]
cmp qword [rsp + 0x68], 0
je 0x14005fe6c
mov rcx, qword [0x14018aea8]
xor edx, edx
mov r8, rdi
call qword [sym.imp.KERNEL32.dll_HeapFree]
nop
add rsp, 0x78
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, qword [rsp + 0x50]
mov qword [rdx + 0x10], rcx
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rdx], xmm0
mov byte [rdx + 0x18], al
cmp qword [rsp + 0x68], 0
jne 0x14005fe5a
jmp 0x14005fe6c
mov ecx, 1
mov edx, 0x800
call fcn.14010fbd0
ud2