joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800149d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, dword [rcx + 0x38]
mov rbx, rcx
mov edx, dword [rbx + 0x8c]
mov edi, dword [rbx + 0x50]
mov eax, dword [rbx + 0x94]
sub edi, edx
sub edi, eax
jne 0x180014a0e
test edx, edx
jne 0x180014a1d
test eax, eax
jne 0x180014a1d
mov edi, esi
jmp 0x180014aa2
cmp edi, 0xffffffff
jne 0x180014a1d
mov edi, 0xfffffffe
jmp 0x180014aa2
mov ecx, dword [rbx + 0x38]
add ecx, 0xfffffefa
add ecx, esi
cmp edx, ecx
jb 0x180014aa2
mov rcx, qword [rbx + 0x48]
mov r8, rsi
lea rdx, [rcx + rsi]
call fcn.180019130
mov r9d, dword [rbx + 0x6c]
mov rax, qword [rbx + 0x60]
sub dword [rbx + 0x90], esi
sub dword [rbx + 0x8c], esi
sub dword [rbx + 0x7c], esi
lea r8, [rax + r9*2]
xor eax, eax
lea r8, [r8 - 2]
movzx edx, word [r8]
movzx ecx, dx
sub cx, si
cmp edx, esi
cmovae ax, cx
mov word [r8], ax
dec r9d
jne 0x180014a57
mov rax, qword [rbx + 0x58]
mov r9d, esi
lea r8, [rax + rsi*2]
xor eax, eax
lea r8, [r8 - 2]
movzx edx, word [r8]
movzx ecx, dx
sub cx, si
cmp edx, esi
cmovae ax, cx
mov word [r8], ax
dec r9d
jne 0x180014a81
add edi, esi
mov rcx, qword [rbx]
cmp dword [rcx + 8], 0
je 0x180014b19
mov edx, dword [rbx + 0x94]
mov eax, dword [rbx + 0x8c]
mov r8d, edi
add rdx, rax
add rdx, qword [rbx + 0x48]
call fcn.180015494
add dword [rbx + 0x94], eax
mov r9d, dword [rbx + 0x94]
cmp r9d, 3
jb 0x180014b03
mov eax, dword [rbx + 0x8c]
mov rdx, qword [rbx + 0x48]
mov ecx, dword [rbx + 0x78]
movzx r8d, byte [rax + rdx]
mov dword [rbx + 0x68], r8d
shl r8d, cl
inc eax
movzx eax, byte [rax + rdx]
xor r8d, eax
and r8d, dword [rbx + 0x74]
mov dword [rbx + 0x68], r8d
cmp r9d, 0x106
jae 0x180014b19
mov rax, qword [rbx]
cmp dword [rax + 8], 0
jne 0x1800149ea
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x180018e34
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x30
cmp qword [0x180040550], 0
mov rbx, rcx
je 0x180018e8f
mov rcx, qword [0x180040548]
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
and dword [rsp + 0x48], 0
mov rcx, rbx
call fcn.180019730
mov rcx, qword [0x180040550]
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x48]
mov r8, rax
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [0x180040548]
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
add rsp, 0x30
pop rbx
ret
Function at 0x180018e9c
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rdx
mov qword [rax + 0x18], r8
mov qword [rax + 0x20], r9
push rbx
sub rsp, 0x430
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebx, 0x400
lea r9, str.__04x_
lea rcx, [rsp + 0x30]
lea r8d, [rbx - 1]
mov edx, ebx
mov dword [rsp + 0x20], eax
call fcn.180019050
lea rcx, [rsp + 0x30]
call fcn.180019730
lea r9, [rsp + 0x448]
lea r8d, [rbx - 3]
mov qword [rsp + 0x20], r9
mov r9, qword [rsp + 0x440]
lea rcx, [rsp + 0x30]
mov edx, ebx
sub r8, rax
add rcx, rax
sub rdx, rax
call fcn.18001c2d8
lea r8, [0x180028688]
lea rcx, [rsp + 0x30]
mov edx, ebx
call fcn.180019698
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea rcx, [rsp + 0x30]
call fcn.180018e34
add rsp, 0x430
pop rbx
ret
Function at 0x140011546
Capabilities:
Terminate process

