joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100075150
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], r12
push r13
sub rsp, 0xb0
xor ebx, ebx
mov dword [rsp + 0x20], ebx
lea rcx, [rax - 0x78]
call qword [sym.imp.API_MS_Win_Core_ProcessThreads_L1_1_0.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rdi, qword [rax + 8]
mov r12d, ebx
xor eax, eax
lock cmpxchg qword [0x100080558], rdi
je 0x1000751b0
cmp rax, rdi
jne 0x1000751a3
mov r12d, 1
jmp 0x1000751b0
mov ecx, 0x3e8
call qword [sym.imp.API_MS_Win_Core_Misc_L1_1_0.dll_Sleep]
jmp 0x100075189
mov eax, dword [0x100080550]
cmp eax, 1
jne 0x1000751c5
lea ecx, [rax + 0x1e]
call sub.msvcrt.dll__amsg_exit
jmp 0x10007522c
mov eax, dword [0x100080550]
cmp eax, ebx
jne 0x100075222
mov dword [0x100080550], 1
lea r13, [0x100001b48]
lea rdi, [0x100001b30]
mov qword [rsp + 0x30], rdi
mov eax, ebx
mov dword [rsp + 0x24], ebx
cmp rdi, r13
jae 0x100075214
cmp eax, ebx
jne 0x100075214
mov rcx, qword [rdi]
cmp rcx, rbx
je 0x100075209
call rcx
mov dword [rsp + 0x24], eax
add rdi, 8
mov qword [rsp + 0x30], rdi
jmp 0x1000751f2
cmp eax, ebx
je 0x10007522c
mov eax, 0xff
jmp 0x100075374
mov dword [0x10007f924], 1
mov eax, dword [0x100080550]
cmp eax, 1
jne 0x100075254
lea rdx, [0x100001b28]
lea rcx, [0x100001ab8]
call sub.msvcrt.dll__initterm
mov dword [0x100080550], 2
cmp r12d, ebx
jne 0x100075263
mov rax, rbx
xchg qword [0x100080558], rax
cmp qword [0x100080570], rbx
je 0x10007528b
lea rcx, [0x100080570]
call fcn.1000756ac
cmp eax, ebx
je 0x10007528b
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
call qword [0x100080570]
mov rcx, qword [sym.imp.msvcrt.dll__wcmdln]
cmp qword [rcx], rbx
jne 0x1000752a1
mov eax, 0xff
jmp 0x100075374
mov rcx, qword [rcx]
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
cmp word [rcx], 0x20
ja 0x100075326
cmp word [rcx], bx
je 0x1000752bc
cmp edx, ebx
jne 0x100075326
cmp word [rcx], bx
je 0x1000752d2
cmp word [rcx], 0x20
ja 0x1000752d2
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x1000752bc
test byte [rsp + 0x7c], 1
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rcx
xor edx, edx
lea rcx, [0x100000000]
call fcn.1000337b8
mov dword [0x10007f920], eax
cmp dword [0x10007f904], ebx
jne 0x100075310
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x10007f924], ebx
jne 0x100075324
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x10007f920]
jmp 0x100075374
cmp word [rcx], 0x22
jne 0x100075339
mov eax, ebx
cmp edx, ebx
sete al
mov edx, eax
mov dword [rsp + 0x20], eax
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x1000752ad
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov r12, qword [r11 + 0x20]
mov rsp, r11
pop r13
ret
sub rsp, 0x28
call fcn.1001f2000
add rsp, 0x28
jmp 0x100075150
Function at 0x1400105f0
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 0x140010680
cmp r11, r10
ja 0x1400106f6
cmp r10, rdx
ja 0x14001070a
add r11, r9
xor r15d, r15d
nop word cs:[rax + rax]
cmp r14, r15
je 0x140010682
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x140010660
jmp 0x1400106e4
ja 0x14001068a
mov r11, r10
cmp rax, r8
jne 0x140010624
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 0x1400106c0
mov rdi, r8
sub ecx, edx
jns 0x1400106db
jmp 0x1400106e6
cmp r8, rsi
je 0x14001071b
movzx r8d, byte [rdi + 1]
add rdi, 2
and edx, 0x7f
shl edx, 8
or edx, r8d
sub ecx, edx
js 0x1400106e6
xor al, 1
cmp rdi, rsi
jne 0x1400106a0
jmp 0x1400106e6
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.1400e4860
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.1400e45d0
ud2
lea rcx, str.called__Option::unwrap____on_a__None__value
lea r8, str.librarycore_srcunicodeprintable.rs
mov edx, 0x2b
call fcn.1400e4650
ud2
Function at 0x140012156
Capabilities:
Hash data with crc32

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x20
mov r9, r8
mov rax, rdx
not ecx
lea rdi, [0x1400eb270]
mov ebx, 0xff
lea rsi, str.C:Userspc.cargo_registry_srcindex.crates.io_6f17d22bba15001fcrc32fast_1.3.2_src_baseline.rs
cmp r9, 0x40
jb 0x140012286
mov r14d, 4
sub r14, 1
jb 0x14001217b
cmp r9, 0xf
jbe 0x1400122b3
movzx edx, byte [rax + 0xf]
movzx r8d, byte [rax + 0xe]
mov ebp, dword [rdi + r8*4 + 0x400]
xor ebp, dword [rdi + rdx*4]
movzx edx, byte [rax + 0xd]
xor ebp, dword [rdi + rdx*4 + 0x800]
movzx edx, byte [rax + 0xc]
xor ebp, dword [rdi + rdx*4 + 0xc00]
movzx edx, byte [rax + 0xb]
xor ebp, dword [rdi + rdx*4 + 0x1000]
movzx edx, byte [rax + 0xa]
xor ebp, dword [rdi + rdx*4 + 0x1400]
movzx edx, byte [rax + 9]
xor ebp, dword [rdi + rdx*4 + 0x1800]
movzx edx, byte [rax + 8]
xor ebp, dword [rdi + rdx*4 + 0x1c00]
movzx edx, byte [rax + 7]
xor ebp, dword [rdi + rdx*4 + 0x2000]
movzx edx, byte [rax + 6]
xor ebp, dword [rdi + rdx*4 + 0x2400]
movzx edx, byte [rax + 5]
xor ebp, dword [rdi + rdx*4 + 0x2800]
movzx edx, byte [rax + 4]
xor ebp, dword [rdi + rdx*4 + 0x2c00]
mov edx, ecx
shr edx, 0x18
movzx r8d, byte [rax + 3]
xor r8d, edx
xor ebp, dword [rdi + r8*4 + 0x3000]
mov edx, ecx
shr edx, 0x10
and edx, ebx
movzx r8d, byte [rax + 2]
xor r8d, edx
xor ebp, dword [rdi + r8*4 + 0x3400]
mov edx, ecx
shr edx, 8
and edx, ebx
movzx r8d, byte [rax + 1]
xor r8d, edx
xor ebp, dword [rdi + r8*4 + 0x3800]
and ecx, ebx
movzx edx, byte [rax]
xor edx, ecx
xor ebp, dword [rdi + rdx*4 + 0x3c00]
mov rcx, rax
mov rdx, r9
mov r8, rsi
call fcn.14001279a
mov r9, rdx
mov ecx, ebp
jmp 0x14001218b
xor edx, edx
cmp r9, rdx
je 0x1400122a4
mov r8b, byte [rax + rdx]
xor r8b, cl
movzx r8d, r8b
shr ecx, 8
xor ecx, dword [rdi + r8*4]
inc rdx
jmp 0x140012288
not ecx
mov eax, ecx
add rsp, 0x20
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
lea r8, str.C:Userspc.cargo_registry_srcindex.crates.io_6f17d22bba15001fcrc32fast_1.3.2_src_baseline.rs
mov ecx, send
mov rdx, r9
call fcn.1400e4550
ud2
Function at 0x140012b1c
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rcx
lea rdi, [rsp + 0x20]
and qword [rdi], 0
mov rcx, rdx
xor edx, edx
xor r8d, r8d
mov r9, rdi
call qword [sym.imp.shell32.dll_SHGetKnownFolderPath]
mov rcx, qword [rdi]
test eax, eax
je 0x140012b52
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov byte [rsi + 0x18], 2
jmp 0x140012b73
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd r8, eax
mov rdx, qword [rsp + 0x20]
mov rcx, rsi
call fcn.140086b20
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop
add rsp, 0x28
pop rdi
pop rsi
ret

Function at 0x140015782
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.1400276aa
test rbx, rbx
je 0x1400157bb
mov rdx, qword [rdi + 8]
mov r8, qword [rdi + 0x10]
mov rcx, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.1400157d5
mov cl, byte [rdi + 8]
mov rdx, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.1400157cd

Function at 0x1400157d5
Capabilities:
Hash data using fnv

Disassembly:
mov rax, qword [rcx]
xor r9d, r9d
movabs r10, 0x100000001b3
cmp r8, r9
je 0x1400157fb
movzx r11d, byte [rdx + r9]
xor rax, r11
imul rax, r10
inc r9
jmp 0x1400157e5
mov qword [rcx], rax
ret
Function at 0x140050ff6
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, 0x6c8
mov r12, r8
mov rdi, rdx
mov qword [rsp + 0x80], rcx
mov rdx, qword [rdx + 0x400]
add rdx, 0x10
lea rsi, [rsp + 0x190]
mov rcx, rsi
call fcn.140013066
lea rdx, str.C:Userspc.cargo_registry_srcindex.crates.io_6f17d22bba15001fh2_0.3.22_srcproto_streams_streams.rs
mov rcx, rsi
call fcn.1400401dc
mov rcx, qword [rax + 0x168]
or rcx, qword [rax + 0x178]
je 0x14005105b
mov rcx, rax
call case.0x1400abaf0.155
jmp 0x140051087
mov rsi, qword [rax + 0x218]
mov rcx, rax
call case.0x1400abaf0.155
cmp rsi, 1
ja 0x140051087
mov rdx, qword [rdi + 0x400]
add rdx, 0x10
lea rcx, [rdi + 0x3a0]
call fcn.140059d43
mov rax, qword [rdi + 0x378]
cmp rax, 2
jne 0x1400510a2
mov qword [rsp + 0x190], 2
jmp 0x140051102
lea rsi, [rdi + 0x378]
lea rdx, [rdi + 0x390]
test rax, rax
je 0x1400510d7
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 0x1400510e5
mov rcx, qword [rdi + 0x380]
mov rax, qword [rdi + 0x388]
call qword [rax + 0x70]
mov rbx, rax
lea r14, [rsp + 0x190]
mov rcx, r14
mov rdx, rsi
call fcn.1400a4ca1
mov qword [r14 + 0x18], rbx
mov rax, qword [rdi + 0x398]
mov rcx, qword [rsp + 0x190]
mov rdx, qword [rsp + 0x198]
movups xmm0, xmmword [rsp + 0x1a0]
movaps xmmword [rsp + 0x460], xmm0
mov qword [rsp + 0x450], rcx
mov qword [rsp + 0x458], rdx
mov qword [rsp + 0x470], rax
cmp dword [rsp + 0x450], 2
je 0x140051160
lea rdx, [rsp + 0x468]
lea rcx, [rsp + 0x450]
call fcn.1400a4d48
mov qword [rsp + 0x5d8], 2
and qword [rsp + 0x5f8], 0
lea r14, [rdi + 0x48]
lea rax, [rdi + 0x3a0]
mov qword [rsp + 0x178], rax
lea rax, [rdi + 0x410]
mov qword [rsp + 0x170], rax
lea r15, [rsp + 0x2c8]
lea rbp, [rsp + 0x190]
mov dword [rsp + 0x6c], eax
mov dword [rsp + 0x68], eax
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x58], r12
Function at 0x140060ff0
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, str.C:Userspc.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.22_src_tls_stream.rs
call fcn.140060d70
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 0x1400610ce
test eax, eax
je 0x1400610ea
cmp eax, 0x90317
je 0x140061162
cmp eax, 0x90321
jne 0x14006116a
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.140060f90
and qword [rdi + 0xf8], 0
mov byte [rsi + 1], bl
jmp 0x140061178
cmp dword [rsp + 0x34], 4
mov eax, 1
cmove eax, dword [rsp + 0x30]
mov qword [rdi + 0xf8], rax
mov byte [rsi + 1], 0
jmp 0x140061166
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.14006118c
mov r8, rdx
mov rcx, rbx
mov rdx, rax
call fcn.1400a4dff
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.140060f90
xor eax, eax
cmp qword [rdi + 0x98], rbx
sete al
mov qword [rdi + 0xf8], rax
mov byte [rsi + 1], 0
jmp 0x140061178
mov byte [rsi + 1], 1
xor ebx, ebx
jmp 0x140061178
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 0x140061427
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, str.C:Userspc.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.22_src_tls_stream.rs
call fcn.140060d70
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 0x14006150b
test eax, eax
je 0x14006152a
cmp eax, 0x90317
je 0x1400615ab
cmp eax, 0x90321
jne 0x1400615b3
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.1400613c7
and qword [rdi + 0x1f8], 0
mov byte [rsi + 1], bl
jmp 0x1400615c1
cmp dword [rsp + 0x34], 4
mov eax, 1
cmove eax, dword [rsp + 0x30]
mov qword [rdi + 0x1f8], rax
mov byte [rsi + 1], 0
jmp 0x1400615af
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.14006118c
mov r8, rdx
mov rcx, rbx
mov rdx, rax
call fcn.1400a4dff
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.1400613c7
xor eax, eax
cmp qword [rdi + 0x198], rbx
sete al
mov qword [rdi + 0x1f8], rax
mov byte [rsi + 1], 0
jmp 0x1400615c1
mov byte [rsi + 1], 1
xor ebx, ebx
jmp 0x1400615c1
invalid
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov bl, 1
mov byte [rsi], bl
add rsp, 0x70
add esp, 0x70
Function at 0x1400615cb
Capabilities:
Receive data
Receive data on socket

Disassembly:
cmp dword [rcx], 2
jne 0x1400615dd
add rcx, 8
jmp fcn.1400a3186
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.14006176f
mov rbx, rax
mov r14, rdx
lea r15, [rsp + 0x28]
mov rcx, rsi
call fcn.140061846
test rdx, rdx
jne 0x140061680
mov rcx, r15
mov rdx, rsi
call fcn.14006010a
mov eax, dword [rsp + 0x28]
cmp eax, 2
je 0x14006170f
test eax, eax
je 0x140061680
cmp qword [rsi + 0xf8], 0
je 0x140061663
mov rcx, r15
mov rdx, rsi
call fcn.140060dcb
cmp qword [rsp + 0x28], 0
jne 0x14006170f
cmp qword [rsp + 0x30], 0
je 0x140061680
and qword [rsi + 0xf8], 0
mov rcx, r15
mov rdx, rsi
call fcn.140060ff0
cmp byte [rsp + 0x28], 0
jne 0x14006170f
cmp byte [rsp + 0x29], 0
je 0x140061609
mov rcx, rsi
call fcn.140061846
mov r15, rdx
test rax, rax
je 0x140061714
mov r13, rax
cmp r14, r15
mov r12, r15
cmovb r12, r14
lea r9, str.C:Userspc.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.22_src_tls_stream.rs
mov rcx, r12
mov rdx, rbx
mov r8, r14
call fcn.140060d81
mov rbx, rax
mov r14, rdx
lea r9, str.C:Userspc.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.22_src_tls_stream.rs
mov rcx, r13
mov rdx, r15
mov r8, r12
call fcn.140030b46
mov r9, rdx
lea rcx, str.C:Userspc.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.22_src_tls_stream.rs
mov qword [rsp + 0x20], rcx
mov rcx, rbx
mov rdx, r14
mov r8, rax
call fcn.1400309f6
mov rax, qword [rsi + 0x78]
add rax, r12
cmp rax, qword [rsi + 0x70]
ja 0x140061755
mov qword [rsi + 0x78], rax
mov rcx, rdi
mov rdx, r12
call fcn.1400617dc
xor r15d, r15d
jmp 0x14006173b
mov r15, qword [rsp + 0x30]
mov qword [rsp + 0x28], r15
mov rcx, r15
call fcn.140017667
cmp al, 0xd
jne 0x14006173b
and qword [rsi + 0x38], 0
lea rcx, [rsp + 0x28]
call fcn.14002579f
mov eax, 1
jmp 0x140061742
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, str.assertion_failed:_pos___self.dec_in.get_ref__.len___as_u64
lea r8, str.C:Userspc.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.22_src_tls_stream.rs
mov edx, 0x3b
call fcn.1400e4650
ud2
Function at 0x140064bb4
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 0x140064c05
cmp eax, 3
jne case.default.0x140064c03
mov r15, r8
lea r12, [rbx + 0x1f0]
movzx eax, byte [rbx + 0x280]
lea rcx, [0x14014dc0c]
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 0x140064c32
lea rcx, str._async_fn__resumed_after_completionunable_to_find_any_user_specified_roots_in_the_final_cert_chainC:Userspc.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_util_0.7.10_srcutilpoll_buf.rs
lea r8, str.C:Userspc.cargo_registry_srcindex.crates.io_6f17d22bba15001fhyper_0.14.27_srcclientconnecthttp.rs
jmp 0x140065614
Function at 0x140078193
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, 0x88
mov rax, r8
mov r15, rdx
mov qword [rsp + 0x38], rcx
lea rdi, [rsp + 0x70]
mov r8d, recv
mov rcx, rdi
mov rdx, rax
call fcn.140078349
lea rax, [rsp + 0x30]
mov dword [rax], 0x800
lea r12, [rsp + 0x34]
and dword [r12], 0
mov ecx, 0x800
call fcn.140081d81
add byte [rcx - 0x77], cl
invalid
mov rsi, rdx
mov rdi, qword [rdi]
mov rbp, qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea r13, [rsi + rsi]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
mov rcx, r15
mov rdx, rdi
xor r8d, r8d
mov r9, r12
call rbp
cmp eax, 0xea
jne 0x1400782a5
mov ebx, dword [rsp + 0x30]
cmp rsi, rbx
jae 0x1400781fa
cmp r13, rbx
cmova rbx, r13
cmp rbx, 9
mov eax, 8
cmovb rbx, rax
test rsi, rsi
je 0x140078255
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x68], rsi
mov eax, 1
jmp case.0x140017894.1065
xor eax, eax
mov rdx, rbx
not rdx
shr rdx, 0x3f
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x40]
and al, 0x40
mov r8, rbx
lea r9, [rsp + 0x58]
call fcn.140012b7b
cmp qword [rsp + 0x40], 0
mov rcx, qword [rsp + 0x48]
je 0x14007829a
movabs rax, 0x8000000000000001
cmp rcx, rax
je 0x1400781fa
jmp 0x140078318
mov rsi, rbx
mov r14, rcx
jmp 0x1400781f6
test eax, eax
jne 0x1400782be
mov eax, dword [rsp + 0x34]
cmp eax, 0xb
jbe 0x1400782df
movabs rax, 0xde00000002
jmp 0x1400782c6
shl rax, 0x20
or rax, 2
mov rcx, qword [rsp + 0x38]
mov qword [rcx], rax
mov byte [rcx + 0x18], 0xc
mov rcx, r14
mov rdx, rsi
call fcn.140063731
jmp 0x1400782f6
mov ecx, dword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
mov qword [rdx], r14
mov qword [rdx + 8], rsi
mov qword [rdx + 0x10], rcx
mov byte [rdx + 0x18], al
mov rdx, qword [rsp + 0x78]
mov rcx, rdi
call fcn.14007fec2
nop
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
test rcx, rcx
jne 0x140078324
call fcn.1400085a0
ud2
invalid
mov rdx, qword [rsp + 0x50]
call fcn.1400e41c0
ud2

Function at 0x14007c7f0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rdx
sub rdx, rcx
cmp rdx, 0x20
jae fcn.14000b810
cmp rax, rcx
je 0x14007c815
cmp rdx, 4
jae 0x14007c818
xor eax, eax
xor r8d, r8d
jmp 0x14007c8b0
xor eax, eax
ret
mov r8, rdx
and r8, 0xfffffffffffffffc
pxor xmm0, xmm0
xor eax, eax
movdqa xmm2, xmmword [0x1400e86c0]
movdqa xmm3, xmmword [0x1400e86d0]
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 0x14007c840
paddq xmm1, xmm0
pshufd xmm0, xmm1, 0xee
paddq xmm0, xmm1
movq rax, xmm0
cmp r8, rdx
je 0x14007c8c7
nop dword [rax]
xor r9d, r9d
cmp byte [rcx + r8], 0xc0
setge r9b
add rax, r9
inc r8
cmp rdx, r8
jne 0x14007c8b0
ret
Function at 0x14008018f
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 0x1400801f2
mov edx, dword [rcx + 0x28]
mov dword [rsp + 0x90], edx
mov qword [rsp + 0x98], rax
mov rax, qword [rcx + 0x30]
test rax, rax
je 0x140080228
mov r8, qword [rcx + 0x40]
xor edx, edx
test r8, r8
je 0x140080221
lea r9, [0x14014c9c8]
xor r10d, r10d
movzx r11d, byte [rax + r10]
or edx, dword [r9 + r11*4]
inc r10
cmp r8, r10
jne 0x140080210
mov dword [rsp + 0xa0], edx
mov r15, qword [rcx + 0x10]
lea rsi, [r15*8]
test r15, r15
je 0x140080279
mov rax, r15
shr rax, 0x3c
jne 0x14008033b
mov rbx, qword [rcx]
mov ecx, 8
mov rdx, rsi
call fcn.14009dcda
test rax, rax
je 0x140080342
mov rdi, rax
xor eax, eax
mov rcx, qword [rbx + rax*8]
mov qword [rdi + rax*8], rcx
inc rax
cmp r15, rax
jne 0x140080264
mov eax, r15d
jmp 0x140080280
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, str.Microsoft_Unified_Security_Protocol_Provider
xor ecx, ecx
mov r8d, 2
xor r9d, r9d
call qword [sym.imp.secur32.dll_AcquireCredentialsHandleA]
test eax, eax
je 0x1400802d7
mov ebx, eax
shl rbx, 0x20
or rbx, 2
mov r14d, 1
jmp 0x14008030f
mov r14, qword [rsp + 0x50]
mov r12, qword [rsp + 0x58]
mov ecx, 8
mov edx, 0x20
call fcn.14009dcda
test rax, rax
je 0x14008034c
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 0x140080324
mov edx, 8
mov rcx, rdi
mov r8, rsi
call fcn.140002588
mov rax, r14
mov rdx, rbx
add rsp, 0xb8
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
call fcn.1400085a0
ud2
mov ecx, 8
mov rdx, rsi
jmp 0x140080356
mov ecx, 8
mov edx, 0x20
call fcn.1400e41c0
ud2

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

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

Function at 0x140081e37
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 0x140081e64
xor eax, eax
jmp 0x140081e69
call fcn.140034bc9
nop
add rsp, 0x38
ret