joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800526f4
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x70
movaps xmmword [rax - 0x28], xmm6
xor r14d, r14d
cmp byte [0x1800d1863], r14b
movaps xmmword [rax - 0x38], xmm7
movaps xmmword [rax - 0x48], xmm8
movaps xmmword [rax - 0x58], xmm9
je 0x18005291a
mov rax, qword [0x1800d2060]
test rax, rax
jne 0x1800527d5
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
mov rbx, qword [rax]
mov r10, rbx
mov r8, qword [r10 + 0x30]
movsxd rax, dword [r8 + 0x3c]
mov r9d, dword [rax + r8 + 0x88]
add r9, r8
cmp r9, r8
je 0x1800527ba
mov edx, dword [r9 + 0x18]
test edx, edx
je 0x1800527ba
mov esi, dword [r9 + 0x20]
dec edx
mov r11d, 0x811c9dc5
lea rax, [rsi + rdx*4]
mov ecx, dword [rax + r8]
add rcx, r8
mov al, byte [rcx]
inc rcx
test al, al
je 0x1800527b6
movsx eax, al
xor eax, r11d
imul r11d, eax, 0x1000193
mov al, byte [rcx]
inc rcx
test al, al
jne 0x180052793
cmp r11d, 0x95466b05
je 0x18005284f
test edx, edx
jne 0x180052777
mov rax, qword [r10]
mov r10, rax
cmp rax, rbx
je 0x1800527cb
cmp qword [rax + 0x30], r14
jne 0x180052753
mov rax, r14
mov qword [0x1800d2060], rax
mov ecx, dword [0x1800d0444]
call rax
test ax, ax
jns 0x18005291a
call fcn.18004cf8c
mov rbx, rax
test rax, rax
je 0x18005291a
cmp dword [0x1800d0470], 1
jne 0x18005291a
movss xmm9, dword [0x1800d1428]
lea rcx, [rbp - 0x50]
movss xmm6, dword [0x1800d142c]
xor r8d, r8d
mulss xmm9, dword [0x180059b1c]
mov rdx, rax
mulss xmm6, dword [0x180059b1c]
call fcn.18004cc4c
mov ecx, dword [0x1800d1874]
sub ecx, 1
je 0x180052874
sub ecx, 1
je 0x18005286c
cmp ecx, 1
jne 0x180052886
mov r8d, ecx
jmp 0x18005287a
mov ecx, dword [r9 + 0x24]
add rcx, r8
movzx edx, word [rcx + rdx*2]
mov ecx, dword [r9 + 0x1c]
add rcx, r8
mov eax, dword [rcx + rdx*4]
add rax, r8
jmp 0x1800527ce
mov r8d, 8
jmp 0x18005287a
mov r8d, 7
mov rdx, rbx
lea rcx, [rbp - 0x50]
call fcn.18004cc4c
movsd xmm8, qword [rbp - 0x50]
lea rdx, [rbp - 0x50]
mov ebx, dword [rbp - 0x48]
lea rcx, [rbp + 0x20]
movsd qword [rbp - 0x50], xmm8
mov dword [rbp - 0x48], ebx
call fcn.180051cc8
movss xmm0, dword [rbp + 0x24]
cvtps2pd xmm1, xmm6
cvtps2pd xmm0, xmm0
subsd xmm0, xmm1
movsd xmm1, qword [0x180061898]
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
movsd xmm1, qword [0x180061898]
movaps xmm7, xmm0
movss xmm0, dword [rbp + 0x20]
cvtps2pd xmm0, xmm0
cvtps2pd xmm2, xmm9
subsd xmm0, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
addsd xmm7, xmm0
xorps xmm0, xmm0
cvtsd2ss xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
mov eax, dword [0x1800d0448]
lea ecx, [rax + rax*4]
add ecx, ecx
movd xmm1, ecx
cvtdq2ps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x18005291a
lea rcx, [rbp - 0x50]
movsd qword [rbp - 0x50], xmm8
mov dword [rbp - 0x48], ebx
call fcn.18004c870
movaps xmm6, xmmword [rsp + 0x60]
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm7, xmmword [rsp + 0x50]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x1800531c4
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rax, qword [0x1800d13c0]
mov rcx, qword [rax]
test rcx, rcx
je 0x180053333
mov rcx, qword [rcx + 8]
test rcx, rcx
je 0x180053333
mov eax, dword [0x1800d13f8]
mov rdx, qword [rax + rcx]
test rdx, rdx
je 0x180053333
cmp qword [rcx + 0x30], 0
je 0x180053333
mov rax, qword [0x1800d13c8]
mov r8, qword [rax]
test r8, r8
je 0x180053333
cmp qword [r8 + 0x10], 0
je 0x180053333
cmp byte [0x1800d18dc], 0
je 0x18005325b
cmp byte [0x1800d1421], 0
movss xmm0, dword [0x1800d0710]
je 0x180053253
movss dword [rdx + 0xd40], xmm0
jmp 0x18005325b
movss dword [rdx + 0xcf0], xmm0
mov eax, dword [0x1800d1418]
cmp byte [rax + rcx], 0x40
je 0x180053333
movss xmm0, dword [0x18005b8a8]
comiss xmm0, dword [rcx + 0x280]
ja 0x180053333
mov rax, qword [0x1800d2060]
test rax, rax
jne 0x180053325
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
mov r11, qword [rax]
mov rdx, r11
mov r8, qword [rdx + 0x30]
movsxd rax, dword [r8 + 0x3c]
mov r9d, dword [rax + r8 + 0x88]
add r9, r8
cmp r9, r8
je 0x18005330a
mov ecx, dword [r9 + 0x18]
test ecx, ecx
je 0x18005330a
mov esi, dword [r9 + 0x20]
dec ecx
mov ebx, 0x811c9dc5
mov edi, ecx
lea rax, [rsi + rcx*4]
mov r10d, dword [rax + r8]
add r10, r8
mov al, byte [r10]
inc r10
test al, al
je 0x180053306
movsx eax, al
xor eax, ebx
imul ebx, eax, 0x1000193
mov al, byte [r10]
inc r10
test al, al
jne 0x1800532e9
cmp ebx, 0x95466b05
je 0x180053343
test ecx, ecx
jne 0x1800532cb
mov rax, qword [rdx]
mov rdx, rax
cmp rax, r11
je 0x18005331c
cmp qword [rax + 0x30], 0
jne 0x1800532a7
xor eax, eax
mov qword [0x1800d2060], rax
mov ecx, 0xa0
call rax
mov byte [0x1800d1900], 1
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov ecx, dword [r9 + 0x24]
add rcx, r8
movzx edx, word [rcx + rdi*2]
mov ecx, dword [r9 + 0x1c]
add rcx, r8
mov eax, dword [rcx + rdx*4]
add rax, r8
jmp 0x18005331e
Function at 0x180055ee8
Capabilities:
Enumerate gui resources
Get graphical window text

Disassembly:
sub rsp, 0xd8
mov rax, qword [0x1800d07c0]
xor rax, rsp
mov qword [rsp + 0xc0], rax
and qword [rsp + 0x30], 0
lea rdx, [rsp + 0x30]
lea rcx, [0x180055e50]
call qword [sym.imp.USER32.dll_EnumWindows]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
jne 0x180055f5f
mov qword [rsp + 0x20], 0xc8
lea rdx, [rsp + 0x30]
lea rcx, [0x180055e50]
call qword [sym.imp.USER32.dll_EnumWindows]
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x28]
call fcn.180047e2c
mov rcx, rax
call fcn.180048098
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x180055f2c
mov r8d, 0x80
lea rdx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_GetWindowTextA]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.180056520
add rsp, 0xd8
ret
Function at 0x14000f880
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
cmp qword [rcx], rdx
je 0x14000f903
mov rdi, rdx
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
add rax, 1
cmp rax, 2
jb 0x14000f8ce
call fcn.140014640
mov r8, qword [rsp + 0x38]
mov rcx, qword [rsi]
mov rdx, rsi
mov r9, rax
call fcn.1400146c0
mov rcx, qword [rsi]
call fcn.140014650
mov qword [rsi], 0
lea rax, [rdi + 1]
cmp rax, 2
jb case.default.0x14000f8fc
mov qword [rsi], rdi
call fcn.140014640
mov r8, qword [rsp + 0x38]
mov rcx, rdi
mov rdx, rsi
mov r9, rax
call fcn.140014680
mov ecx, ebx
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp qword [sym.imp.KERNEL32.dll_SetLastError]
nop
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
ror byte ss:[r10 - 0x40], 1
cmp bl, byte [rdi - 0x61]
lodsd eax, dword [rsi]
call rax
invalid
adc dword cs:[rbp + 0x42], r13d
fiadd dword [rcx + 0x50]
invalid
jne 0x1400c3e63
cwde
ficomp dword [rcx - 0x3cc30cb2]
sar byte [rdx - 1], 1
jnp 0x1400c3e11
or dword [rax + 0x19], ecx
in eax, dx
sbb ebp, ebp
shl byte [rdi - 0x3a], 0x3a
invalid
push rbp
test byte [r11 + 0x306ac5ee], r11b
wait
invalid

Function at 0x140010e90
Capabilities:
Query environment variable

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x230
mov r14, rcx
mov rax, qword [0x140065020]
xor rax, rsp
mov qword [rsp + 0x228], rax
lea rdi, [rsp + 0x20]
mov word [rdi], 0
xor ebx, ebx
lea r15, str.PROGRAMFILES
mov rsi, qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov rcx, qword [rbx + r15]
mov word [rsp + 0x20], 0
mov r8d, 0x104
mov rdx, rdi
call rsi
lea ecx, [rax - 1]
cmp ecx, 0x102
ja 0x140010eff
mov edx, eax
mov rcx, rdi
mov r8, r14
call fcn.140010e20
test al, al
jne 0x140010f0d
add rbx, 8
cmp rbx, 0x18
jne 0x140010ecd
xor esi, esi
jmp 0x140010f10
mov sil, 1
mov rcx, qword [rsp + 0x228]
xor rcx, rsp
call fcn.14002a340
mov eax, esi
add rsp, 0x230
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x14000f970
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call fcn.14013c350
mov rcx, rax
add rsp, 0x28
jmp 0x140131f60
push rsi
push rdi
push rbx
sub rsp, 0x70
mov r8, rdx
mov rdx, rcx
lea rcx, [rsp + 0x28]
call fcn.14013b530
mov rax, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x30]
movabs rbx, 0x8000000000000000
cmp rax, rbx
je 0x140131fc5
mov rcx, qword [rsp + 0x38]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], rcx
lea rcx, [rsp + 0x58]
lea rdx, [rsp + 0x40]
mov r8b, 1
call fcn.14013ce30
mov rdi, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
cmp rdi, rbx
jne 0x140131fd0
mov rax, rsi
add rsp, 0x70
pop rbx
pop rdi
pop rsi
ret
mov rcx, rsi
call qword [sym.imp.kernel32.dll_DeleteFileW]
test eax, eax
je 0x140131ffa
test rdi, rdi
je 0x140132026
add rdi, rdi
mov r8d, 2
mov rcx, rsi
mov rdx, rdi
call fcn.140017210
xor eax, eax
jmp 0x140131fc8
call qword [sym.imp.kernel32.dll_GetLastError]
shl rax, 0x20
or rax, 2
test rdi, rdi
je 0x140131fc8
add rdi, rdi
mov r8d, 2
mov rcx, rsi
mov rdx, rdi
mov rsi, rax
call fcn.140017210
jmp 0x140131fc5
xor eax, eax
jmp 0x140131fc8

Function at 0x1400172f6
Capabilities:
Get hostname

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x70
lea rbp, [rsp + 0x70]
mov qword [rbp - 8], 0xfffffffffffffffe
mov rsi, rcx
lea rdi, [rbp - 0xc]
and dword [rdi], 0
push 5
pop rcx
xor edx, edx
mov r8, rdi
call sub.kernel32.dll_GetComputerNameExW
mov edx, dword [rdi]
lea rdi, [rbp - 0x48]
mov rcx, rdi
xor r8d, r8d
call fcn.140017248
cmp qword [rdi], 0
jne 0x1400173b7
mov rax, qword [rbp - 0x40]
mov rdi, qword [rbp - 0x38]
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x20], rdi
and qword [rbp - 0x18], 0
push 5
pop rcx
lea r8, [rbp - 0xc]
mov rdx, rdi
call sub.kernel32.dll_GetComputerNameExW
test eax, eax
je 0x140017385
mov r8d, dword [rbp - 0xc]
mov qword [rbp - 0x18], r8
lea rcx, [rbp - 0x48]
mov rdx, rdi
call fcn.140129900
movups xmm0, xmmword [rbp - 0x48]
movups xmm1, xmmword [rbp - 0x38]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
jmp 0x1400173a3
call sub.kernel32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
movabs rax, 0x8000000000000000
mov qword [rsi], rax
lea rcx, [rbp - 0x28]
call fcn.1400172db
mov rax, rsi
add rsp, 0x70
pop rdi
pop rsi
pop rbp
ret
mov rcx, qword [rbp - 0x40]
test rcx, rcx
jne 0x1400173c5
call fcn.140145880
mov rdx, qword [rbp - 0x38]
call fcn.14015ce50
int3
Function at 0x14008562d
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x70
lea rbp, [rsp + 0x70]
mov qword [rbp - 8], 0xfffffffffffffffe
mov rbx, rdx
mov rsi, rcx
lea rcx, [rbp - 0x40]
mov rdx, r8
mov r8, r9
call fcn.1400381b2
mov dword [rbp - 0xc], 0x800
and dword [rbp - 0x10], 0
lea rcx, [rbp - 0x28]
mov edx, 0x800
xor r8d, r8d
call fcn.1400fc1e4
cmp qword [rbp - 0x28], 0
jne 0x140085748
lea rdi, [rbp - 0x28]
movups xmm0, xmmword [rdi + 8]
movups xmmword [rdi], xmm0
and qword [rdi + 0x10], 0
mov rbx, qword [rbx]
lea r15, [rbp - 0xc]
lea r14, [rbp - 0x10]
mov r12, qword [sym.imp.advapi32.dll_RegQueryValueExW]
mov rdx, qword [rbp - 0x38]
mov rax, qword [rbp - 0x20]
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], rax
mov rcx, rbx
xor r8d, r8d
mov r9, r14
call r12
cmp eax, 0xea
jne 0x1400856d8
mov edx, dword [rbp - 0xc]
mov rcx, rdi
call fcn.14009c414
jmp 0x1400856a6
test eax, eax
jne 0x1400856f7
mov eax, dword [rbp - 0xc]
mov qword [rbp - 0x18], rax
mov eax, dword [rbp - 0x10]
cmp eax, 0xb
jbe 0x14008571b
movabs rax, 0xde00000002
jmp 0x1400856ff
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
movabs rax, 0x8000000000000000
mov qword [rsi], rax
lea rcx, [rbp - 0x28]
call fcn.1400015e4
jmp 0x14008572d
mov rcx, qword [rbp - 0x18]
mov qword [rsi + 0x10], rcx
movups xmm0, xmmword [rbp - 0x28]
movups xmmword [rsi], xmm0
mov byte [rsi + 0x18], al
lea rcx, [rbp - 0x40]
call fcn.140014c74
mov rax, rsi
add rsp, 0x70
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
pop rbp
ret
mov rcx, qword [rbp - 0x20]
test rcx, rcx
jne 0x140085758
call fcn.140145880
jmp 0x140085761
mov rdx, qword [rbp - 0x18]
call fcn.14015ce50
ud2
Function at 0x1400876ec
Capabilities:
Decrypt data via sspi

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x98
mov rdi, rdx
mov rsi, rcx
lea rbx, [rdx + 0x60]
mov rdx, qword [rdx + 0x78]
lea r8, str.C:UsersAdministrator.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rs
mov rcx, rbx
call fcn.14008622e
mov r9, rdx
lea r14, [rsp + 0x78]
mov ebp, 1
mov rcx, r14
mov edx, 1
mov r8, rax
call fcn.14009fc6e
lea r15, [rsp + 0x88]
mov rcx, r15
xor edx, edx
xor r8d, r8d
call fcn.14009fc6e
lea r12, [rsp + 0x68]
mov rcx, r12
xor edx, edx
xor r8d, r8d
call fcn.14009fc6e
lea r13, [rsp + 0x50]
mov rcx, r13
xor edx, edx
xor r8d, r8d
call fcn.14009fc6e
movups xmm0, xmmword [r14]
movaps xmmword [r13 - 0x30], xmm0
movups xmm0, xmmword [r15]
movaps xmmword [r13 - 0x20], xmm0
movups xmm0, xmmword [r12]
movaps xmmword [r13 - 0x10], xmm0
lea r14, [rsp + 0x68]
lea rdx, [rsp + 0x20]
mov r8d, 4
mov rcx, r14
call fcn.14009fc85
lea rcx, [rdi + 0xf0]
mov rdx, r14
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.secur32.dll_DecryptMessage]
cmp eax, 0x80090318
je 0x14008788f
test eax, eax
je 0x140087821
cmp eax, 0x90317
je 0x140087889
cmp eax, 0x90321
jne 0x1400878a8
mov dword [rdi + 0xd0], 0x10000
xor ebx, ebx
mov byte [rdi + 0xd4], bl
cmp dword [rsp + 0x54], 5
mov rdx, qword [rdi + 0x78]
mov eax, 0
cmove eax, dword [rsp + 0x50]
sub rdx, rax
mov rcx, rdi
call fcn.140086990
and qword [rdi + 0x110], 0
mov byte [rsi + 1], bl
jmp 0x1400878b6
mov rdx, qword [rsp + 0x38]
sub rdx, qword [rdi + 0x68]
mov r8d, dword [rsp + 0x30]
add r8, rdx
lea r14, [rdi + 0x40]
and qword [rdi + 0x50], 0
mov rcx, rbx
call fcn.140085e3f
mov r8, rdx
mov rcx, r14
mov rdx, rax
call fcn.140117568
and qword [rdi + 0x58], 0
xor ebx, ebx
cmp dword [rsp + 0x54], 5
mov rdx, qword [rdi + 0x78]
mov eax, dword [rsp + 0x50]
cmovne eax, ebx
sub rdx, rax
mov rcx, rdi
call fcn.140086990
xor eax, eax
cmp qword [rdi + 0x78], rbx
sete al
mov qword [rdi + 0x110], rax
mov byte [rsi + 1], 0
jmp 0x1400878b6
mov byte [rsi + 1], 1
jmp 0x1400878a4
cmp dword [rsp + 0x34], 4
cmove ebp, dword [rsp + 0x30]
mov qword [rdi + 0x110], rbp
mov byte [rsi + 1], 0
xor ebx, ebx
jmp 0x1400878b6
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov bl, 1
mov byte [rsi], bl
mov rax, rsi
add rsp, 0x98
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x1400878cf
Capabilities:
Decrypt data via sspi

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x98
mov rdi, rdx
mov rsi, rcx
lea rbx, [rdx + 0x160]
mov rdx, qword [rdx + 0x178]
lea r8, str.C:UsersAdministrator.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rs
mov rcx, rbx
call fcn.14008622e
mov r9, rdx
lea r14, [rsp + 0x78]
mov ebp, 1
mov rcx, r14
mov edx, 1
mov r8, rax
call fcn.14009fc6e
lea r15, [rsp + 0x88]
mov rcx, r15
xor edx, edx
xor r8d, r8d
call fcn.14009fc6e
lea r12, [rsp + 0x68]
mov rcx, r12
xor edx, edx
xor r8d, r8d
call fcn.14009fc6e
lea r13, [rsp + 0x50]
mov rcx, r13
xor edx, edx
xor r8d, r8d
call fcn.14009fc6e
movups xmm0, xmmword [r14]
movaps xmmword [r13 - 0x30], xmm0
movups xmm0, xmmword [r15]
movaps xmmword [r13 - 0x20], xmm0
movups xmm0, xmmword [r12]
movaps xmmword [r13 - 0x10], xmm0
lea r14, [rsp + 0x68]
lea rdx, [rsp + 0x20]
mov r8d, 4
mov rcx, r14
call fcn.14009fc85
lea rcx, [rdi + 0x1f0]
mov rdx, r14
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.secur32.dll_DecryptMessage]
cmp eax, 0x80090318
je 0x140087a8d
test eax, eax
je 0x140087a0d
cmp eax, 0x90317
je 0x140087a87
cmp eax, 0x90321
jne 0x140087aa6
mov dword [rdi + 0x1d0], 0x10000
xor ebx, ebx
mov byte [rdi + 0x1d4], bl
cmp dword [rsp + 0x54], 5
mov rdx, qword [rdi + 0x178]
mov eax, 0
cmove eax, dword [rsp + 0x50]
sub rdx, rax
mov rcx, rdi
call fcn.140086931
and qword [rdi + 0x210], 0
mov byte [rsi + 1], bl
jmp 0x140087ab4
mov rdx, qword [rsp + 0x38]
sub rdx, qword [rdi + 0x168]
mov r8d, dword [rsp + 0x30]
add r8, rdx
lea r14, [rdi + 0x140]
and qword [rdi + 0x150], 0
mov rcx, rbx
call fcn.140085e3f
mov r8, rdx
mov rcx, r14
mov rdx, rax
call fcn.140117568
and qword [rdi + 0x158], 0
xor ebx, ebx
cmp dword [rsp + 0x54], 5
mov rdx, qword [rdi + 0x178]
mov eax, dword [rsp + 0x50]
cmovne eax, ebx
sub rdx, rax
mov rcx, rdi
call fcn.140086931
xor eax, eax
cmp qword [rdi + 0x178], rbx
sete al
mov qword [rdi + 0x210], rax
mov byte [rsi + 1], 0
jmp 0x140087ab4
mov byte [rsi + 1], 1
jmp 0x140087aa2
cmp dword [rsp + 0x34], 4
cmove ebp, dword [rsp + 0x30]
mov qword [rdi + 0x210], rbp
mov byte [rsi + 1], 0
xor ebx, ebx
jmp 0x140087ab4
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov bl, 1
mov byte [rsi], bl
mov rax, rsi
add rsp, 0x98
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x140087acd
Capabilities:
Encrypt data via sspi

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0xb8
mov eax, dword [r9 + 8]
cmp rax, r8
jb 0x140087c6e
mov r15, r8
mov r12, rdx
mov rsi, rcx
mov r14d, dword [r9]
mov edx, dword [r9 + 4]
lea rbx, [r14 + r8]
add rdx, rbx
lea rdi, [rcx + 0x80]
cmp qword [rcx + 0x90], rdx
jae 0x140087b1c
mov rcx, rdi
xor r8d, r8d
call fcn.14001ac0f
lea r9, str.C:UsersAdministrator.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rs
mov rcx, rdi
mov rdx, r14
mov r8, rbx
call fcn.140086244
lea rcx, str.C:UsersAdministrator.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rs
mov qword [rsp + 0x20], rcx
mov rcx, rax
mov r8, r12
mov r9, r15
call fcn.14009e568
lea r8, str.C:UsersAdministrator.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rs
mov rcx, rdi
mov rdx, r14
call fcn.14008622e
mov r9, rdx
lea r15, [rsp + 0x78]
mov rcx, r15
mov edx, 7
mov r8, rax
call fcn.14009fc6e
lea r9, str.C:UsersAdministrator.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rs
mov rcx, rdi
mov rdx, r14
mov r8, rbx
call fcn.140086244
mov r9, rdx
lea r14, [rsp + 0x88]
mov rcx, r14
mov edx, 1
mov r8, rax
call fcn.14009fc6e
lea r8, str.C:UsersAdministrator.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rs
mov rcx, rdi
mov rdx, rbx
call fcn.140085e29
mov r9, rdx
lea rbx, [rsp + 0x98]
mov rcx, rbx
mov edx, 6
mov r8, rax
call fcn.14009fc6e
lea r12, [rsp + 0x60]
mov rcx, r12
xor edx, edx
xor r8d, r8d
call fcn.14009fc6e
movups xmm0, xmmword [r15]
movaps xmmword [r12 - 0x30], xmm0
movups xmm0, xmmword [r14]
movaps xmmword [r12 - 0x20], xmm0
movups xmm0, xmmword [rbx]
movaps xmmword [r12 - 0x10], xmm0
lea rbx, [rsp + 0xa8]
lea rdx, [rsp + 0x30]
mov r8d, 4
mov rcx, rbx
call fcn.14009fc85
lea rcx, [rsi + 0xf0]
xor edx, edx
mov r8, rbx
xor r9d, r9d
call qword [sym.imp.secur32.dll_EncryptMessage]
test eax, eax
je 0x140087c3f
shl rax, 0x20
or rax, 2
jmp 0x140087c5d
mov edx, dword [rsp + 0x40]
add edx, dword [rsp + 0x30]
add edx, dword [rsp + 0x50]
mov rcx, rdi
call fcn.14009d898
and qword [rsi + 0x98], 0
xor eax, eax
add rsp, 0xb8
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea rcx, str.assertion_failed:_buf.len_____sizes.cbMaximumMessage_as_usize
lea r8, str.C:UsersAdministrator.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rs
mov edx, 0x3e
call fcn.14015d140
int3
Function at 0x140087c87
Capabilities:
Encrypt data via sspi

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0xb8
mov eax, dword [r9 + 8]
cmp rax, r8
jb 0x140087e28
mov r15, r8
mov r12, rdx
mov rsi, rcx
mov r14d, dword [r9]
mov edx, dword [r9 + 4]
lea rbx, [r14 + r8]
add rdx, rbx
lea rdi, [rcx + 0x180]
cmp qword [rcx + 0x190], rdx
jae 0x140087cd6
mov rcx, rdi
xor r8d, r8d
call fcn.14001ac0f
lea r9, str.C:UsersAdministrator.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rs
mov rcx, rdi
mov rdx, r14
mov r8, rbx
call fcn.140086244
lea rcx, str.C:UsersAdministrator.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rs
mov qword [rsp + 0x20], rcx
mov rcx, rax
mov r8, r12
mov r9, r15
call fcn.14009e568
lea r8, str.C:UsersAdministrator.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rs
mov rcx, rdi
mov rdx, r14
call fcn.14008622e
mov r9, rdx
lea r15, [rsp + 0x78]
mov rcx, r15
mov edx, 7
mov r8, rax
call fcn.14009fc6e
lea r9, str.C:UsersAdministrator.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rs
mov rcx, rdi
mov rdx, r14
mov r8, rbx
call fcn.140086244
mov r9, rdx
lea r14, [rsp + 0x88]
mov rcx, r14
mov edx, 1
mov r8, rax
call fcn.14009fc6e
lea r8, str.C:UsersAdministrator.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rs
mov rcx, rdi
mov rdx, rbx
call fcn.140085e29
mov r9, rdx
lea rbx, [rsp + 0x98]
mov rcx, rbx
mov edx, 6
mov r8, rax
call fcn.14009fc6e
lea r12, [rsp + 0x60]
mov rcx, r12
xor edx, edx
xor r8d, r8d
call fcn.14009fc6e
movups xmm0, xmmword [r15]
movaps xmmword [r12 - 0x30], xmm0
movups xmm0, xmmword [r14]
movaps xmmword [r12 - 0x20], xmm0
movups xmm0, xmmword [rbx]
movaps xmmword [r12 - 0x10], xmm0
lea rbx, [rsp + 0xa8]
lea rdx, [rsp + 0x30]
mov r8d, 4
mov rcx, rbx
call fcn.14009fc85
lea rcx, [rsi + 0x1f0]
xor edx, edx
mov r8, rbx
xor r9d, r9d
call qword [sym.imp.secur32.dll_EncryptMessage]
test eax, eax
je 0x140087df9
shl rax, 0x20
or rax, 2
jmp 0x140087e17
mov edx, dword [rsp + 0x40]
add edx, dword [rsp + 0x30]
add edx, dword [rsp + 0x50]
mov rcx, rdi
call fcn.14009d898
and qword [rsi + 0x198], 0
xor eax, eax
add rsp, 0xb8
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea rcx, str.assertion_failed:_buf.len_____sizes.cbMaximumMessage_as_usize
lea r8, str.C:UsersAdministrator.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rs
mov edx, 0x3e
call fcn.14015d140
int3