Disassembly:
jmp 0x140022ed0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x1400116c7
Capabilities:
Parse pe header

Disassembly:
jmp 0x140021d80
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140021da0
xor al, al
jmp 0x140021e21
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140021db3
xor al, al
jmp 0x140021e21
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x140021ddd
xor al, al
jmp 0x140021e21
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140021df1
xor al, al
jmp 0x140021e21
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140021e03
xor al, al
jmp 0x140021e21
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140021e1f
xor al, al
jmp 0x140021e21
mov al, 1
add rsp, 0x38
ret
Function at 0x14000fe90
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 0x14000ff20
cmp r11, r10
ja 0x14000ff96
cmp r10, rdx
ja 0x14000ffaa
add r11, r9
xor r15d, r15d
nop word cs:[rax + rax]
cmp r14, r15
je 0x14000ff22
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x14000ff00
jmp 0x14000ff84
ja 0x14000ff2a
mov r11, r10
cmp rax, r8
jne 0x14000fec4
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 0x14000ff60
mov rdi, r8
sub ecx, edx
jns 0x14000ff7b
jmp 0x14000ff86
cmp r8, rsi
je 0x14000ffbb
movzx r8d, byte [rdi + 1]
add rdi, 2
and edx, 0x7f
shl edx, 8
or edx, r8d
sub ecx, edx
js 0x14000ff86
xor al, 1
cmp rdi, rsi
jne 0x14000ff40
jmp 0x14000ff86
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._d_r_
mov rcx, r11
mov rdx, r10
call fcn.1400cf5d0
ud2
lea r8, str._d_r_
mov rcx, r10
call fcn.1400cf340
ud2
lea rcx, str.called__Option::unwrap____on_a__None__value
lea r8, str.librarycore_srcunicodeprintable.rs
mov edx, 0x2b
call fcn.1400cf3b0
ud2
Function at 0x140022864
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 0x14002289a
mov r10d, 8
sub r10, r11
cmp r8, r10
mov rdi, r10
cmovb rdi, r8
cmp rdi, 3
jbe 0x1400228a2
mov esi, dword [rdx]
mov r9d, 4
jmp 0x1400228a7
xor r10d, r10d
jmp 0x140022955
xor esi, esi
xor r9d, r9d
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jae 0x1400228ca
movzx ebx, word [rdx + r9]
lea ecx, [r9*8]
shl rbx, cl
or rsi, rbx
or r9, 2
cmp r9, rdi
jae 0x1400228e1
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 0x140022901
add r11, r8
jmp 0x140022a25
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 0x1400229c9
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 0x140022977
mov qword [rax + 0x18], rdi
mov qword [rax + 0x10], rsi
mov qword [rax + 8], r9
mov qword [rax], rcx
cmp r11d, 3
jbe 0x1400229db
mov r9d, dword [rdx + r10]
mov r8d, 4
jmp 0x1400229e1
xor r9d, r9d
xor r8d, r8d
mov rcx, r8
or rcx, 1
cmp rcx, r11
jae 0x140022a07
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 0x140022a21
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 0x140022a2d
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 0x140022adf
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.140022864
test rdi, rdi
je 0x140022b58
mov rdx, qword [rsi + 8]
mov r8, qword [rsi + 0x10]
lea rcx, [rsp + 0x30]
jmp 0x140022b6f
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 0x140022b06
test rdx, rdx
je 0x140022c64
mov rdx, qword [rsi + 0x10]
test rdx, rdx
je 0x140022c85
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 0x140022b3c
jmp 0x140022c85
movzx eax, byte [rsi + 8]
lea rdx, [rsp + 0x28]
mov qword [rdx], rax
lea rcx, [rsp + 0x30]
mov r8d, 8
call fcn.140022864
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 0x140022c85
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 0x140022c6f
and eax, 0x7fff
add rsp, 0x78
pop rdi
pop rsi
ret
Function at 0x140035876
Capabilities:
Set socket configuration

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xe0
mov rbx, r9
mov r15, r8
mov r14, rdx
mov rsi, rcx
cmp word [rdx], 0
mov eax, 2
mov edi, 0x17
cmove edi, eax
mov rax, qword [0x140161100]
cmp rax, 3
jne 0x140035bb5
mov dword [rsp + 0x28], 0x81
mov dword [rsp + 0x20], 0
mov ecx, edi
mov edx, 1
mov r8d, 6
xor r9d, r9d
call sub.ws2_32.dll_WSASocketW
cmp rax, 0xffffffffffffffff
cmp eax, 0xffffffff
lea rax, [rsp + 0x54]
mov byte [rax], 1
lea r8, [rsp + 0x58]
mov qword [r8], rax
lea rax, str.C:Users29281.cargo_registry_srcindex.crates.io_6f17d22bba15001f_socket2_0.4.9_src_syswindows.rs
mov qword [rsp + 0x20], rax
lea rcx, [0x140161100]
lea r9, [0x14012a3b8]
xor edx, edx
call fcn.1400d20a0
jmp 0x1400358b5

Function at 0x1400385cb
Capabilities:
Encrypt data using speck
Parse credit card information
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, 0x248
movaps xmmword [rsp + 0x230], xmm6
mov qword [rsp + 0x1f0], rcx
test r9, r9
je 0x140038734
lea rax, [r8 + r9]
xor r14d, r14d
movaps xmm0, xmmword [0x1400d4730]
mov rcx, r8

Function at 0x140043179
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 r12, r9
mov rsi, rdx
mov rdi, rcx
mov qword [rdx + 0x38], r8
lea rbx, [rsp + 0x28]
mov rcx, rbx
call fcn.1400519f5
mov eax, dword [rbx]
cmp eax, 2
jne case.default.0x1400431c2
mov rbx, qword [rsp + 0x30]
mov eax, ebx
and eax, 3
lea rcx, [0x140156ed8]
movsxd rax, dword [rcx + rax*4]
add rax, rcx
add eax, ecx
test eax, eax
je 0x1400432f4
add byte [rax], al
movabs rbx, 0x8009031700000002
mov eax, ebx
and eax, 3
lea rcx, [0x140156ed8]
Function at 0x140043671
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 r12, r9
mov rsi, rdx
mov rdi, rcx
mov qword [rdx + 0x138], r8
lea rbx, [rsp + 0x28]
mov rcx, rbx
call fcn.140052b6d
mov eax, dword [rbx]
cmp eax, 2
jne case.default.0x1400436bd
mov rbx, qword [rsp + 0x30]
mov eax, ebx
and eax, 3
lea rcx, [0x140156ef8]
movsxd rax, dword [rcx + rax*4]
add rax, rcx
jmp rax
test eax, eax
je 0x1400437ef
mov rbp, qword [rsi + 0x1b8]
cmp rbp, qword [rsi + 0x1b0]
jne 0x14004383c
mov rax, qword [rsp + 0xe0]
mov r15d, dword [rsp + 0x2c]
mov r14, qword [rsp + 0x30]
mov edx, r14d
shr r14, 0x20
cmp rax, r14
cmovb r14, rax
lea r13, [r14 + r15]
add rdx, r13
lea rax, [rsi + 0x1a0]
cmp rbp, rdx
jae 0x140043723
mov rbp, rax
mov rcx, rax
call fcn.140009d2d
mov rax, rbp
mov rbp, qword [rsi + 0x1b0]
cmp rbp, r13
jb 0x1400438ed
mov rcx, qword [rax]
add rcx, r15
mov rdx, r12
mov r8, r14
call sub.VCRUNTIME140.dll_memcpy
cmp rbp, r15
jb 0x1400438f9
mov rdx, qword [rsi + 0x1b0]
cmp rdx, r13
jb 0x140043908
mov rax, qword [rsi + 0x1a0]
lea rcx, [rax + r15]
sub edx, r13d
add r13, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x2c], 7
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x38], r14d
mov dword [rsp + 0x3c], 1
mov qword [rsp + 0x40], rcx
mov dword [rsp + 0x48], edx
mov dword [rsp + 0x4c], 6
mov qword [rsp + 0x50], r13
movabs rax, 0x400000000
lea r8, [rsp + 0x68]
mov qword [r8], rax
mov qword [r8 + 8], rbx
lea rcx, [rsi + 0x1c0]
xor edx, edx
xor r9d, r9d
call qword [sym.imp.secur32.dll_EncryptMessage]
test eax, eax
je 0x14004380e
mov ebx, eax
shl rbx, 0x20
or rbx, 2
mov eax, ebx
and eax, 3
lea rcx, [0x140156ef8]
movsxd rax, dword [rcx + rax*4]
add rax, rcx
jmp rax
movabs rbx, 0x8009031700000002
mov eax, ebx
and eax, 3
lea rcx, [0x140156ef8]
movsxd rax, dword [rcx + rax*4]
add rax, rcx
jmp rax
mov eax, dword [rsp + 0x38]
add eax, dword [rsp + 0x28]
add eax, dword [rsp + 0x48]
cmp qword [rsi + 0x1b0], rax
jb 0x14004382a
mov qword [rsi + 0x1b0], rax
mov qword [rsi + 0x1b8], 0
lea r8, str.C:Users29281.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.22_src_tls_stream.rsassertion_failed:_pos___self.dec_in.get_ref__.len___as_u640_
mov rcx, r13
jmp 0x140043903
lea r8, str.C:Users29281.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.22_src_tls_stream.rsassertion_failed:_pos___self.dec_in.get_ref__.len___as_u640_
mov rcx, r15
mov rdx, rbp
jmp 0x140043912
lea r8, str.C:Users29281.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.22_src_tls_stream.rsassertion_failed:_pos___self.dec_in.get_ref__.len___as_u640_
mov rcx, r13
call fcn.1400cf340
ud2
mov ecx, 8
invalid
jo case.0x140064ee9.34
invalid
Function at 0x14005262c
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 0x1400527d4
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 qword [sym.imp.secur32.dll_DecryptMessage]
cmp eax, 0x90316
jg 0x14005274d
cmp eax, 0x80090318
je 0x1400527a8
test eax, eax
jne 0x140052798
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 0x1400527e2
cmp rax, r9
jb 0x1400527f3
lea rax, [rdi + 0x60]
add rdx, rcx
mov rcx, rax
call fcn.14001b60d
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.14005298f
xor eax, eax
cmp qword [rdi + 0x98], 0
sete al
mov qword [rdi + 0xf8], rax
mov byte [rsi + 1], 0
jmp 0x1400527ca
cmp eax, 0x90317
je 0x1400527c4
cmp eax, 0x90321
jne 0x140052798
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.14005298f
mov qword [rdi + 0xf8], 0
mov byte [rsi + 1], bl
jmp 0x1400527ca
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov bl, 1
jmp 0x1400527ca
cmp dword [rsp + 0x34], 4
mov eax, 1
cmove eax, dword [rsp + 0x30]
mov qword [rdi + 0xf8], rax
mov byte [rsi + 1], 0
jmp 0x1400527c8
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.C:Users29281.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.22_src_tls_stream.rsassertion_failed:_pos___self.dec_in.get_ref__.len___as_u640_
call fcn.1400cf340
ud2
lea r8, str.C:Users29281.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.22_src_tls_stream.rsassertion_failed:_pos___self.dec_in.get_ref__.len___as_u640_
mov rdx, r9
call fcn.1400cf5d0
ud2
lea r8, str.C:Users29281.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.22_src_tls_stream.rsassertion_failed:_pos___self.dec_in.get_ref__.len___as_u640_
mov rcx, r9
mov rdx, rax
jmp 0x1400527db
Function at 0x1400537c7
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 0x140053981
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 qword [sym.imp.secur32.dll_DecryptMessage]
cmp eax, 0x90316
jg 0x1400538f4
cmp eax, 0x80090318
je 0x140053955
test eax, eax
jne 0x140053945
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 0x14005398f
cmp rax, r9
jb 0x1400539a0
lea rax, [rdi + 0x160]
add rdx, rcx
mov rcx, rax
call fcn.14001b60d
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.140053b56
xor eax, eax
cmp qword [rdi + 0x198], 0
sete al
mov qword [rdi + 0x1f8], rax
mov byte [rsi + 1], 0
jmp 0x140053977
cmp eax, 0x90317
je 0x140053971
cmp eax, 0x90321
jne 0x140053945
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.140053b56
mov qword [rdi + 0x1f8], 0
mov byte [rsi + 1], bl
jmp 0x140053977
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov bl, 1
jmp 0x140053977
cmp dword [rsp + 0x34], 4
mov eax, 1
cmove eax, dword [rsp + 0x30]
mov qword [rdi + 0x1f8], rax
mov byte [rsi + 1], 0
jmp 0x140053975
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.C:Users29281.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.22_src_tls_stream.rsassertion_failed:_pos___self.dec_in.get_ref__.len___as_u640_
call fcn.1400cf340
ud2
lea r8, str.C:Users29281.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.22_src_tls_stream.rsassertion_failed:_pos___self.dec_in.get_ref__.len___as_u640_
mov rdx, r9
call fcn.1400cf5d0
ud2
lea r8, str.C:Users29281.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.22_src_tls_stream.rsassertion_failed:_pos___self.dec_in.get_ref__.len___as_u640_
mov rcx, r9
mov rdx, rax
jmp 0x140053988
Function at 0x14005fb6b
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, 0x68
mov rax, r8
mov rbx, rdx
mov rsi, rcx
lea r12, [rsp + 0x50]
mov r8d, 0xb
mov rcx, r12
mov rdx, rax
call fcn.1400769b1
lea r13, [rsp + 0x30]
mov dword [r13], 0x800
lea r14, [rsp + 0x34]
mov dword [r14], 0
mov ecx, 0x800
call fcn.1400c55c5
mov rdi, rax
lea r15, [rsp + 0x38]
mov qword [r15], rax
mov qword [r15 + 8], rdx
mov qword [r15 + 0x10], 0
mov r12, qword [r12]
mov rbp, qword [sym.imp.advapi32.dll_RegQueryValueExW]
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rdi
mov rcx, rbx
mov rdx, r12
xor r8d, r8d
mov r9, r14
call rbp
cmp eax, 0xea
jne 0x14005fc24
mov r8d, dword [rsp + 0x30]
mov rax, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
sub rax, rdx
cmp rax, r8
jae 0x14005fbdf
mov rcx, r15
call fcn.1400cf8a0
mov rdi, qword [rsp + 0x38]
jmp 0x14005fbdf
test eax, eax
jne 0x14005fc46
mov eax, dword [rsp + 0x30]
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x34]
cmp eax, 0xb
jbe 0x14005fc71
movabs rax, 0xde00000002
jmp 0x14005fc4e
shl rax, 0x20
or rax, 2
mov qword [rsi], rax
mov byte [rsi + 0x18], 0xc
cmp qword [rsp + 0x40], 0
je 0x14005fc85
mov rcx, qword [0x1401611e0]
xor edx, edx
mov r8, rdi
call qword [sym.imp.kernel32.dll_HeapFree]
jmp 0x14005fc85
mov rcx, qword [rsp + 0x48]
mov qword [rsi + 0x10], rcx
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rsi], xmm0
mov byte [rsi + 0x18], al
cmp qword [rsp + 0x58], 0
je 0x14005fca1
mov r8, qword [rsp + 0x50]
mov rcx, qword [0x1401611e0]
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapFree]
nop
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret