joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400830f8
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140083142
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140083142
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140083142
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140083142
cmp dword [rcx + 0x84], 0xe
jbe 0x140083142
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140083144
xor al, al
add rsp, 0x28
ret
Function at 0x140005290
Capabilities:
Accept command line arguments

Disassembly:
jmp 0x140005290
mov dword [rsp + 0x10], edx
sub rsp, 0x28
cmp byte [0x140023830], 0
je 0x1400052a9
or eax, 0xffffffff
add rsp, 0x28
ret
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ole32.dll_CoInitialize]
mov dword [rsp + 0x38], eax
mov ebx, eax
test eax, eax
jns 0x1400052e5
cmp eax, 0x80010106
jne 0x14000531f
lea rcx, str.Mscoree.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
jne 0x1400052ec
mov eax, ebx
mov rbx, qword [rsp + 0x20]
add rsp, 0x28
ret
mov byte [0x1400236e2], 1
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rdx, rax
lea r8, [rsp + 0x38]
call fcn.1400055e0
cmp al, 1
jne 0x14000530c
call fcn.140005560
mov ebx, eax
jmp 0x140005310
mov ebx, dword [rsp + 0x38]
cmp byte [0x1400236e2], 0
je 0x14000531f
call qword [sym.imp.ole32.dll_CoUninitialize]
mov eax, ebx
mov rbx, qword [rsp + 0x20]
add rsp, 0x28
ret

Function at 0x140006110
Capabilities:
Create thread

Disassembly:
sub rsp, 0x48
mov rax, qword [0x140022010]
xor rax, rsp
mov qword [rsp + 0x38], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [0x1400236d0], rax
test rax, rax
jne 0x140006151
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140012970
add rsp, 0x48
ret
lea rax, [rsp + 0x30]
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x28], rax
lea r9, [0x140023680]
lea r8, [0x140006200]
mov dword [rsp + 0x20], 0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, rax
test rax, rax
jne 0x14000619c
mov rcx, qword [0x1400236d0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x1400236d0], rbx
mov rax, rbx
mov rbx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140012970
add rsp, 0x48
ret
Function at 0x140009de0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 1
add rsp, 0x28
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]

Function at 0x14000d470
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov edi, r8d
mov rsi, rdx
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
jne 0x14000d4a3
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov rcx, rax
mov qword [rsp + 0x30], rbx
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x14000d4ea
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
add rcx, rbx
and edi, 0xf
jbe 0x14000d4e5
nop
cmp rbx, rcx
jae 0x14000d4ea
movzx eax, word [rbx]
lea rbx, [rbx + rax*2]
add rbx, 2
add edi, 0xffffffff
jne 0x14000d4d0
cmp rbx, rcx
jb 0x14000d4ee
xor eax, eax
jmp 0x14000d4fa
xor eax, eax
cmp word [rbx], ax
cmove rbx, rax
mov rax, rbx
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140012dec
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
sub rsp, 0x18
mov r8, rcx
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x140012e7d
movsxd rax, dword [0x14000003c]
lea rdx, [0x140000000]
lea rcx, [rax + rdx]
cmp dword [rcx], 0x4550
jne 0x140012e7d
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140012e7d
sub r8, rdx
movzx eax, word [rcx + 0x14]
lea rdx, [rcx + 0x18]
add rdx, rax
movzx eax, word [rcx + 6]
lea rcx, [rax + rax*4]
lea r9, [rdx + rcx*8]
mov qword [rsp], rdx
cmp rdx, r9
je 0x140012e61
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x140012e5b
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x140012e63
add rdx, 0x28
jmp 0x140012e40
xor edx, edx
test rdx, rdx
jne 0x140012e6c
xor al, al
jmp 0x140012e83
test dword [rdx + 0x24], 0x80000000
je 0x140012e79
xor al, al
jmp 0x140012e83
mov al, 1
jmp 0x140012e83
xor al, al
jmp 0x140012e83
add rsp, 0x18
ret
Function at 0x1400021ec
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140002236
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140002236
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140002236
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140002236
cmp dword [rcx + 0x84], 0xe
jbe 0x140002236
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140002238
xor al, al
add rsp, 0x28
ret
Function at 0x1400073fb
Capabilities:
Hash data using fnv

Disassembly:
mov rax, qword [rcx]
xor r9d, r9d
movabs r10, 0x100000001b3
cmp r8, r9
je 0x140007421
movzx r11d, byte [rdx + r9]
xor rax, r11
imul rax, r10
inc r9
jmp 0x14000740b
mov qword [rcx], rax
ret

Function at 0x14000826c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov rcx, rdx
call fcn.1400021e7
test rax, rax
je 0x140008293
mov qword [rsi + 8], rax
mov byte [rsi], 1
add rsp, 0x28
pop rdi
pop rsi
ret
mov rcx, rsi
mov rdx, rdi
add rsp, 0x28
pop rdi
pop rsi
jmp fcn.14000b887
Function at 0x140016538
Capabilities:
Delete file

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x68
mov rsi, rcx
lea rdi, [rsp + 0x28]
mov rcx, rdi
call fcn.140016485
cmp qword [rdi], 0
je 0x14001657a
movups xmm0, xmmword [rsp + 0x30]
movups xmm1, xmmword [rsp + 0x40]
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm1
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea rcx, [rsp + 0x28]
mov rbx, qword [rcx + 8]
mov rdi, qword [rcx + 0x10]
mov r8, qword [rcx + 0x18]
mov rdx, rbx
call fcn.140156a70
mov rax, qword [rsp + 0x28]
mov r14, qword [rsp + 0x30]
test rax, rax
je 0x14001661a
lea rdx, [rsp + 0x28]
mov rcx, qword [rdx + 0x10]
mov qword [rdx], rax
mov qword [rdx + 8], r14
mov qword [rdx + 0x10], rcx
lea rcx, [rsp + 0x50]
mov r8b, 1
call fcn.1401722f0
mov r15, qword [rsp + 0x50]
mov r14, qword [rsp + 0x58]
test r15, r15
je 0x14001661a
mov rcx, r15
call sub.kernel32.dll_DeleteFileW
test eax, eax
je 0x1400165f5
test r14, r14
je 0x1400165f0
mov edx, 2
mov rcx, r15
call fcn.140020450
xor r14d, r14d
jmp 0x14001661a
call sub.kernel32.dll_GetLastError
mov r12d, eax
shl r12, 0x20
or r12, 2
test r14, r14
je 0x140016617
mov edx, 2
mov rcx, r15
call fcn.140020450
mov r14, r12
mov rcx, rbx
mov rdx, rdi
call fcn.1400057ec
test r14, r14
je 0x140016642
mov rcx, rsi
mov rdx, r14
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
jmp fcn.140003299
mov qword [rsi], 4
jmp 0x14001656c
Function at 0x14002b610
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 0x14002b6a0
cmp r11, r10
ja 0x14002b716
cmp r10, rdx
ja 0x14002b72a
add r11, r9
xor r15d, r15d
nop word cs:[rax + rax]
cmp r14, r15
je 0x14002b6a2
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x14002b680
jmp 0x14002b704
ja 0x14002b6aa
mov r11, r10
cmp rax, r8
jne 0x14002b644
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 0x14002b6e0
mov rdi, r8
sub ecx, edx
jns 0x14002b6fb
jmp 0x14002b706
cmp r8, rsi
je 0x14002b73b
movzx r8d, byte [rdi + 1]
add rdi, 2
and edx, 0x7f
shl edx, 8
or edx, r8d
sub ecx, edx
js 0x14002b706
xor al, 1
cmp rdi, rsi
jne 0x14002b6c0
jmp 0x14002b706
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.140026ea0
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.140025960
ud2
lea rcx, str.called__Option::unwrap____on_a__None__value_Users_boob_.cargo_registry_src_mirrors.ustc.edu.cn_61ef6e0cd06fb9b8_untrusted_0.7.1_src_untrusted.rss
lea r8, str.librarycore_srcunicodeprintable.rs
mov edx, 0x2b
call fcn.140025cf0
ud2
Function at 0x1400368c0
Capabilities:
Encrypt data using curve25519
Hash data using sha512

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x240
movaps xmmword [rsp + 0x230], xmm6
mov rsi, rcx
xorps xmm6, xmm6
movaps xmmword [rsp + 0x140], xmm6
movaps xmmword [rsp + 0x130], xmm6
movaps xmmword [rsp + 0x120], xmm6
movaps xmmword [rsp + 0x110], xmm6
movaps xmmword [rsp + 0x100], xmm6
movaps xmmword [rsp + 0xf0], xmm6
movaps xmmword [rsp + 0xe0], xmm6
movaps xmmword [rsp + 0xd0], xmm6
movups xmm0, xmmword [0x14024cfc8]
movaps xmmword [rsp + 0x80], xmm0
movups xmm0, xmmword [0x14024cfd8]
movaps xmmword [rsp + 0x90], xmm0
movups xmm0, xmmword [0x14024cfe8]
movaps xmmword [rsp + 0xa0], xmm0
movups xmm0, xmmword [0x14024cff8]
movaps xmmword [rsp + 0xb0], xmm0
movaps xmmword [rsp + 0xc0], xmm6
mov qword [rsp + 0x150], 0
lea rdi, [rsp + 0x80]
mov r8d, 0x20
mov rcx, rdi
call fcn.14014deb0
lea rbx, [rsp + 0x158]
mov r8d, 0xd8
mov rcx, rbx
mov rdx, rdi
call sub.msvcrt.dll_memcpy
movaps xmmword [rsp + 0x50], xmm6
movaps xmmword [rsp + 0x40], xmm6
movaps xmmword [rsp + 0x30], xmm6
movaps xmmword [rsp + 0x20], xmm6
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.140152950
movdqa xmm0, xmmword [rsp + 0x20]
movdqa xmm1, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x70], xmm0
movzx eax, byte [rsp + 0x70]
and al, 0xf8
movdqa xmm2, xmmword [0x1401e1700]
pand xmm0, xmm2
movzx eax, al
movd xmm3, eax
pandn xmm2, xmm3
por xmm2, xmm0
movdqa xmmword [rsp + 0x60], xmm1
movzx eax, byte [rsp + 0x6f]
and al, 0x3f
or al, 0x40
pand xmm1, xmmword [0x1401e1710]
movzx eax, al
movd xmm0, eax
pslldq xmm0, 0xf
por xmm0, xmm1
movdqu xmmword [rsp + 0x20], xmm2
movdqu xmmword [rsp + 0x30], xmm0
lea rdi, [rsp + 0x158]
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.140034bd0
mov rcx, rsi
mov rdx, rdi
call fcn.140033530
add rsi, 0x20
mov r8d, 0xa0
mov rcx, rsi
mov rdx, rdi
call sub.msvcrt.dll_memcpy
movaps xmm6, xmmword [rsp + 0x230]
add rsp, 0x240
pop rbx
pop rdi
pop rsi
ret
Function at 0x14003e8a0
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 0x14003e95d
mov rax, qword [rcx + 8]
mov rcx, qword [rcx + 0x10]
movabs rdx, 0x736f6d6570736575
xor rdx, rax
movabs r8, 0x646f72616e646f6d
xor r8, rcx
movabs r9, 0x6c7967656e657261
xor r9, rax
movabs r10, 0x7465646279746573
xor r10, rcx
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], r9
mov qword [rsp + 0x40], r8
mov qword [rsp + 0x48], r10
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rcx
xorps xmm0, xmm0
movups 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.14003ebc0
test rdi, rdi
je 0x14003e9cc
mov rdx, qword [rsi + 8]
mov r8, qword [rsi + 0x10]
lea rcx, [rsp + 0x30]
jmp 0x14003e9e5
mov rdx, qword [rsi]
xor eax, eax
test rdx, rdx
setne al
movabs rcx, 0xcbf29ce484222325
xor rcx, rax
movabs rax, 0x1efac7090aef4a21
imul rcx, rax
test rdx, rdx
je 0x14003eada
mov rdx, qword [rsi + 0x10]
test rdx, rdx
je 0x14003eae5
mov r8, qword [rsi + 8]
xor r9d, r9d
movabs r10, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [r8 + r9]
xor rax, rcx
imul rax, r10
inc r9
mov rcx, rax
cmp rdx, r9
jne 0x14003e9b0
jmp 0x14003eae8
movzx eax, byte [rsi + 8]
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x28]
mov r8d, 8
call fcn.14003ebc0
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 0x14003eae8
movzx edx, byte [rsi + 8]
xor rcx, rdx
imul rcx, rax
mov rax, rcx
and eax, 0x7fff
add rsp, 0x78
pop rdi
pop rsi
ret
Function at 0x14003ebc0
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 0x14003ebf6
mov r10d, 8
sub r10, r11
cmp r8, r10
mov rdi, r10
cmovb rdi, r8
cmp rdi, 3
jbe 0x14003ebfe
mov esi, dword [rdx]
mov r9d, 4
jmp 0x14003ec03
xor r10d, r10d
jmp 0x14003ecb1
xor esi, esi
xor r9d, r9d
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jae 0x14003ec26
movzx ebx, word [rdx + r9]
lea ecx, [r9*8]
shl rbx, cl
or rsi, rbx
or r9, 2
cmp r9, rdi
jae 0x14003ec3d
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 0x14003ec5d
add r11, r8
jmp 0x14003ed8e
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 0x14003ed32
mov rcx, qword [rax]
mov r9, qword [rax + 8]
mov rdi, qword [rax + 0x18]
mov rsi, qword [rax + 0x10]
nop word cs:[rax + rax]
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 0x14003ece0
mov qword [rax + 0x18], rdi
mov qword [rax + 0x10], rsi
mov qword [rax + 8], r9
mov qword [rax], rcx
cmp r11d, 3
jbe 0x14003ed44
mov r9d, dword [rdx + r10]
mov r8d, 4
jmp 0x14003ed4a
xor r9d, r9d
xor r8d, r8d
mov rcx, r8
or rcx, 1
cmp rcx, r11
jae 0x14003ed70
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 0x14003ed8a
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 0x140075260
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x70
mov rsi, rdx
mov edi, 0xffffffff
nop
test rsi, rsi
je 0x1400752c0
cmp rsi, rdi
mov edx, 0xffffffff
cmovb rdx, rsi
sub rsi, rdx
lea rbx, [rcx + rdx]
call sub.advapi32.dll_SystemFunction036
mov rcx, rbx
test al, al
jne 0x140075270
movzx eax, byte [0x1402e91f8]
mov ecx, 4
mov edx, 4
call fcn.1400203c0
test rax, rax
jne 0x1400752c8
mov ecx, 4
mov edx, 4
call fcn.1400206c0
ud2
add rsp, 0x70
pop rbx
pop rdi
pop rsi
ret
mov dword [rax], 0x80000004
mov qword [rsp + 0x20], rax
lea rax, [0x14022c4f8]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x20]
mov qword [rsp + 0x30], rax
lea rax, [0x1400751e0]
mov qword [rsp + 0x38], rax
lea rax, str.Error:
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 1
mov qword [rsp + 0x60], 0
lea rax, [rsp + 0x30]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 1
lea rdx, str._Users_boob_.cargo_registry_src_mirrors.ustc.edu.cn_61ef6e0cd06fb9b8_rand_core_0.5.1_src_os.rs
lea rcx, [rsp + 0x40]
call fcn.140024e50
ud2
Function at 0x140078b50
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 0x140078c0d
mov rax, qword [rcx + 8]
mov rcx, qword [rcx + 0x10]
movabs rdx, 0x736f6d6570736575
xor rdx, rax
movabs r8, 0x646f72616e646f6d
xor r8, rcx
movabs r9, 0x6c7967656e657261
xor r9, rax
movabs r10, 0x7465646279746573
xor r10, rcx
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], r9
mov qword [rsp + 0x40], r8
mov qword [rsp + 0x48], r10
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rcx
xorps xmm0, xmm0
movups 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.1401165c0
test rdi, rdi
je 0x140078c7c
mov rdx, qword [rsi + 8]
mov r8, qword [rsi + 0x10]
lea rcx, [rsp + 0x30]
jmp 0x140078c95
mov rdx, qword [rsi]
xor eax, eax
test rdx, rdx
setne al
movabs rcx, 0xcbf29ce484222325
xor rcx, rax
movabs rax, 0x1efac7090aef4a21
imul rcx, rax
test rdx, rdx
je 0x140078d8a
mov rdx, qword [rsi + 0x10]
test rdx, rdx
je 0x140078d95
mov r8, qword [rsi + 8]
xor r9d, r9d
movabs r10, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [r8 + r9]
xor rax, rcx
imul rax, r10
inc r9
mov rcx, rax
cmp rdx, r9
jne 0x140078c60
jmp 0x140078d98
movzx eax, byte [rsi + 8]
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x28]
mov r8d, 8
call fcn.1401165c0
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 0x140078d98
movzx edx, byte [rsi + 8]
xor rcx, rdx
imul rcx, rax
mov rax, rcx
and eax, 0x7fff
add rsp, 0x78
pop rdi
pop rsi
ret
Function at 0x1400882b0
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, 0x68
mov rax, r8
mov r14, rdx
mov rdi, rcx
lea rcx, [rsp + 0x50]
mov r8d, 0xb
mov rdx, rax
call fcn.140087f80
mov dword [rsp + 0x30], 0x800
mov dword [rsp + 0x34], 0
movzx eax, byte [0x1402e91f8]
mov ecx, 0x800
mov edx, 1
call fcn.1400203c0
test rax, rax
je 0x14008841b
mov rbx, rax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], 0x800
mov qword [rsp + 0x48], 0
mov rsi, qword [rsp + 0x50]
lea rbp, [rsp + 0x30]
lea r15, [rsp + 0x34]
mov r12, qword [rsp + 0x40]
mov r13, qword [rsp + 0x48]
sub r12, r13
nop word cs:[rax + rax]
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rbx
mov rcx, r14
mov rdx, rsi
xor r8d, r8d
mov r9, r15
call sub.advapi32.dll_RegQueryValueExW
cmp eax, 0xea
jne 0x140088390
mov r8d, dword [rsp + 0x30]
cmp r12, r8
jae 0x140088350
lea rcx, [rsp + 0x38]
mov rdx, r13
call fcn.14019e5b0
mov rbx, qword [rsp + 0x38]
jmp 0x140088334
test eax, eax
jne 0x1400883b2
mov eax, dword [rsp + 0x30]
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x34]
cmp eax, 0xb
jbe 0x1400883fd
movabs rax, 0xde00000002
jmp 0x1400883ba
shl rax, 0x20
or rax, 2
mov qword [rdi], rax
mov byte [rdi + 0x18], 0xc
cmp qword [rsp + 0x40], 0
je 0x1400883d6
mov edx, 1
mov rcx, rbx
call fcn.140020450
cmp qword [rsp + 0x58], 0
je 0x1400883eb
mov edx, 2
mov rcx, rsi
call fcn.140020450
nop
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, qword [rsp + 0x48]
mov qword [rdi + 0x10], rcx
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rdi], xmm0
mov byte [rdi + 0x18], al
cmp qword [rsp + 0x58], 0
jne 0x1400883de
jmp 0x1400883eb
mov ecx, 1
mov edx, 0x800
call fcn.1400206c0
ud2
Function at 0x1400b8ea0
Capabilities:
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, 0x158
mov rbx, r9
mov r15d, r8d
mov ebp, edx
mov rdi, rcx
mov rax, qword [rsp + 0x1d0]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x1c8]
mov qword [rsp + 0x30], rax
mov r14, qword [rsp + 0x1c0]
mov rcx, r14
call fcn.1400432a0
movzx r12d, byte [rax + 0x50]
mov rcx, r14
call fcn.1400432a0
movzx esi, byte [rax + 0x50]
mov rcx, r14
call fcn.1400432a0
mov r13, qword [rax]
mov rcx, r14
call fcn.1400432a0
cmp r12b, 5
ja 0x1400b8f18
cmp r12b, 3
jne 0x1400b8f44
mov r12d, dword [rax + 0x114]
mov rcx, r14
call fcn.140046610
lea rcx, [rax + 0x50]
mov edx, r12d
mov r8d, ebp
mov r9d, r15d
call fcn.140047d10
cmp sil, 5
ja 0x1400b8f58
test r13, r13
jne 0x1400b8f58
add rsp, 0x158
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
add rdi, 8
mov rcx, rdi
mov rdx, rbx
mov r8, r14
call fcn.1400b8fd0
mov rcx, r14
call fcn.1400432a0
mov eax, dword [rax + 0x114]
mov dword [rsp + 0x3c], eax
mov dword [rsp + 0x40], ebp
mov byte [rsp + 0x38], 8
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x38]
mov rcx, rdi
mov r8, rbx
mov r9, r14
call fcn.1400b52d0
mov rcx, rdi
mov rdx, r14
mov r8, qword [rsp + 0x30]
add rsp, 0x158
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp fcn.140041df0
Function at 0x140106970
Capabilities:
Hash data using sha512

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x228
mov rdi, r9
mov r14, r8
mov r15, rdx
mov rsi, rcx
mov rbx, qword [rsp + 0x280]
call fcn.140104a60
movups xmm0, xmmword [0x140245238]
movups xmmword [rsp + 0x60], xmm0
movups xmm0, xmmword [0x140245228]
movups xmmword [rsp + 0x50], xmm0
movups xmm0, xmmword [0x140245218]
movups xmmword [rsp + 0x40], xmm0
movups xmm0, xmmword [0x140245208]
movups xmmword [rsp + 0x30], xmm0
lea rax, [0x1402451d8]
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
movups xmmword [rsp + 0x88], xmm0
movups xmmword [rsp + 0x98], xmm0
movups xmmword [rsp + 0xa8], xmm0
movups xmmword [rsp + 0xb8], xmm0
movups xmmword [rsp + 0xc8], xmm0
movups xmmword [rsp + 0xd8], xmm0
movups xmmword [rsp + 0xe8], xmm0
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x70], 0
mov qword [rsp + 0xf8], 0
lea r12, [rsp + 0x28]
mov r8d, 0x20
mov rcx, r12
mov rdx, r15
call fcn.140104b10
mov r8d, 0x20
mov rcx, r12
mov rdx, r14
call fcn.140104b10
mov rcx, r12
mov rdx, rdi
mov r8, rbx
call fcn.140104b10
lea rcx, [rsp + 0x150]
mov r8d, 0xd8
mov rdx, r12
call sub.msvcrt.dll_memcpy
mov rax, qword [rsp + 0x150]
mov r9, qword [rax + 0x20]
movups xmm0, xmmword [rsp + 0x68]
movaps xmmword [rsp + 0x140], xmm0
movups xmm0, xmmword [rsp + 0x28]
movups xmm1, xmmword [rsp + 0x38]
movups xmm2, xmmword [rsp + 0x48]
movups xmm3, xmmword [rsp + 0x58]
movaps xmmword [rsp + 0x130], xmm3
movaps xmmword [rsp + 0x120], xmm2
movaps xmmword [rsp + 0x110], xmm1
movaps xmmword [rsp + 0x100], xmm0
cmp r9, 0x81
jae 0x140106b02
lea r8, [rsp + 0x1a0]
mov rax, qword [rsp + 0x220]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x100]
mov rcx, rsi
call fcn.140104dd0
nop
add rsp, 0x228
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea r8, str._Users_boob_.cargo_registry_src_mirrors.ustc.edu.cn_61ef6e0cd06fb9b8_ring_0.16.20_src_digest.rs
mov edx, pe_nt_image_headers64
mov rcx, r9
call fcn.140025960
ud2