joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14007a93e
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0xf0
cmp rdx, 0xffffffffffffffff
je 0x14007ab3a
mov rdi, rdx
mov rsi, rcx
xorps xmm0, xmm0
lea rdx, [rsp + 0x70]
movaps xmmword [rdx + 0x70], xmm0
movaps xmmword [rdx + 0x60], xmm0
movaps xmmword [rdx + 0x50], xmm0
movaps xmmword [rdx + 0x40], xmm0
movaps xmmword [rdx + 0x30], xmm0
movaps xmmword [rdx + 0x20], xmm0
movaps xmmword [rdx + 0x10], xmm0
movaps xmmword [rdx], xmm0
lea r8, [rsp + 0x2c]
mov dword [r8], 0x80
mov rcx, rdi
call sub.ws2_32.dll_getpeername
cmp eax, 0xffffffff
je 0x14007a9ae
movsxd r8, dword [rsp + 0x2c]
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x70]
call fcn.1400f8410
jmp 0x14007a9c8
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
mov qword [rsp + 0x38], rax
mov word [rsp + 0x30], 2
xorps xmm0, xmm0
lea rdx, [rsp + 0x70]
movaps xmmword [rdx + 0x70], xmm0
movaps xmmword [rdx + 0x60], xmm0
movaps xmmword [rdx + 0x50], xmm0
movaps xmmword [rdx + 0x40], xmm0
movaps xmmword [rdx + 0x30], xmm0
movaps xmmword [rdx + 0x20], xmm0
movaps xmmword [rdx + 0x10], xmm0
movaps xmmword [rdx], xmm0
lea r8, [rsp + 0x2c]
mov dword [r8], 0x80
mov rcx, rdi
call sub.ws2_32.dll_getsockname
cmp eax, 0xffffffff
je 0x14007aac6
lea rdi, [rsp + 0x50]
movsxd r8, dword [rsp + 0x2c]
lea rdx, [rsp + 0x70]
mov rcx, rdi
call fcn.1400f8410
movzx eax, word [rdi - 0x20]
movzx ebx, word [rdi]
cmp ax, 2
je 0x14007ab01
cmp bx, 2
je 0x14007ab01
movups xmm0, xmmword [rsp + 0x30]
movups xmm1, xmmword [rsp + 0x40]
movaps xmmword [rsp + 0x80], xmm1
movaps xmmword [rsp + 0x70], xmm0
movups xmm0, xmmword [rdi]
movups xmm1, xmmword [rdi + 0x10]
movaps xmmword [rsp + 0x90], xmm0
movaps xmmword [rsp + 0xa0], xmm1
mov ecx, 0x40
mov edx, 4
call fcn.1401270b0
test rax, rax
je 0x14007ab54
movaps xmm0, xmmword [rsp + 0x70]
movaps xmm1, xmmword [rsp + 0x80]
movaps xmm2, xmmword [rsp + 0x90]
movaps xmm3, xmmword [rsp + 0xa0]
movups xmmword [rax + 0x30], xmm3
movups xmmword [rax + 0x20], xmm2
movups xmmword [rax + 0x10], xmm1
movups xmmword [rax], xmm0
mov qword [rsi], rax
lea rax, [0x140289420]
mov qword [rsi + 8], rax
mov word [rsi + 0x10], 1
jmp 0x14007ab2e
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
mov qword [rsp + 0x58], rax
mov word [rsp + 0x50], 2
cmp word [rsp + 0x30], 2
mov qword [rsi], 0
mov word [rsi + 0x10], 1
jne 0x14007ab24
lea rcx, [rsp + 0x38]
call fcn.1400089cb
jmp 0x14007ab24
mov qword [rsi], 0
mov word [rsi + 0x10], 1
cmp ax, 2
jne 0x14007ab1e
lea rcx, [rsp + 0x38]
call fcn.1400089cb
cmp bx, 2
jne 0x14007ab2e
lea rcx, [rsp + 0x58]
call fcn.1400089cb
nop
add rsp, 0xf0
pop rbx
pop rdi
pop rsi
ret
lea rcx, str.called__Option::unwrap____on_a__None__valuecalled__Result::unwrap____on_an__Err__value
lea r8, str.C:Userskylef.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.23.0_srciopoll_evented.rs
mov edx, 0x2b
call fcn.140237a10
ud2
mov ecx, 0x40
mov edx, 4
call fcn.140237540
ud2
Function at 0x140087ef9
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0xa0
mov rsi, rdx
mov rdi, rcx
xorps xmm0, xmm0
lea rcx, [rsp + 0x20]
movaps xmmword [rcx + 0x10], xmm0
movaps xmmword [rcx], xmm0
call fcn.14008a488
test rax, rax
je 0x140087f36
mov rcx, qword [0x1402fea40]
xor edx, edx
mov r8, rax
call qword [sym.imp.kernel32.dll_HeapFree]
jmp 0x140087f6f
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
lea rdx, [rsp + 0x40]
movaps xmmword [rdx + 0x10], xmm1
movaps xmmword [rdx], xmm0
lea rbx, [rsp + 0x70]
mov rcx, rbx
call fcn.140087f9b
movaps xmm0, xmmword [rbx]
movaps xmm1, xmmword [rbx + 0x10]
movaps xmm2, xmmword [rbx + 0x20]
movaps xmmword [rdi + 0x20], xmm2
movaps xmmword [rdi + 0x10], xmm1
movaps xmmword [rdi], xmm0
mov qword [rdi + 0x40], 0
mov rax, 0xffffffffffffff00
add rax, qword [rdi + 0x30]
mov qword [rdi + 0x38], rax
mov rcx, rdi
mov rdx, rsi
add rsp, 0xa0
pop rbx
pop rdi
pop rsi
jmp fcn.140087fed
Function at 0x14008a488
Capabilities:
Generate random numbers via winapi

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rdx, rcx
mov ebx, 0x20
xor esi, esi
mov r14d, 0xffffffff
mov r15, qword [sym.imp.bcrypt.dll_BCryptGenRandom]
test rbx, rbx
je 0x14008a501
cmp rbx, r14
mov r8d, 0xffffffff
cmovb r8, rbx
sub rbx, r8
lea r12, [rdx + r8]
xor ecx, ecx
mov r9d, 2
call r15
mov rdx, r12
cmp eax, 0xc0000000
jb 0x14008a4ac
mov edi, eax
xor edi, 0x80000000
je 0x14008a4ff
mov ecx, 4
mov edx, 4
call fcn.1401270b0
test rax, rax
je 0x14008a512
mov rsi, rax
mov dword [rax], edi
jmp 0x14008a501
xor esi, esi
mov rax, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov ecx, 4
mov edx, 4
call fcn.140237540
ud2

Function at 0x1400a0606
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, 0x178
mov qword [rsp + 0x40], r9
mov r13d, r8d
mov dword [rsp + 0x34], edx
mov qword [rsp + 0x50], rcx
mov rax, qword [rsp + 0x1f0]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x1e8]
mov qword [rsp + 0x48], rax
mov r14, qword [rsp + 0x1e0]
mov rbx, qword [r14 + 8]
mov r15d, dword [r14]
mov r12d, dword [r14 + 4]
mov rcx, qword [rbx + 0x18]
mov rdx, qword [rbx + 0x20]
mov r8d, r15d
mov r9d, r12d
call fcn.1400603d5
mov dil, byte [rax + 0x60]
mov rcx, qword [rbx + 0x18]
mov rdx, qword [rbx + 0x20]
mov r8d, r15d
mov r9d, r12d
call fcn.1400603d5
mov sil, byte [rax + 0x60]
mov rcx, qword [rbx + 0x18]
mov rdx, qword [rbx + 0x20]
mov r8d, r15d
mov r9d, r12d
call fcn.1400603d5
mov rbp, qword [rax + 0x88]
mov rcx, qword [rbx + 0x18]
mov rdx, qword [rbx + 0x20]
mov r8d, r15d
mov r9d, r12d
call fcn.1400603d5
cmp dil, 5
ja 0x1400a06be
cmp dil, 3
jne 0x1400a06f5
mov edi, dword [rax + 0xb8]
mov rcx, qword [rbx + 0x18]
mov rdx, qword [rbx + 0x20]
mov r8d, r15d
mov r9d, r12d
call fcn.1400609b1
lea rcx, [rax + 0x60]
mov edx, edi
mov r8d, dword [rsp + 0x34]
mov r9d, r13d
call fcn.140069f12
cmp sil, 5
ja 0x1400a0709
test rbp, rbp
jne 0x1400a0709
add rsp, 0x178
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rsi, qword [rsp + 0x50]
mov rcx, rsi
mov rdi, qword [rsp + 0x40]
mov rdx, rdi
mov r8, r14
call fcn.1400a0787
mov rcx, qword [rbx + 0x18]
mov rdx, qword [rbx + 0x20]
mov r8d, r15d
mov r9d, r12d
call fcn.1400603d5
mov eax, dword [rax + 0xb8]
lea rdx, [rsp + 0x58]
mov dword [rdx + 4], eax
mov eax, dword [rsp + 0x34]
mov dword [rdx + 8], eax
mov byte [rdx], 8
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov rcx, rsi
mov r8, rdi
mov r9, r14
call fcn.14009ed41
mov rcx, rsi
mov rdx, r14
mov r8, qword [rsp + 0x48]
add rsp, 0x178
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp fcn.140068b81
Function at 0x1400bd52b
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 + 0x20]
mov rdx, qword [rdx + 0x38]
cmp rdx, rcx
jb 0x1400bd6c0
mov rax, qword [rdi + 0x30]
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 + 0x60]
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.secur32.dll_DecryptMessage]
cmp eax, 0x90316
jg 0x1400bd636
cmp eax, 0x80090318
je 0x1400bd694
test eax, eax
jne 0x1400bd684
mov rcx, qword [rsp + 0x38]
mov rdx, qword [rdi + 0x30]
mov rax, qword [rdi + 0x38]
sub rcx, rdx
mov r8d, dword [rsp + 0x30]
mov r9, rcx
mov qword [rdi + 0x18], 0
add r9, r8
jb 0x1400bd6ce
cmp rax, r9
jb 0x1400bd6df
lea rax, [rdi + 8]
add rdx, rcx
mov rcx, rax
call fcn.14004353c
mov qword [rdi], 0
xor ebx, ebx
cmp dword [rsp + 0x54], 5
mov rdx, qword [rdi + 0x20]
mov eax, dword [rsp + 0x50]
cmovne eax, ebx
sub rdx, rax
mov rcx, rdi
call fcn.1400bd4a1
xor eax, eax
cmp qword [rdi + 0x20], 0
sete al
mov qword [rdi + 0xd8], rax
mov byte [rsi + 1], 0
jmp 0x1400bd6b6
cmp eax, 0x90317
je 0x1400bd6b0
cmp eax, 0x90321
jne 0x1400bd684
mov dword [rdi + 0x108], 0x10000
xor ebx, ebx
mov byte [rdi + 0x10c], bl
cmp dword [rsp + 0x54], 5
mov rdx, qword [rdi + 0x20]
mov eax, 0
cmove eax, dword [rsp + 0x50]
sub rdx, rax
mov rcx, rdi
call fcn.1400bd4a1
mov qword [rdi + 0xd8], 0
mov byte [rsi + 1], bl
jmp 0x1400bd6b6
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov bl, 1
jmp 0x1400bd6b6
cmp dword [rsp + 0x34], 4
mov eax, 1
cmove eax, dword [rsp + 0x30]
mov qword [rdi + 0xd8], rax
mov byte [rsi + 1], 0
jmp 0x1400bd6b4
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:Userskylef.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.20_src_tls_stream.rsC:Userskylef.cargo_registry_srcindex.crates.io_6f17d22bba15001f_bytes_1.3.0_src_buf_take.rsassertion_failed:_cnt___self.limit
call fcn.140237a00
ud2
lea r8, str.C:Userskylef.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.20_src_tls_stream.rsC:Userskylef.cargo_registry_srcindex.crates.io_6f17d22bba15001f_bytes_1.3.0_src_buf_take.rsassertion_failed:_cnt___self.limit
mov rdx, r9
call fcn.140237c90
ud2
lea r8, str.C:Userskylef.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.20_src_tls_stream.rsC:Userskylef.cargo_registry_srcindex.crates.io_6f17d22bba15001f_bytes_1.3.0_src_buf_take.rsassertion_failed:_cnt___self.limit
mov rcx, r9
mov rdx, rax
jmp 0x1400bd6c7
Function at 0x1400bd8f4
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 + 0x20]
mov rdx, qword [rdx + 0x38]
cmp rdx, rcx
jb 0x1400bda89
mov rax, qword [rdi + 0x30]
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 + 0x60]
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.secur32.dll_DecryptMessage]
cmp eax, 0x90316
jg 0x1400bd9ff
cmp eax, 0x80090318
je 0x1400bda5d
test eax, eax
jne 0x1400bda4d
mov rcx, qword [rsp + 0x38]
mov rdx, qword [rdi + 0x30]
mov rax, qword [rdi + 0x38]
sub rcx, rdx
mov r8d, dword [rsp + 0x30]
mov r9, rcx
mov qword [rdi + 0x18], 0
add r9, r8
jb 0x1400bda97
cmp rax, r9
jb 0x1400bdaa8
lea rax, [rdi + 8]
add rdx, rcx
mov rcx, rax
call fcn.14004353c
mov qword [rdi], 0
xor ebx, ebx
cmp dword [rsp + 0x54], 5
mov rdx, qword [rdi + 0x20]
mov eax, dword [rsp + 0x50]
cmovne eax, ebx
sub rdx, rax
mov rcx, rdi
call fcn.1400bd4a1
xor eax, eax
cmp qword [rdi + 0x20], 0
sete al
mov qword [rdi + 0x1d8], rax
mov byte [rsi + 1], 0
jmp 0x1400bda7f
cmp eax, 0x90317
je 0x1400bda79
cmp eax, 0x90321
jne 0x1400bda4d
mov dword [rdi + 0x208], 0x10000
xor ebx, ebx
mov byte [rdi + 0x20c], bl
cmp dword [rsp + 0x54], 5
mov rdx, qword [rdi + 0x20]
mov eax, 0
cmove eax, dword [rsp + 0x50]
sub rdx, rax
mov rcx, rdi
call fcn.1400bd4a1
mov qword [rdi + 0x1d8], 0
mov byte [rsi + 1], bl
jmp 0x1400bda7f
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov bl, 1
jmp 0x1400bda7f
cmp dword [rsp + 0x34], 4
mov eax, 1
cmove eax, dword [rsp + 0x30]
mov qword [rdi + 0x1d8], rax
mov byte [rsi + 1], 0
jmp 0x1400bda7d
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:Userskylef.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.20_src_tls_stream.rsC:Userskylef.cargo_registry_srcindex.crates.io_6f17d22bba15001f_bytes_1.3.0_src_buf_take.rsassertion_failed:_cnt___self.limit
call fcn.140237a00
ud2
lea r8, str.C:Userskylef.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.20_src_tls_stream.rsC:Userskylef.cargo_registry_srcindex.crates.io_6f17d22bba15001f_bytes_1.3.0_src_buf_take.rsassertion_failed:_cnt___self.limit
mov rdx, r9
call fcn.140237c90
ud2
lea r8, str.C:Userskylef.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.20_src_tls_stream.rsC:Userskylef.cargo_registry_srcindex.crates.io_6f17d22bba15001f_bytes_1.3.0_src_buf_take.rsassertion_failed:_cnt___self.limit
mov rcx, r9
mov rdx, rax
jmp 0x1400bda90
Function at 0x1400be2dc
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x88
movaps xmmword [rsp + 0x70], xmm6
test rcx, rcx
je 0x1400be30e
mov r8, qword [rcx + 8]
cmp qword [rcx], 0
mov qword [rcx], 0
jne 0x1400be49c
lea rcx, [0x1400051f5]
call fcn.14010af74
mov rsi, rax
mov rdi, rdx
movabs r15, 0x736f6d6570736575
xor r15, rax
movabs r12, 0x646f72616e646f6d
xor r12, rdx
movabs r13, 0x6c7967656e657261
xor r13, rax
movabs rbp, 0x7465646279746573
xor rbp, rdx
mov ebx, 1
lea r14, [rsp + 0x58]
xorps xmm6, xmm6
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], rdi
movups xmmword [r14], xmm6
mov qword [r14 + 0x10], 0
mov qword [rsp + 0x20], rbx
mov r8d, 8
lea rcx, [rsp + 0x28]
lea rdx, [rsp + 0x20]
call fcn.1400614a6
mov rax, qword [rsp + 0x38]
mov r9, qword [rsp + 0x58]
shl r9, 0x38
or r9, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x40]
mov r8, qword [rsp + 0x28]
add r8, rax
rol rax, 0xd
xor rcx, r9
xor rax, r8
rol r8, 0x20
mov rdx, qword [rsp + 0x30]
add rdx, rcx
rol rcx, 0x10
xor rcx, rdx
add r8, rcx
rol rcx, 0x15
add rdx, rax
rol rax, 0x11
xor rcx, r8
xor rax, rdx
rol rdx, 0x20
xor r8, r9
add r8, rax
rol rax, 0xd
xor rax, r8
rol r8, 0x20
xor rdx, 0xff
add rdx, rcx
rol rcx, 0x10
xor rcx, rdx
add r8, rcx
rol rcx, 0x15
add rdx, rax
rol rax, 0x11
xor rax, rdx
rol rdx, 0x20
xor rcx, r8
add r8, rax
rol rax, 0xd
xor rax, r8
rol r8, 0x20
add rdx, rcx
rol rcx, 0x10
xor rcx, rdx
add r8, rcx
rol rcx, 0x15
add rdx, rax
rol rax, 0x11
xor rax, rdx
rol rdx, 0x20
xor rcx, r8
add r8, rax
rol rax, 0xd
add rdx, rcx
rol rcx, 0x10
xor rcx, rdx
rol rcx, 0x15
xor rax, r8
add rdx, rax
rol rax, 0x11
mov r8, rdx
rol r8, 0x20
xor r8, rax
xor r8, rcx
inc rbx
xor r8, rdx
je 0x1400be361
mov eax, dword [0x1402feff8]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov qword [rax + 0x18], 1
mov qword [rax + 0x20], r8
movaps xmm6, xmmword [rsp + 0x70]
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x1400c468c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x40
mov rax, rdx
add rdx, 0x28
cmp qword [rax + 0x20], 0
je 0x1400c46d6
cmp qword [rax + 0x58], 0xffffffffffffffff
mov r8, qword [rax]
mov r9, qword [rax + 8]
mov r10, qword [rax + 0x10]
mov rax, qword [rax + 0x18]
je 0x1400c47d2
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r10
mov byte [rsp + 0x30], 0
jmp 0x1400c47e1
mov bl, byte [rax + 0x3a]
mov r10, qword [rax]
mov r9, qword [rax + 8]
mov r8, qword [rax + 0x28]
mov dil, byte [rax + 0x38]
xor r11d, r11d
test bl, bl
jne 0x1400c4807
mov esi, edi
xor sil, 1
mov byte [rax + 0x38], sil
test r8, r8
je 0x1400c4719
cmp r9, r8
jbe 0x1400c4713
cmp byte [r10 + r8], 0xbf
jg 0x1400c4719
jmp 0x1400c4819
jne 0x1400c4819
cmp r8, r9
je 0x1400c47e8
mov r15b, byte [r10 + r8]
movzx ebp, r15b
test bpl, bpl
jns 0x1400c478f
mov r14d, ebp
and r14d, 0x1f
movzx r12d, byte [r10 + r8 + 1]
and r12d, 0x3f
cmp bpl, 0xdf
jbe 0x1400c477c
movzx ebp, byte [r10 + r8 + 2]
shl r12d, 6
and ebp, 0x3f
or ebp, r12d
cmp r15b, 0xf0
jb 0x1400c4788
movzx r15d, byte [r10 + r8 + 3]
and r14d, 7
shl r14d, 0x12
shl ebp, 6
and r15d, 0x3f
or r15d, ebp
or r15d, r14d
mov ebp, r15d
jmp 0x1400c478f
shl r14d, 6
or r14d, r12d
mov ebp, r14d
jmp 0x1400c478f
shl r14d, 0xc
or ebp, r14d
test dil, dil
jne 0x1400c47f6
cmp ebp, 0x110000
je 0x1400c47ed
mov edi, 1
cmp ebp, 0x80
jb 0x1400c47c5
mov edi, 2
cmp ebp, 0x800
jb 0x1400c47c5
cmp ebp, 0x10000
mov edi, 4
sbb rdi, 0
add r8, rdi
mov qword [rdx], r8
mov edi, esi
jmp 0x1400c46eb
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r10
mov byte [rsp + 0x30], 1
call fcn.1400c4832
jmp 0x1400c480a
test dil, dil
jne 0x1400c47f9
mov byte [rax + 0x3a], 1
xor r11d, r11d
jmp 0x1400c4807
mov r9, r8
mov qword [rcx + 8], r9
mov qword [rcx + 0x10], r9
mov r11d, 1
mov qword [rcx], r11
add rsp, 0x40
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea rax, str._rustc_90c541806f23a127002de5b4038be731ba1458calibrarycore_src_strpattern.rs
mov qword [rsp + 0x20], rax
mov rcx, r10
mov rdx, r9
call fcn.140237f00
ud2
Function at 0x1400d334f
Capabilities:
Query or enumerate registry value

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x70
mov rbx, rdx
mov rsi, rcx
lea rax, [r8 + 0xb]
lea r14, [rsp + 0x38]
mov qword [r14], rax
mov qword [r14 + 8], r8
mov word [r14 + 0x10], 0
mov dword [r14 + 0x18], 1
lea r12, [rsp + 0x58]
mov rcx, r12
mov rdx, r14
call fcn.1400dfdfc
lea r13, [rsp + 0x30]
mov dword [r13], 0x800
lea r15, [rsp + 0x34]
mov dword [r15], 0
mov ecx, 0x800
call fcn.1400809c7
mov rdi, rdx
mov qword [r14], rax
mov qword [r14 + 8], rdx
mov qword [r14 + 0x10], 0
mov r12, qword [r12 + 8]
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rdi
mov rcx, rbx
mov rdx, r12
xor r8d, r8d
mov r9, r15
call sub.advapi32.dll_RegQueryValueExW
cmp eax, 0xea
jne 0x1400d3415
mov r8d, dword [rsp + 0x30]
mov rax, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x48]
sub rax, rdx
cmp rax, r8
jae 0x1400d33cd
mov rcx, r14
call fcn.14023770d
mov rdi, qword [rsp + 0x40]
jmp 0x1400d33cd
test eax, eax
jne 0x1400d3437
mov eax, dword [rsp + 0x30]
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x34]
cmp eax, 0xb
jbe 0x1400d3462
movabs rax, 0xde00000002
jmp 0x1400d343f
shl rax, 0x20
or rax, 2
mov qword [rsi], rax
mov byte [rsi + 0x18], 0xc
cmp qword [rsp + 0x38], 0
je 0x1400d3476
mov rcx, qword [0x1402fea40]
xor edx, edx
mov r8, rdi
call qword [sym.imp.kernel32.dll_HeapFree]
jmp 0x1400d3476
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 0x1400d3492
mov r8, qword [rsp + 0x60]
mov rcx, qword [0x1402fea40]
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapFree]
nop
add rsp, 0x70
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x1400dd7f0
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 0x1400dd84b
mov r10, qword [rsi + 8]
mov rcx, qword [rsi + 0x10]
cmp rcx, r10
jae 0x1400dd84b
movzx eax, byte [r9 + rcx]
cmp eax, 0x49
je 0x1400dd866
cmp eax, 0x42
jne 0x1400dd84b
lea r11, [rcx + 1]
mov qword [rsi + 0x10], r11
cmp r11, r10
jae 0x1400dd916
cmp byte [r9 + r11], 0x5f
jne 0x1400dd916
lea rax, [rcx + 2]
mov qword [rsi + 0x10], rax
xor eax, eax
jmp 0x1400dd97e
mov rcx, rsi
xor edx, edx
call fcn.1400d9270
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.1400d9270
test al, al
jne 0x1400dda11
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x1400dd8a2
lea rdx, [0x1402a3322]
mov r8d, 1
call fcn.140046800
test al, al
jne 0x1400dda11
mov rax, qword [rsi]
mov dil, 1
test rax, rax
je 0x1400dd85a
xor r14d, r14d
lea rbx, [0x1402a36ee]
nop word [rax + rax]
mov rcx, qword [rsi + 0x10]
cmp rcx, qword [rsi + 8]
jae 0x1400dd8d4
cmp byte [rax + rcx], 0x45
je 0x1400dda33
sub r14, 1
jb 0x1400dd8f9
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x1400dd8f9
mov r8d, 2
mov rdx, rbx
call fcn.140046800
test al, al
jne 0x1400dda11
mov rcx, rsi
call fcn.1400dda50
test al, al
jne 0x1400dda11
mov rax, qword [rsi]
test rax, rax
jne 0x1400dd8c0
jmp 0x1400dd85a
xor eax, eax
mov edi, 0x3e
nop dword [rax]
mov r8b, 1
cmp r11, r10
jae 0x1400dd9d8
movzx edx, byte [r9 + r11]
cmp dl, 0x5f
je 0x1400dd972
lea ebx, [rdx - 0x30]
cmp bl, 0xa
jb 0x1400dd95c
lea ebx, [rdx - 0x61]
cmp bl, 0x1a
jae 0x1400dd94b
add dl, 0xa9
jmp 0x1400dd95a
lea ebx, [rdx - 0x41]
cmp bl, 0x1a
jae 0x1400dd9d8
add dl, 0xe3
mov ebx, edx
inc r11
mov qword [rsi + 0x10], r11
mul rdi
jo 0x1400dd9d8
movzx edx, bl
add rax, rdx
jae 0x1400dd920
jmp 0x1400dd9d8
inc r11
mov qword [rsi + 0x10], r11
inc rax
je 0x1400dd9d8
cmp rax, rcx
jae 0x1400dd9d5
mov ecx, dword [rsi + 0x18]
inc ecx
cmp ecx, 0x1f4
ja 0x1400dda2b
cmp qword [rsi + 0x20], 0
je 0x1400dda3f
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.1400dd7f0
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm1
jmp 0x1400dd85c
mov r8b, 1
xor edi, edi
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x1400dda19
lea rax, [0x1402a36b9]
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.140046800
test al, al
je 0x1400dda19
mov dil, 2
jmp 0x1400dd85a
mov qword [rsi], 0
mov byte [rsi + 8], dil
xor edi, edi
jmp 0x1400dd85a
mov dil, 1
xor r8d, r8d
jmp 0x1400dd9da
inc rcx
mov qword [rsi + 0x10], rcx
jmp 0x1400dd85a
xor edi, edi
jmp 0x1400dd85a
Function at 0x1400e039f
Capabilities:
Get client handle via schannel
Get outbound credentials handle via credssp

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0xe8
xorps xmm0, xmm0
movaps xmmword [rsp + 0x70], xmm0
movups xmmword [rsp + 0xc8], xmm0
movups xmmword [rsp + 0xb8], xmm0
movups xmmword [rsp + 0xa8], xmm0
movups xmmword [rsp + 0x98], xmm0
mov dword [rsp + 0x88], 4
mov dword [rsp + 0xd0], 0x400010
mov rax, qword [rcx + 8]
test rax, rax
je 0x1400e0404
mov edx, dword [rcx + 0x10]
mov dword [rsp + 0xb0], edx
mov qword [rsp + 0xb8], rax
mov rax, qword [rcx + 0x20]
test rax, rax
je 0x1400e0441
mov rdx, qword [rcx + 0x28]
test rdx, rdx
je 0x1400e0436
xor r9d, r9d
lea r10, [0x1402d3640]
xor r8d, r8d
movzx r11d, byte [rax + r9]
or r8d, dword [r10 + r11*4]
inc r9
cmp rdx, r9
jne 0x1400e0423
jmp 0x1400e0439
xor r8d, r8d
mov dword [rsp + 0xc0], r8d
mov r14, qword [rcx + 0x40]
test r14, r14
je 0x1400e0481
xor edi, edi
mov rax, r14
shr rax, 0x3c
sete al
jne 0x1400e060b
mov rbx, qword [rcx + 0x38]
lea rsi, [r14*8]
mov dil, al
shl rdi, 3
test rsi, rsi
je 0x1400e04a1
mov rcx, rsi
mov rdx, rdi
call fcn.1401270b0
jmp 0x1400e04a4
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], 8
mov qword [rsp + 0x60], 0
mov eax, 8
xor ecx, ecx
jmp 0x1400e04d8
mov rax, rdi
test rax, rax
je 0x1400e0612
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], 0
xor ecx, ecx
mov rdx, qword [rbx + rcx*8]
mov qword [rax + rcx*8], rdx
inc rcx
add rsi, 0xfffffffffffffff8
jne 0x1400e04c2
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x60], rcx
mov dword [rsp + 0x8c], ecx
mov qword [rsp + 0x90], rax
lea rax, [0x1402fe8e0]
mov qword [rsp + 0x68], rax
mov rax, qword [0x1402fe8f8]
cmp rax, 3
jne 0x1400e05ca
mov rax, qword [rsp + 0x68]
mov rdx, qword [rax + 8]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x38], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
lea rax, [rsp + 0x88]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], 0
xor ecx, ecx
mov r8d, 2
xor r9d, r9d
call qword [sym.imp.secur32.dll_AcquireCredentialsHandleA]
test eax, eax
je 0x1400e0560
mov esi, eax
shl rsi, 0x20
or rsi, 2
mov edi, 1
jmp 0x1400e059b
mov rdi, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x78]
mov ecx, 0x20
mov edx, 8
call fcn.1401270b0
test rax, rax
je 0x1400e061a
mov rsi, rax
mov eax, 1
mov qword [rsi], rax
mov qword [rsi + 8], rax
mov qword [rsi + 0x10], rdi
mov qword [rsi + 0x18], rbx
xor edi, edi
cmp qword [rsp + 0x50], 0
je 0x1400e05b7
mov r8, qword [rsp + 0x58]
mov rcx, qword [0x1402fea40]
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapFree]
mov rax, rdi
mov rdx, rsi
add rsp, 0xe8
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rax, [rsp + 0x68]
lea rcx, [rsp + 0xd8]
mov qword [rcx], rax
lea r8, [rsp + 0xe0]
mov qword [r8], rcx
lea rax, str.C:Userskylef.cargo_registry_srcindex.crates.io_6f17d22bba15001flazy_static_1.4.0_srcinline_lazy.rs___
mov qword [rsp + 0x20], rax
lea rcx, [0x1402fe8f8]
lea r9, [0x1402a3c08]
xor edx, edx
call fcn.14023ad10
jmp 0x1400e0509
call fcn.14003f7b0
ud2
mov rcx, rsi
mov rdx, rdi
jmp 0x1400e0624
mov ecx, 0x20
mov edx, 8
call fcn.140237540
ud2