joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140009ca0
Capabilities:
Get disk information

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x240
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x140033138]
xor rax, rsp
mov qword [rsp + 0x238], rax
xor ebx, ebx
lea rcx, [rsp + 0x20]
mov r8d, 0x20a
xor edx, edx
call fcn.14000cba0
mov rcx, rdi
call fcn.14001433c
cmp rax, 0x104
ja 0x140009d1d
lea rbx, [rsp + 0x20]
mov r8d, 0x104
mov rcx, rbx
mov rdx, rdi
call fcn.140014804
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathStripToRootW]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
xor ecx, ecx
cmp eax, 3
sete cl
mov dword [rsi], ecx
mov ebx, 1
mov rcx, qword [rsp + 0x238]
xor rcx, rsp
call fcn.14000acd0
mov eax, ebx
add rsp, 0x240
pop rbx
pop rdi
pop rsi
ret

Function at 0x14000ba94
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rbp - 0x40], 0x4003c133
mov eax, dword [rbp - 0x80]
mov r10, qword [rbp - 0x58]
add eax, dword [rax - 0x75]
or byte [r11 + rcx*4 + 0x55], 0xa8
sub r10, 0xa
cqo
idiv r10
mov dword [rbp - 0x44], eax
mov rax, 0x1b
mov r10, qword [rbp - 0x68]
cqo
idiv r10
cli
mov r10d, edi
mov r11, rax
add r11, r10
mov r10d, edi
add r10d, r13d
cmp r11d, r10d
jb 0x14000ba9f
invalid
jmp 0x14000bad5
mov r10d, r11d
mov r10b, byte [r14 + r10]
mov byte [rbp - 0x31], r10b
movzx r10d, byte [rbp - 0x31]
mov r9d, dword [rbp - 0x44]
mov r8d, esi
add r8d, r9d
movzx r9d, r8b
xor r10d, r9d
mov byte [rbp - 0x31], r10b
mov r10d, r11d
mov r9b, byte [rbp - 0x31]
mov byte [r14 + r10], r9b
lea r11, [r11 + 1]
jmp 0x14000ba92
mov r10d, dword [rbp - 0x80]
lea r10, [r10 + 1]
mov dword [rbp - 0x80], r10d
mov r12, 0x400ce000
mov r10, qword [rbp - 0x70]
add qword [rbp - 0x40], r10
add r12, qword [rbp - 0x70]
mov r10, qword [rbp - 0x60]
add r10, qword [rbp - 0x58]
sub r10, 0xa
mov r9d, dword [rbp - 0x80]
cmp r10, r9
jge 0x14000ba5e
mov qword [rbp - 0x98], 0x4020d000
mov r10, qword [rbp - 0x58]

Function at 0x14000bae0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rbp - 0x40], 0x4003c133
mov eax, dword [rbp - 0x80]
mov r10, qword [rbp - 0x58]
add eax, dword [rax - 0x75]
or byte [r11 + rcx*4 + 0x55], 0xa8
sub r10, 0xa
cqo
idiv r10
mov dword [rbp - 0x44], eax
mov rax, 0x1b
mov r10, qword [rbp - 0x68]
cqo
idiv r10
cli
mov r10d, edi
mov r11, rax
add r11, r10
mov r10d, edi
add r10d, r13d
cmp r11d, r10d
jb 0x14000ba9f
invalid
jmp 0x14000bad5
mov r10d, r11d
mov r10b, byte [r14 + r10]
mov byte [rbp - 0x31], r10b
movzx r10d, byte [rbp - 0x31]
mov r9d, dword [rbp - 0x44]
mov r8d, esi
add r8d, r9d
movzx r9d, r8b
xor r10d, r9d
mov byte [rbp - 0x31], r10b
mov r10d, r11d
mov r9b, byte [rbp - 0x31]
mov byte [r14 + r10], r9b
lea r11, [r11 + 1]
jmp 0x14000ba92
mov r10d, dword [rbp - 0x80]
lea r10, [r10 + 1]
mov dword [rbp - 0x80], r10d
mov r12, 0x400ce000
mov r10, qword [rbp - 0x70]
add qword [rbp - 0x40], r10
add r12, qword [rbp - 0x70]
mov r10, qword [rbp - 0x60]
add r10, qword [rbp - 0x58]
sub r10, 0xa
mov r9d, dword [rbp - 0x80]
cmp r10, r9
jge 0x14000ba5e
mov qword [rbp - 0x98], 0x4020d000
mov r10, qword [rbp - 0x58]
Function at 0x14001091c
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140010a54
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x140010abb
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140010abb
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140010abb
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140010abb
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140010abb
cmp dword [rcx + 0x84], 0xe
jbe 0x140010abb
cmp dword [rcx + 0xf8], 0
je 0x140010abb
mov ecx, ebx
call fcn.1400109a0
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.140010be8
cmp dword [rbp + 0x20], 0
je 0x140010b08
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1400109fc
int3

Function at 0x140012cd0
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x140012cf0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1400115d4
or eax, 0xffffffff
jmp 0x140012cf2
xor eax, eax
add rsp, 0x28
ret
Function at 0x1407282c0
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.140728447
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x1407282f1
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1407282d7
add dl, dl
jne 0x1407282fe
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14072835e
xor eax, eax
add dl, dl
jne 0x14072830d
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140728415
add dl, dl
jne 0x14072831e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14072832b
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140728338
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140728345
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140728352
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1407282e6
mov eax, 1
add dl, dl
jne 0x14072836e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14072837b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140728363
sub eax, ebx
mov ebx, 1
jne 0x1407283b4
mov ecx, 1
add dl, dl
jne 0x140728396
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1407283a3
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14072838b
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1407282e6
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1407283d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1407283dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1407283c5
cmp eax, 0x7d00
jae 0x140728403
cmp eax, 0x500
jb 0x1407283fe
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1407282e6
cmp eax, 0x7f
ja 0x140728406
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1407282e6
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x14072843a
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x1407282e6
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x18000107d
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
sub rsp, 0x58
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]
movaps xmm9, xmmword [rdx]
movaps xmm10, xmmword [rdx + 0xa0]
movaps xmmword [rcx], xmm9
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
movaps xmmword [rcx + 0xa0], xmm10
movaps xmm6, xmmword [rsp]
movaps xmm7, xmmword [rsp + 0x10]
movaps xmm8, xmmword [rsp + 0x20]
movaps xmm9, xmmword [rsp + 0x30]
movaps xmm10, xmmword [rsp + 0x40]
add rsp, 0x58
ret
Function at 0x18001db10
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 0x18001dba0
cmp r10, r11
jb 0x18001dc16
cmp r10, rdx
ja 0x18001dc2a
add r11, r9
xor r15d, r15d
nop word cs:[rax + rax]
cmp r14, r15
je 0x18001dba2
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x18001db80
jmp 0x18001dc04
ja 0x18001dbaa
mov r11, r10
cmp rax, r8
jne 0x18001db44
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 0x18001dbe0
mov rdi, r8
sub ecx, edx
jns 0x18001dbfb
jmp 0x18001dc06
cmp r8, rsi
je 0x18001dc3b
movzx r8d, byte [rdi + 1]
add rdi, 2
and edx, 0x7f
shl edx, 8
or edx, r8d
sub ecx, edx
js 0x18001dc06
xor al, 1
cmp rdi, rsi
jne 0x18001dbc0
jmp 0x18001dc06
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.1800d7a20
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.1800d7790
ud2
lea rcx, str.called__Option::unwrap____on_a__None__value
lea r8, str.librarycore_srcunicodeprintable.rs
mov edx, 0x2b
call fcn.1800d7810
ud2
Function at 0x180021ae5
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 sub.SHELL32.dll_SHGetKnownFolderPath
mov rcx, qword [rdi]
test eax, eax
je 0x180021b19
call sub.ole32.dll_CoTaskMemFree
mov byte [rsi + 0x18], 2
jmp 0x180021b38
call sub.KERNEL32.dll_lstrlenW
movsxd r8, eax
mov rdx, qword [rsp + 0x20]
mov rcx, rsi
call fcn.1800ad4d0
mov rcx, qword [rsp + 0x20]
call sub.ole32.dll_CoTaskMemFree
nop
add rsp, 0x28
pop rdi
pop rsi
ret

Function at 0x18002a6a2
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.18002a6ed
test rbx, rbx
je 0x18002a6db
mov rdx, qword [rdi + 8]
mov r8, qword [rdi + 0x10]
mov rcx, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.18002a718
mov cl, byte [rdi + 8]
mov rdx, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.18002a710

Function at 0x18002a718
Capabilities:
Hash data using fnv

Disassembly:
mov rax, qword [rcx]
xor r9d, r9d
movabs r10, 0x100000001b3
cmp r8, r9
je 0x18002a73e
movzx r11d, byte [rdx + r9]
xor rax, r11
imul rax, r10
inc r9
jmp 0x18002a728
mov qword [rcx], rax
ret
Function at 0x18004637c
Capabilities:
Hash data using fnv

Disassembly:
movabs rax, 0xcbf29ce484222325
xor r8d, r8d
movabs r9, 0x100000001b3
cmp rdx, r8
je 0x1800463a9
movzx r10d, byte [rcx + r8]
xor rax, r10
imul rax, r9
inc r8
jmp 0x180046393
ret
Function at 0x180055b99
Capabilities:
Generate random numbers via rtlgenrandom
Generate random numbers via winapi

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
test rdx, rdx
je 0x180055c33
mov rdi, rdx
mov rbx, rcx
mov r12d, 0xffffffff
mov r13, qword [sym.imp.bcrypt.dll_BCryptGenRandom]
mov rsi, qword [sym.imp.ADVAPI32.dll_SystemFunction036]
test rdi, rdi
je 0x180055c33
mov r14, rbx
cmp rdi, r12
mov r15d, 0xffffffff
cmovb r15, rdi
add rbx, r15
sub rdi, r15
xor ecx, ecx
mov rdx, r14
mov r8d, r15d
mov r9d, 2
call r13
cmp eax, 0xc0000000
jb 0x180055bcc
mov ebp, eax
mov rcx, r14
mov edx, r15d
call rsi
test al, al
jne 0x180055bcc
xor ebp, 0x80000000
je 0x180055c33
mov al, byte [0x1801672d8]
mov ecx, 4
mov edx, 4
call fcn.180013190
test rax, rax
je 0x180055c46
mov dword [rax], ebp
jmp 0x180055c35
xor eax, eax
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov ecx, 4
mov edx, 4
call fcn.1800d73d0
ud2
Function at 0x180083e72
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..cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.22_src_tls_stream.rs
call fcn.180082ca0
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 0x180083f50
test eax, eax
je 0x180083f6c
cmp eax, 0x90317
je 0x180083fe4
cmp eax, 0x90321
jne 0x180083fec
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.180083e12
and qword [rdi + 0xf8], 0
mov byte [rsi + 1], bl
jmp 0x180083ffa
cmp dword [rsp + 0x34], 4
mov eax, 1
cmove eax, dword [rsp + 0x30]
mov qword [rdi + 0xf8], rax
mov byte [rsi + 1], 0
jmp 0x180083fe8
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.180084004
mov r8, rdx
mov rcx, rbx
mov rdx, rax
call fcn.180016314
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.180083e12
xor eax, eax
cmp qword [rdi + 0x98], rbx
sete al
mov qword [rdi + 0xf8], rax
mov byte [rsi + 1], 0
jmp 0x180083ffa
mov byte [rsi + 1], 1
xor ebx, ebx
jmp 0x180083ffa
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 0x18008429d
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..cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.22_src_tls_stream.rs
call fcn.180082ca0
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 0x180084381
test eax, eax
je 0x1800843a0
cmp eax, 0x90317
je 0x180084421
cmp eax, 0x90321
jne 0x180084429
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.18008423d
and qword [rdi + 0x1f8], 0
mov byte [rsi + 1], bl
jmp 0x180084437
cmp dword [rsp + 0x34], 4
mov eax, 1
cmove eax, dword [rsp + 0x30]
mov qword [rdi + 0x1f8], rax
mov byte [rsi + 1], 0
jmp 0x180084425
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.180084004
mov r8, rdx
mov rcx, rbx
mov rdx, rax
call fcn.180016314
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.18008423d
xor eax, eax
cmp qword [rdi + 0x198], rbx
sete al
mov qword [rdi + 0x1f8], rax
mov byte [rsi + 1], 0
jmp 0x180084437
mov byte [rsi + 1], 1
xor ebx, ebx
jmp 0x180084437
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 0x180084441
Capabilities:
Receive data
Receive data on socket

