joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1402ec210
Capabilities:
Query or enumerate registry value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x50
mov rsi, r8
mov rax, qword [0x1403a0028]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov eax, 0xaaaaaaaa
lea rdi, [rsp + 0x44]
mov dword [rdi], eax
lea rbx, [rsp + 0x40]
mov dword [rbx], eax
lea rax, [rsp + 0x3c]
mov dword [rax], 4
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
xor r8d, r8d
mov r9, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [rdi]
xor ecx, 4
or ecx, eax
sete bl
jne 0x1402ec26f
mov eax, dword [rsp + 0x40]
mov dword [rsi], eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1401bb0d0
mov eax, ebx
add rsp, 0x50
pop rbx
pop rdi
pop rsi
ret

Function at 0x1402ec330
Capabilities:
Get system information on windows

Disassembly:
push rsi
sub rsp, 0x1a0
mov rax, qword [0x1403a0028]
xor rax, rsp
mov qword [rsp + 0x198], rax
movaps xmm0, xmmword [0x14032f5c0]
lea rsi, [rsp + 0x160]
movaps xmmword [rsi + 0x20], xmm0
movaps xmmword [rsi + 0x10], xmm0
movaps xmmword [rsi], xmm0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [rsi + 0x20], 0x100
jb 0x1402ec384
mov ecx, 1
call fcn.140160660
test al, al
jne 0x1402ec3b3
mov eax, dword [rsp + 0x180]
cmp eax, 0x100
mov esi, 0xff
cmovb esi, eax
mov rcx, qword [rsp + 0x198]
xor rcx, rsp
call fcn.1401bb0d0
mov eax, esi
add rsp, 0x1a0
pop rsi
ret
lea rdx, str....._third_partycrashpadcrashpad_snapshotwin_system_snapshot_win.cc
lea rsi, [rsp + 0x28]
mov rcx, rsi
mov r8d, 0x10a
mov r9d, 1
call fcn.140076020
lea rcx, [rsp + 0x38]
lea rdx, str.dwNumberOfProcessors_exceeds_uint8_t_storage
mov r8d, 0x2c
call fcn.1401f9cc0
mov rcx, rsi
call fcn.140076510
jmp 0x1402ec384
Function at 0x1400021d0
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140002300
Function at 0x140003230
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000327a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000327a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000327a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000327a
cmp dword [rcx + 0x84], 0xe
jbe 0x14000327a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14000327c
xor al, al
add rsp, 0x28
ret
Function at 0x140008299
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
sub rsp, 0x98
movaps xmmword [rsp + 0x80], xmm14
movaps xmmword [rsp + 0x70], xmm13
movaps xmmword [rsp + 0x60], xmm12
movaps xmmword [rsp + 0x50], xmm11
movaps xmmword [rsp + 0x40], xmm10
movaps xmmword [rsp + 0x30], xmm9
movaps xmmword [rsp + 0x20], xmm8
movaps xmmword [rsp + 0x10], xmm7
movaps xmmword [rsp], xmm6
aesimc xmm0, xmmword [rdx + 0x10]
aesimc xmm1, xmmword [rdx + 0x20]
aesimc xmm2, xmmword [rdx + 0x30]
aesimc xmm3, xmmword [rdx + 0x40]
aesimc xmm4, xmmword [rdx + 0x50]
aesimc xmm5, xmmword [rdx + 0x60]
aesimc xmm6, xmmword [rdx + 0x70]
aesimc xmm7, xmmword [rdx + 0x80]
aesimc xmm8, xmmword [rdx + 0x90]
aesimc xmm9, xmmword [rdx + 0xa0]
aesimc xmm10, xmmword [rdx + 0xb0]
aesimc xmm11, xmmword [rdx + 0xc0]
aesimc xmm12, xmmword [rdx + 0xd0]
movaps xmm13, xmmword [rdx]
movaps xmm14, xmmword [rdx + 0xe0]
movaps xmmword [rcx], xmm13
movdqa xmmword [rcx + 0x10], xmm0
movdqa xmmword [rcx + 0x20], xmm1
movdqa xmmword [rcx + 0x30], xmm2
movdqa xmmword [rcx + 0x40], xmm3
movdqa xmmword [rcx + 0x50], xmm4
movdqa xmmword [rcx + 0x60], xmm5
movdqa xmmword [rcx + 0x70], xmm6
movdqa xmmword [rcx + 0x80], xmm7
movdqa xmmword [rcx + 0x90], xmm8
movdqa xmmword [rcx + 0xa0], xmm9
movdqa xmmword [rcx + 0xb0], xmm10
movdqa xmmword [rcx + 0xc0], xmm11
movdqa xmmword [rcx + 0xd0], xmm12
movaps xmmword [rcx + 0xe0], xmm14
movaps xmm6, xmmword [rsp]
movaps xmm7, xmmword [rsp + 0x10]
movaps xmm8, xmmword [rsp + 0x20]
movaps xmm9, xmmword [rsp + 0x30]
movaps xmm10, xmmword [rsp + 0x40]
movaps xmm11, xmmword [rsp + 0x50]
movaps xmm12, xmmword [rsp + 0x60]
movaps xmm13, xmmword [rsp + 0x70]
movaps xmm14, xmmword [rsp + 0x80]
add rsp, 0x98
ret

