joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180021186
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, [0x1801508e8]
mov ebx, 0xff
lea rsi, str..cargo_registry_srcindex.crates.io_6f17d22bba15001fcrc32fast_1.3.2_src_baseline.rs
cmp r9, 0x40
jb 0x1800212b6
mov r14d, 4
sub r14, 1
jb 0x1800211ab
cmp r9, 0xf
jbe 0x1800212e3
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.1800217d6
mov r9, rdx
mov ecx, ebp
jmp 0x1800211bb
xor edx, edx
cmp r9, rdx
je 0x1800212d4
mov r8b, byte [rax + rdx]
xor r8b, cl
movzx r8d, r8b
shr ecx, 8
xor ecx, dword [rdi + r8*4]
inc rdx
jmp 0x1800212b8
not ecx
mov eax, ecx
add rsp, 0x20
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
lea r8, str..cargo_registry_srcindex.crates.io_6f17d22bba15001fcrc32fast_1.3.2_src_baseline.rs
mov ecx, recv
mov rdx, r9
call fcn.180146780
ud2
Function at 0x18002cb72
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.18002cbbd
test rbx, rbx
je 0x18002cbab
mov rdx, qword [rdi + 8]
mov r8, qword [rdi + 0x10]
mov rcx, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.18002cbe8
mov cl, byte [rdi + 8]
mov rdx, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.18002cbe0

Function at 0x18002cbe8
Capabilities:
Hash data using fnv

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

Disassembly:
movabs rax, 0xcbf29ce484222325
xor r8d, r8d
movabs r9, 0x100000001b3
cmp rdx, r8
je 0x18005ccaa
movzx r10d, byte [rcx + r8]
xor rax, r10
imul rax, r9
inc r8
jmp 0x18005cc94
ret
Function at 0x18006b866
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
mov rdi, rcx
mov r12d, 0x20
mov r13d, 0xffffffff
mov rbp, qword [sym.imp.bcrypt.dll_BCryptGenRandom]
mov rsi, qword [sym.imp.ADVAPI32.dll_SystemFunction036]
test r12, r12
je 0x18006b8f9
mov r14, rdi
cmp r12, r13
mov r15d, 0xffffffff
cmovb r15, r12
add rdi, r15
sub r12, r15
xor ecx, ecx
mov rdx, r14
mov r8d, r15d
mov r9d, 2
call rbp
cmp eax, 0xc0000000
jb 0x18006b893
mov ebx, eax
mov rcx, r14
mov edx, r15d
call rsi
test al, al
jne 0x18006b893
xor ebx, 0x80000000
je 0x18006b8f9
mov al, byte [0x180200ed0]
mov ecx, 4
mov edx, 4
call fcn.180010e40
test rax, rax
je 0x18006b90c
mov dword [rax], ebx
jmp 0x18006b8fb
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.180146460
ud2
Function at 0x180099afb
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.180098929
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 0x180099bd9
test eax, eax
je 0x180099bf5
cmp eax, 0x90317
je 0x180099c6d
cmp eax, 0x90321
jne 0x180099c75
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.180099a9b
and qword [rdi + 0xf8], 0
mov byte [rsi + 1], bl
jmp 0x180099c83
cmp dword [rsp + 0x34], 4
mov eax, 1
cmove eax, dword [rsp + 0x30]
mov qword [rdi + 0xf8], rax
mov byte [rsi + 1], 0
jmp 0x180099c71
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.180099c8d
mov r8, rdx
mov rcx, rbx
mov rdx, rax
call fcn.180012694
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.180099a9b
xor eax, eax
cmp qword [rdi + 0x98], rbx
sete al
mov qword [rdi + 0xf8], rax
mov byte [rsi + 1], 0
jmp 0x180099c83
mov byte [rsi + 1], 1
xor ebx, ebx
jmp 0x180099c83
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 0x180099edb
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.180098929
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 0x180099fbf
test eax, eax
je 0x180099fde
cmp eax, 0x90317
je 0x18009a05f
cmp eax, 0x90321
jne 0x18009a067
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.180099e7b
and qword [rdi + 0x1f8], 0
mov byte [rsi + 1], bl
jmp 0x18009a075
cmp dword [rsp + 0x34], 4
mov eax, 1
cmove eax, dword [rsp + 0x30]
mov qword [rdi + 0x1f8], rax
mov byte [rsi + 1], 0
jmp 0x18009a063
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.180099c8d
mov r8, rdx
mov rcx, rbx
mov rdx, rax
call fcn.180012694
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.180099e7b
xor eax, eax
cmp qword [rdi + 0x198], rbx
sete al
mov qword [rdi + 0x1f8], rax
mov byte [rsi + 1], 0
jmp 0x18009a075
mov byte [rsi + 1], 1
xor ebx, ebx
jmp 0x18009a075
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 0x18009a07f
Capabilities:
Receive data
Receive data on socket

