joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140014924
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
sub rsp, 0xd0
mov rax, qword [0x140024138]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov r12, rdx
lea rdx, [rsp + 0x40]
mov rbp, rcx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov ecx, eax
mov esi, eax
call qword [sym.imp.msvcrt.dll_malloc]
xor ebx, ebx
mov rdi, rax
cmp esi, ebx
jbe 0x140014a53
cmp rax, rbx
je 0x140014a53
mov r9, rax
mov r8d, esi
xor edx, edx
mov rcx, rbp
call sub.VERSION.dll_GetFileVersionInfoW
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x48]
lea rdx, [0x1400031b8]
mov rcx, rdi
mov dword [rsp + 0x30], ebx
call sub.VERSION.dll_VerQueryValueW
cmp dword [rsp + 0x30], 4
jb 0x140014a53
mov rax, qword [rsp + 0x48]
lea r8, [0x1400031f0]
lea edx, [rbx + 0x32]
movzx ecx, word [rax + 2]
movzx r9d, word [rax]
mov dword [rsp + 0x20], ecx
lea rcx, [rsp + 0x50]
call fcn.140013ae8
cmp eax, ebx
jl 0x140014a53
lea r9, [rsp + 0x34]
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x50]
mov rcx, rdi
mov qword [rsp + 0x38], rbx
call sub.VERSION.dll_VerQueryValueW
mov r9, qword [rsp + 0x38]
mov edx, dword [rsp + 0x34]
mov r11, rbx
cmp r9, rbx
je 0x140014a3c
cmp rdx, 0x7fffffff
ja 0x140014a3c
mov rcx, rdx
mov r8, r9
mov eax, ebx
cmp rdx, rbx
je 0x140014a3c
cmp word [r8], bx
je 0x140014a2f
add r8, 2
sub rcx, 1
jne 0x140014a1f
cmp rcx, rbx
je 0x140014a3c
mov r11, rdx
sub r11, rcx
jmp 0x140014a41
mov eax, 0x80070057
cmp eax, ebx
jl 0x140014a53
mov r8d, r11d
mov rdx, r9
mov rcx, r12
call fcn.14000ef50
mov rcx, rdi
call qword [sym.imp.msvcrt.dll_free]
mov rcx, qword [r12]
call qword [sym.imp.OLEAUT32.dll_VariantInit]
cmp eax, ebx
seta al
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.14001b920
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret
Function at 0x14001aa94
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
mov eax, 0x1050
call fcn.14001c330
sub rsp, rax
mov rax, qword [0x140024138]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov rsi, rdx
mov ebx, ecx
mov r8d, 0x208
mov rcx, rsi
xor edx, edx
call sub.msvcrt.dll_memset
mov ebp, 0x1000
lea rcx, [rsp + 0x40]
mov r8, rbp
xor edx, edx
xor edi, edi
call sub.msvcrt.dll_memset
lea rax, [rsp + 0x40]
lea r9, [rsp + 0x20]
lea r8d, [rdi + 0x18]
lea rdx, [rsp + 0x28]
lea ecx, [rdi + 0x58]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x28], rbx
mov word [rsp + 0x32], bp
mov word [rsp + 0x30], di
mov dword [rsp + 0x20], edi
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, edi
jl 0x14001ab92
mov rcx, qword [rsp + 0x38]
cmp rcx, rdi
je 0x14001ab92
cmp word [rsp + 0x30], di
je 0x14001ab92
movzx eax, word [rsp + 0x30]
mov edx, 0x7ff
shr eax, 1
cmp eax, 0x800
cmovae eax, edx
mov edx, edi
cdqe
mov word [rcx + rax*2], di
mov r8, qword [rsp + 0x38]
mov ecx, 0x104
sub r8, rsi
lea rax, [rcx + 0x7ffffefa]
cmp rax, rdi
je 0x14001ab7b
movzx eax, word [r8 + rsi]
cmp ax, di
je 0x14001ab7b
mov word [rsi], ax
add rsi, 2
sub rcx, 1
jne 0x14001ab58
cmp rcx, rdi
jne 0x14001ab89
sub rsi, 2
mov edx, 0x8007007a
cmp edx, edi
mov word [rsi], di
setge dil
mov eax, edi
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.14001b920
mov rbx, qword [rsp + 0x1080]
add rsp, 0x1050
pop rdi
pop rsi
pop rbp
ret