Disassembly:
cmp dword [rcx], 2
jne 0x180084453
add rcx, 8
jmp fcn.1800ccf17
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.1800845e5
mov rbx, rax
mov r14, rdx
lea r15, [rsp + 0x28]
mov rcx, rsi
call fcn.1800846bc
test rdx, rdx
jne 0x1800844f6
mov rcx, r15
mov rdx, rsi
call fcn.180082fd3
mov eax, dword [rsp + 0x28]
cmp eax, 2
je 0x180084585
test eax, eax
je 0x1800844f6
cmp qword [rsi + 0xf8], 0
je 0x1800844d9
mov rcx, r15
mov rdx, rsi
call fcn.180083c45
cmp qword [rsp + 0x28], 0
jne 0x180084585
cmp qword [rsp + 0x30], 0
je 0x1800844f6
and qword [rsi + 0xf8], 0
mov rcx, r15
mov rdx, rsi
call fcn.180083e72
cmp byte [rsp + 0x28], 0
jne 0x180084585
cmp byte [rsp + 0x29], 0
je 0x18008447f
mov rcx, rsi
call fcn.1800846bc
mov r15, rdx
test rax, rax
je 0x18008458a
mov r13, rax
cmp r14, r15
mov r12, r15
cmovb r12, r14
lea r9, str..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.18006abe6
mov rbx, rax
mov r14, rdx
lea r9, str..cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.22_src_tls_stream.rs
mov rcx, r12
mov rdx, r13
mov r8, r15
call fcn.18006abe6
mov r9, rdx
lea rcx, str..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.1800162e7
mov rax, qword [rsi + 0x78]
add rax, r12
cmp rax, qword [rsi + 0x70]
ja 0x1800845cb
mov qword [rsi + 0x78], rax
mov rcx, rdi
mov rdx, r12
call fcn.180084652
xor r15d, r15d
jmp 0x1800845b1
mov r15, qword [rsp + 0x30]
mov qword [rsp + 0x28], r15
mov rcx, r15
call fcn.18002c6e0
cmp al, 0xd
jne 0x1800845b1
and qword [rsi + 0x38], 0
lea rcx, [rsp + 0x28]
call fcn.180055c7e
mov eax, 1
jmp 0x1800845b8
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..cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.22_src_tls_stream.rs
mov edx, 0x3b
call fcn.1800d7810
ud2
Function at 0x18009b4cc
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 r14, rdx
mov rsi, rcx
lea rdi, [rsp + 0x50]
mov r8d, recv
mov rcx, rdi
mov rdx, rax
call fcn.18009b5fa
lea r13, [rsp + 0x30]
mov dword [r13], 0x800
lea r15, [rsp + 0x34]
and dword [r15], 0
mov ecx, 0x800
call fcn.1800cec71
mov rbx, rax
lea r12, [rsp + 0x38]
mov qword [r12], rax
mov qword [r12 + 8], rdx
and qword [r12 + 0x10], 0
mov rdi, qword [rdi]
mov rbp, qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rbx
mov rcx, r14
mov rdx, rdi
xor r8d, r8d
mov r9, r15
call rbp
cmp eax, 0xea
jne 0x18009b56e
mov edx, dword [rsp + 0x30]
mov rcx, r12
call fcn.180015fdc
mov rbx, qword [rsp + 0x38]
jmp 0x18009b53c
test eax, eax
jne 0x18009b590
mov eax, dword [rsp + 0x30]
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x34]
cmp eax, 0xb
jbe 0x18009b5ae
movabs rax, 0xde00000002
jmp 0x18009b598
shl rax, 0x20
or rax, 2
mov qword [rsi], rax
mov byte [rsi + 0x18], 0xc
mov rdx, qword [rsp + 0x40]
mov rcx, rbx
call fcn.180048dc8
jmp 0x18009b5c2
mov rcx, qword [rsp + 0x48]
mov qword [rsi + 0x10], rcx
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rsi], xmm0
mov byte [rsi + 0x18], al
mov rdx, qword [rsp + 0x58]
mov rcx, rdi
call fcn.1800d616a
nop
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x1800a57e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x48
mov rsi, rcx
mov r9, qword [rcx]
test r9, r9
je 0x1800a583b
mov r10, qword [rsi + 8]
mov rcx, qword [rsi + 0x10]
cmp rcx, r10
jae 0x1800a583b
movzx eax, byte [r9 + rcx]
cmp eax, 0x49
je 0x1800a5856
cmp eax, 0x42
jne 0x1800a583b
lea r11, [rcx + 1]
mov qword [rsi + 0x10], r11
cmp r11, r10
jae 0x1800a5906
cmp byte [r9 + r11], 0x5f
jne 0x1800a5906
lea rax, [rcx + 2]
mov qword [rsi + 0x10], rax
xor eax, eax
jmp 0x1800a596e
mov rcx, rsi
xor edx, edx
call fcn.1800a1110
mov edi, eax
add dil, dil
mov eax, edi
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r14
ret
inc rcx
mov qword [rsi + 0x10], rcx
mov rcx, rsi
xor edx, edx
call fcn.1800a1110
test al, al
jne 0x1800a5a01
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x1800a5892
lea rdx, [0x180132be2]
mov r8d, 1
call fcn.180019090
test al, al
jne 0x1800a5a01
mov rax, qword [rsi]
mov dil, 1
test rax, rax
je 0x1800a584a
xor r14d, r14d
lea rbx, [0x180132fc6]
nop word [rax + rax]
mov rcx, qword [rsi + 0x10]
cmp rcx, qword [rsi + 8]
jae 0x1800a58c4
cmp byte [rax + rcx], 0x45
je 0x1800a5a23
sub r14, 1
jb 0x1800a58e9
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x1800a58e9
mov r8d, 2
mov rdx, rbx
call fcn.180019090
test al, al
jne 0x1800a5a01
mov rcx, rsi
call fcn.1800a5a40
test al, al
jne 0x1800a5a01
mov rax, qword [rsi]
test rax, rax
jne 0x1800a58b0
jmp 0x1800a584a
xor eax, eax
mov edi, 0x3e
nop dword [rax]
mov r8b, 1
cmp r11, r10
jae 0x1800a59c8
movzx edx, byte [r9 + r11]
cmp dl, 0x5f
je 0x1800a5962
lea ebx, [rdx - 0x30]
cmp bl, 0xa
jb 0x1800a594c
lea ebx, [rdx - 0x61]
cmp bl, 0x1a
jae 0x1800a593b
add dl, 0xa9
jmp 0x1800a594a
lea ebx, [rdx - 0x41]
cmp bl, 0x1a
jae 0x1800a59c8
add dl, 0xe3
mov ebx, edx
inc r11
mov qword [rsi + 0x10], r11
mul rdi
jo 0x1800a59c8
movzx edx, bl
add rax, rdx
jae 0x1800a5910
jmp 0x1800a59c8
inc r11
mov qword [rsi + 0x10], r11
inc rax
je 0x1800a59c8
cmp rax, rcx
jae 0x1800a59c5
mov ecx, dword [rsi + 0x18]
inc ecx
cmp ecx, 0x1f4
ja 0x1800a5a1b
cmp qword [rsi + 0x20], 0
je 0x1800a5a2f
movups xmm0, xmmword [rsi]
movups xmm1, xmmword [rsi + 0x10]
movaps xmmword [rsp + 0x30], xmm1
movaps xmmword [rsp + 0x20], xmm0
mov qword [rsi + 0x10], rax
mov dword [rsi + 0x18], ecx
mov rcx, rsi
call fcn.1800a57e0
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm1
jmp 0x1800a584c
mov r8b, 1
xor edi, edi
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x1800a5a09
lea rax, [0x180132f91]
lea rdx, str.recursion_limit_reachedinvalid_syntax
test r8b, r8b
cmovne rdx, rax
xor r8b, 1
movzx eax, r8b
lea r8, [rax + rax*8]
or r8, 0x10
call fcn.180019090
test al, al
je 0x1800a5a09
mov dil, 2
jmp 0x1800a584a
mov qword [rsi], 0
mov byte [rsi + 8], dil
xor edi, edi
jmp 0x1800a584a
mov dil, 1
xor r8d, r8d
jmp 0x1800a59ca
inc rcx
mov qword [rsi + 0x10], rcx
jmp 0x1800a584a
xor edi, edi
jmp 0x1800a584a