joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14002ae56
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 0x14002af08
mov rax, qword [rcx + 8]
mov rdx, qword [rcx + 0x10]
movabs r8, 0x736f6d6570736575
xor r8, rax
movabs r9, 0x646f72616e646f6d
xor r9, rdx
movabs r10, 0x6c7967656e657261
xor r10, rax
movabs r11, 0x7465646279746573
xor r11, rdx
lea rcx, [rsp + 0x30]
mov qword [rcx], r8
mov qword [rcx + 8], r10
mov qword [rcx + 0x10], r9
mov qword [rcx + 0x18], r11
mov qword [rcx + 0x20], rax
mov qword [rcx + 0x28], rdx
xorps xmm0, xmm0
movups xmmword [rcx + 0x30], xmm0
mov qword [rcx + 0x40], 0
mov rdi, qword [rsi]
xor eax, eax
test rdi, rdi
setne al
lea rdx, [rsp + 0x28]
mov qword [rdx], rax
mov r8d, 8
call fcn.14001fbfa
test rdi, rdi
je 0x14002af81
mov rdx, qword [rsi + 8]
mov r8, qword [rsi + 0x10]
lea rcx, [rsp + 0x30]
jmp 0x14002af98
movabs rcx, 0x100000001b3
mov rdx, qword [rsi]
xor eax, eax
test rdx, rdx
setne al
mov qword [rsp + 0x30], rax
movabs rax, 0xcbf29ce484222325
xor r8d, r8d
movzx r9d, byte [rsp + r8 + 0x30]
inc r8
xor rax, r9
imul rax, rcx
cmp r8, 8
jne 0x14002af2f
test rdx, rdx
je 0x14002b08d
mov rdx, qword [rsi + 0x10]
test rdx, rdx
je 0x14002b0ae
mov r8, qword [rsi + 8]
xor r9d, r9d
mov r10, rax
movzx eax, byte [r8 + r9]
xor rax, r10
imul rax, rcx
inc r9
mov r10, rax
cmp rdx, r9
jne 0x14002af65
jmp 0x14002b0ae
movzx eax, byte [rsi + 8]
lea rdx, [rsp + 0x28]
mov qword [rdx], rax
lea rcx, [rsp + 0x30]
mov r8d, 8
call fcn.14001fbfa
mov rcx, qword [rsp + 0x40]
mov r9, qword [rsp + 0x60]
shl r9, 0x38
or r9, qword [rsp + 0x68]
mov rax, qword [rsp + 0x48]
mov r8, qword [rsp + 0x30]
add r8, rcx
rol rcx, 0xd
xor rax, r9
xor rcx, r8
rol r8, 0x20
mov rdx, qword [rsp + 0x38]
add rdx, rax
rol rax, 0x10
xor rax, rdx
add r8, rax
rol rax, 0x15
add rdx, rcx
rol rcx, 0x11
xor rax, r8
xor rcx, rdx
rol rdx, 0x20
xor r8, r9
add r8, rcx
rol rcx, 0xd
xor rcx, r8
rol r8, 0x20
xor rdx, 0xff
add rdx, rax
rol rax, 0x10
xor rax, rdx
add r8, rax
rol rax, 0x15
add rdx, rcx
rol rcx, 0x11
xor rcx, rdx
rol rdx, 0x20
xor rax, r8
add r8, rcx
rol rcx, 0xd
xor rcx, r8
rol r8, 0x20
add rdx, rax
rol rax, 0x10
xor rax, rdx
add r8, rax
rol rax, 0x15
add rdx, rcx
rol rcx, 0x11
xor rcx, rdx
rol rdx, 0x20
xor rax, r8
add r8, rcx
rol rcx, 0xd
xor rcx, r8
add rdx, rax
shl rax, 0x10
xor rax, rdx
shr rax, 0x2b
add rdx, rcx
shr rcx, 0x2f
xor rcx, rax
mov rax, rdx
shr rax, 0x20
xor rax, rdx
xor rax, rcx
jmp 0x14002b0ae
movzx edx, byte [rsi + 8]
mov qword [rsp + 0x30], rdx
xor edx, edx
movzx r8d, byte [rsp + rdx + 0x30]
inc rdx
xor rax, r8
imul rax, rcx
cmp rdx, 8
jne 0x14002b098
and eax, 0x7fff
add rsp, 0x78
pop rdi
pop rsi
ret
Function at 0x140041ecf
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0xa8
mov rdi, rcx
mov ecx, dword [0x1400fb018]
test ecx, ecx
je 0x1400420b3
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 2
jb 0x140041f0c
mov rsi, rax
cmp qword [rax + 8], 0
je 0x140041f0c
add rsi, 8
jmp 0x1400420a3
mov ecx, dword [0x1400fb018]
test ecx, ecx
je 0x1400420c6
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
je 0x1400420a1
mov rsi, rax
test rax, rax
jne 0x140041f7e
mov al, byte [0x14017e190]
mov ecx, 0x10
mov edx, 8
call fcn.140004cf0
test rax, rax
je 0x140042152
mov rsi, rax
lea rax, section..data
mov qword [rsi], rax
mov qword [rsi + 8], 0
mov ecx, dword [0x1400fb018]
test ecx, ecx
je 0x1400420d9
dec ecx
mov rdx, rsi
call sub.kernel32.dll_TlsSetValue
test rdi, rdi
je 0x140041f96
mov rbx, qword [rdi]
mov qword [rdi], 0
test rbx, rbx
jne 0x14004208b
xorps xmm0, xmm0
lea rdi, [rsp + 0x20]
movaps xmmword [rdi + 0x10], xmm0
movaps xmmword [rdi], xmm0
mov rcx, rdi
call fcn.1400447bb
test rax, rax
jne 0x1400420ec
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
lea rdi, [rsp + 0x40]
movups xmmword [rdi + 0x10], xmm1
movups xmmword [rdi], xmm0
lea rbx, [rsp + 0x70]
mov rcx, rbx
mov rdx, rdi
call fcn.1400446f1
mov r14, qword [rbx]
mov rax, qword [rbx + 0x28]
mov qword [rdi + 0x20], rax
movups xmm0, xmmword [rbx + 0x18]
movaps xmmword [rdi + 0x10], xmm0
movups xmm0, xmmword [rbx + 8]
movaps xmmword [rdi], xmm0
mov al, byte [0x14017e190]
mov ecx, 0x170
mov edx, 0x10
call fcn.140004cf0
test rax, rax
je 0x140042146
mov rbx, rax
mov eax, 1
mov qword [rbx], rax
mov qword [rbx + 8], rax
mov rcx, rbx
add rcx, 0x10
mov r8d, 0x100
xor edx, edx
call sub.msvcrt.dll_memset
mov qword [rbx + 0x110], 0x40
mov qword [rbx + 0x120], r14
movaps xmm0, xmmword [rsp + 0x40]
movaps xmm1, xmmword [rsp + 0x50]
movups xmmword [rbx + 0x128], xmm0
movups xmmword [rbx + 0x138], xmm1
mov rax, qword [rsp + 0x60]
mov qword [rbx + 0x148], rax
mov eax, 0x10000
mov qword [rbx + 0x150], rax
mov qword [rbx + 0x158], rax
mov qword [rbx + 0x160], 0
add rsi, 8
mov rcx, qword [rsi]
mov qword [rsi], rbx
test rcx, rcx
je 0x1400420a3
call fcn.140041e3a
jmp 0x1400420a3
xor esi, esi
mov rax, rsi
add rsp, 0xa8
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, section..data
call fcn.1400ba600
mov ecx, eax
jmp 0x140041eee
lea rcx, section..data
call fcn.1400ba600
mov ecx, eax
jmp 0x140041f1c
lea rcx, section..data
call fcn.1400ba600
mov ecx, eax
jmp 0x140041f76
mov qword [rsp + 0x20], rax
lea rax, [0x140129d68]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov qword [rax], rdi
lea rcx, [0x140044758]
mov qword [rax + 8], rcx
lea rdx, [0x140129d20]
lea rcx, [rsp + 0x70]
mov qword [rcx], rdx
mov edx, 1
mov qword [rcx + 8], rdx
mov qword [rcx + 0x20], 0
mov qword [rcx + 0x10], rax
mov qword [rcx + 0x18], rdx
lea rdx, str._Users_Vadym_.cargo_registry_src_index.crates.io_6f17d22bba15001f_rand_0.8.5_src_rngs_thread.rscould_not_initialize_thread_rng:
call fcn.14000b660
ud2
mov ecx, 0x10
mov edx, 0x170
jmp 0x14004215c
mov ecx, 8
mov edx, 0x10
call fcn.1400051b0
ud2
Function at 0x1400447bb
Capabilities:
Generate random numbers via rtlgenrandom
Generate random numbers via winapi

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rbx, rcx
xor edi, edi
xor ecx, ecx
mov rdx, rbx
mov r8d, 0x20
mov r9d, 2
call sub.bcrypt.dll_BCryptGenRandom
cmp eax, 0xc0000000
jb 0x140044822
mov esi, eax
mov rcx, rbx
mov edx, 0x20
call sub.advapi32.dll_SystemFunction036
test al, al
je 0x1400447fb
xor edi, edi
jmp 0x140044822
xor esi, 0x80000000
je 0x1400447f7
mov al, byte [0x14017e190]
mov ecx, 4
mov edx, 4
call fcn.140004cf0
test rax, rax
je 0x14004482d
mov rdi, rax
mov dword [rax], esi
mov rax, rdi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
mov ecx, 4
mov edx, 4
call fcn.1400051b0
ud2
Function at 0x140098427
Capabilities:
Encrypt data via sspi

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x78
mov r13, r9
mov rsi, rdx
mov rdi, rcx
mov qword [rdx + 0x38], r8
lea r14, [rsp + 0x20]
mov rcx, r14
call fcn.1400ab1ba
mov eax, dword [rsp + 0x20]
cmp eax, 2
je 0x1400985c8
test eax, eax
je 0x140098579
mov r15, qword [rsi + 0xb8]
cmp r15, qword [rsi + 0xb0]
jne 0x1400985b3
mov rax, qword [rsp + 0xe0]
mov ebp, dword [rsp + 0x24]
mov rbx, qword [rsp + 0x28]
mov edx, ebx
shr rbx, 0x20
cmp rax, rbx
cmovb rbx, rax
lea r12, [rbx + rbp]
add rdx, r12
lea rcx, [rsi + 0xa0]
cmp r15, rdx
jae 0x1400984c1
mov qword [rsp + 0x60], rcx
call fcn.140007885
mov r15, qword [rsi + 0xb0]
mov rcx, qword [rsp + 0x60]
cmp r15, r12
jb 0x14009863a
mov rcx, qword [rcx]
add rcx, rbp
mov rdx, r13
mov r8, rbx
call sub.msvcrt.dll_memcpy
cmp r15, rbp
jb 0x140098643
mov r15, qword [rsi + 0xb0]
cmp r15, r12
jb 0x14009864f
mov rax, qword [rsi + 0xa0]
lea rcx, [rax + rbp]
sub r15d, r12d
add r12, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov dword [rsp + 0x20], ebp
mov dword [rsp + 0x24], 7
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x34], 1
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x40], r15d
mov dword [rsp + 0x44], 6
mov qword [rsp + 0x48], r12
movabs rax, 0x400000000
lea r8, [rsp + 0x68]
mov qword [r8], rax
mov qword [r8 + 8], r14
lea rcx, [rsi + 0xc0]
xor edx, edx
xor r9d, r9d
call sub.secur32.dll_EncryptMessage
mov r14d, eax
test eax, eax
je 0x140098585
shl r14, 0x20
or r14, 2
jmp 0x1400985cd
movabs r14, 0x8009031700000002
jmp 0x1400985cd
mov eax, dword [rsp + 0x30]
add eax, dword [rsp + 0x20]
add eax, dword [rsp + 0x40]
cmp qword [rsi + 0xb0], rax
jb 0x1400985a1
mov qword [rsi + 0xb0], rax
mov qword [rsi + 0xb8], 0
mov qword [rsi + 0x100], rbx
lea rcx, [rsp + 0x20]
mov rdx, rsi
call fcn.1400abf81
cmp qword [rsp + 0x20], 0
je 0x140098626
mov r14, qword [rsp + 0x28]
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], 1
mov rcx, r14
call fcn.14003f87f
cmp al, 0xd
jne 0x140098602
lea rcx, [rsp + 0x28]
mov qword [rdi], 2
mov qword [rsi + 0x38], 0
call fcn.140001450
jmp 0x140098615
mov qword [rdi], 1
mov qword [rdi + 8], r14
mov qword [rsi + 0x38], 0
add rsp, 0x78
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rax, qword [rsi + 0x100]
mov qword [rdi], 0
mov qword [rdi + 8], rax
jmp 0x14009860d
lea r8, str._Users_Vadym_.cargo_registry_src_index.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rsassertion_failed:_pos___self.dec_in.get_ref__.len___as_u64
jmp 0x140098656
lea r8, str._Users_Vadym_.cargo_registry_src_index.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rsassertion_failed:_pos___self.dec_in.get_ref__.len___as_u64
mov r12, rbp
jmp 0x140098656
lea r8, str._Users_Vadym_.cargo_registry_src_index.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rsassertion_failed:_pos___self.dec_in.get_ref__.len___as_u64
mov rcx, r12
mov rdx, r15
call fcn.14000c000
ud2
Function at 0x140098901
Capabilities:
Encrypt data via sspi

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x78
mov r13, r9
mov rsi, rdx
mov rdi, rcx
mov qword [rdx + 0x138], r8
lea r14, [rsp + 0x20]
mov rcx, r14
call fcn.1400a992e
mov eax, dword [rsp + 0x20]
cmp eax, 2
je 0x140098aa5
test eax, eax
je 0x140098a56
mov r15, qword [rsi + 0x1b8]
cmp r15, qword [rsi + 0x1b0]
jne 0x140098a90
mov rax, qword [rsp + 0xe0]
mov ebp, dword [rsp + 0x24]
mov rbx, qword [rsp + 0x28]
mov edx, ebx
shr rbx, 0x20
cmp rax, rbx
cmovb rbx, rax
lea r12, [rbx + rbp]
add rdx, r12
lea rcx, [rsi + 0x1a0]
cmp r15, rdx
jae 0x14009899e
mov qword [rsp + 0x60], rcx
call fcn.140007885
mov r15, qword [rsi + 0x1b0]
mov rcx, qword [rsp + 0x60]
cmp r15, r12
jb 0x140098b1d
mov rcx, qword [rcx]
add rcx, rbp
mov rdx, r13
mov r8, rbx
call sub.msvcrt.dll_memcpy
cmp r15, rbp
jb 0x140098b26
mov r15, qword [rsi + 0x1b0]
cmp r15, r12
jb 0x140098b32
mov rax, qword [rsi + 0x1a0]
lea rcx, [rax + rbp]
sub r15d, r12d
add r12, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov dword [rsp + 0x20], ebp
mov dword [rsp + 0x24], 7
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x34], 1
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x40], r15d
mov dword [rsp + 0x44], 6
mov qword [rsp + 0x48], r12
movabs rax, 0x400000000
lea r8, [rsp + 0x68]
mov qword [r8], rax
mov qword [r8 + 8], r14
lea rcx, [rsi + 0x1c0]
xor edx, edx
xor r9d, r9d
call sub.secur32.dll_EncryptMessage
mov r14d, eax
test eax, eax
je 0x140098a62
shl r14, 0x20
or r14, 2
jmp 0x140098aaa
movabs r14, 0x8009031700000002
jmp 0x140098aaa
mov eax, dword [rsp + 0x30]
add eax, dword [rsp + 0x20]
add eax, dword [rsp + 0x40]
cmp qword [rsi + 0x1b0], rax
jb 0x140098a7e
mov qword [rsi + 0x1b0], rax
mov qword [rsi + 0x1b8], 0
mov qword [rsi + 0x200], rbx
lea rcx, [rsp + 0x20]
mov rdx, rsi
call fcn.1400aa91a
cmp qword [rsp + 0x20], 0
je 0x140098b09
mov r14, qword [rsp + 0x28]
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], 1
mov rcx, r14
call fcn.14003f87f
cmp al, 0xd
jne 0x140098ae2
lea rcx, [rsp + 0x28]
mov qword [rdi], 2
mov qword [rsi + 0x138], 0
call fcn.140001450
jmp 0x140098af8
mov qword [rdi], 1
mov qword [rdi + 8], r14
mov qword [rsi + 0x138], 0
add rsp, 0x78
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rax, qword [rsi + 0x200]
mov qword [rdi], 0
mov qword [rdi + 8], rax
jmp 0x140098aed
lea r8, str._Users_Vadym_.cargo_registry_src_index.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rsassertion_failed:_pos___self.dec_in.get_ref__.len___as_u64
jmp 0x140098b39
lea r8, str._Users_Vadym_.cargo_registry_src_index.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rsassertion_failed:_pos___self.dec_in.get_ref__.len___as_u64
mov r12, rbp
jmp 0x140098b39
lea r8, str._Users_Vadym_.cargo_registry_src_index.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rsassertion_failed:_pos___self.dec_in.get_ref__.len___as_u64
mov rcx, r12
mov rdx, r15
call fcn.14000c000
ud2
Function at 0x1400aac72
Capabilities:
Decrypt data via sspi

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x70
mov rdi, rdx
mov rsi, rcx
mov rcx, qword [rdx + 0x198]
mov rdx, qword [rdx + 0x190]
cmp rdx, rcx
jb 0x1400aae2b
mov rax, qword [rdi + 0x180]
xorps xmm0, xmm0
lea r8, [rsp + 0x20]
movups xmmword [r8 + 0x30], xmm0
mov dword [r8], ecx
mov dword [r8 + 4], 1
mov qword [r8 + 8], rax
movups xmmword [r8 + 0x10], xmm0
movups xmmword [r8 + 0x20], xmm0
movabs rax, 0x400000000
lea rdx, [rsp + 0x60]
mov qword [rdx], rax
mov qword [rdx + 8], r8
lea rcx, [rdi + 0x1c0]
xor r8d, r8d
xor r9d, r9d
call sub.secur32.dll_DecryptMessage
cmp eax, 0x90316
jg 0x1400aad9e
cmp eax, 0x80090318
je 0x1400aadff
test eax, eax
jne 0x1400aadef
mov rcx, qword [rsp + 0x38]
mov rdx, qword [rdi + 0x180]
mov rax, qword [rdi + 0x190]
sub rcx, rdx
mov r8d, dword [rsp + 0x30]
mov r9, rcx
mov qword [rdi + 0x170], 0
add r9, r8
jb 0x1400aae39
cmp rax, r9
jb 0x1400aae4a
lea rax, [rdi + 0x160]
add rdx, rcx
mov rcx, rax
call fcn.1400efbec
mov 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.1400aabd6
xor eax, eax
cmp qword [rdi + 0x198], 0
sete al
mov qword [rdi + 0x1f8], rax
mov byte [rsi + 1], 0
jmp 0x1400aae21
cmp eax, 0x90317
je 0x1400aae1b
cmp eax, 0x90321
jne 0x1400aadef
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.1400aabd6
mov qword [rdi + 0x1f8], 0
mov byte [rsi + 1], bl
jmp 0x1400aae21
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov bl, 1
jmp 0x1400aae21
cmp dword [rsp + 0x34], 4
mov eax, 1
cmove eax, dword [rsp + 0x30]
mov qword [rdi + 0x1f8], rax
mov byte [rsi + 1], 0
jmp 0x1400aae1f
mov byte [rsi + 1], 1
xor ebx, ebx
mov byte [rsi], bl
add rsp, 0x70
pop rbx
pop rdi
pop rsi
ret
lea r8, str._Users_Vadym_.cargo_registry_src_index.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rsassertion_failed:_pos___self.dec_in.get_ref__.len___as_u64
call fcn.14000c000
ud2
lea r8, str._Users_Vadym_.cargo_registry_src_index.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rsassertion_failed:_pos___self.dec_in.get_ref__.len___as_u64
mov rdx, r9
call fcn.14000ca30
ud2
lea r8, str._Users_Vadym_.cargo_registry_src_index.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rsassertion_failed:_pos___self.dec_in.get_ref__.len___as_u64
mov rcx, r9
mov rdx, rax
jmp 0x1400aae32
Function at 0x1400ac2a9
Capabilities:
Decrypt data via sspi

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x70
mov rdi, rdx
mov rsi, rcx
mov rcx, qword [rdx + 0x98]
mov rdx, qword [rdx + 0x90]
cmp rdx, rcx
jb 0x1400ac450
mov rax, qword [rdi + 0x80]
xorps xmm0, xmm0
lea r8, [rsp + 0x20]
movups xmmword [r8 + 0x30], xmm0
mov dword [r8], ecx
mov dword [r8 + 4], 1
mov qword [r8 + 8], rax
movups xmmword [r8 + 0x10], xmm0
movups xmmword [r8 + 0x20], xmm0
movabs rax, 0x400000000
lea rdx, [rsp + 0x60]
mov qword [rdx], rax
mov qword [rdx + 8], r8
lea rcx, [rdi + 0xc0]
xor r8d, r8d
xor r9d, r9d
call sub.secur32.dll_DecryptMessage
cmp eax, 0x90316
jg 0x1400ac3c9
cmp eax, 0x80090318
je 0x1400ac424
test eax, eax
jne 0x1400ac414
mov rcx, qword [rsp + 0x38]
mov rdx, qword [rdi + 0x80]
mov rax, qword [rdi + 0x90]
sub rcx, rdx
mov r8d, dword [rsp + 0x30]
mov r9, rcx
mov qword [rdi + 0x70], 0
add r9, r8
jb 0x1400ac45e
cmp rax, r9
jb 0x1400ac46f
lea rax, [rdi + 0x60]
add rdx, rcx
mov rcx, rax
call fcn.1400efbec
mov 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.1400ac20d
xor eax, eax
cmp qword [rdi + 0x98], 0
sete al
mov qword [rdi + 0xf8], rax
mov byte [rsi + 1], 0
jmp 0x1400ac446
cmp eax, 0x90317
je 0x1400ac440
cmp eax, 0x90321
jne 0x1400ac414
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.1400ac20d
mov qword [rdi + 0xf8], 0
mov byte [rsi + 1], bl
jmp 0x1400ac446
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov bl, 1
jmp 0x1400ac446
cmp dword [rsp + 0x34], 4
mov eax, 1
cmove eax, dword [rsp + 0x30]
mov qword [rdi + 0xf8], rax
mov byte [rsi + 1], 0
jmp 0x1400ac444
mov byte [rsi + 1], 1
xor ebx, ebx
mov byte [rsi], bl
add rsp, 0x70
pop rbx
pop rdi
pop rsi
ret
lea r8, str._Users_Vadym_.cargo_registry_src_index.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rsassertion_failed:_pos___self.dec_in.get_ref__.len___as_u64
call fcn.14000c000
ud2
lea r8, str._Users_Vadym_.cargo_registry_src_index.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rsassertion_failed:_pos___self.dec_in.get_ref__.len___as_u64
mov rdx, r9
call fcn.14000ca30
ud2
lea r8, str._Users_Vadym_.cargo_registry_src_index.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rsassertion_failed:_pos___self.dec_in.get_ref__.len___as_u64
mov rcx, r9
mov rdx, rax
jmp 0x1400ac457
Function at 0x1400ace17
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 rbx, rdx
mov rsi, rcx
lea rcx, [rsp + 0x58]
mov r8d, 0xb
mov rdx, rax
call fcn.140091175
mov dword [rsp + 0x38], 0x800
mov dword [rsp + 0x3c], 0
mov ecx, 0x800
call fcn.1400efa81
mov rdi, rax
lea r14, [rsp + 0x40]
mov qword [r14], rax
mov qword [r14 + 8], rdx
mov qword [r14 + 0x10], 0
mov r15, qword [rsp + 0x58]
lea r13, [rsp + 0x38]
lea r12, [rsp + 0x3c]
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rdi
mov rcx, rbx
mov rdx, r15
xor r8d, r8d
mov r9, r12
call sub.advapi32.dll_RegQueryValueExW
cmp eax, 0xea
jne 0x1400aceca
mov r8d, dword [rsp + 0x38]
mov rax, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x50]
sub rax, rdx
cmp rax, r8
jae 0x1400ace82
mov rcx, r14
call fcn.1400efb36
mov rdi, qword [rsp + 0x40]
jmp 0x1400ace82
test eax, eax
jne 0x1400aceec
mov eax, dword [rsp + 0x38]
mov qword [rsp + 0x50], rax
mov eax, dword [rsp + 0x3c]
cmp eax, 0xb
jbe 0x1400acf16
movabs rax, 0xde00000002
jmp 0x1400acef4
shl rax, 0x20
or rax, 2
mov qword [rsi], rax
mov byte [rsi + 0x18], 0xc
cmp qword [rsp + 0x48], 0
je 0x1400acf2a
mov rcx, qword [0x14017e110]
xor edx, edx
mov r8, rdi
call fcn.1400f8824
jmp 0x1400acf2a
mov rcx, qword [rsp + 0x50]
mov qword [rsi + 0x10], rcx
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rsi], xmm0
mov byte [rsi + 0x18], al
cmp qword [rsp + 0x60], 0
je 0x1400acf45
mov r8, qword [rsp + 0x58]
mov rcx, qword [0x14017e110]
xor edx, edx
call fcn.1400f8824
nop
add rsp, 0x70
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x1400ae362
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 0x1400ae398
mov r10d, 8
sub r10, r11
cmp r8, r10
mov rdi, r10
cmovb rdi, r8
cmp rdi, 3
jbe 0x1400ae3a0
mov esi, dword [rdx]
mov r9d, 4
jmp 0x1400ae3a5
xor r10d, r10d
jmp 0x1400ae453
xor esi, esi
xor r9d, r9d
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jae 0x1400ae3c8
movzx ebx, word [rdx + r9]
lea ecx, [r9*8]
shl rbx, cl
or rsi, rbx
or r9, 2
cmp r9, rdi
jae 0x1400ae3df
movzx edi, byte [rdx + r9]
shl r9d, 3
mov ecx, r9d
shl rdi, cl
or rsi, rdi
lea ecx, [r11*8]
shl rsi, cl
or rsi, qword [rax + 0x38]
mov qword [rax + 0x38], rsi
cmp r10, r8
jbe 0x1400ae3ff
add r11, r8
jmp 0x1400ae523
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 0x1400ae4c7
mov rcx, qword [rax]
mov r9, qword [rax + 8]
mov rdi, qword [rax + 0x18]
mov rsi, qword [rax + 0x10]
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 0x1400ae475
mov qword [rax + 0x18], rdi
mov qword [rax + 0x10], rsi
mov qword [rax + 8], r9
mov qword [rax], rcx
cmp r11d, 3
jbe 0x1400ae4d9
mov r9d, dword [rdx + r10]
mov r8d, 4
jmp 0x1400ae4df
xor r9d, r9d
xor r8d, r8d
mov rcx, r8
or rcx, 1
cmp rcx, r11
jae 0x1400ae505
lea rcx, [r8 + r10]
movzx esi, word [rdx + rcx]
lea ecx, [r8*8]
shl rsi, cl
or r9, rsi
or r8, 2
cmp r8, r11
jae 0x1400ae51f
add r10, r8
movzx edx, byte [rdx + r10]
shl r8d, 3
mov ecx, r8d
shl rdx, cl
or r9, rdx
mov qword [rax + 0x38], r9
mov qword [rax + 0x40], r11
pop rbx
pop rdi
pop rsi
ret

Function at 0x1400b4750
Capabilities:
Encode data using xor

Disassembly:
mov rax, rdx
sub rdx, rcx
cmp rdx, 0x20
jae fcn.14000bb90
cmp rax, rcx
je 0x1400b4775
cmp rdx, 4
jae 0x1400b4778
xor eax, eax
xor r8d, r8d
jmp 0x1400b4810
xor eax, eax
ret
mov r8, rdx
and r8, 0xfffffffffffffffc
pxor xmm0, xmm0
xor eax, eax
movdqa xmm2, xmmword [0x1400fe660]
movdqa xmm3, xmmword [0x1400fe670]
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 0x1400b47a0
paddq xmm1, xmm0
pshufd xmm0, xmm1, 0xee
paddq xmm0, xmm1
movq rax, xmm0
cmp r8, rdx
je 0x1400b4827
nop dword [rax]
xor r9d, r9d
cmp byte [rcx + r8], 0xc0
setge r9b
add rax, r9
inc r8
cmp rdx, r8
jne 0x1400b4810
ret