Function at 0x140008ab0
Capabilities:
Create directory

Disassembly:
mov r8, rdx
mov rdx, rcx
xor ecx, ecx
jmp fcn.140123210
Function at 0x140014efc
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
mov rbx, rdx
lea rdi, [rdx + 8]
cmp qword [rdx], 0
je 0x140014f48
cmp qword [rbx + 0x38], 0xffffffffffffffff
mov r8, qword [rbx + 0x48]
mov r9, qword [rbx + 0x50]
mov rax, qword [rbx + 0x58]
mov rdx, qword [rbx + 0x60]
je 0x140015030
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rax
mov byte [rsp + 0x30], 0
jmp 0x14001503f
mov qword [rsp + 0x40], rcx
mov bpl, byte [rbx + 0x1a]
mov r15, qword [rbx + 0x48]
mov r12, qword [rbx + 0x50]
mov r14, qword [rbx + 8]
mov r13b, byte [rbx + 0x18]
test bpl, bpl
jne 0x140015049
mov esi, r13d
xor sil, 1
mov byte [rbx + 0x18], sil
mov rcx, r14
mov rdx, r15
mov r8, r12
lea r9, str._rustc_d5c2e9c342b358556da91d61ed4133f6f50fc0c3librarycore_src_strpattern.rs
call fcn.140010434
test rdx, rdx
je 0x140015052
mov r8b, byte [rax]
movzx ecx, r8b
test cl, cl
jns 0x140014fec
mov edx, ecx
and edx, 0x1f
movzx r9d, byte [rax + 1]
and r9d, 0x3f
cmp cl, 0xdf
jbe 0x140014fdd
movzx ecx, byte [rax + 2]
shl r9d, 6
and ecx, 0x3f
or ecx, r9d
cmp r8b, 0xf0
jb 0x140014fe7
movzx eax, byte [rax + 3]
and edx, 7
shl edx, 0x12
shl ecx, 6
and eax, 0x3f
or eax, ecx
or eax, edx
mov ecx, eax
jmp 0x140014fec
shl edx, 6
or edx, r9d
mov ecx, edx
jmp 0x140014fec
shl edx, 0xc
or ecx, edx
test r13b, r13b
jne 0x140015057
cmp ecx, 0x110000
je 0x14001506b
mov eax, 1
cmp ecx, 0x80
jb 0x140015022
mov eax, 2
cmp ecx, 0x800
jb 0x140015022
cmp ecx, 0x10000
mov eax, 4
sbb rax, 0
add r14, rax
mov qword [rdi], r14
mov r13d, esi
jmp 0x140014f61
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rax
mov byte [rsp + 0x30], 1
mov rdx, rdi
call fcn.14001047e
jmp 0x140015079
mov rax, qword [rsp + 0x40]
xor ecx, ecx
jmp 0x140015076
test r13b, r13b
je 0x14001506b
mov rax, qword [rsp + 0x40]
mov qword [rax + 8], r14
mov qword [rax + 0x10], r14
mov ecx, 1
jmp 0x140015076
mov byte [rbx + 0x1a], 1
xor ecx, ecx
mov rax, qword [rsp + 0x40]
mov qword [rax], rcx
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret

Function at 0x14001c80f
Capabilities:
Encrypt data using dpapi

Disassembly:
push rbp
push rsi
sub rsp, 0x78
lea rbp, [rsp + 0x70]
mov qword [rbp], 0xfffffffffffffffe
mov rsi, rcx
mov eax, dword [rdx + 0x10]
mov qword [rbp - 8], rdx
mov rdx, qword [rdx]
lea rcx, [rbp - 0x30]
mov dword [rcx], eax
lea rax, [rbp - 0x20]
and dword [rax], 0
mov qword [rbp - 0x10], rdx
mov qword [rcx + 8], rdx
and qword [rax + 8], 0
and dword [rsp + 0x28], 0
mov qword [rsp + 0x30], rax
and qword [rsp + 0x20], 0
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call sub.crypt32.dll_CryptUnprotectData
mov rax, qword [rbp - 0x18]
mov ecx, dword [rbp - 0x20]
mov qword [rsi], rax
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rcx
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rcx, qword [rbp - 0x10]
call fcn.14005b360
nop
add rsp, 0x78
pop rsi
pop rbp
ret
Function at 0x14005b28a
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
aeskeygenassist xmm0, xmmword [rdx], 2
movdqa xmmword [rcx], xmm0
ret
Function at 0x140065200
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 0x140065290
cmp r10, r11
jb 0x140065306
cmp r10, rdx
ja 0x14006531a
add r11, r9
xor r15d, r15d
nop word cs:[rax + rax]
cmp r14, r15
je 0x140065292
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x140065270
jmp 0x1400652f4
ja 0x14006529a
mov r11, r10
cmp rax, r8
jne 0x140065234
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 0x1400652d0
mov rdi, r8
sub ecx, edx
jns 0x1400652eb
jmp 0x1400652f6
cmp r8, rsi
je 0x14006532b
movzx r8d, byte [rdi + 1]
add rdi, 2
and edx, 0x7f
shl edx, 8
or edx, r8d
sub ecx, edx
js 0x1400652f6
xor al, 1
cmp rdi, rsi
jne 0x1400652b0
jmp 0x1400652f6
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.h_r__
mov rcx, r11
mov rdx, r10
call fcn.140281ae0
ud2
lea r8, str.h_r__
mov rcx, r10
call fcn.1402817e0
ud2
lea rcx, str.called__Option::unwrap____on_a__None__valueC:Users_admin.cargo_registry_srcindex.crates.io_6f17d22bba15001fwinapi_util_0.1.5_srcwin.rs
lea r8, str.librarycore_srcunicodeprintable.rs
mov edx, 0x2b
call fcn.140281860
ud2
Function at 0x14006a0a6
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, [0x140294dd0]
mov ebx, 0xff
lea rsi, str.8M__
cmp r9, 0x40
jb 0x14006a1d6
mov r14d, 4
sub r14, 1
jb 0x14006a0cb
cmp r9, 0xf
jbe 0x14006a203
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.14006a6f6
mov r9, rdx
mov ecx, ebp
jmp 0x14006a0db
xor edx, edx
cmp r9, rdx
je 0x14006a1f4
mov r8b, byte [rax + rdx]
xor r8b, cl
movzx r8d, r8b
shr ecx, 8
xor ecx, dword [rdi + r8*4]
inc rdx
jmp 0x14006a1d8
not ecx
mov eax, ecx
add rsp, 0x20
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
lea r8, str.C:Users_admin.cargo_registry_srcindex.crates.io_6f17d22bba15001fcrc32fast_1.3.2_src_baseline.rs
mov ecx, 0xf
mov rdx, r9
call fcn.1402816e0
ud2
Function at 0x140070f57
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.140087dff
test rbx, rbx
je 0x140070f90
mov rdx, qword [rdi + 8]
mov r8, qword [rdi + 0x10]
mov rcx, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.140070faa
mov cl, byte [rdi + 8]
mov rdx, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.140070fa2

Function at 0x140070faa
Capabilities:
Hash data using fnv

Disassembly:
mov rax, qword [rcx]
xor r9d, r9d
movabs r10, 0x100000001b3
cmp r8, r9
je 0x140070fd0
movzx r11d, byte [rdx + r9]
xor rax, r11
imul rax, r10
inc r9
jmp 0x140070fba
mov qword [rcx], rax
ret
Function at 0x140096c55
Capabilities:
Get system information on windows

Disassembly:
push rsi
sub rsp, 0x50
xorps xmm0, xmm0
lea rsi, [rsp + 0x20]
movaps xmmword [rsi + 0x20], xmm0
movaps xmmword [rsi + 0x10], xmm0
movaps xmmword [rsi], xmm0
mov rcx, rsi
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [rsi + 0x20]
add rsp, 0x50
pop rsi
ret

Function at 0x140097f26
Capabilities:
Link many functions at runtime

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x40
lea rbp, [rsp + 0x40]
mov qword [rbp - 8], 0xfffffffffffffffe
mov rsi, rcx
mov rdx, qword [0x14036f118]
test rdx, rdx
jne 0x140098079
lea rcx, str.api_ms_win_core_synch_l1_2_0.dll
call qword [sym.imp.kernel32.dll_GetModuleHandleA]
test rax, rax
je 0x140097fa1
mov rbx, rax
lea rdx, str.WaitOnAddress
mov rcx, rax
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x140097fa1
mov rdi, rax
lea rdx, str.WakeByAddressSingle
mov rcx, rbx
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x140097fa1
mov qword [rbp - 0x18], rax
xor eax, eax
mov qword [rbp - 0x10], rax
jmp 0x14009802f
lea rcx, [0x1402c41e0]
call qword [sym.imp.kernel32.dll_GetModuleHandleA]
test rax, rax
je 0x14009808c
mov rdi, rax
lea rdx, str.NtCreateKeyedEvent
mov rcx, rax
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x14009808c
mov rbx, rax
lea rdx, str.NtReleaseKeyedEvent
mov rcx, rdi
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x14009808c
mov r14, rax
lea rdx, str.NtWaitForKeyedEvent
mov rcx, rdi
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x14009808c
mov rdi, rax
lea rcx, [rbp - 0x20]
mov edx, 0xc0000000
xor r8d, r8d
xor r9d, r9d
call rbx
test eax, eax
jne 0x14009808c
mov qword [rbp - 0x10], r14
mov rax, qword [rbp - 0x20]
mov qword [rbp - 0x18], rax
push 0x18
pop rcx
call fcn.140070de9
mov rdx, rax
mov rax, qword [rbp - 0x10]
mov qword [rdx], rax
mov qword [rdx + 8], rdi
mov rax, qword [rbp - 0x18]
mov qword [rdx + 0x10], rax
xor eax, eax
lock cmpxchg qword [0x14036f118], rdx
je 0x140098079
mov rdi, rax
mov rcx, qword [rdx]
mov qword [rbp - 0x10], rdx
mov rdx, qword [rdx + 0x10]
call fcn.14009811e
mov rcx, qword [rbp - 0x10]
call fcn.14005cbb0
mov rdx, rdi
and qword [rsi + 8], 0
mov qword [rsi], rdx
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
lea rcx, str.parking_lot_requires_either_NT_Keyed_Events__WinXP__or_WaitOnAddress_WakeByAddress__Win8_C:Users_admin.cargo_registry_srcindex.crates.io_6f17d22bba15001fparking_lot_core_0.9.8_src_thread_parkerwindowsmod.rs
lea r8, str.fB__
push 0x5b
pop rdx
call fcn.140282df9
ud2
Function at 0x1400e2ce3
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:Users_admin.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.22_src_tls_stream.rs
call fcn.1400e2a78
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 0x1400e2dc1
test eax, eax
je 0x1400e2ddd
cmp eax, 0x90317
je 0x1400e2e55
cmp eax, 0x90321
jne 0x1400e2e5d
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.1400e2c7e
and qword [rdi + 0xf8], 0
mov byte [rsi + 1], bl
jmp 0x1400e2e6b
cmp dword [rsp + 0x34], 4
mov eax, 1
cmove eax, dword [rsp + 0x30]
mov qword [rdi + 0xf8], rax
mov byte [rsi + 1], 0
jmp 0x1400e2e59
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.1400e2e75
mov r8, rdx
mov rcx, rbx
mov rdx, rax
call fcn.14015ab1b
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.1400e2c7e
xor eax, eax
cmp qword [rdi + 0x98], rbx
sete al
mov qword [rdi + 0xf8], rax
mov byte [rsi + 1], 0
jmp 0x1400e2e6b
mov byte [rsi + 1], 1
xor ebx, ebx
jmp 0x1400e2e6b
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 0x1400e3565
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbp
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x50
lea rbp, [rsp + 0x50]
mov qword [rbp - 8], 0xfffffffffffffffe
mov rsi, r8
mov qword [rbp - 0x10], rcx
mov qword [rcx + 0x38], rdx
mov rcx, r8
call fcn.1400e32a8
mov rdi, rax
mov rbx, rdx
lea r14, [rbp - 0x28]
mov rdx, qword [rbp - 0x10]
mov rcx, rdx
call fcn.1400e337f
test rdx, rdx
mov rdx, qword [rbp - 0x10]
jne 0x1400e3185
mov rcx, r14
call fcn.1400e177c
mov eax, dword [rbp - 0x28]
cmp eax, 2
je 0x1400e321c
test eax, eax
mov rdx, qword [rbp - 0x10]
je 0x1400e3185
cmp qword [rdx + 0xf8], 0
je 0x1400e3169
mov rcx, r14
call fcn.1400e2ab1
cmp qword [rbp - 0x28], 0
jne 0x1400e321c
cmp qword [rbp - 0x20], 0
mov rdx, qword [rbp - 0x10]
je 0x1400e3185
and qword [rdx + 0xf8], 0
mov rcx, r14
call fcn.1400e2ce3
cmp byte [rbp - 0x28], 0
jne 0x1400e321c
cmp byte [rbp - 0x27], 0
mov rdx, qword [rbp - 0x10]
je 0x1400e310c
mov rcx, rdx
call fcn.1400e337f
mov r12, rax
mov r14, rdx
test rax, rax
je 0x1400e3220
cmp rbx, r14
mov r15, r14
cmovb r15, rbx
lea r9, str.C:Users_admin.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.22_src_tls_stream.rs
mov rcx, r15
mov rdx, rdi
mov r8, rbx
call fcn.1400010d6
mov rdi, rax
mov rbx, rdx
lea r9, str.C:Users_admin.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.22_src_tls_stream.rs
mov rcx, r12
mov rdx, r14
mov r8, r15
call fcn.14009210a
mov r9, rdx
lea rcx, str.C:Users_admin.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.22_src_tls_stream.rs
mov qword [rsp + 0x20], rcx
mov rcx, rdi
mov rdx, rbx
mov r8, rax
call fcn.140095196
mov rcx, qword [rbp - 0x10]
mov rax, qword [rcx + 0x78]
add rax, r15
cmp rax, qword [rcx + 0x70]
ja 0x1400e3260
mov qword [rcx + 0x78], rax
mov rcx, rsi
mov rdx, r15
call fcn.1400e3315
xor r14d, r14d
mov rsi, qword [rbp - 0x10]
jmp 0x1400e3247
mov r14, qword [rbp - 0x20]
mov rsi, qword [rbp - 0x10]
mov qword [rbp - 0x28], r14
mov rcx, r14
call fcn.1400e173c
cmp al, 0xd
jne 0x1400e3247
and qword [rsi + 0x38], 0
lea rcx, [rbp - 0x28]
call fcn.140084da6
push 1
pop rax
jmp 0x1400e324e
and qword [rsi + 0x38], 0
xor eax, eax
mov rdx, r14
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
pop rbp
ret
lea rcx, str.assertion_failed:_pos___self.dec_in.get_ref__.len___as_u64
lea r8, str.C:Users_admin.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.22_src_tls_stream.rs
push 0x3b
pop rdx
call fcn.140281860
ud2
cmp dword [rcx], 2
jne 0x1400e30d0
add rcx, 8
jmp fcn.1401547af
Function at 0x1400e5240
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:Users_admin.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.22_src_tls_stream.rs
call fcn.1400e2a78
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 0x1400e5324
test eax, eax
je 0x1400e5343
cmp eax, 0x90317
je 0x1400e53c4
cmp eax, 0x90321
jne 0x1400e53cc
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.1400e51e0
and qword [rdi + 0x1f8], 0
mov byte [rsi + 1], bl
jmp 0x1400e53da
cmp dword [rsp + 0x34], 4
mov eax, 1
cmove eax, dword [rsp + 0x30]
mov qword [rdi + 0x1f8], rax
mov byte [rsi + 1], 0
jmp 0x1400e53c8
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.1400e2e75
mov r8, rdx
mov rcx, rbx
mov rdx, rax
call fcn.14015ab1b
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.1400e51e0
xor eax, eax
cmp qword [rdi + 0x198], rbx
sete al
mov qword [rdi + 0x1f8], rax
mov byte [rsi + 1], 0
jmp 0x1400e53da
mov byte [rsi + 1], 1
xor ebx, ebx
jmp 0x1400e53da
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 0x1400fb2a9
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x78
lea rbp, [rsp + 0x70]
mov qword [rbp], 0xfffffffffffffffe
mov rax, r8
mov rbx, rdx
mov qword [rbp - 0x10], rcx
lea rcx, [rbp - 0x40]
push 0xb
pop r8
mov rdx, rax
call fcn.1400fb0be
mov dword [rbp - 4], 0x800
and dword [rbp - 8], 0
mov ecx, 0x800
call fcn.140094a92
lea r15, [rbp - 0x28]
mov qword [r15], rax
mov qword [r15 + 8], rdx
and qword [r15 + 0x10], 0
mov rdi, qword [rbp - 0x40]
lea r13, [rbp - 4]
lea r12, [rbp - 8]
mov rsi, qword [sym.imp.advapi32.dll_RegQueryValueExW]
mov r14, qword [rbp - 0x28]
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r14
mov rcx, rbx
mov rdx, rdi
xor r8d, r8d
mov r9, r12
call rsi
cmp eax, 0xea
jne 0x1400fb348
mov edx, dword [rbp - 4]
mov rcx, r15
call fcn.14015ab03
jmp 0x1400fb318
test eax, eax
jne 0x1400fb367
mov eax, dword [rbp - 4]
mov qword [rbp - 0x18], rax
mov eax, dword [rbp - 8]
cmp eax, 0xb
jbe 0x1400fb388
movabs rax, 0xde00000002
jmp 0x1400fb36f
shl rax, 0x20
or rax, 2
mov rcx, qword [rbp - 0x10]
mov qword [rcx], rax
mov byte [rcx + 0x18], 0xc
mov rdx, qword [rbp - 0x20]
mov rcx, r14
call fcn.14006b51b
jmp 0x1400fb39e
mov rcx, qword [rbp - 0x18]
mov rdx, qword [rbp - 0x10]
mov qword [rdx + 0x10], rcx
movups xmm0, xmmword [rbp - 0x28]
movups xmmword [rdx], xmm0
mov byte [rdx + 0x18], al
mov rdx, qword [rbp - 0x38]
mov rcx, rdi
call fcn.14016a4b8
nop
add rsp, 0x78
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret