joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400013ce
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
sub rsp, 0x58
movaps xmmword [rsp + 0x40], xmm10
movaps xmmword [rsp + 0x30], xmm9
movaps xmmword [rsp + 0x20], xmm8
movaps xmmword [rsp + 0x10], xmm7
movaps xmmword [rsp], xmm6
aesimc xmm0, xmmword [rdx + 0x10]
aesimc xmm1, xmmword [rdx + 0x20]
aesimc xmm2, xmmword [rdx + 0x30]
aesimc xmm3, xmmword [rdx + 0x40]
aesimc xmm4, xmmword [rdx + 0x50]
aesimc xmm5, xmmword [rdx + 0x60]
aesimc xmm6, xmmword [rdx + 0x70]
aesimc xmm7, xmmword [rdx + 0x80]
aesimc xmm8, xmmword [rdx + 0x90]
movaps xmm9, xmmword [rdx]
movaps xmm10, xmmword [rdx + 0xa0]
movaps xmmword [rcx], xmm9
movdqa xmmword [rcx + 0x10], xmm0
movdqa xmmword [rcx + 0x20], xmm1
movdqa xmmword [rcx + 0x30], xmm2
movdqa xmmword [rcx + 0x40], xmm3
movdqa xmmword [rcx + 0x50], xmm4
movdqa xmmword [rcx + 0x60], xmm5
movdqa xmmword [rcx + 0x70], xmm6
movdqa xmmword [rcx + 0x80], xmm7
movdqa xmmword [rcx + 0x90], xmm8
movaps xmmword [rcx + 0xa0], xmm10
movaps xmm6, xmmword [rsp]
movaps xmm7, xmmword [rsp + 0x10]
movaps xmm8, xmmword [rsp + 0x20]
movaps xmm9, xmmword [rsp + 0x30]
movaps xmm10, xmmword [rsp + 0x40]
add rsp, 0x58
ret
Function at 0x140006ce2
Capabilities:
Create process on windows

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x260
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0x1d0], xmm6
mov qword [rbp + 0x1c8], 0xfffffffffffffffe
xor edi, edi
lea rsi, [rbp - 0x30]
mov r8d, 0xf0
mov rcx, rsi
xor edx, edx
call fcn.1400e46f0
mov dword [rsi], 0xf0
mov dword [rsi + 0x3c], 1
and qword [rbp + 0x190], 0
xorps xmm6, xmm6
movaps xmmword [rbp + 0x180], xmm6
lea rax, [0x1400dcaf9]
lea rdx, [rbp + 0xd0]
mov qword [rdx], rax
mov rcx, qword [rdx]
movabs rax, 0x90f49e740e5ea38f
mov qword [rdx], rax
lea rax, [rbp + 0xd0]
mov rdx, qword [rax]
call fcn.140005fae
movaps xmmword [rbp + 0x100], xmm6
movaps xmmword [rbp + 0x110], xmm6
movaps xmmword [rbp + 0x120], xmm6
lea rcx, [0x1400ec348]
cmp rdi, 0x2f
ja 0x140006da6
mov rdx, qword [rdi + rcx]
xor rdx, qword [rax + rdi]
mov qword [rbp + rdi + 0x100], rdx
add rdi, 8
jmp 0x140006d8a
movzx ecx, byte [rax + 0x32]
movzx eax, word [rax + 0x30]
xor eax, 0x33dc
lea rdx, [rbp + 0x100]
mov word [rdx + 0x30], ax
xor cl, 0x8d
mov byte [rdx + 0x32], cl
lea rdi, [rbp + 0x150]
push 0x33
pop r8
mov rcx, rdi
call fcn.140002357
mov rcx, qword [rdi + 8]
mov rax, qword [rdi + 0x10]
add rax, rcx
lea rdx, [rbp + 0xd0]
mov qword [rbp + 0x1b8], rcx
mov qword [rdx], rcx
mov qword [rdx + 8], rax
and word [rdx + 0x10], 0
mov dword [rdx + 0x18], 1
lea rcx, [rbp + 0x168]
call fcn.140003faa
mov rdx, qword [rbp + 0x170]
lea rax, [rbp + 0x180]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], rsi
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x28], 0x8000000
and dword [rsp + 0x20], 0
xor ecx, ecx
mov qword [rbp + 0x1c0], rdx
xor r8d, r8d
xor r9d, r9d
call sub.kernel32.dll_CreateProcessW
test eax, eax
je 0x140006e99
mov rcx, qword [rbp + 0x180]
call sub.kernel32.dll_CloseHandle
mov rcx, qword [rbp + 0x188]
call sub.kernel32.dll_CloseHandle
mov rcx, qword [rbp + 0x168]
mov rdx, qword [rbp + 0x1c0]
call fcn.1400029e8
mov rcx, qword [rbp + 0x150]
mov rdx, qword [rbp + 0x1b8]
call fcn.1400b7df2
xor esi, esi
jmp 0x140006f4b
call sub.kernel32.dll_GetLastError
lea rcx, [rbp + 0x1a4]
mov dword [rcx], eax
lea rax, [rbp + 0xc0]
mov qword [rax], rcx
lea rcx, str.Failed_to_start_process:
lea rdx, [rbp + 0xd0]
mov qword [rdx], rcx
push 1
pop rcx
mov qword [rdx + 8], rcx
and qword [rdx + 0x20], 0
lea r8, [0x140023ea0]
mov qword [rax + 8], r8
mov qword [rdx + 0x10], rax
mov qword [rdx + 0x18], rcx
lea rcx, [rbp + 0x138]
call fcn.1400042e4
mov r14, qword [rbp + 0x138]
mov rbx, qword [rbp + 0x140]
mov rdi, qword [rbp + 0x148]
mov al, byte [0x140182300]
push 0x18
pop rdx
xor ecx, ecx
call fcn.1400c4420
test rax, rax
je 0x140006f63
mov rsi, rax
mov qword [rax], r14
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
mov rcx, qword [rbp + 0x168]
mov rdx, qword [rbp + 0x1c0]
call fcn.1400029e8
mov rcx, qword [rbp + 0x150]
mov rdx, qword [rbp + 0x1b8]
call fcn.1400b7df2
mov rax, rsi
movaps xmm6, xmmword [rbp + 0x1d0]
add rsp, 0x260
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
mov qword [rbp + 0x1a8], r14
mov qword [rbp + 0x1b0], rbx
push 8
pop rcx
push 0x18
pop rdx
call fcn.1400e7110
ud2
Function at 0x14000788a
Capabilities:
Set registry value

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x120
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x98], 0xfffffffffffffffe
mov rsi, r9
mov rdi, rcx
and qword [rbp + 0x80], 0
lea rcx, [rbp + 0x38]
call fcn.140010d00
lea rdx, [0x140149a50]
lea rcx, [rbp + 0x50]
xor r8d, r8d
call fcn.140010d00
mov r8, qword [rbp + 0xf0]
lea rcx, [rbp + 0x68]
mov rdx, rsi
call fcn.140010d00
mov rsi, qword [rbp + 0x40]
lea rax, [rbp + 0x80]
and qword [rsp + 0x40], 0
mov qword [rsp + 0x38], rax
and qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x20106
and dword [rsp + 0x20], 0
mov rcx, 0xffffffff80000001
mov rdx, rsi
xor r8d, r8d
xor r9d, r9d
call sub.advapi32.dll_RegCreateKeyExW
mov dword [rbp + 0x8c], eax
test eax, eax
je 0x14000798b
lea rax, [rbp + 0x8c]
lea rcx, [rbp - 8]
mov qword [rcx], rax
lea rax, str.Failed_to_open_or_create_registry_key_with_error_code:
lea rdx, [rbp - 0x38]
mov qword [rdx], rax
push 1
pop rax
mov qword [rdx + 8], rax
and qword [rdx + 0x20], 0
lea r8, case.0x1400016e4.235
mov qword [rcx + 8], r8
mov qword [rdx + 0x10], rcx
mov qword [rdx + 0x18], rax
lea rcx, [rbp + 0x20]
call fcn.1400042e4
mov rax, qword [rbp + 0x30]
mov qword [rdi + 0x10], rax
movups xmm0, xmmword [rbp + 0x20]
movups xmmword [rdi], xmm0
mov rbx, qword [rbp + 0x70]
jmp 0x140007a2b
mov rcx, qword [rbp + 0x80]
mov r14, qword [rbp + 0x58]
mov rbx, qword [rbp + 0x70]
mov eax, dword [rbp + 0x78]
add eax, eax
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbx
push 1
pop r9
mov qword [rbp + 0x90], rcx
add byte [rcx + rcx*4 - 0xe], cl
Function at 0x140025c10
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 0x140025ca0
cmp r11, r10
ja 0x140025d16
cmp r10, rdx
ja 0x140025d28
add r11, r9
xor r15d, r15d
nop word cs:[rax + rax]
cmp r14, r15
je 0x140025ca2
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x140025c80
jmp 0x140025d04
ja 0x140025caa
mov r11, r10
cmp rax, r8
jne 0x140025c44
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 0x140025ce0
mov rdi, r8
sub ecx, edx
jns 0x140025cfb
jmp 0x140025d06
cmp r8, rsi
je 0x140025d37
movzx r8d, byte [rdi + 1]
add rdi, 2
and edx, 0x7f
shl edx, 8
or edx, r8d
sub ecx, edx
js 0x140025d06
xor al, 1
cmp rdi, rsi
jne 0x140025cc0
jmp 0x140025d06
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.1400e76e0
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.1400e74c0
lea rcx, str.librarycore_srcunicodeprintable.rs
call fcn.1400e7850
int3

Function at 0x140027a35
Capabilities:
Get common file path

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x50
lea rbp, [rsp + 0x50]
mov qword [rbp - 8], 0xfffffffffffffffe
dec dword [rax - 0x77]
mov esi, ecx
lea rdi, [rbp - 0x10]
and qword [rdi], 0
lea rcx, [0x1400ef404]
test eax, 0x31000c79
rol byte [rbp + 0x31], cl
ror byte [rcx - 0x77], 0xf9

Function at 0x140028ab5
Capabilities:
Hash data using fnv

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

Function at 0x140028c6e
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rdx
mov rdi, rcx
mov rbx, qword [rcx]
xor ecx, ecx
test rbx, rbx
setne cl
call fcn.140042871
test rbx, rbx
je 0x140028ca7
mov rdx, qword [rdi + 8]
mov r8, qword [rdi + 0x10]
mov rcx, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.140028ab5
mov cl, byte [rdi + 8]
mov rdx, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.140028aad
Function at 0x14004fbc2
Capabilities:
Link many functions at runtime

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x40
lea rbp, [rsp + 0x40]
mov qword [rbp - 8], 0xfffffffffffffffe
mov rsi, rcx
mov rdx, qword [0x1401821b0]
test rdx, rdx
jne 0x14004fd10
lea rcx, [0x140117395]
call qword [sym.imp.kernel32.dll_GetModuleHandleA]
test rax, rax
je 0x14004fc3b
mov rbx, rax
lea rdx, [0x1401173b6]
mov rcx, rax
call sub.kernel32.dll_GetProcAddress
test rax, rax
je 0x14004fc3b
mov rdi, rax
lea rdx, [0x1401173c4]
mov rcx, rbx
call sub.kernel32.dll_GetProcAddress
test rax, rax
je 0x14004fc3b
mov qword [rbp - 0x18], rax
xor eax, eax
mov qword [rbp - 0x10], rax
jmp 0x14004fcc6
lea rcx, [0x140117350]
call qword [sym.imp.kernel32.dll_GetModuleHandleA]
test rax, rax
je 0x14004fd23
mov rdi, rax
lea rdx, str.NtCreateKeyedEvent
mov rcx, rax
call sub.kernel32.dll_GetProcAddress
test rax, rax
je 0x14004fd23
mov rbx, rax
lea rdx, str.NtReleaseKeyedEvent
mov rcx, rdi
call sub.kernel32.dll_GetProcAddress
test rax, rax
je 0x14004fd23
mov r14, rax
lea rdx, str.NtWaitForKeyedEvent
mov rcx, rdi
call sub.kernel32.dll_GetProcAddress
test rax, rax
je 0x14004fd23
mov rdi, rax
lea rcx, [rbp - 0x20]
mov edx, 0xc0000000
xor r8d, r8d
xor r9d, r9d
call rbx
test eax, eax
jne 0x14004fd23
mov qword [rbp - 0x10], r14
mov rax, qword [rbp - 0x20]
mov qword [rbp - 0x18], rax
push 0x18
pop rcx
call fcn.14004c73f
mov rdx, rax
mov rax, qword [rbp - 0x10]
mov qword [rdx], rax
mov qword [rdx + 8], rdi
mov rax, qword [rbp - 0x18]
mov qword [rdx + 0x10], rax
xor eax, eax
lock cmpxchg qword [0x1401821b0], rdx
je 0x14004fd10
mov rdi, rax
mov rcx, qword [rdx]
mov qword [rbp - 0x10], rdx
mov rdx, qword [rdx + 0x10]
call fcn.14004fd8e
mov rcx, qword [rbp - 0x10]
call fcn.140048c17
mov rdx, rdi
and qword [rsi + 8], 0
mov qword [rsi], rdx
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
lea rcx, str.parking_lot_requires_either_NT_Keyed_Events__WinXP__or_WaitOnAddress_WakeByAddress__Win8_C:Usersuser.cargo_registry_srcindex.crates.io_6f17d22bba15001fparking_lot_core_0.9.9_src_thread_parkerwindowsmod.rs
lea r8, [0x1401174b0]
push 0x5b
pop rdx
call fcn.1400e8710
int3
Function at 0x14005f059
Capabilities:
Decrypt data via sspi

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x70
mov rdi, rdx
mov rsi, rcx
mov r8, qword [rdx + 0x78]
mov rcx, qword [rdx + 0x68]
mov rdx, qword [rdx + 0x70]
lea r9, [0x14011c748]
call fcn.14005ee17
xor ecx, ecx
test rax, rax
cmove edx, ecx
xorps xmm0, xmm0
lea rcx, [rsp + 0x20]
movups xmmword [rcx + 0x30], xmm0
mov dword [rcx], edx
mov dword [rcx + 4], 1
mov qword [rcx + 8], rax
movups xmmword [rcx + 0x10], xmm0
movups xmmword [rcx + 0x20], xmm0
movabs rax, 0x400000000
lea rdx, [rsp + 0x60]
mov qword [rdx], rax
mov qword [rdx + 8], rcx
lea rcx, [rdi + 0xf0]
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.secur32.dll_DecryptMessage]
cmp eax, 0x80090318
je 0x14005f1a8
test eax, eax
je 0x14005f135
cmp eax, 0x90317
je 0x14005f1a2
cmp eax, 0x90321
jne 0x14005f1c6
mov dword [rdi + 0xd0], 0x10000
xor ebx, ebx
mov byte [rdi + 0xd4], bl
cmp dword [rsp + 0x54], 5
mov rdx, qword [rdi + 0x78]
mov eax, 0
cmove eax, dword [rsp + 0x50]
sub rdx, rax
mov rcx, rdi
call fcn.14005f003
and qword [rdi + 0x110], 0
mov byte [rsi + 1], bl
jmp 0x14005f1d4
mov r8, qword [rsp + 0x38]
mov rcx, qword [rdi + 0x68]
mov rdx, qword [rdi + 0x70]
sub r8, rcx
mov r9d, dword [rsp + 0x30]
add r9, r8
lea rbx, [rdi + 0x40]
and qword [rdi + 0x50], 0
call fcn.14005f1de
lea r8, [rdx + rax]
mov rcx, rbx
mov rdx, rax
call fcn.1400e2a87
and qword [rdi + 0x58], 0
xor ebx, ebx
cmp dword [rsp + 0x54], 5
mov rdx, qword [rdi + 0x78]
mov eax, dword [rsp + 0x50]
cmovne eax, ebx
sub rdx, rax
mov rcx, rdi
call fcn.14005f003
xor eax, eax
cmp qword [rdi + 0x78], rbx
sete al
mov qword [rdi + 0x110], rax
mov byte [rsi + 1], 0
jmp 0x14005f1d4
mov byte [rsi + 1], 1
jmp 0x14005f1c2
cmp dword [rsp + 0x34], 4
mov eax, 1
cmove eax, dword [rsp + 0x30]
mov qword [rdi + 0x110], rax
mov byte [rsi + 1], 0
xor ebx, ebx
jmp 0x14005f1d4
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov bl, 1
mov byte [rsi], bl
add rsp, 0x70
pop rbx
pop rdi
pop rsi
ret
Function at 0x14005f7de
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbp
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x58
lea rbp, [rsp + 0x50]
mov qword [rbp], 0xfffffffffffffffe
mov rsi, r8
mov qword [rbp - 8], rcx
mov qword [rcx + 0x38], rdx
mov rcx, r8
call fcn.14005f62e
mov rbx, rax
mov r14, rdx
lea r15, [rbp - 0x20]
mov rdx, qword [rbp - 8]
mov rcx, rdx
call fcn.14005f702
test rdx, rdx
mov rdx, qword [rbp - 8]
jne 0x14005f52b
mov rcx, r15
call fcn.14005db17
mov eax, dword [rbp - 0x20]
cmp eax, 2
je 0x14005f596
test eax, eax
mov rdx, qword [rbp - 8]
je 0x14005f52b
cmp qword [rdx + 0x110], 0
je 0x14005f513
mov rcx, rdx
call fcn.14005ee71
mov rdi, rdx
test rax, rax
jne 0x14005f5a0
test rdi, rdi
mov rdx, qword [rbp - 8]
je 0x14005f52b
and qword [rdx + 0x110], 0
mov rcx, r15
call fcn.14005f059
cmp byte [rbp - 0x20], 0
jne 0x14005f596
cmp byte [rbp - 0x1f], 0
mov rdx, qword [rbp - 8]
je 0x14005f4b7
mov rcx, rdx
call fcn.14005f702
mov r15, rax
mov rdi, rdx
test rax, rax
je 0x14005f5a0
cmp r14, rdi
cmovb rdi, r14
lea r9, [0x14011bff0]
mov rcx, rdi
mov rdx, rbx
mov r8, r14
call fcn.14005ee28
lea rcx, [0x14011c008]
mov qword [rsp + 0x20], rcx
mov rcx, rax
mov r8, r15
mov r9, rdi
call fcn.14001e2e1
mov rcx, qword [rbp - 8]
mov rax, qword [rcx + 0x58]
add rax, rdi
cmp rax, qword [rcx + 0x50]
ja 0x14005f5eb
mov qword [rcx + 0x58], rax
mov rcx, rsi
mov rdx, rdi
call fcn.14005f69b
jmp 0x14005f5ce
mov rdi, qword [rbp - 0x18]
mov qword [rbp - 0x20], rdi
jmp 0x14005f5a9
mov qword [rbp - 0x20], rdi
test rdi, rdi
je 0x14005f5ce
mov rcx, rdi
call fcn.14002bd7d
mov rcx, qword [rbp - 8]
and qword [rcx + 0x38], 0
cmp al, 0xd
jne 0x14005f5d9
lea rcx, [rbp - 0x20]
call fcn.14003f4a5
push 1
pop rax
xor edi, edi
jmp 0x14005f5db
mov rax, qword [rbp - 8]
and qword [rax + 0x38], 0
xor edi, edi
xor eax, eax
mov rdx, rdi
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r14
pop r15
pop rbp
ret
lea rcx, [0x14011c116]
lea r8, [0x14011c158]
push 0x3b
pop rdx
call fcn.1400e74d0
ud2
cmp dword [rcx], 2
jne 0x14005f47d
add rcx, 8
jmp fcn.1400d279d
Function at 0x14005f7f0
Capabilities:
Send data
Send data on socket

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x88
lea rbp, [rsp + 0x80]
mov qword [rbp], 0xfffffffffffffffe
mov rbx, r9
mov r14, r8
mov rax, rcx
mov qword [rcx + 0x38], rdx
lea rsi, [rbp - 0x48]
mov rcx, rsi
mov qword [rbp - 8], rax
mov rdx, rax
call fcn.14005db17
mov eax, dword [rbp - 0x48]
cmp eax, 2
jne 0x14005d8a3
mov rsi, qword [rbp - 0x40]
jmp 0x14005da84
test eax, eax
mov r12, qword [rbp - 8]
je 0x14005da38
mov rdx, qword [r12 + 0x98]
cmp rdx, qword [r12 + 0x90]
jne 0x14005da74
mov rdi, qword [rbp - 0x40]
mov eax, edi
shr rdi, 0x20
cmp rbx, rdi
cmovb rdi, rbx
mov r15d, dword [rbp - 0x44]
lea rbx, [rdi + r15]
add rax, rbx
cmp rdx, rax
jae 0x14005d902
lea rcx, [r12 + 0x80]
mov rdx, rax
call fcn.14001f56a
mov r12, qword [rbp - 8]
mov rdx, qword [r12 + 0x90]
mov rcx, qword [r12 + 0x88]
lea rax, [0x14011c778]
mov qword [rsp + 0x20], rax
mov r8, r15
mov r9, rbx
call fcn.14005ee00
lea rcx, [0x14011c790]
mov qword [rsp + 0x20], rcx
mov rcx, rax
mov r8, r14
mov r9, rdi
call fcn.14001e2e1
mov rax, qword [rbp - 8]
mov rcx, qword [rax + 0x88]
mov rdx, qword [rax + 0x90]
lea r9, [0x14011c7a8]
mov r8, r15
call fcn.14005ee17
mov r14, rax
mov r12, rdx
xor eax, eax
test r14, r14
cmove r12d, eax
mov rax, qword [rbp - 8]
mov rcx, qword [rax + 0x88]
mov rdx, qword [rax + 0x90]
lea rax, [0x14011c7c0]
mov qword [rsp + 0x20], rax
mov r8, r15
mov r9, rbx
call fcn.14005ee00
mov r15, rax
mov r13, rdx
mov rax, qword [rbp - 8]
mov rcx, qword [rax + 0x88]
mov rdx, qword [rax + 0x90]
lea r9, [0x14011c7d8]
mov r8, rbx
call fcn.14005edef
xor ecx, ecx
test r15, r15
cmove r13d, ecx
test rax, rax
cmove edx, ecx
xorps xmm0, xmm0
movups xmmword [rbp - 0x18], xmm0
mov dword [rbp - 0x48], r12d
mov dword [rbp - 0x44], 7
mov qword [rbp - 0x40], r14
mov dword [rbp - 0x38], r13d
mov dword [rbp - 0x34], 1
mov qword [rbp - 0x30], r15
mov dword [rbp - 0x28], edx
mov dword [rbp - 0x24], 6
mov qword [rbp - 0x20], rax
movabs rax, 0x400000000
lea r8, [rbp - 0x58]
mov qword [r8], rax
mov qword [r8 + 8], rsi
mov rax, qword [rbp - 8]
lea rcx, [rax + 0xf0]
xor edx, edx
xor r9d, r9d
call qword [sym.imp.secur32.dll_EncryptMessage]
mov esi, eax
test eax, eax
je 0x14005da44
shl rsi, 0x20
or rsi, 2
jmp 0x14005da84
movabs rsi, 0x8009031700000002
jmp 0x14005da88
mov eax, dword [rbp - 0x38]
add eax, dword [rbp - 0x48]
add eax, dword [rbp - 0x28]
mov r12, qword [rbp - 8]
cmp qword [r12 + 0x90], rax
jb 0x14005da63
mov qword [r12 + 0x90], rax
and qword [r12 + 0x98], 0
mov qword [r12 + 0x118], rdi
mov rcx, r12
call fcn.14005ed31
test rax, rax
je 0x14005dacd
mov rsi, rdx
mov r12, qword [rbp - 8]
mov qword [rbp - 0x48], 1
mov qword [rbp - 0x40], rsi
mov rcx, rsi
call fcn.14002bd7d
and qword [r12 + 0x38], 0
cmp al, 0xd
jne 0x14005dab3
lea rcx, [rbp - 0x40]
call fcn.14003f4a5
push 2
jmp 0x14005dab5
push 1
pop rax
mov rdx, rsi
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rax, qword [rbp - 8]
mov rsi, qword [rax + 0x118]
and qword [rax + 0x38], 0
xor eax, eax
jmp 0x14005dab6
cmp dword [rcx], 2
jne 0x14005d84f
add rcx, 8
jmp fcn.1400d2ad0
Function at 0x14006153a
Capabilities:
Decrypt data via sspi

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x70
mov rdi, rdx
mov rsi, rcx
mov r8, qword [rdx + 0x178]
mov rcx, qword [rdx + 0x168]
mov rdx, qword [rdx + 0x170]
lea r9, [0x14011c748]
call fcn.14005ee17
xor ecx, ecx
test rax, rax
cmove edx, ecx
xorps xmm0, xmm0
lea rcx, [rsp + 0x20]
movups xmmword [rcx + 0x30], xmm0
mov dword [rcx], edx
mov dword [rcx + 4], 1
mov qword [rcx + 8], rax
movups xmmword [rcx + 0x10], xmm0
movups xmmword [rcx + 0x20], xmm0
movabs rax, 0x400000000
lea rdx, [rsp + 0x60]
mov qword [rdx], rax
mov qword [rdx + 8], rcx
lea rcx, [rdi + 0x1f0]
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.secur32.dll_DecryptMessage]
cmp eax, 0x80090318
je 0x1400616aa
test eax, eax
je 0x140061622
cmp eax, 0x90317
je 0x1400616a4
cmp eax, 0x90321
jne 0x1400616c8
mov dword [rdi + 0x1d0], 0x10000
xor ebx, ebx
mov byte [rdi + 0x1d4], bl
cmp dword [rsp + 0x54], 5
mov rdx, qword [rdi + 0x178]
mov eax, 0
cmove eax, dword [rsp + 0x50]
sub rdx, rax
mov rcx, rdi
call fcn.1400614db
and qword [rdi + 0x210], 0
mov byte [rsi + 1], bl
jmp 0x1400616d6
mov r8, qword [rsp + 0x38]
mov rcx, qword [rdi + 0x168]
mov rdx, qword [rdi + 0x170]
sub r8, rcx
mov r9d, dword [rsp + 0x30]
add r9, r8
lea rbx, [rdi + 0x140]
and qword [rdi + 0x150], 0
call fcn.14005f1de
lea r8, [rdx + rax]
mov rcx, rbx
mov rdx, rax
call fcn.1400e2a87
and qword [rdi + 0x158], 0
xor ebx, ebx
cmp dword [rsp + 0x54], 5
mov rdx, qword [rdi + 0x178]
mov eax, dword [rsp + 0x50]
cmovne eax, ebx
sub rdx, rax
mov rcx, rdi
call fcn.1400614db
xor eax, eax
cmp qword [rdi + 0x178], rbx
sete al
mov qword [rdi + 0x210], rax
mov byte [rsi + 1], 0
jmp 0x1400616d6
mov byte [rsi + 1], 1
jmp 0x1400616c4
cmp dword [rsp + 0x34], 4
mov eax, 1
cmove eax, dword [rsp + 0x30]
mov qword [rdi + 0x210], rax
mov byte [rsi + 1], 0
xor ebx, ebx
jmp 0x1400616d6
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov bl, 1
mov byte [rsi], bl
add rsp, 0x70
pop rbx
pop rdi
pop rsi
ret
Function at 0x1400abe69
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x78
lea rbp, [rsp + 0x70]
mov qword [rbp], 0xfffffffffffffffe
mov rax, r8
mov rbx, rdx
mov qword [rbp - 0x10], rcx
lea rcx, [rbp - 0x40]
push 0xb
pop r8
mov rdx, rax
call fcn.1400abe3c
mov dword [rbp - 4], 0x800
and dword [rbp - 8], 0
lea rcx, [rbp - 0x28]
mov edx, 0x800
call fcn.14009f47e
mov rdi, qword [rbp - 0x38]
lea r13, [rbp - 4]
lea r15, [rbp - 8]
mov rsi, qword [sym.imp.advapi32.dll_RegQueryValueExW]
lea r12, [rbp - 0x28]
mov r14, qword [rbp - 0x20]
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r14
mov rcx, rbx
mov rdx, rdi
xor r8d, r8d
mov r9, r15
call rsi
cmp eax, 0xea
jne 0x1400abf00
mov edx, dword [rbp - 4]
mov rcx, r12
call fcn.1400e2ae6
jmp 0x1400abed0
test eax, eax
jne 0x1400abf1f
mov eax, dword [rbp - 4]
mov qword [rbp - 0x18], rax
mov eax, dword [rbp - 8]
cmp eax, 0xb
jbe 0x1400abf4a
movabs rax, 0xde00000002
jmp 0x1400abf27
shl rax, 0x20
or rax, 2
mov rcx, qword [rbp - 0x10]
mov qword [rcx + 8], rax
movabs rax, 0x8000000000000000
mov qword [rcx], rax
mov rcx, qword [rbp - 0x28]
mov rdx, r14
call fcn.1400b7df2
jmp 0x1400abf60
mov rcx, qword [rbp - 0x18]
mov rdx, qword [rbp - 0x10]
mov qword [rdx + 0x10], rcx
movups xmm0, xmmword [rbp - 0x28]
movups xmmword [rdx], xmm0
mov byte [rdx + 0x18], al
mov rcx, qword [rbp - 0x40]
mov rdx, rdi
call fcn.1400029e8
nop
add rsp, 0x78
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret

Function at 0x1400b4500
Capabilities:
Encode data using xor

Disassembly:
mov rax, rdx
sub rdx, rcx
cmp rdx, 0x20
jae fcn.140020690
cmp rax, rcx
je 0x1400b4525
cmp rdx, 4
jae 0x1400b4528
xor eax, eax
xor r8d, r8d
jmp 0x1400b45c0
xor eax, eax
ret
mov r8d, edx
and r8d, 0x1c
pxor xmm0, xmm0
xor eax, eax
movdqa xmm2, xmmword [0x1400eb690]
movdqa xmm3, xmmword [0x1400eb6a0]
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 0x1400b4550
paddq xmm1, xmm0
pshufd xmm0, xmm1, 0xee
paddq xmm0, xmm1
movq rax, xmm0
cmp r8, rdx
je 0x1400b45d7
nop dword [rax]
xor r9d, r9d
cmp byte [rcx + r8], 0xc0
setge r9b
add rax, r9
inc r8
cmp rdx, r8
jne 0x1400b45c0
ret