Disassembly:
cmp dword [rcx], 2
jne 0x18009a091
add rcx, 8
jmp fcn.1800e6b07
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.18009a223
mov rbx, rax
mov r14, rdx
lea r15, [rsp + 0x28]
mov rcx, rsi
call fcn.18009a2fa
test rdx, rdx
jne 0x18009a134
mov rcx, r15
mov rdx, rsi
call fcn.180098c5c
mov eax, dword [rsp + 0x28]
cmp eax, 2
je 0x18009a1c3
test eax, eax
je 0x18009a134
cmp qword [rsi + 0xf8], 0
je 0x18009a117
mov rcx, r15
mov rdx, rsi
call fcn.1800998ce
cmp qword [rsp + 0x28], 0
jne 0x18009a1c3
cmp qword [rsp + 0x30], 0
je 0x18009a134
and qword [rsi + 0xf8], 0
mov rcx, r15
mov rdx, rsi
call fcn.180099afb
cmp byte [rsp + 0x28], 0
jne 0x18009a1c3
cmp byte [rsp + 0x29], 0
je 0x18009a0bd
mov rcx, rsi
call fcn.18009a2fa
mov r15, rdx
test rax, rax
je 0x18009a1c8
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.1800499e3
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.1800499e3
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.180012667
mov rax, qword [rsi + 0x78]
add rax, r12
cmp rax, qword [rsi + 0x70]
ja 0x18009a209
mov qword [rsi + 0x78], rax
mov rcx, rdi
mov rdx, r12
call fcn.18009a290
xor r15d, r15d
jmp 0x18009a1ef
mov r15, qword [rsp + 0x30]
mov qword [rsp + 0x28], r15
mov rcx, r15
call fcn.180001a64
cmp al, 0xd
jne 0x18009a1ef
and qword [rsi + 0x38], 0
lea rcx, [rsp + 0x28]
call fcn.18006b95e
mov eax, 1
jmp 0x18009a1f6
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.180146900
ud2
Function at 0x1800b0f7c
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.1800b10aa
lea r13, [rsp + 0x30]
mov dword [r13], 0x800
lea r15, [rsp + 0x34]
and dword [r15], 0
mov ecx, 0x800
call fcn.1800e9bdc
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 0x1800b101e
mov edx, dword [rsp + 0x30]
mov rcx, r12
call fcn.18001235c
mov rbx, qword [rsp + 0x38]
jmp 0x1800b0fec
test eax, eax
jne 0x1800b1040
mov eax, dword [rsp + 0x30]
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x34]
cmp eax, 0xb
jbe 0x1800b105e
movabs rax, 0xde00000002
jmp 0x1800b1048
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.18002a11b
jmp 0x1800b1072
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.180027868
nop
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x1800bba90
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 0x1800bbaeb
mov r10, qword [rsi + 8]
mov rcx, qword [rsi + 0x10]
cmp rcx, r10
jae 0x1800bbaeb
movzx eax, byte [r9 + rcx]
cmp eax, 0x49
je 0x1800bbb06
cmp eax, 0x42
jne 0x1800bbaeb
lea r11, [rcx + 1]
mov qword [rsi + 0x10], r11
cmp r11, r10
jae 0x1800bbbb6
cmp byte [r9 + r11], 0x5f
jne 0x1800bbbb6
lea rax, [rcx + 2]
mov qword [rsi + 0x10], rax
xor eax, eax
jmp 0x1800bbc1e
mov rcx, rsi
xor edx, edx
call fcn.1800b73c0
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.1800b73c0
test al, al
jne 0x1800bbcb1
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x1800bbb42
lea rdx, [0x1801c33da]
mov r8d, 1
call fcn.180015370
test al, al
jne 0x1800bbcb1
mov rax, qword [rsi]
mov dil, 1
test rax, rax
je 0x1800bbafa
xor r14d, r14d
lea rbx, [0x1801c37be]
nop word [rax + rax]
mov rcx, qword [rsi + 0x10]
cmp rcx, qword [rsi + 8]
jae 0x1800bbb74
cmp byte [rax + rcx], 0x45
je 0x1800bbcd3
sub r14, 1
jb 0x1800bbb99
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x1800bbb99
mov r8d, 2
mov rdx, rbx
call fcn.180015370
test al, al
jne 0x1800bbcb1
mov rcx, rsi
call fcn.1800bbcf0
test al, al
jne 0x1800bbcb1
mov rax, qword [rsi]
test rax, rax
jne 0x1800bbb60
jmp 0x1800bbafa
xor eax, eax
mov edi, 0x3e
nop dword [rax]
mov r8b, 1
cmp r11, r10
jae 0x1800bbc78
movzx edx, byte [r9 + r11]
cmp dl, 0x5f
je 0x1800bbc12
lea ebx, [rdx - 0x30]
cmp bl, 0xa
jb 0x1800bbbfc
lea ebx, [rdx - 0x61]
cmp bl, 0x1a
jae 0x1800bbbeb
add dl, 0xa9
jmp 0x1800bbbfa
lea ebx, [rdx - 0x41]
cmp bl, 0x1a
jae 0x1800bbc78
add dl, 0xe3
mov ebx, edx
inc r11
mov qword [rsi + 0x10], r11
mul rdi
jo 0x1800bbc78
movzx edx, bl
add rax, rdx
jae 0x1800bbbc0
jmp 0x1800bbc78
inc r11
mov qword [rsi + 0x10], r11
inc rax
je 0x1800bbc78
cmp rax, rcx
jae 0x1800bbc75
mov ecx, dword [rsi + 0x18]
inc ecx
cmp ecx, 0x1f4
ja 0x1800bbccb
cmp qword [rsi + 0x20], 0
je 0x1800bbcdf
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.1800bba90
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm1
jmp 0x1800bbafc
mov r8b, 1
xor edi, edi
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x1800bbcb9
lea rax, [0x1801c3789]
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.180015370
test al, al
je 0x1800bbcb9
mov dil, 2
jmp 0x1800bbafa
mov qword [rsi], 0
mov byte [rsi + 8], dil
xor edi, edi
jmp 0x1800bbafa
mov dil, 1
xor r8d, r8d
jmp 0x1800bbc7a
inc rcx
mov qword [rsi + 0x10], rcx
jmp 0x1800bbafa
xor edi, edi
jmp 0x1800bbafa
Function at 0x1800be3c7
Capabilities:
Get client handle via schannel
Get outbound credentials handle via credssp

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0xb8
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0xa8], xmm0
movups xmmword [rsp + 0x98], xmm0
movups xmmword [rsp + 0x88], xmm0
movups xmmword [rsp + 0x78], xmm0
mov dword [rsp + 0x68], 4
mov dword [rsp + 0xb0], 0x400010
mov rax, qword [rcx + 0x18]
test rax, rax
je 0x1800be42a
mov edx, dword [rcx + 0x28]
mov dword [rsp + 0x90], edx
mov qword [rsp + 0x98], rax
mov rax, qword [rcx + 0x30]
test rax, rax
je 0x1800be45f
mov rdx, qword [rcx + 0x40]
xor r8d, r8d
lea r9, [0x1801f2078]
xor r10d, r10d
cmp rdx, r8
je 0x1800be457
movzx r11d, byte [rax + r8]
or r10d, dword [r9 + r11*4]
inc r8
jmp 0x1800be444
mov dword [rsp + 0xa0], r10d
mov r14, qword [rcx]
mov r15, qword [rcx + 0x10]
lea rsi, [r15*8]
test r15, r15
je 0x1800be4a9
xor ebx, ebx
mov rax, r15
shr rax, 0x3c
sete al
jne 0x1800be587
mov bl, al
shl rbx, 3
mov rcx, rbx
mov rdx, rsi
call fcn.18001347c
mov rdi, rax
test rax, rax
jne 0x1800be4ae
mov rcx, rbx
mov rdx, rsi
jmp 0x1800be598
mov edi, 8
xor eax, eax
mov rcx, rsi
test rcx, rcx
je 0x1800be4c9
mov rdx, qword [r14 + rax*8]
mov qword [rdi + rax*8], rdx
inc rax
add rcx, 0xfffffffffffffff8
jmp 0x1800be4b3
lea rcx, [rsp + 0x68]
mov dword [rcx + 4], eax
mov qword [rcx + 8], rdi
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x20], rcx
and qword [rsp + 0x40], 0
lea rdx, str.Microsoft_Unified_Security_Protocol_Provider
xor ecx, ecx
mov r8d, 2
xor r9d, r9d
call qword [sym.imp.Secur32.dll_AcquireCredentialsHandleA]
test eax, eax
je 0x1800be520
mov ebx, eax
shl rbx, 0x20
or rbx, 2
mov r14d, 1
jmp 0x1800be55b
mov r14, qword [rsp + 0x50]
mov r12, qword [rsp + 0x58]
mov ecx, 8
mov edx, 0x20
xor r8d, r8d
call fcn.1800146c1
test rax, rax
je 0x1800be58e
mov rbx, rax
mov eax, 1
mov qword [rbx], rax
mov qword [rbx + 8], rax
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], r12
xor r14d, r14d
test r15, r15
je 0x1800be570
mov edx, 8
mov rcx, rdi
mov r8, rsi
call fcn.1800068d2
mov rax, r14
mov rdx, rbx
add rsp, 0xb8
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
call fcn.180011060
ud2
mov ecx, 8
mov edx, 0x20
call fcn.180146460
ud2

Function at 0x1800bebdd
Capabilities:
Get remote cert context via schannel

Disassembly:
sub rsp, 0x28
lea r8, [rsp + 0x20]
and qword [r8], 0
mov edx, 0x53
call qword [sym.imp.Secur32.dll_QueryContextAttributesW]
mov edx, eax
xor eax, eax
test edx, edx
setne cl
jne 0x1800bec07
mov rdx, qword [rsp + 0x20]
jmp 0x1800bec0f
shl rdx, 0x20
or rdx, 2
mov al, cl
add rsp, 0x28
ret
Function at 0x1800bfaa2
Capabilities:
Set socket configuration

Disassembly:
sub rsp, 0x38
mov eax, edx
lea r9, [rsp + 0x34]
mov dword [r9], r8d
mov dword [rsp + 0x20], 4
mov edx, 0xffff
mov r8d, eax
call sub.WS2_32.dll_setsockopt
cmp eax, 0xffffffff
je 0x1800bface
xor eax, eax
jmp 0x1800bfad3
call fcn.18006440a
nop
add rsp, 0x38
ret

Function at 0x1800c1870
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0xa8
mov rdi, rdx
mov rsi, rcx
movups xmm0, xmmword [0x1801c63e0]
movaps xmmword [rsp + 0x60], xmm0
mov eax, 0xffffffff
cmp r9, rax
cmovb rax, r9
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r8
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov rcx, rdx
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtWriteFile]
cmp eax, 0x103
jne 0x1800c18e3
mov rcx, rdi
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [rsp + 0x60]
cmp eax, 0x103
je 0x1800c191a
test eax, eax
js 0x1800c18f4
mov rax, qword [rsp + 0x68]
mov qword [rsi + 8], rax
xor eax, eax
jmp 0x1800c190d
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
mov qword [rsi], rax
add rsp, 0xa8
pop rdi
pop rsi
ret
mov byte [rsp + 0x5c], 0
mov dword [rsp + 0x58], 0
lea rax, [0x1801c6448]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], 1
lea rax, [rsp + 0x50]
mov qword [rsp + 0x88], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x90], xmm0
lea rcx, [rsp + 0x58]
lea rdx, [rsp + 0x78]
call fcn.1800c0850
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x70]
call fcn.1800c08f0
mov ecx, 7
int 0x29
ud2
Function at 0x1800c4f70
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rdi, rdx
movzx ebp, byte [rdx + 0x38]
xor ebx, ebx
cmp bpl, 1
setne dl
mov eax, 0
sbb eax, eax
mov rsi, rcx
or al, dl
movzx ecx, al
cmp cl, 0xff
je 0x1800c4fa0
test ecx, ecx
jne 0x1800c4ff0
movzx ebx, byte [rdi + 0x3a]
cmp al, 0xff
je 0x1800c4fac
test ecx, ecx
jne 0x1800c4ff0
mov rcx, rdi
call fcn.1800c4e50
movzx eax, al
test bpl, bpl
jne 0x1800c4ff7
lea rdx, [rdi + 0x10]
xor ecx, ecx
cmp byte [rdi + 0x10], 6
cmove rdx, rcx
je case.0x1800c4fe3.2
movzx r8d, byte [rdx]
mov ecx, 6
lea r9, [0x1800c5168]
movsxd r8, dword [r9 + r8*4]
add r8, r9
jmp r8
mov rcx, qword [rdx + 0x10]
add rcx, 4
jmp case.0x1800c4fe3.2
xor eax, eax
test bpl, bpl
je 0x1800c4fbc
xor ecx, ecx
add rax, rcx
movzx r10d, bl
lea rcx, [rax + r10]
mov rdx, qword [rdi + 8]
cmp rdx, rcx
jb 0x1800c5149
mov r11, qword [rdi]
lea r8, [r11 + rcx]
cmp rdx, rcx
jne 0x1800c502a
movzx r9d, byte [rdi + 0x10]
xor r10d, r10d
jmp 0x1800c50a9
movzx r9d, byte [rdi + 0x10]
add rax, r10
sub rax, rdx
inc rax
lea rdi, [rdx + r11]
dec rdi
xor r10d, r10d
cmp r9b, 3
jae 0x1800c5070
nop dword [rax + rax]
cmp byte [rdi], 0x5c
je 0x1800c508b
inc rax
dec rdi
cmp rax, 1
jne 0x1800c5050
jmp 0x1800c50a9
movzx ebx, byte [rdi]
cmp ebx, 0x2f
je 0x1800c508b
cmp ebx, 0x5c
je 0x1800c508b
inc rax
dec rdi
cmp rax, 1
jne 0x1800c5070
jmp 0x1800c50a9
neg rax
add rcx, rax
inc rcx
cmp rdx, rcx
jb 0x1800c5157
add r11, rcx
mov r10d, 1
mov r8, r11
sub rdx, rcx
je 0x1800c50d3
mov al, 9
cmp rdx, 2
je 0x1800c50d7
cmp rdx, 1
jne 0x1800c50e7
cmp byte [r8], 0x2e
jne 0x1800c50e7
xor eax, eax
cmp r9b, 3
setae al
lea eax, [rax + rax*2]
add eax, 7
jmp 0x1800c50e7
mov al, 0xa
jmp 0x1800c50e7
cmp byte [r8], 0x2e
jne 0x1800c50e7
cmp byte [r8 + 1], 0x2e
sete al
xor al, 9
add r10, rdx
mov qword [rsi], r10
mov byte [rsi + 8], al
mov qword [rsi + 0x10], r8
mov qword [rsi + 0x18], rdx
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
ret
mov rcx, qword [rdx + 0x10]
mov rdx, qword [rdx + 0x20]
lea r8, [rdx + 1]
test rdx, rdx
cmove r8, rdx
add rcx, r8
add rcx, 8
jmp case.0x1800c4fe3.2
mov rcx, qword [rdx + 0x10]
mov rdx, qword [rdx + 0x20]
lea r8, [rdx + 1]
test rdx, rdx
cmove r8, rdx
add rcx, r8
add rcx, 2
jmp case.0x1800c4fe3.2
mov ecx, 2
jmp case.0x1800c4fe3.2
lea r8, str.library_std_srcpath.rs
call fcn.180146800
ud2
lea r8, str.library_std_srcpath.rs
call fcn.180146800
ud2