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

Disassembly:
sub rsp, 0x18
xor edx, edx
cmp rcx, rdx
je 0x10007a919
cmp rcx, 0xffffffffffffffff
je 0x10007a919
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x10007a911
cmp dword [rcx + 0x3c], edx
jl 0x10007a911
cmp dword [rcx + 0x3c], 0x10000000
jae 0x10007a911
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 0x10007a919
mov rax, rdx
add rsp, 0x18
ret

Function at 0x10007ab88
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x530
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rbx, qword [rsp + 0x158]
lea rdx, [rsp + 0x40]
mov rcx, rbx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_RtlLookupFunctionEntry]
test rax, rax
je 0x10007abf3
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.KERNEL32.dll_RtlVirtualUnwind]
jmp 0x10007ac13
mov rax, qword [rsp + 0x538]
mov qword [rsp + 0x158], rax
lea rax, [rsp + 0x538]
mov qword [rsp + 0xf8], rax
lea rcx, [0x1000020e0]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
add rsp, 0x530
pop rbx
ret
Function at 0x1400092e8
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 r14, rdx
mov rsi, rcx
lea rdi, [rsp + 0x50]
mov rcx, rdi
mov rdx, r8
mov r8, r9
call fcn.14009d51f
lea r13, [rsp + 0x30]
mov dword [r13], 0x800
lea r15, [rsp + 0x34]
and dword [r15], 0
mov ecx, 0x800
call fcn.14003239b
mov rbx, rax
lea r12, [rsp + 0x38]
mov qword [r12], rax
mov qword [r12 + 8], rdx
and qword [r12 + 0x10], 0
mov rdi, qword [rdi]
mov rbp, qword [sym.imp.advapi32.dll_RegQueryValueExW]
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rbx
mov rcx, r14
mov rdx, rdi
xor r8d, r8d
mov r9, r15
call rbp
cmp eax, 0xea
jne 0x140009384
mov edx, dword [rsp + 0x30]
mov rcx, r12
call fcn.14009d285
mov rbx, qword [rsp + 0x38]
jmp 0x140009352
test eax, eax
jne 0x1400093a6
mov eax, dword [rsp + 0x30]
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x34]
cmp eax, 0xb
jbe 0x1400093c4
movabs rax, 0xde00000002
jmp 0x1400093ae
shl rax, 0x20
or rax, 2
mov qword [rsi], rax
mov byte [rsi + 0x18], 0xc
mov rdx, qword [rsp + 0x40]
mov rcx, rbx
call fcn.140030a09
jmp 0x1400093d8
mov rcx, qword [rsp + 0x48]
mov qword [rsi + 0x10], rcx
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rsi], xmm0
mov byte [rsi + 0x18], al
mov rdx, qword [rsp + 0x58]
mov rcx, rdi
call fcn.140001ec7
nop
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret

Function at 0x1400093f7
Capabilities:
Set registry value

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x48
mov rdi, r9
mov rbx, rcx
lea rsi, [rsp + 0x30]
mov rcx, rsi
call fcn.14009d51f
movzx r9d, byte [rdi + 0x18]
mov r14, qword [rsi]
mov rax, qword [rdi]
mov ecx, dword [rdi + 0x10]
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], rax
xor edi, edi
mov rcx, rbx
mov rdx, r14
xor r8d, r8d
call sub.advapi32.dll_RegSetValueExW
mov rcx, rax
shl rcx, 0x20
or rcx, 2
test eax, eax
cmovne rdi, rcx
mov rdx, qword [rsi + 8]
mov rcx, r14
call fcn.140001ec7
mov rax, rdi
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x1400106d0
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 0x140010760
cmp r11, r10
ja 0x1400107d6
cmp r10, rdx
ja 0x1400107ea
add r11, r9
xor r15d, r15d
nop word cs:[rax + rax]
cmp r14, r15
je 0x140010762
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x140010740
jmp 0x1400107c4
ja 0x14001076a
mov r11, r10
cmp rax, r8
jne 0x140010704
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 0x1400107a0
mov rdi, r8
sub ecx, edx
jns 0x1400107bb
jmp 0x1400107c6
cmp r8, rsi
je 0x1400107fb
movzx r8d, byte [rdi + 1]
add rdi, 2
and edx, 0x7f
shl edx, 8
or edx, r8d
sub ecx, edx
js 0x1400107c6
xor al, 1
cmp rdi, rsi
jne 0x140010780
jmp 0x1400107c6
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.14009f1b0
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.14009ef20
ud2
lea rcx, str.called__Option::unwrap____on_a__None__value
lea r8, str.librarycore_srcunicodeprintable.rs
mov edx, 0x2b
call fcn.14009efa0
ud2

Function at 0x140012be1
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.140012c2c
test rbx, rbx
je 0x140012c1a
mov rdx, qword [rdi + 8]
mov r8, qword [rdi + 0x10]
mov rcx, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.140012c57
mov cl, byte [rdi + 8]
mov rdx, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.140012c4f

Function at 0x140012c57
Capabilities:
Hash data using fnv

Disassembly:
mov rax, qword [rcx]
xor r9d, r9d
movabs r10, 0x100000001b3
cmp r8, r9
je 0x140012c7d
movzx r11d, byte [rdx + r9]
xor rax, r11
imul rax, r10
inc r9
jmp 0x140012c67
mov qword [rcx], rax
ret
Function at 0x14003dc19
Capabilities:
Check for software breakpoints

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
mov eax, 0x1ea8
call fcn.14009da90
sub rsp, rax
movaps xmmword [rsp + 0x1e90], xmm9
movaps xmmword [rsp + 0x1e80], xmm8
movaps xmmword [rsp + 0x1e70], xmm7
movaps xmmword [rsp + 0x1e60], xmm6
mov rbx, rdx
mov r12, rcx
lea r15, [rcx + 0x1b0]
lea rbp, [rcx + 0x1d1]
lea r14, [rsp + 0x91]
lea rdi, [rcx + 0x180]
lea rax, [rcx + 0xd8]
mov qword [rsp + 0x2b8], rax
xorps xmm6, xmm6
movss xmm7, dword [0x1400a36e0]
lea rax, [rcx + 0x158]
mov qword [rsp + 0x180], rax
lea rax, [rcx + 0x18]
mov qword [rsp + 0x2b0], rax
lea rax, [rcx + 8]
mov qword [rsp + 0x2a8], rax
lea r13, [rsp + 0x11e0]
lea rsi, [rsp + 0x70]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0xf8], rax
Function at 0x140049d27
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 + 0x98]
mov rcx, qword [rdx + 0x80]
mov rdx, qword [rdx + 0x90]
lea r9, [0x1400d2bb8]
call fcn.140049aa7
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 + 0xc0]
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.secur32.dll_DecryptMessage]
cmp eax, 0x80090318
je 0x140049e05
test eax, eax
je 0x140049e21
cmp eax, 0x90317
je 0x140049e9a
cmp eax, 0x90321
jne 0x140049ea2
mov dword [rdi + 0x40], 0x10000
xor ebx, ebx
mov byte [rdi + 0x44], bl
cmp dword [rsp + 0x54], 5
mov rdx, qword [rdi + 0x98]
mov eax, 0
cmove eax, dword [rsp + 0x50]
sub rdx, rax
mov rcx, rdi
call fcn.140049cc7
and qword [rdi + 0xf8], 0
mov byte [rsi + 1], bl
jmp 0x140049eb0
cmp dword [rsp + 0x34], 4
mov eax, 1
cmove eax, dword [rsp + 0x30]
mov qword [rdi + 0xf8], rax
mov byte [rsi + 1], 0
jmp 0x140049e9e
mov r8, qword [rsp + 0x38]
mov rcx, qword [rdi + 0x80]
mov rdx, qword [rdi + 0x90]
sub r8, rcx
mov r9d, dword [rsp + 0x30]
add r9, r8
lea rbx, [rdi + 0x60]
and qword [rdi + 0x70], 0
call fcn.140049ec4
lea r8, [rdx + rax]
mov rcx, rbx
mov rdx, rax
call fcn.14003224e
and qword [rdi + 0x78], 0
xor ebx, ebx
cmp dword [rsp + 0x54], 5
mov rdx, qword [rdi + 0x98]
mov eax, dword [rsp + 0x50]
cmovne eax, ebx
sub rdx, rax
mov rcx, rdi
call fcn.140049cc7
xor eax, eax
cmp qword [rdi + 0x98], rbx
sete al
mov qword [rdi + 0xf8], rax
mov byte [rsi + 1], 0
jmp 0x140049eb0
mov byte [rsi + 1], 1
xor ebx, ebx
jmp 0x140049eb0
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 0x14004a15f
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 + 0x198]
mov rcx, qword [rdx + 0x180]
mov rdx, qword [rdx + 0x190]
lea r9, [0x1400d2bb8]
call fcn.140049aa7
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 + 0x1c0]
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.secur32.dll_DecryptMessage]
cmp eax, 0x80090318
je 0x14004a243
test eax, eax
je 0x14004a262
cmp eax, 0x90317
je 0x14004a2e4
cmp eax, 0x90321
jne 0x14004a2ec
mov dword [rdi + 0x140], 0x10000
xor ebx, ebx
mov byte [rdi + 0x144], bl
cmp dword [rsp + 0x54], 5
mov rdx, qword [rdi + 0x198]
mov eax, 0
cmove eax, dword [rsp + 0x50]
sub rdx, rax
mov rcx, rdi
call fcn.14004a0ff
and qword [rdi + 0x1f8], 0
mov byte [rsi + 1], bl
jmp 0x14004a2fa
cmp dword [rsp + 0x34], 4
mov eax, 1
cmove eax, dword [rsp + 0x30]
mov qword [rdi + 0x1f8], rax
mov byte [rsi + 1], 0
jmp 0x14004a2e8
mov r8, qword [rsp + 0x38]
mov rcx, qword [rdi + 0x180]
mov rdx, qword [rdi + 0x190]
sub r8, rcx
mov r9d, dword [rsp + 0x30]
add r9, r8
lea rbx, [rdi + 0x160]
and qword [rdi + 0x170], 0
call fcn.140049ec4
lea r8, [rdx + rax]
mov rcx, rbx
mov rdx, rax
call fcn.14003224e
and qword [rdi + 0x178], 0
xor ebx, ebx
cmp dword [rsp + 0x54], 5
mov rdx, qword [rdi + 0x198]
mov eax, dword [rsp + 0x50]
cmovne eax, ebx
sub rdx, rax
mov rcx, rdi
call fcn.14004a0ff
xor eax, eax
cmp qword [rdi + 0x198], rbx
sete al
mov qword [rdi + 0x1f8], rax
mov byte [rsi + 1], 0
jmp 0x14004a2fa
mov byte [rsi + 1], 1
xor ebx, ebx
jmp 0x14004a2fa
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 0x14004a304
Capabilities:
Receive data
Receive data on socket

Disassembly:
cmp dword [rcx], 2
jne 0x14004a316
add rcx, 8
jmp fcn.1400941c2
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x40
mov rdi, r8
mov rsi, rcx
mov qword [rcx + 0x38], rdx
mov rcx, r8
call fcn.14004a4a8
mov rbx, rax
mov r14, rdx
lea r15, [rsp + 0x28]
mov rcx, rsi
call fcn.14004a57f
test rdx, rdx
jne 0x14004a3b9
mov rcx, r15
mov rdx, rsi
call fcn.140048e3b
mov eax, dword [rsp + 0x28]
cmp eax, 2
je 0x14004a448
test eax, eax
je 0x14004a3b9
cmp qword [rsi + 0xf8], 0
je 0x14004a39c
mov rcx, r15
mov rdx, rsi
call fcn.140049b02
cmp qword [rsp + 0x28], 0
jne 0x14004a448
cmp qword [rsp + 0x30], 0
je 0x14004a3b9
and qword [rsi + 0xf8], 0
mov rcx, r15
mov rdx, rsi
call fcn.140049d27
cmp byte [rsp + 0x28], 0
jne 0x14004a448
cmp byte [rsp + 0x29], 0
je 0x14004a342
mov rcx, rsi
call fcn.14004a57f
mov r15, rdx
test rax, rax
je 0x14004a44d
mov r13, rax
cmp r14, r15
mov r12, r15
cmovb r12, r14
lea r9, [0x1400d2408]
mov rcx, r12
mov rdx, rbx
mov r8, r14
call fcn.140049ab8
mov rbx, rax
mov r14, rdx
lea r9, [0x1400d2420]
mov rcx, r13
mov rdx, r15
mov r8, r12
call case.0x14001d035.308
mov r9, rdx
lea rcx, [0x1400d2438]
mov qword [rsp + 0x20], rcx
mov rcx, rbx
mov rdx, r14
mov r8, rax
call fcn.140030dd0
mov rax, qword [rsi + 0x78]
add rax, r12
cmp rax, qword [rsi + 0x70]
ja 0x14004a48e
mov qword [rsi + 0x78], rax
mov rcx, rdi
mov rdx, r12
call fcn.14004a515
xor r15d, r15d
jmp 0x14004a474
mov r15, qword [rsp + 0x30]
mov qword [rsp + 0x28], r15
mov rcx, r15
call fcn.14001520f
cmp al, 0xd
jne 0x14004a474
and qword [rsi + 0x38], 0
lea rcx, [rsp + 0x28]
call fcn.140024b48
mov eax, 1
jmp 0x14004a47b
and qword [rsi + 0x38], 0
xor eax, eax
mov rdx, r15
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, [0x1400d2576]
lea r8, [0x1400d25b8]
mov edx, 0x3b
call fcn.14009efa0
ud2

Function at 0x14004d8e4
Capabilities:
Resolve function by parsing pe exports
Set socket configuration

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x348
add eax, dword [rax]
add byte [rax - 0x77], cl
ror dword [rax - 0x77], cl
and al, 0x50
movzx eax, byte [rdx + 0x378]
test eax, eax
mov qword [rsp + 0x58], r8
je 0x14004d935
cmp eax, 3
jne case.default.0x14004d933
mov r15, r8
lea r12, [rbx + 0x1f0]
movzx eax, byte [rbx + 0x280]
lea rcx, [0x1401059a4]
movsxd rax, dword [rcx + rax*4]
add rax, rcx
jmp rax
mov rax, qword [rbx]
mov rcx, qword [rbx + 8]
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], rcx
and qword [rbx + 0x20], 0
mov qword [rbx + 0x40], rax
jmp 0x14004d962
lea rcx, str._async_fn__resumed_after_completionunable_to_find_any_user_specified_roots_in_the_final_cert_chainC:Users_fhnir.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_util_0.7.10_srcutilpoll_buf.rs
lea r8, str.C:Users_fhnir.cargo_registry_srcindex.crates.io_6f17d22bba15001fhyper_0.14.28_srcclientconnecthttp.rs
jmp 0x14004e336
Function at 0x140052516
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, 0x6b8
mov r12, r8
mov rdi, rdx
mov qword [rsp + 0x80], rcx
mov rdx, qword [rdx + 0x400]
add rdx, 0x10
lea rsi, [rsp + 0x1c0]
mov rcx, rsi
call fcn.1400120b5
lea rdx, str.C:Users_fhnir.cargo_registry_srcindex.crates.io_6f17d22bba15001fh2_0.3.24_srcproto_streams_streams.rs
mov rcx, rsi
call fcn.140039fa1
mov rcx, qword [rax + 0x28]
or rcx, qword [rax + 0x38]
je 0x140052575
mov rcx, rax
call fcn.14009135e
jmp 0x1400525a1
mov rsi, qword [rax + 0x230]
mov rcx, rax
call fcn.14009135e
cmp rsi, 1
ja 0x1400525a1
mov rdx, qword [rdi + 0x400]
add rdx, 0x10
lea rcx, [rdi + 0x3a0]
call fcn.14005b32e
mov rax, qword [rdi + 0x378]
cmp rax, 2
jne 0x1400525bc
mov qword [rsp + 0x1c0], 2
jmp 0x14005261c
lea rsi, [rdi + 0x378]
lea rdx, [rdi + 0x390]
test rax, rax
je 0x1400525f1
mov rcx, qword [rdi + 0x380]
mov rax, qword [rdi + 0x388]
mov r8, qword [rax + 0x10]
dec r8
and r8, 0xfffffffffffffff0
add rcx, r8
add rcx, 0x10
jmp 0x1400525ff
mov rcx, qword [rdi + 0x380]
mov rax, qword [rdi + 0x388]
call qword [rax + 0x70]
mov r14, rax
lea r15, [rsp + 0x1c0]
mov rcx, r15
mov rdx, rsi
call fcn.14009619f
mov qword [r15 + 0x18], r14
mov rax, qword [rdi + 0x398]
mov rcx, qword [rsp + 0x1c0]
mov rdx, qword [rsp + 0x1c8]
movups xmm0, xmmword [rsp + 0x1d0]
movaps xmmword [rsp + 0x450], xmm0
mov qword [rsp + 0x440], rcx
mov qword [rsp + 0x448], rdx
mov qword [rsp + 0x460], rax
cmp dword [rsp + 0x440], 2
je 0x14005267a
lea rdx, [rsp + 0x458]
lea rcx, [rsp + 0x440]
call fcn.1400961f2
mov qword [rsp + 0x5c8], 2
and qword [rsp + 0x5e8], 0
lea r15, [rdi + 0x48]
lea rax, [rdi + 0x3a0]
mov qword [rsp + 0x1a8], rax
lea rax, [rdi + 0x410]
mov qword [rsp + 0x1a0], rax
lea r13, [rsp + 0xd8]
lea r14, [rsp + 0x1c0]
mov dword [rsp + 0x6c], eax
mov dword [rsp + 0x68], eax
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x88], r15
Function at 0x1400752b5
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 rsi, rcx
lea rdi, [rsp + 0x50]
mov r8d, 0xb
mov rcx, rdi
mov rdx, rax
call fcn.1400753e3
lea r13, [rsp + 0x30]
mov dword [r13], 0x800
lea r15, [rsp + 0x34]
and dword [r15], 0
mov ecx, 0x800
call fcn.14003239b
mov rbx, rax
lea r12, [rsp + 0x38]
mov qword [r12], rax
mov qword [r12 + 8], rdx
and qword [r12 + 0x10], 0
mov rdi, qword [rdi]
mov rbp, qword [sym.imp.advapi32.dll_RegQueryValueExW]
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rbx
mov rcx, r14
mov rdx, rdi
xor r8d, r8d
mov r9, r15
call rbp
cmp eax, 0xea
jne 0x140075357
mov edx, dword [rsp + 0x30]
mov rcx, r12
call fcn.140032291
mov rbx, qword [rsp + 0x38]
jmp 0x140075325
test eax, eax
jne 0x140075379
mov eax, dword [rsp + 0x30]
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x34]
cmp eax, 0xb
jbe 0x140075397
movabs rax, 0xde00000002
jmp 0x140075381
shl rax, 0x20
or rax, 2
mov qword [rsi], rax
mov byte [rsi + 0x18], 0xc
mov rdx, qword [rsp + 0x40]
mov rcx, rbx
call fcn.14002ca0c
jmp 0x1400753ab
mov rcx, qword [rsp + 0x48]
mov qword [rsi + 0x10], rcx
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rsi], xmm0
mov byte [rsi + 0x18], al
mov rdx, qword [rsp + 0x58]
mov rcx, rdi
call fcn.140001ec7
nop
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret

Function at 0x1400799d0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rdx
sub rdx, rcx
cmp rdx, 0x20
jae fcn.14000b820
cmp rax, rcx
je 0x1400799f5
cmp rdx, 4
jae 0x1400799f8
xor eax, eax
xor r8d, r8d
jmp 0x140079a90
xor eax, eax
ret
mov r8, rdx
and r8, 0xfffffffffffffffc
pxor xmm0, xmm0
xor eax, eax
movdqa xmm2, xmmword [0x1400a3670]
movdqa xmm3, xmmword [0x1400a3680]
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 0x140079a20
paddq xmm1, xmm0
pshufd xmm0, xmm1, 0xee
paddq xmm0, xmm1
movq rax, xmm0
cmp r8, rdx
je 0x140079aa7
nop dword [rax]
xor r9d, r9d
cmp byte [rcx + r8], 0xc0
setge r9b
add rax, r9
inc r8
cmp rdx, r8
jne 0x140079a90
ret
Function at 0x14007d37f
Capabilities:
Get client handle via schannel
Get outbound credentials handle via credssp

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0xb8
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0xa8], xmm0
movups xmmword [rsp + 0x98], xmm0
movups xmmword [rsp + 0x88], xmm0
movups xmmword [rsp + 0x78], xmm0
mov dword [rsp + 0x68], 4
mov dword [rsp + 0xb0], 0x400010
mov rax, qword [rcx + 0x18]
test rax, rax
je 0x14007d3e2
mov edx, dword [rcx + 0x28]
mov dword [rsp + 0x90], edx
mov qword [rsp + 0x98], rax
mov rax, qword [rcx + 0x30]
test rax, rax
je 0x14007d418
mov r8, qword [rcx + 0x40]
xor edx, edx
test r8, r8
je 0x14007d411
lea r9, [0x140104988]
xor r10d, r10d
movzx r11d, byte [rax + r10]
or edx, dword [r9 + r11*4]
inc r10
cmp r8, r10
jne 0x14007d400
mov dword [rsp + 0xa0], edx
mov r15, qword [rcx + 0x10]
lea rsi, [r15*8]
test r15, r15
je 0x14007d469
mov rax, r15
shr rax, 0x3c
jne 0x14007d52b
mov rbx, qword [rcx]
mov ecx, 8
mov rdx, rsi
call fcn.14008efc7
test rax, rax
je 0x14007d532
mov rdi, rax
xor eax, eax
mov rcx, qword [rbx + rax*8]
mov qword [rdi + rax*8], rcx
inc rax
cmp r15, rax
jne 0x14007d454
mov eax, r15d
jmp 0x14007d470
xor eax, eax
mov edi, 8
lea rcx, [rsp + 0x68]
mov dword [rcx + 4], eax
mov qword [rcx + 8], rdi
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x20], rcx
and qword [rsp + 0x40], 0
lea rdx, [0x1400d7c43]
xor ecx, ecx
mov r8d, 2
xor r9d, r9d
call qword [sym.imp.secur32.dll_AcquireCredentialsHandleA]
test eax, eax
je 0x14007d4c7
mov ebx, eax
shl rbx, 0x20
or rbx, 2
mov r14d, 1
jmp 0x14007d4ff
mov r14, qword [rsp + 0x50]
mov r12, qword [rsp + 0x58]
mov ecx, 8
mov edx, 0x20
call fcn.14008efc7
add dword [rax], eax
test rax, rax
je 0x14007d53c
mov rbx, rax
mov eax, 1
mov qword [rbx], rax
mov qword [rbx + 8], rax
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], r12
xor r14d, r14d
test r15, r15
je 0x14007d514
mov edx, 8
mov rcx, rdi
mov r8, rsi
call fcn.140002283
mov rax, r14
mov rdx, rbx
add rsp, 0xb8
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
call fcn.140008620
ud2
mov ecx, 8
mov rdx, rsi
jmp 0x14007d546
mov ecx, 8
mov edx, 0x20
call fcn.14009eb50
ud2

Function at 0x14007db82
Capabilities:
Get remote cert context via schannel

Disassembly:
sub rsp, 0x28
lea r8, [rsp + 0x20]
Function at 0x14007fb67
Capabilities:
Set socket configuration

Disassembly:
sub rsp, 0x38
mov eax, edx
lea r9, [rsp + 0x34]
mov dword [r9], r8d
mov dword [rsp + 0x20], 4
mov edx, 0xffff
mov r8d, eax
call qword [sym.imp.ws2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x14007fb94
xor eax, eax
jmp 0x14007fb99
call fcn.140031302
nop
add rsp, 0x38
ret
Function at 0x14008a5a0
Capabilities:
Create thread

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x50
lea rbp, [rsp + 0x50]
mov qword [rbp - 8], 0xfffffffffffffffe
mov rdi, r8
mov r14, rdx
mov rsi, rcx
movzx eax, byte [0x14010d2e0]
mov ecx, 0x10
mov edx, 8
call fcn.140008540
test rax, rax
je 0x14008a677
mov rbx, rax
mov qword [rax], r14
mov qword [rax + 8], rdi
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x10000
lea r8, [0x14008a710]
xor edi, edi
xor ecx, ecx
mov rdx, rsi
mov r9, rax
call qword [sym.imp.kernel32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x14008a669
mov rcx, qword [rbx]
mov qword [rbp - 0x18], rbx
mov rax, qword [rbx + 8]
mov qword [rbp - 0x20], rcx
mov qword [rbp - 0x10], rax
call qword [rax]
mov rax, qword [rbp - 0x10]
cmp qword [rax + 8], 0
je 0x14008a646
mov rdx, qword [rax + 0x10]
mov rcx, qword [rbp - 0x20]
call fcn.1400085d0
mov edx, 8
mov rcx, qword [rbp - 0x18]
call fcn.1400085d0
call qword [sym.imp.kernel32.dll_GetLastError]
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov edi, 1
mov rax, rdi
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
mov qword [rbp - 0x18], r14
mov qword [rbp - 0x10], rdi
mov ecx, 8
mov edx, 0x10
call fcn.14009eb50
ud2

Function at 0x14008a840
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push rbp
sub rsp, 0x80
lea rbp, [rsp + 0x80]
mov qword [rbp - 8], 0xfffffffffffffffe
xorps xmm0, xmm0
movaps xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
mov edx, 0x10
call qword [sym.imp.advapi32.dll_SystemFunction036]
test al, al
je 0x14008a883
mov rax, qword [rbp - 0x20]
mov rdx, qword [rbp - 0x18]
add rsp, 0x80
pop rbp
ret
call qword [sym.imp.kernel32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov qword [rbp - 0x10], rax
lea rax, [rbp - 0x10]
mov qword [rbp - 0x30], rax
lea rax, [0x140086da0]
mov qword [rbp - 0x28], rax
lea rax, str.fallback_RNG_broken:
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], 1
mov qword [rbp - 0x40], 0
lea rax, [rbp - 0x30]
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], 1
lea rdx, str.library_std_src_syswindows_rand.rs
lea rcx, [rbp - 0x60]
call fcn.14009ede0
ud2

Function at 0x14008e020
Capabilities:
Generate random numbers via winapi

Disassembly:
sub rsp, 0x38
xorps xmm0, xmm0
movaps xmmword [rsp + 0x20], xmm0
lea rdx, [rsp + 0x20]
xor ecx, ecx
mov r8d, 0x10
mov r9d, 2
call qword [sym.imp.bcrypt.dll_BCryptGenRandom]
test eax, eax
js 0x14008e055
mov rax, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
jmp 0x14008e05a
call fcn.14008a840
nop
add rsp, 0x38
ret

Function at 0x140093881
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
mov rax, qword [rcx]
mov rdx, rax
xor rdx, 3
lock cmpxchg qword [rcx], rdx
jne 0x140093888
test al, 1
je 0x1400938a7
test al, 2
jne 0x1400938bc
xor rax, 3
add rsp, 0x28
ret
lea rcx, str.assertion_failed:_prev.is_running__
lea r8, [0x1400deba8]
mov edx, 0x23
jmp 0x1400938cf
lea rcx, str.assertion_failed:__prev.is_complete__
lea r8, [0x1400debe8]
mov edx, 0x25
call fcn.14009efa0
ud2
Function at 0x140094172
Capabilities:
Set socket configuration

Disassembly:
push rbx
sub rsp, 0x30
mov ebx, edx
call fcn.1400930cb
mov rcx, qword [rax]
movzx eax, bl
lea r9, [rsp + 0x2c]
mov dword [r9], eax
mov dword [rsp + 0x20], 4
mov edx, 6
mov r8d, 1
call qword [sym.imp.ws2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x1400941ae
xor eax, eax
jmp 0x1400941bc
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
add rsp, 0x30
pop rbx
ret