Function at 0x14001b248
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0xd0
mov rax, qword [0x140024138]
xor rax, rsp
mov qword [rsp + 0xc0], rax
xor edx, edx
mov rbx, rcx
lea r8d, [rdx + 0x28]
add rcx, r8
call sub.msvcrt.dll_memset
and qword [rbx + 0x50], 0
and dword [rbx + 0x58], 0
and dword [rbx + 0x5c], 0
lea rax, [0x140000000]
mov esi, DllRegisterServer
lea rcx, [rsp + 0x20]
mov r8, rsi
xor edx, edx
mov qword [rbx + 0x10], rax
mov qword [rbx + 8], rax
mov dword [rbx], 0x60
mov byte [rbx + 0x18], 0
call sub.msvcrt.dll_memset
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], esi
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [rsp + 0x30], 2
mov esi, 1
jne 0x14001b2db
cmp dword [rsp + 0x24], 5
jb 0x14001b2f5
jmp 0x14001b2f1
cmp dword [rsp + 0x30], esi
jne 0x14001b2f5
cmp dword [rsp + 0x24], 4
ja 0x14001b2f1
jne 0x14001b2f5
cmp dword [rsp + 0x28], 0
jbe 0x14001b2f5
mov byte [rbx + 0x18], sil
lea rax, [0x140001880]
lea rcx, [rbx + 0x28]
mov dword [rbx + 0x1c], 0x800
mov qword [rbx + 0x20], rax
call fcn.14000904c
movzx ecx, byte [0x140024f70]
test eax, eax
mov rax, rbx
cmovs ecx, esi
mov byte [0x140024f70], cl
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.14001b920
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x14001b920
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x140024138]
jne 0x14001b93b
rol rcx, 0x10
test cx, 0xffff
jne 0x14001b937
ret 0
ror rcx, 0x10
jmp 0x14001bf80
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x1400246a0]
call qword [sym.imp.ntdll.dll_RtlCaptureContext]
mov r11, qword [0x140024798]
mov qword [rsp + 0x58], r11
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.ntdll.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x14001c005
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x1400246a0]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.ntdll.dll_RtlVirtualUnwind
jmp 0x14001c027
mov rax, qword [rsp + 0x88]
mov qword [0x140024798], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x140024738], rax
mov rax, qword [0x140024798]
mov qword [0x140024610], rax
mov rax, qword [rsp + 0x90]
mov qword [0x140024720], rax
mov dword [0x140024600], 0xc0000409
mov dword [0x140024604], 1
mov rax, qword [0x140024138]
mov qword [rsp + 0x68], rax
mov rax, qword [0x140024140]
mov qword [rsp + 0x70], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x140001968]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.API_MS_Win_Core_ProcessThreads_L1_1_0.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.API_MS_Win_Core_ProcessThreads_L1_1_0.dll_TerminateProcess]
add rsp, 0x88
ret

Function at 0x14001be1c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
cmp rcx, rdx
je 0x14001be69
cmp rcx, 0xffffffffffffffff
je 0x14001be69
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14001be61
cmp dword [rcx + 0x3c], edx
jl 0x14001be61
cmp dword [rcx + 0x3c], 0x10000000
jae 0x14001be61
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x14001be69
mov rax, rdx
add rsp, 0x18
ret

Function at 0x14001c0d8
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x530
lea rcx, [rsp + 0x60]
call qword [sym.imp.ntdll.dll_RtlCaptureContext]
mov rbx, qword [rsp + reloc.COMCTL32.dll_Ordinal_344]
lea rdx, [rsp + 0x40]
mov rcx, rbx
xor r8d, r8d
call qword [sym.imp.ntdll.dll_RtlLookupFunctionEntry]
test rax, rax
je 0x14001c143
and qword [rsp + 0x38], 0
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x50]
mov r9, rax
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x60]
mov r8, rbx
mov qword [rsp + 0x20], rcx
xor ecx, ecx
call qword [sym.imp.ntdll.dll_RtlVirtualUnwind]
jmp 0x14001c163
mov rax, qword [rsp + 0x538]
mov qword [rsp + reloc.COMCTL32.dll_Ordinal_344], rax
lea rax, [rsp + 0x538]
mov qword [rsp + 0xf8], rax
lea rcx, [0x140001978]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
add rsp, 0x530
pop rbx
ret
Function at 0x140005220
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
aeskeygenassist xmm0, xmmword [rdx], 2
movdqa xmmword [rcx], xmm0
ret
Function at 0x14001218b
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x3f8
mov r14, rdx
mov qword [rsp + 0x30], rcx
lea rbx, [rsp + 0x38]
mov r8d, 0x3c0
mov rcx, rbx
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov qword [rsp + 0x20], r14
mov rcx, rbx
mov rdx, r14
mov r8, r14
mov r9, r14
call fcn.140011b7b
lea rdi, [rsp + 0x78]
add r14, 0x10
mov qword [rsp + 0x20], r14
mov rcx, rdi
mov rdx, r14
mov r8, r14
mov r9, r14
call fcn.140011b7b
mov r14d, 8
mov r12d, 0xc0
mov r13d, 0x80
mov ebp, 0x80
mov esi, 0x80
mov rcx, rbx
mov rdx, r14
call fcn.140011d68
lea r15, [rsp + rbp]
add r15, 0x38
mov rcx, r15
call fcn.140011dc7
not qword [r15]
not qword [r15 + 8]
not qword [r15 + 0x28]
not qword [r15 + 0x30]
xor byte [rsp + rsi + 0x3b], 0xf0
add r14, 8
mov rcx, rbx
mov rdx, r14
mov r8d, 0x1c
call fcn.140012074
cmp rsi, 0x3b0
je 0x1400122b5
mov rcx, rbx
mov rdx, r14
call fcn.140011d68
lea rcx, [rsp + r12]
add rcx, 0x38
call fcn.140011dc7
not qword [rsp + rbp + 0x78]
not qword [rsp + rbp + 0x80]
not qword [rsp + rbp + 0xa0]
not qword [rsp + rbp + 0xa8]
add r14, 8
mov rcx, rbx
mov rdx, r14
mov r8d, 0xc
call fcn.140012074
add rsi, 0x88
add r12, r13
add rbp, r13
jmp 0x14001220c
lea rdx, [rsp + 0xb8]
mov r8d, 3
lea r9, [rsp + 0xf8]
movabs rax, 0xf00ff00f00000
movabs rcx, 0xf0f00000f0f0000
movabs r10, 0xff000000ff0000
movabs r11, 0xf000ff000f0000
mov ebx, 0x100
dec r8
xor esi, esi
mov r14, qword [rdi + rsi*8]
mov r15, r14
shr r15, 8
xor r15, r14
and r15, rax
xor r14, r15
shl r15, 8
xor r15, r14
mov r14, r15
shr r14, 4
xor r14, r15
and r14, rcx
xor r15, r14
shl r14, 4
xor r14, r15
mov qword [rdi + rsi*8], r14
lea r14, [rsi + 1]
mov rsi, r14
cmp r14, 8
jne 0x1400122fd
xor esi, esi
mov r14, qword [rdx + rsi*8]
mov r15, r14
shr r15, 8
xor r15, r14
and r15, r10
xor r14, r15
shl r15, 8
xor r15, r14
mov qword [rdx + rsi*8], r15
lea r14, [rsi + 1]
mov rsi, r14
cmp r14, 8
jne 0x140012342
xor esi, esi
mov r14, qword [r9 + rsi*8]
mov r15, r14
shr r15, 8
xor r15, r14
and r15, r11
xor r14, r15
shl r15, 8
xor r15, r14
mov r14, r15
shr r14, 4
xor r14, r15
and r14, rcx
xor r15, r14
shl r14, 4
xor r14, r15
mov qword [r9 + rsi*8], r14
lea r14, [rsi + 1]
mov rsi, r14
cmp r14, 8
jne 0x140012370
add rdi, rbx
add rdx, rbx
add r9, rbx
test r8, r8
jne 0x1400122f8
mov edx, 0x68
mov r8, qword [rsp + rdx*8 + 0x38]
mov r9, r8
shr r9, 8
xor r9, r8
and r9, rax
xor r8, r9
shl r9, 8
xor r9, r8
mov r8, r9
shr r8, 4
xor r8, r9
and r8, rcx
xor r9, r8
shl r8, 4
xor r8, r9
mov qword [rsp + rdx*8 + 0x38], r8
lea r8, [rdx + 1]
mov rdx, r8
cmp r8, 0x70
jne 0x1400123ca
mov eax, 0x70
not qword [rsp + rax + 8]
not qword [rsp + rax + 0x10]
not qword [rsp + rax + 0x30]
not qword [rsp + rax + 0x38]
add rax, 0x40
cmp rax, 0x3f0
jne 0x140012414
lea rdx, [rsp + 0x38]
mov r8d, 0x3c0
mov rcx, qword [rsp + 0x30]
call fcn.1400aba85
nop
add rsp, 0x3f8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x14001bdd0
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 0x14001be60
cmp r11, r10
ja 0x14001bed6
cmp r10, rdx
ja 0x14001beea
add r11, r9
xor r15d, r15d
nop word cs:[rax + rax]
cmp r14, r15
je 0x14001be62
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x14001be40
jmp 0x14001bec4
ja 0x14001be6a
mov r11, r10
cmp rax, r8
jne 0x14001be04
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 0x14001bea0
mov rdi, r8
sub ecx, edx
jns 0x14001bebb
jmp 0x14001bec6
cmp r8, rsi
je 0x14001befb
movzx r8d, byte [rdi + 1]
add rdi, 2
and edx, 0x7f
shl edx, 8
or edx, r8d
sub ecx, edx
js 0x14001bec6
xor al, 1
cmp rdi, rsi
jne 0x14001be80
jmp 0x14001bec6
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.1400ac210
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.1400abf40
ud2
lea rcx, str.called__Option::unwrap____on_a__None__value
lea r8, str.librarycore_srcunicodeprintable.rs
mov edx, 0x2b
call fcn.1400abfc0
ud2
Function at 0x14002a376
Capabilities:
Encrypt data using speck

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x238
movaps xmmword [rsp + 0x220], xmm6
mov qword [rsp + 0x148], r9
mov r14, rcx
mov rcx, qword [rsp + 0x2a8]
lea rax, [rdx + r8]
test r8, r8
je 0x14002a4d1
xor r9d, r9d
movaps xmm0, xmmword [0x1400b2a90]
mov r15, rdx
mov bl, byte [r15]
movzx r10d, bl
test r10b, r10b
js 0x14002a3cf
inc r15
jmp 0x14002a441
mov r11d, r10d
and r11d, 0x1f
movzx edi, byte [r15 + 1]
and edi, 0x3f
cmp r10b, 0xdf
jbe 0x14002a423
movzx esi, byte [r15 + 2]
shl edi, 6
and esi, 0x3f
or esi, edi
cmp bl, 0xf0
jb 0x14002a433
movzx r10d, byte [r15 + 3]
and r11d, 7
shl r11d, 0x12
shl esi, 6
and r10d, 0x3f
or r10d, esi
or r10d, r11d
cmp r10d, 0x110000
je 0x14002a4a1
add r15, 4
jmp 0x14002a441
add r15, 2
shl r11d, 6
or r11d, edi
mov r10d, r11d
jmp 0x14002a441
add r15, 3
shl r11d, 0xc
or esi, r11d
mov r10d, esi
cmp r10d, 0x2e
jne 0x14002a44c
xor r11d, r11d
jmp 0x14002a495
test r9, r9
jne 0x14002a457
cmp r10d, 0x2d
je 0x14002a4d1
mov r11d, 5
cmp r9, 4
ja 0x14002a481
movups xmmword [rsp + 0x50], xmm0
je 0x14002cb5e
cmp r10d, dword [rsp + r9*4 + 0x50]
jne 0x14002a481
inc r9
mov r11, r9
cmp r9, 4
je 0x14002a4d1
lea r9d, [r10 - 0x61]
cmp r9d, 0x1a
jb 0x14002a495
add r10d, 0xffffffd0
cmp r10d, 0xa
jae 0x14002a4d1
mov r9, r11
cmp r15, rax
jne 0x14002a3be
call fcn.140021c82
mov dword [r14 + 8], 0
mov qword [r14], 0
mov qword [rsp + 0x200], r14
mov r8, qword [rsp + 0x2a0]
xor r10d, r10d
mov qword [r8 + 0x10], r10
lea r9, [rsp + 0x30]
mov dword [r9 + 8], r10d
mov qword [r9], r10
mov rcx, qword [rcx + 0x10]
mov qword [rsp + 0x1f8], rcx
mov byte [rsp + 0x12b], r10b
xorps xmm6, xmm6
movups xmmword [rsp + 0x11b], xmm6
lea rcx, [rsp + 0x168]
movups xmmword [rcx + 2], xmm6
movzx r8d, word [rcx + 0x10]
lea rbp, [rsp + 0x60]
mov word [rbp + 0x86], r8w
movups xmm0, xmmword [rcx]
movups xmmword [rbp + 0x76], xmm0
mov qword [rbp - 0x10], r10
mov dword [rbp], r10d
mov word [rbp + 4], r10w
lea r13, [rsp + 0x68]
mov byte [r13], r10b
mov dword [r13 + 4], r10d
mov byte [r13 + 8], r10b
mov dword [r13 + 0xc], r10d
mov byte [r13 + 0x10], r10b
mov dword [r13 + 0x14], r10d
mov byte [r13 + 0x18], r10b
mov dword [r13 + 0x1c], r10d
mov qword [r13 + 0x20], rdx
mov qword [r13 + 0x28], rax
mov qword [r13 + 0x30], r9
mov qword [r13 + 0x38], r10
mov rcx, qword [rsp + 0x148]
mov rax, rcx
shr rax, 0x20
mov byte [r13 + 0x4c], al
mov dword [r13 + 0x48], ecx
mov eax, dword [rsp + 0x128]
mov dword [r13 + 0x5d], eax
movups xmm0, xmmword [rsp + 0x118]
movups xmmword [r13 + 0x4d], xmm0
mov dword [r13 + 0x68], r10d
lea rax, [rsp + 0xd4]
mov word [rax], r10w
mov dword [rax + 0x1c], 0x110000
mov byte [rax + 0x20], r10b
xor ecx, ecx
lea r8, str.C:Users29281.cargo_registry_srcindex.crates.io_6f17d22bba15001fidna_0.2.3_srcuts46.rs
mov ecx, 4
add byte [rax], al
add byte [rdx + 4], bh
Function at 0x14002d75a
Capabilities:
Encrypt data using speck
Parse credit card information
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x248
movaps xmmword [rsp + 0x230], xmm6
mov qword [rsp + 0x1c8], rcx
test r9, r9
je 0x14002d8bf
lea rax, [r8 + r9]
xor r14d, r14d
movaps xmm0, xmmword [0x1400b2a90]
mov rcx, r8
mov bl, byte [rcx]
movzx r10d, bl
test r10b, r10b
js 0x14002d7a7
inc rcx
jmp 0x14002d817
mov r11d, r10d
and r11d, 0x1f
movzx edi, byte [rcx + 1]
and edi, 0x3f
cmp r10b, 0xdf
jbe 0x14002d7f9
movzx esi, byte [rcx + 2]
shl edi, 6
and esi, 0x3f
or esi, edi
cmp bl, 0xf0
jb 0x14002d809
movzx r10d, byte [rcx + 3]
and r11d, 7
shl r11d, 0x12
shl esi, 6
and r10d, 0x3f
or r10d, esi
or r10d, r11d
cmp r10d, 0x110000
je 0x14002d87a
add rcx, 4
jmp 0x14002d817
add rcx, 2
shl r11d, 6
or r11d, edi
mov r10d, r11d
jmp 0x14002d817
add rcx, 3
shl r11d, 0xc
or esi, r11d
mov r10d, esi
cmp r10d, 0x2e
jne 0x14002d822
xor r11d, r11d
jmp 0x14002d86e
test r14, r14
jne 0x14002d831
cmp r10d, 0x2d
je 0x14002d8bf
mov r11d, 5
cmp r14, 4
ja 0x14002d85b
movups xmmword [rsp + 0x50], xmm0
je 0x1400308aa
cmp r10d, dword [rsp + r14*4 + 0x50]
jne 0x14002d85b
inc r14
mov r11, r14
cmp r14, 4
je 0x14002d8bf
lea esi, [r10 - 0x61]
cmp esi, 0x1a
jb 0x14002d86e
add r10d, 0xffffffd0
cmp r10d, 0xa
jae 0x14002d8bf
mov r14, r11
cmp rcx, rax
jne 0x14002d797
mov rcx, qword [rsp + 0x2b0]
mov rdx, r8
mov r8, r9
call fcn.140021c82
mov rax, qword [rsp + 0x1c8]
mov dword [rax + 8], 0
mov qword [rax], 0
mov eax, dword [rdx + 0x30]
movzx ecx, byte [rdx + 0x34]
xor esi, esi
lea r11, [rsp + 0x38]
add r9, r8
xorps xmm6, xmm6
lea rdi, [rsp + 0x168]
movups xmmword [rdi + 2], xmm6
movzx r10d, word [rdi + 0x10]
lea r13, [rsp + 0x60]
mov word [r13 + 0x86], r10w
movups xmm0, xmmword [rdi]
movups xmmword [r13 + 0x76], xmm0
mov qword [r13 - 0x10], rsi
mov dword [r13], esi
mov word [r13 + 4], si
lea r10, [rsp + 0x68]
mov byte [r10], sil
mov dword [r10 + 4], esi
mov byte [r10 + 8], sil
mov dword [r10 + 0xc], esi
mov byte [r10 + 0x10], sil
mov dword [r10 + 0x14], esi
mov byte [r10 + 0x18], sil
mov dword [r10 + 0x1c], esi
mov qword [r10 + 0x20], r8
mov qword [r10 + 0x28], r9
mov qword [r10 + 0x30], r11
mov qword [r10 + 0x38], rsi
mov byte [r10 + 0x4c], cl
shl rcx, 0x20
or rcx, rax
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x120], rdx
mov qword [rdx + 0x10], rsi
mov dword [r11 + 8], esi
mov qword [r11], rsi
mov rcx, qword [rsp + 0x2b0]
mov rcx, qword [rcx + 0x10]
mov qword [rsp + 0x160], rcx
mov byte [rsp + 0x13b], sil
movups xmmword [rsp + 0x12b], xmm6
mov dword [r10 + 0x48], eax
mov eax, dword [rsp + 0x138]
mov dword [r10 + 0x5d], eax
movups xmm0, xmmword [rsp + 0x128]
movups xmmword [r10 + 0x4d], xmm0
mov dword [r10 + 0x68], esi
lea rax, [rsp + 0xd4]
mov word [rax], si
mov dword [rax + 0x1c], 0x110000
mov byte [rax + 0x20], sil
xor ecx, ecx
lea r8, str.C:Users29281.cargo_registry_srcindex.crates.io_6f17d22bba15001fidna_0.4.0_srcuts46.rs
mov ecx, 4
mov edx, 4
jmp 0x14002e38d
Function at 0x1400311c6
Capabilities:
Query or enumerate registry value

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x70
mov rbx, rdx
mov rsi, rcx
add r9, r8
lea r14, [rsp + 0x38]
mov qword [r14], r8
mov qword [r14 + 8], r9
mov word [r14 + 0x10], 0
mov dword [r14 + 0x18], 1
lea r12, [rsp + 0x58]
mov rcx, r12
mov rdx, r14
call fcn.1400aa8fa
lea r13, [rsp + 0x30]
mov dword [r13], 0x800
lea r15, [rsp + 0x34]
mov dword [r15], 0
mov ecx, 0x800
call fcn.14009bf72
mov rdi, rax
mov qword [r14], rax
mov qword [r14 + 8], rdx
mov qword [r14 + 0x10], 0
mov r12, qword [r12]
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rdi
mov rcx, rbx
mov rdx, r12
xor r8d, r8d
mov r9, r15
call sub.ADVAPI32.dll_RegQueryValueExW
cmp eax, 0xea
jne 0x14003128a
mov r8d, dword [rsp + 0x30]
mov rax, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
sub rax, rdx
cmp rax, r8
jae 0x140031242
mov rcx, r14
call fcn.1400b17c8
mov rdi, qword [rsp + 0x38]
jmp 0x140031242
test eax, eax
jne 0x1400312ac
mov eax, dword [rsp + 0x30]
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x34]
cmp eax, 0xb
jbe 0x1400312d7
movabs rax, 0xde00000002
jmp 0x1400312b4
shl rax, 0x20
or rax, 2
mov qword [rsi], rax
mov byte [rsi + 0x18], 0xc
cmp qword [rsp + 0x40], 0
je 0x1400312eb
mov rcx, qword [0x140125790]
xor edx, edx
mov r8, rdi
call qword [sym.imp.kernel32.dll_HeapFree]
jmp 0x1400312eb
mov rcx, qword [rsp + 0x48]
mov qword [rsi + 0x10], rcx
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rsi], xmm0
mov byte [rsi + 0x18], al
cmp qword [rsp + 0x60], 0
je 0x140031307
mov r8, qword [rsp + 0x58]
mov rcx, qword [0x140125790]
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapFree]
nop
add rsp, 0x70
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret

Function at 0x1400348c2
Capabilities:
Set socket configuration

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x40
mov edi, r8d
mov rsi, rcx
cmp word [rdx], 0
mov eax, 2
mov ebx, 0x17
cmove ebx, eax
mov rax, qword [0x1401256a8]
cmp rax, 3
jne 0x14003496a
mov ecx, ebx
mov edx, edi
xor r8d, r8d
call qword [sym.imp.ws2_32.dll_socket]
cmp rax, 0xffffffffffffffff
je 0x140034940
mov rdi, rax
lea r8, [rsp + 0x34]
mov dword [r8], 1
mov rcx, rax
mov edx, 0x8004667e
call qword [sym.imp.ws2_32.dll_ioctlsocket]
test eax, eax
je 0x140034959
call qword [sym.imp.kernel32.dll_GetLastError]
mov ebx, eax
shl rbx, 0x20
or rbx, 2
mov rcx, rdi
call qword [sym.imp.ws2_32.dll_closesocket]
mov qword [rsi + 8], rbx
jmp 0x140034952
call qword [sym.imp.kernel32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
jmp 0x14003495f
mov qword [rsi + 8], rdi
xor eax, eax
mov qword [rsi], rax
add rsp, 0x40
pop rbx
pop rdi
pop rsi
ret
lea rax, [rsp + 0x33]
mov byte [rax], 1
lea r8, [rsp + 0x38]
mov qword [r8], rax
lea rax, [0x1400e83b8]
mov qword [rsp + 0x20], rax
lea rcx, [0x1401256a8]
lea r9, [0x1400e7a38]
xor edx, edx
call fcn.1400ae220
jmp 0x1400348ed
Function at 0x1400387e2
Capabilities:
Generate random numbers via rtlgenrandom
Generate random numbers via winapi

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rbx, rcx
xor edi, edi
xor ecx, ecx
mov rdx, rbx
mov r8d, 0x20
mov r9d, 2
call qword [sym.imp.bcrypt.dll_BCryptGenRandom]
cmp eax, 0xc0000000
jb 0x14003884b
mov esi, eax
mov rcx, rbx
mov edx, 0x20
call qword [sym.imp.ADVAPI32.dll_SystemFunction036]
test al, al
je 0x140038824
xor edi, edi
jmp 0x14003884b
xor esi, 0x80000000
je 0x140038820
mov al, byte [0x140125ab8]
mov ecx, 4
mov edx, 4
call fcn.1400119c9
test rax, rax
je 0x140038856
mov rdi, rax
mov dword [rax], esi
mov rax, rdi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
mov ecx, 4
mov edx, 4
call fcn.1400abc30
ud2

Function at 0x14003c130
Capabilities:
Encode data using xor

Disassembly:
mov rax, rdx
sub rdx, rcx
cmp rdx, 0x20
jae fcn.140015c40
cmp rax, rcx
je 0x14003c155
cmp rdx, 4
jae 0x14003c158
xor eax, eax
xor r8d, r8d
jmp 0x14003c1f0
xor eax, eax
ret
mov r8, rdx
and r8, 0xfffffffffffffffc
pxor xmm0, xmm0
xor eax, eax
movdqa xmm2, xmmword [0x1400b2a10]
movdqa xmm3, xmmword [0x1400b2a20]
pxor xmm1, xmm1
nop dword [rax]
movzx r9d, word [rcx + rax]
movd xmm4, r9d
movzx r9d, word [rcx + rax + 2]
movd xmm5, r9d
pcmpgtb xmm4, xmm2
punpcklbw xmm4, xmm4
pshuflw xmm4, xmm4, 0xd4
pshufd xmm4, xmm4, 0xd4
pand xmm4, xmm3
paddq xmm0, xmm4
pcmpgtb xmm5, xmm2
punpcklbw xmm5, xmm5
pshuflw xmm4, xmm5, 0xd4
pshufd xmm4, xmm4, 0xd4
pand xmm4, xmm3
paddq xmm1, xmm4
add rax, 4
cmp r8, rax
jne 0x14003c180
paddq xmm1, xmm0
pshufd xmm0, xmm1, 0xee
paddq xmm0, xmm1
movq rax, xmm0
cmp r8, rdx
je 0x14003c207
nop dword [rax]
xor r9d, r9d
cmp byte [rcx + r8], 0xc0
setge r9b
add rax, r9
inc r8
cmp rdx, r8
jne 0x14003c1f0
ret
Function at 0x140040371
Capabilities:
Hash data using murmur3

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
mov rsi, qword [rsp + 0x58]
mov eax, dword [rdx]
mov edi, r8d
rol edi, 0x19
mov r10d, dword [rdx + 4]
mov ebx, eax
rol ebx, 0x19
mov r11d, dword [rdx + 8]
mov ebp, r10d
rol ebp, 0x19
mov r14d, r11d
rol r14d, 0x19
mov r15d, r8d
rol r15d, 0xe
xor r15d, edi
mov edi, eax
rol edi, 0xe
xor edi, ebx
mov ebx, r10d
rol ebx, 0xe
xor ebx, ebp
mov ebp, r11d
rol ebp, 0xe
xor ebp, r14d
shr r8d, 3
xor r8d, r15d
add r8d, eax
shr eax, 3
xor eax, edi
add eax, r10d
shr r10d, 3
xor r10d, ebx
add r10d, r11d
shr r11d, 3
xor r11d, ebp
add r11d, dword [rdx + 0xc]
add r8d, dword [rsi + 0xc]
add eax, dword [r9]
add r10d, dword [r9 + 4]
add r11d, dword [r9 + 8]
mov edx, dword [rsi + 4]
mov edi, edx
rol edi, 0xf
mov r9d, dword [rsi]
mov esi, edx
rol esi, 0xd
xor esi, edi
shr edx, 0xa
xor edx, esi
add edx, r11d
mov r11d, r9d
rol r11d, 0xf
mov esi, r9d
rol esi, 0xd
xor esi, r11d
shr r9d, 0xa
xor r9d, esi
mov r11d, edx
rol r11d, 0xf
add r9d, r10d
mov r10d, edx
rol r10d, 0xd
xor r10d, r11d
mov r11d, edx
shr r11d, 0xa
xor r11d, r10d
add r11d, eax
mov eax, r9d
rol eax, 0xf
mov r10d, r9d
rol r10d, 0xd
xor r10d, eax
mov eax, r9d
shr eax, 0xa
xor eax, r10d
add eax, r8d
mov dword [rcx], eax
mov dword [rcx + 4], r11d
mov dword [rcx + 8], r9d
mov dword [rcx + 0xc], edx
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret