joyce8/EMBER2024-capa huggingface dataset:
Function at 0x59cc40
Capabilities:
Encode data using base64

Disassembly:
mov rcx, qword gs:[0x28]
mov rcx, qword [rcx]
cmp rsp, qword [rcx + 0x10]
jbe 0x59cd78
sub rsp, 0x38
mov qword [rsp + 0x30], rbp
lea rbp, [rsp + 0x30]
mov rax, qword [rsp + 0x58]
mov rcx, rax
sar rax, 0x3f
shr rax, 0x3d
add rax, rcx
sar rax, 3
shl rax, 3
sub rcx, rax
lea rax, [rcx - 8]
neg rax
cmp rax, 8
je 0x59cd71
mov rdx, qword [rsp + 0x48]
test rdx, rdx
je 0x59cd4e
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea rax, [0x00808ea0]
mov qword [rsp], rax
mov qword [rsp + 8], rdx
mov qword [rsp + 0x10], rdx
call fcn.00449e70
mov rcx, qword [rsp + 0x20]
cmp rcx, 8
sbb eax, eax
mov rdx, qword [rsp + 0x18]
mov rbx, qword [rsp + 0x40]
movzx esi, byte [rbx]
shr sil, cl
and esi, eax
mov byte [rdx], sil
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x28]
mov r8d, 1
jmp 0x59cd30
cmp rdi, 0x20
sbb r9d, r9d
movzx r10d, byte [r8 + rbx - 1]
mov r11, rcx
mov rcx, rdi
shl r10d, cl
and r10d, r9d
mov byte [rdx + r8], r10b
movzx r9d, byte [rbx + r8]
mov rcx, r11
shr r9b, cl
and r9d, eax
or r10d, r9d
mov byte [rdx + r8], r10b
inc r8
cmp r8, rsi
jl 0x59ccfb
mov qword [rsp + 0x60], rdx
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x70], rsi
mov rbp, qword [rsp + 0x30]
add rsp, 0x38
ret
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rdx
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x70], rax
mov rbp, qword [rsp + 0x30]
add rsp, 0x38
ret
mov rdx, qword [rsp + 0x48]
jmp 0x59cd4e
call fcn.004616c0
jmp fcn.0059cc40
Function at 0x5b8460
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov rcx, qword gs:[0x28]
mov rcx, qword [rcx]
cmp rsp, qword [rcx + 0x10]
jbe 0x5b8667
sub rsp, 0x68
mov qword [rsp + 0x60], rbp
lea rbp, [rsp + 0x60]
lea rax, [0x0080fce0]
mov qword [rsp], rax
call fcn.0040d180
mov rax, qword [rsp + 8]
mov qword [rsp + 0x58], rax
xor ecx, ecx
xor edx, edx
xor ebx, ebx
jmp 0x5b84f5
movzx r8d, byte [rsi + rcx]
movzx r9d, byte [rdx + rdi]
xor r8d, r9d
mov byte [rcx + rsi], r8b
inc rdi
inc rsi
cmp rdi, rax
jge 0x5b84d2
cmp rsi, rbx
jge 0x5b84d2
jb 0x5b84aa
jmp 0x5b865b
mov rax, qword [rsp + 0x58]
movzx edi, byte [rax + 3]
lea r8d, [rdi + 1]
mov byte [rax + 3], r8b
cmp dil, 0xff
je 0x5b8618
mov rcx, rsi
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x78]
cmp rcx, rsi
jge 0x5b8651
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x48], rbx
mov rax, qword [rsp + 0x88]
mov rcx, qword [rax + 0x38]
mov rdx, qword [rsp + 0x90]
mov qword [rsp], rdx
mov rbx, qword [rsp + 0x98]
mov qword [rsp + 8], rbx
mov rsi, qword [rsp + 0xa0]
mov qword [rsp + 0x10], rsi
mov rdi, qword [rsp + 0xa8]
mov qword [rsp + 0x18], rdi
call rcx
mov rax, qword [rsp + 0x88]
mov rcx, qword [rax + 0x38]
mov rdx, qword [rsp + 0x90]
mov qword [rsp], rdx
mov rbx, qword [rsp + 0x58]
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], 4
mov qword [rsp + 0x18], 4
call rcx
mov rax, qword [rsp + 0x88]
mov rcx, qword [rax + 0x30]
mov rdx, qword [rsp + 0x90]
mov qword [rsp], rdx
mov rbx, qword [rsp + 0x50]
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], 0
mov rbx, qword [rsp + 0x48]
mov qword [rsp + 0x18], rbx
call rcx
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x28]
mov qword [rsp + 0x40], rcx
mov rdx, qword [rsp + 0x30]
mov qword [rsp + 0x48], rdx
mov rbx, qword [rsp + 0x88]
mov rsi, qword [rbx + 0x20]
mov rdi, qword [rsp + 0x90]
mov qword [rsp], rdi
call rsi
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x38]
xor edi, edi
jmp 0x5b84c1
movzx edi, byte [rax + 2]
lea r8d, [rdi + 1]
mov byte [rax + 2], r8b
cmp dil, 0xff
jne 0x5b84ed
movzx edi, byte [rax + 1]
lea r8d, [rdi + 1]
mov byte [rax + 1], r8b
cmp dil, 0xff
jne 0x5b84ed
movzx edi, byte [rax]
inc edi
mov byte [rax], dil
jmp 0x5b84ed
mov rbp, qword [rsp + 0x60]
add rsp, 0x68
ret
mov rax, rsi
mov rcx, rbx
call fcn.004640b0
nop
call fcn.004616c0
jmp fcn.005b8460
Function at 0x5cb5e0
Capabilities:
Parse credit card information

Disassembly:
movzx eax, byte [rsp + 8]
cmp al, 0x61
jb 0x5cb5f3
cmp al, 0x7a
ja 0x5cb5f3
mov byte [rsp + 0x18], 0
ret
cmp al, 0x41
jb 0x5cb5fb
cmp al, 0x5a
jbe 0x5cb5ed
cmp al, 0x30
jb 0x5cb603
cmp al, 0x39
jbe 0x5cb5ed
mov rcx, qword [rsp + 0x10]
cmp rcx, 3
jne 0x5cb763
cmp al, 0x2c
ja 0x5cb742
lea edx, [rax - 0x21]
cmp dl, 1
ja 0x5cb628
mov byte [rsp + 0x18], 0
ret
cmp al, 0x24
je 0x5cb622
lea edx, [rax - 0x26]
cmp dl, 6
jbe 0x5cb622
cmp al, 0x2f
ja 0x5cb70c
cmp al, 0x26
ja 0x5cb6e5
cmp al, 0x24
jne 0x5cb6db
cmp rcx, 2
jg 0x5cb6a0
cmp rcx, 1
je 0x5cb698
cmp rcx, 2
jne 0x5cb67b
cmp al, 0x2f
jne 0x5cb66c
mov eax, 1
mov byte [rsp + 0x18], al
ret
cmp al, 0x3b
je 0x5cb662
cmp al, 0x2c
je 0x5cb662
cmp al, 0x3f
sete al
jmp 0x5cb667
cmp rcx, 7
jne 0x5cb692
cmp al, 0x21
jne 0x5cb68b
mov byte [rsp + 0x18], 0
ret
add eax, 0xffffffd8
cmp al, 2
jbe 0x5cb685
mov byte [rsp + 0x18], 1
ret
cmp al, 0x3f
sete byte [rsp + 0x18]
ret
cmp rcx, 5
jne 0x5cb6c3
cmp al, 0x40
jne 0x5cb6b4
mov eax, 1
mov byte [rsp + 0x18], al
ret
cmp al, 0x2f
je 0x5cb6aa
cmp al, 0x3f
je 0x5cb6aa
cmp al, 0x3a
sete al
jmp 0x5cb6af
cmp rcx, 6
je 0x5cb6d5
cmp rcx, 7
jne 0x5cb67b
mov byte [rsp + 0x18], 0
ret
mov byte [rsp + 0x18], 1
ret
cmp al, 0x26
je 0x5cb64c
jmp 0x5cb67b
lea edx, [rax - 0x2b]
cmp dl, 1
jbe 0x5cb64c
lea edx, [rax - 0x2d]
cmp dl, 1
ja 0x5cb6ff
mov byte [rsp + 0x18], 0
ret
cmp al, 0x2f
je 0x5cb64c
jmp 0x5cb67b
cmp al, 0x3d
ja 0x5cb729
lea edx, [rax - 0x3a]
cmp dl, 1
jbe 0x5cb64c
cmp al, 0x3d
je 0x5cb64c
jmp 0x5cb67b
lea edx, [rax - 0x3f]
cmp dl, 1
jbe 0x5cb64c
cmp al, 0x5f
je 0x5cb6f9
cmp al, 0x7e
je 0x5cb6f9
jmp 0x5cb67b
lea edx, [rax - 0x3a]
cmp dl, 4
jbe 0x5cb622
cmp al, 0x5b
je 0x5cb622
cmp al, 0x5d
je 0x5cb622
jmp 0x5cb634
cmp rcx, 4
je 0x5cb612
jmp 0x5cb634
Function at 0x140001010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x1401251c0]
xor ecx, ecx
mov dword [rax], 1
mov rax, qword [0x1401251d0]
mov dword [rax], 1
mov rax, qword [0x1401251e0]
mov dword [rax], 1
mov rax, qword [0x140125140]
cmp word [rax], 0x5a4d
jne 0x14000105a
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400010c0
mov rax, qword [0x1401251b0]
mov dword [0x14013500c], ecx
mov eax, dword [rax]
test eax, eax
je 0x1400010b0
mov ecx, 2
call sym.__set_app_type
call dbg.__p__fmode
mov rdx, qword [0x140125280]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg.__p__commode
mov rdx, qword [0x140125260]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg._setargv
mov rax, qword [0x140125120]
cmp dword [rax], 1
je 0x1400010f8
xor eax, eax
add rsp, 0x28
ret
mov ecx, 1
call sym.__set_app_type
jmp 0x140001077
movzx edx, word [rax + 0x18]
cmp dx, 0x10b
je 0x140001110
cmp dx, 0x20b
jne 0x14000105a
cmp dword [rax + 0x84], 0xe
jbe 0x14000105a
mov edx, dword [rax + 0xf8]
xor ecx, ecx
test edx, edx
setne cl
jmp 0x14000105a
mov rcx, qword [dbg._matherr]
call dbg.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x14000105a
mov r8d, dword [rax + 0xe8]
xor ecx, ecx
test r8d, r8d
setne cl
jmp 0x14000105a
Function at 0x140010450
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 0x1400104e0
cmp r11, r10
ja 0x140010556
cmp r10, rdx
ja 0x14001056a
add r11, r9
xor r15d, r15d
nop word cs:[rax + rax]
cmp r14, r15
je 0x1400104e2
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x1400104c0
jmp 0x140010544
ja 0x1400104ea
mov r11, r10
cmp rax, r8
jne 0x140010484
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 0x140010520
mov rdi, r8
sub ecx, edx
jns 0x14001053b
jmp 0x140010546
cmp r8, rsi
je 0x14001057b
movzx r8d, byte [rdi + 1]
add rdi, 2
and edx, 0x7f
shl edx, 8
or edx, r8d
sub ecx, edx
js 0x140010546
xor al, 1
cmp rdi, rsi
jne 0x140010500
jmp 0x140010546
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 dbg.slice_index_order_fail
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call dbg.slice_end_index_len_fail
ud2
lea rcx, str.called__Option::unwrap____on_a__None__value
lea r8, str.librarycore_srcunicodeprintable.rs
mov edx, 0x2b
call dbg.panic
ud2

Function at 0x1400142fc
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 sym.core::hash::impls::__impl_core::hash::Hash_for_isize_::hash::h5cecb25d420d4154
test rbx, rbx
je 0x140014335
mov rdx, qword [rdi + 8]
mov r8, qword [rdi + 0x10]
mov rcx, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp sym.__fnv::FnvHasher_as_core::hash::Hasher_::write::hae869fbe2fa8553f
mov cl, byte [rdi + 8]
mov rdx, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp sym.__http::header::name::StandardHeader_as_core::hash::Hash_::hash::h9ab8c071c09b26fa

Function at 0x14001434f
Capabilities:
Hash data using fnv

Disassembly:
mov rax, qword [rcx]
xor r9d, r9d
movabs r10, 0x100000001b3
cmp r8, r9
je 0x140014375
movzx r11d, byte [rdx + r9]
xor rax, r11
imul rax, r10
inc r9
jmp 0x14001435f
mov qword [rcx], rax
ret
Function at 0x14003e29c
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, [0x1400f2a90]
call sym.__alloc::vec::Vec_T_A__as_core::ops::index::IndexMut_I__::index_mut::heba1365844e9a597
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 sub.secur32.dll_DecryptMessage
cmp eax, 0x80090318
je 0x14003e379
test eax, eax
je 0x14003e395
cmp eax, 0x90317
je 0x14003e40e
cmp eax, 0x90321
jne 0x14003e416
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 sym.schannel::tls_stream::TlsStream_S_::consume_enc_in::hf138f51925acfd04
and qword [rdi + 0xf8], 0
mov byte [rsi + 1], bl
jmp 0x14003e424
cmp dword [rsp + 0x34], 4
mov eax, 1
cmove eax, dword [rsp + 0x30]
mov qword [rdi + 0xf8], rax
mov byte [rsi + 1], 0
jmp 0x14003e412
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 sym.__alloc::vec::Vec_T_A__as_core::ops::index::Index_I__::index::he7be156f99719f23
lea r8, [rdx + rax]
mov rcx, rbx
mov rdx, rax
call fcn.1400343ae
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 sym.schannel::tls_stream::TlsStream_S_::consume_enc_in::hf138f51925acfd04
xor eax, eax
cmp qword [rdi + 0x98], rbx
sete al
mov qword [rdi + 0xf8], rax
mov byte [rsi + 1], 0
jmp 0x14003e424
mov byte [rsi + 1], 1
xor ebx, ebx
jmp 0x14003e424
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 0x14003e745
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, [0x1400f2a90]
call sym.__alloc::vec::Vec_T_A__as_core::ops::index::IndexMut_I__::index_mut::heba1365844e9a597
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 sub.secur32.dll_DecryptMessage
cmp eax, 0x80090318
je 0x14003e828
test eax, eax
je 0x14003e847
cmp eax, 0x90317
je 0x14003e8c9
cmp eax, 0x90321
jne 0x14003e8d1
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 sym.schannel::tls_stream::TlsStream_S_::consume_enc_in::hc2cc117a86a0d6c0
and qword [rdi + 0x1f8], 0
mov byte [rsi + 1], bl
jmp 0x14003e8df
cmp dword [rsp + 0x34], 4
mov eax, 1
cmove eax, dword [rsp + 0x30]
mov qword [rdi + 0x1f8], rax
mov byte [rsi + 1], 0
jmp 0x14003e8cd
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 sym.__alloc::vec::Vec_T_A__as_core::ops::index::Index_I__::index::he7be156f99719f23
lea r8, [rdx + rax]
mov rcx, rbx
mov rdx, rax
call fcn.1400343ae
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 sym.schannel::tls_stream::TlsStream_S_::consume_enc_in::hc2cc117a86a0d6c0
xor eax, eax
cmp qword [rdi + 0x198], rbx
sete al
mov qword [rdi + 0x1f8], rax
mov byte [rsi + 1], 0
jmp 0x14003e8df
mov byte [rsi + 1], 1
xor ebx, ebx
jmp 0x14003e8df
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 0x14003e8e9
Capabilities:
Receive data
Receive data on socket

Disassembly:
cmp dword [rcx], 2
jne sym.__tokio_native_tls::TlsStream_S__as_tokio::io::async_read::AsyncRead_::poll_read::hd0bf3e68327e0f7e
add rcx, 8
jmp sym.__tokio::net::tcp::stream::TcpStream_as_tokio::io::async_read::AsyncRead_::poll_read::h36c2b001a3ff8b57
Function at 0x140041fb3
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
mov rbx, rdx
mov qword [rsp + 0x50], rcx
movzx eax, byte [rdx + 0x378]
test eax, eax
mov qword [rsp + 0x58], r8
je 0x140042004
cmp eax, 3
jne case.default.0x140042002
mov r15, r8
lea r12, [rbx + 0x1f0]
movzx eax, byte [rbx + 0x280]
lea rcx, [0x1400c0f3c]
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 0x140042031
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 0x140042a03
Function at 0x1400789aa
Capabilities:
Query or enumerate registry value

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x70
mov rax, r8
mov r14, rdx
mov rsi, rcx
lea rdi, [rsp + 0x58]
mov r8d, 0xb
mov rcx, rdi
mov rdx, rax
call sym.winreg::common::to_utf16::ha6ad6ea58d962d59
lea r13, [rsp + 0x38]
mov dword [r13], 0x800
lea r15, [rsp + 0x3c]
and dword [r15], 0
mov ecx, 0x800
call sym.alloc::raw_vec::RawVec_T_A_::allocate_in::h55ef381d2ac2222a
mov rbx, rax
lea r12, [rsp + 0x40]
mov qword [r12], rax
mov qword [r12 + 8], rdx
and qword [r12 + 0x10], 0
mov rdi, qword [rdi]
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rbx
mov rcx, r14
mov rdx, rdi
xor r8d, r8d
mov r9, r15
call sub.advapi32.dll_RegQueryValueExW
cmp eax, 0xea
jne 0x140078a47
mov edx, dword [rsp + 0x38]
mov rcx, r12
call sym.alloc::vec::Vec_T_A_::reserve::h074322f591760c9f
mov rbx, qword [rsp + 0x40]
jmp 0x140078a12
test eax, eax
jne 0x140078a69
mov eax, dword [rsp + 0x38]
mov qword [rsp + 0x50], rax
mov eax, dword [rsp + 0x3c]
cmp eax, 0xb
jbe 0x140078a87
movabs rax, 0xde00000002
jmp 0x140078a71
shl rax, 0x20
or rax, 2
mov qword [rsi], rax
mov byte [rsi + 0x18], 0xc
mov rdx, qword [rsp + 0x48]
mov rcx, rbx
call sym.__alloc::raw_vec::RawVec_T_A__as_core::ops::drop::Drop_::drop::h201efe391f01b88a
jmp 0x140078a9b
mov rcx, qword [rsp + 0x50]
mov qword [rsi + 0x10], rcx
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rsi], xmm0
mov byte [rsi + 0x18], al
mov rdx, qword [rsp + 0x60]
mov rcx, rdi
call sym.__alloc::raw_vec::RawVec_T_A__as_core::ops::drop::Drop_::drop::h2c77e87801965552
nop
add rsp, 0x70
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret

Function at 0x14007cf70
Capabilities:
Encode data using xor

Disassembly:
mov rax, rdx
sub rdx, rcx
cmp rdx, 0x20
jae dbg.do_count_chars
cmp rax, rcx
je 0x14007cf95
cmp rdx, 4
jae 0x14007cf98
xor eax, eax
xor r8d, r8d
jmp 0x14007d030
xor eax, eax
ret
mov r8, rdx
and r8, 0xfffffffffffffffc
pxor xmm0, xmm0
xor eax, eax
movdqa xmm2, xmmword [0x1400c1890]
movdqa xmm3, xmmword [0x1400c18a0]
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 0x14007cfc0
paddq xmm1, xmm0
pshufd xmm0, xmm1, 0xee
paddq xmm0, xmm1
movq rax, xmm0
cmp r8, rdx
je 0x14007d047
nop dword [rax]
xor r9d, r9d
cmp byte [rcx + r8], 0xc0
setge r9b
add rax, r9
inc r8
cmp rdx, r8
jne 0x14007d030
ret
Function at 0x14007dfb0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x48
mov rsi, rcx
mov r8, qword [rcx]
test r8, r8
je 0x14007e00b
mov r10, qword [rsi + 8]
mov rcx, qword [rsi + 0x10]
cmp rcx, r10
jae 0x14007e00b
movzx eax, byte [r8 + rcx]
cmp eax, 0x49
je 0x14007e026
cmp eax, 0x42
jne 0x14007e00b
lea r11, [rcx + 1]
mov qword [rsi + 0x10], r11
cmp r11, r10
jae 0x14007e0d6
cmp byte [r8 + r11], 0x5f
jne 0x14007e0d6
lea rax, [rcx + 2]
mov qword [rsi + 0x10], rax
xor eax, eax
jmp 0x14007e13e
mov rcx, rsi
xor edx, edx
call dbg.print_path
mov edi, eax
add dil, dil
mov eax, edi
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r14
ret
inc rcx
mov qword [rsi + 0x10], rcx
mov rcx, rsi
xor edx, edx
call dbg.print_path
test al, al
jne 0x14007e1d1
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x14007e062
lea rdx, [0x1400f49ab]
mov r8d, 1
call dbg.pad
test al, al
jne 0x14007e1d1
mov rax, qword [rsi]
mov dil, 1
test rax, rax
je 0x14007e01a
xor r14d, r14d
lea rbx, [0x1400f4d19]
nop word [rax + rax]
mov rcx, qword [rsi + 0x10]
cmp rcx, qword [rsi + 8]
jae 0x14007e094
cmp byte [rax + rcx], 0x45
je 0x14007e1f3
sub r14, 1
jb 0x14007e0b9
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x14007e0b9
mov r8d, 2
mov rdx, rbx
call dbg.pad
test al, al
jne 0x14007e1d1
mov rcx, rsi
call dbg.print_generic_arg
test al, al
jne 0x14007e1d1
mov rax, qword [rsi]
test rax, rax
jne 0x14007e080
jmp 0x14007e01a
xor eax, eax
mov edi, 0x3e
nop dword [rax]
mov r9b, 1
cmp r11, r10
jae 0x14007e198
movzx edx, byte [r8 + r11]
cmp dl, 0x5f
je 0x14007e132
lea ebx, [rdx - 0x30]
cmp bl, 0xa
jb 0x14007e11c
lea ebx, [rdx - 0x61]
cmp bl, 0x1a
jae 0x14007e10b
add dl, 0xa9
jmp 0x14007e11a
lea ebx, [rdx - 0x41]
cmp bl, 0x1a
jae 0x14007e198
add dl, 0xe3
mov ebx, edx
inc r11
mov qword [rsi + 0x10], r11
mul rdi
jo 0x14007e198
movzx edx, bl
add rax, rdx
jae 0x14007e0e0
jmp 0x14007e198
inc r11
mov qword [rsi + 0x10], r11
inc rax
je 0x14007e198
cmp rax, rcx
jae 0x14007e195
mov ecx, dword [rsi + 0x18]
inc ecx
cmp ecx, 0x1f4
ja 0x14007e1eb
cmp qword [rsi + 0x20], 0
je 0x14007e1e4
movups xmm0, xmmword [rsi]
movups xmm1, xmmword [rsi + 0x10]
movaps xmmword [rsp + 0x30], xmm1
movaps xmmword [rsp + 0x20], xmm0
mov qword [rsi + 0x10], rax
mov dword [rsi + 0x18], ecx
mov rcx, rsi
call dbg.print_path_maybe_open_generics
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm1
jmp 0x14007e01c
mov r9b, 1
xor edi, edi
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x14007e1d9
mov eax, r9d
xor al, 1
movzx eax, al
lea r8, [rax + rax*8]
add r8, 0x10
lea rax, str.invalid_syntaxrecursion_limit_reached_for_____::closureshim_as__mut_const___dyn___unsafe_extern__
lea rdx, [0x1400f4cf8]
test r9b, r9b
cmovne rdx, rax
call dbg.pad
test al, al
je 0x14007e1d9
mov dil, 2
jmp 0x14007e01a
mov qword [rsi], 0
mov byte [rsi + 8], dil
xor edi, edi
jmp 0x14007e01a
mov dil, 1
xor r9d, r9d
jmp 0x14007e19a
inc rcx
mov qword [rsi + 0x10], rcx
jmp 0x14007e01a
Function at 0x140080eb3
Capabilities:
Get client handle via schannel
Get outbound credentials handle via credssp

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0xc0
movaps xmmword [rsp + 0xb0], xmm6
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0xa0], xmm0
movups xmmword [rsp + 0x90], xmm0
movups xmmword [rsp + 0x80], xmm0
movups xmmword [rsp + 0x70], xmm0
mov dword [rsp + 0x60], 4
mov dword [rsp + 0xa8], 0x400010
mov rax, qword [rcx + 0x18]
test rax, rax
je 0x140080f1c
mov edx, dword [rcx + 0x28]
mov dword [rsp + 0x88], edx
mov qword [rsp + 0x90], rax
mov rax, qword [rcx + 0x30]
test rax, rax
je 0x140080f52
mov r8, qword [rcx + 0x40]
xor edx, edx
test r8, r8
je 0x140080f4b
lea r9, [0x140124ca8]
xor r10d, r10d
movzx r11d, byte [rax + r10]
or edx, dword [r9 + r11*4]
inc r10
cmp r8, r10
jne 0x140080f3a
mov dword [rsp + 0x98], edx
mov r15, qword [rcx + 0x10]
lea rsi, [r15*8]
test r15, r15
je 0x140080fa3
mov rax, r15
shr rax, 0x3c
jne 0x140081057
mov rbx, qword [rcx]
mov ecx, 8
mov rdx, rsi
call sym._ZN5alloc5alloc6Global10alloc_impl17h4bbe59abe21e5819E.1054
test rax, rax
je 0x14008105e
mov rdi, rax
xor eax, eax
mov rcx, qword [rbx + rax*8]
mov qword [rdi + rax*8], rcx
inc rax
cmp r15, rax
jne 0x140080f8e
mov eax, r15d
jmp 0x140080faa
xor eax, eax
mov edi, 8
lea rcx, [rsp + 0x60]
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, [0x1400f7bb3]
xor ecx, ecx
mov r8d, 2
xor r9d, r9d
call sub.secur32.dll_AcquireCredentialsHandleA
test eax, eax
je 0x140081000
mov ebx, eax
shl rbx, 0x20
or rbx, 2
mov r14d, 1
jmp 0x140081025
movaps xmm6, xmmword [rsp + 0x50]
mov ecx, 0x20
call sym._ZN5alloc5alloc15exchange_malloc17hd75bdc3075ee380cE.337
mov rbx, rax
mov eax, 1
mov qword [rbx], rax
mov qword [rbx + 8], rax
movups xmmword [rbx + 0x10], xmm6
xor r14d, r14d
test r15, r15
je 0x14008103a
mov edx, 8
mov rcx, rdi
mov r8, rsi
call sym.__alloc::alloc::Global_as_core::alloc::Allocator_::deallocate::h2667bb4a4e1dee12
mov rax, r14
mov rdx, rbx
movaps xmm6, xmmword [rsp + 0xb0]
add rsp, 0xc0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
call sym.alloc::raw_vec::capacity_overflow::ha436ff5e70868f37
ud2
mov ecx, 8
mov rdx, rsi
call dbg.handle_alloc_error
ud2

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

Disassembly:
sub rsp, 0x28
lea r8, [rsp + 0x20]
and qword [r8], 0
mov edx, 0x53
call sub.secur32.dll_QueryContextAttributesW
mov edx, eax
xor eax, eax
test edx, edx
setne cl
jne 0x1400815ee
mov rdx, qword [rsp + 0x20]
jmp 0x1400815f6
shl rdx, 0x20
or rdx, 2
mov al, cl
add rsp, 0x28
ret