joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400e823e
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 0x1400e83ce
mov rax, qword [rdi + 0x30]
xorps xmm0, xmm0
lea rbx, [rsp + 0x20]
movups xmmword [rbx + 0x30], xmm0
mov dword [rbx], ecx
mov dword [rbx + 4], 1
mov qword [rbx + 8], rax
movups xmmword [rbx + 0x10], xmm0
movups xmmword [rbx + 0x20], xmm0
movabs rax, 0x400000000
lea rdx, [rsp + 0x60]
mov qword [rdx], rax
mov qword [rdx + 8], rbx
lea rcx, [rdi + 0x60]
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.secur32.dll_DecryptMessage]
cmp eax, 0x90316
jg 0x1400e8344
cmp eax, 0x80090318
je 0x1400e83a2
test eax, eax
jne 0x1400e8392
mov rcx, qword [rsp + 0x38]
mov rdx, qword [rdi + 0x30]
mov r9, qword [rdi + 0x38]
sub rcx, rdx
mov r8d, dword [rsp + 0x30]
mov rax, rcx
mov qword [rdi + 0x18], 0
add rax, r8
jb 0x1400e83dc
cmp r9, rax
jb 0x1400e83ed
lea rax, [rdi + 8]
add rdx, rcx
mov rcx, rax
call fcn.14017f1df
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.1400e8593
xor eax, eax
cmp qword [rdi + 0x20], 0
sete al
mov qword [rdi + 0x1d8], rax
mov byte [rsi + 1], 0
jmp 0x1400e83c4
cmp eax, 0x90317
je 0x1400e83be
cmp eax, 0x90321
jne 0x1400e8392
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.1400e8593
mov qword [rdi + 0x1d8], 0
mov byte [rsi + 1], bl
jmp 0x1400e83c4
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov bl, 1
jmp 0x1400e83c4
cmp dword [rsp + 0x34], 4
mov eax, 1
cmove eax, dword [rsp + 0x30]
mov qword [rdi + 0x1d8], rax
mov byte [rsi + 1], 0
jmp 0x1400e83c2
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:UsersBraVera.cargo_registry_srcgithub.com_1ecc6299db9ec823_schannel_0.1.21_src_tls_stream.rsassertion_failed:_pos___self.dec_in.get_ref__.len___as_u64
call fcn.1402a6550
ud2
lea r8, str.C:UsersBraVera.cargo_registry_srcgithub.com_1ecc6299db9ec823_schannel_0.1.21_src_tls_stream.rsassertion_failed:_pos___self.dec_in.get_ref__.len___as_u64
mov rdx, rax
call fcn.1402a67e0
ud2
lea r8, str.C:UsersBraVera.cargo_registry_srcgithub.com_1ecc6299db9ec823_schannel_0.1.21_src_tls_stream.rsassertion_failed:_pos___self.dec_in.get_ref__.len___as_u64
mov rcx, rax
mov rdx, r9
jmp 0x1400e83d5
Function at 0x1400e93ae
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 0x1400e953e
mov rax, qword [rdi + 0x30]
xorps xmm0, xmm0
lea rbx, [rsp + 0x20]
movups xmmword [rbx + 0x30], xmm0
mov dword [rbx], ecx
mov dword [rbx + 4], 1
mov qword [rbx + 8], rax
movups xmmword [rbx + 0x10], xmm0
movups xmmword [rbx + 0x20], xmm0
movabs rax, 0x400000000
lea rdx, [rsp + 0x60]
mov qword [rdx], rax
mov qword [rdx + 8], rbx
lea rcx, [rdi + 0x60]
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.secur32.dll_DecryptMessage]
cmp eax, 0x90316
jg 0x1400e94b4
cmp eax, 0x80090318
je 0x1400e9512
test eax, eax
jne 0x1400e9502
mov rcx, qword [rsp + 0x38]
mov rdx, qword [rdi + 0x30]
mov r9, qword [rdi + 0x38]
sub rcx, rdx
mov r8d, dword [rsp + 0x30]
mov rax, rcx
mov qword [rdi + 0x18], 0
add rax, r8
jb 0x1400e954c
cmp r9, rax
jb 0x1400e955d
lea rax, [rdi + 8]
add rdx, rcx
mov rcx, rax
call fcn.14017f1df
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.1400e8593
xor eax, eax
cmp qword [rdi + 0x20], 0
sete al
mov qword [rdi + 0xd8], rax
mov byte [rsi + 1], 0
jmp 0x1400e9534
cmp eax, 0x90317
je 0x1400e952e
cmp eax, 0x90321
jne 0x1400e9502
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.1400e8593
mov qword [rdi + 0xd8], 0
mov byte [rsi + 1], bl
jmp 0x1400e9534
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov bl, 1
jmp 0x1400e9534
cmp dword [rsp + 0x34], 4
mov eax, 1
cmove eax, dword [rsp + 0x30]
mov qword [rdi + 0xd8], rax
mov byte [rsi + 1], 0
jmp 0x1400e9532
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:UsersBraVera.cargo_registry_srcgithub.com_1ecc6299db9ec823_schannel_0.1.21_src_tls_stream.rsassertion_failed:_pos___self.dec_in.get_ref__.len___as_u64
call fcn.1402a6550
ud2
lea r8, str.C:UsersBraVera.cargo_registry_srcgithub.com_1ecc6299db9ec823_schannel_0.1.21_src_tls_stream.rsassertion_failed:_pos___self.dec_in.get_ref__.len___as_u64
mov rdx, rax
call fcn.1402a67e0
ud2
lea r8, str.C:UsersBraVera.cargo_registry_srcgithub.com_1ecc6299db9ec823_schannel_0.1.21_src_tls_stream.rsassertion_failed:_pos___self.dec_in.get_ref__.len___as_u64
mov rcx, rax
mov rdx, r9
jmp 0x1400e9545
Function at 0x14010c80d
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 r12, rdx
add rdx, 0x28
cmp qword [r12 + 0x20], 0
je 0x14010c85d
cmp qword [r12 + 0x58], 0xffffffffffffffff
mov r8, qword [r12]
mov r9, qword [r12 + 8]
mov rax, qword [r12 + 0x10]
mov rbp, qword [r12 + 0x18]
je 0x14010c94f
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rax
mov byte [rsp + 0x30], 0
jmp 0x14010c95e
mov r14b, byte [r12 + 0x3a]
mov r10, qword [r12]
mov r9, qword [r12 + 8]
mov r15b, byte [r12 + 0x38]
mov r8, qword [r12 + 0x28]
xor r11d, r11d
test r14b, r14b
jne 0x14010c986
mov ebx, r15d
xor bl, 1
mov byte [r12 + 0x38], bl
test r8, r8
je 0x14010c8a8
cmp r9, r8
jbe 0x14010c8a2
cmp byte [r10 + r8], 0xbf
jg 0x14010c8a8
jmp 0x14010c998
jne 0x14010c998
cmp r8, r9
je 0x14010c965
mov al, byte [r10 + r8]
movzx ebp, al
test bpl, bpl
jns 0x14010c90b
mov esi, ebp
and esi, 0x1f
movzx edi, byte [r10 + r8 + 1]
and edi, 0x3f
cmp bpl, 0xdf
jbe 0x14010c8fd
movzx ebp, byte [r10 + r8 + 2]
shl edi, 6
and ebp, 0x3f
or ebp, edi
cmp al, 0xf0
jb 0x14010c906
movzx eax, byte [r10 + r8 + 3]
and esi, 7
shl esi, 0x12
shl ebp, 6
and eax, 0x3f
or eax, ebp
or eax, esi
mov ebp, eax
jmp 0x14010c90b
shl esi, 6
or esi, edi
mov ebp, esi
jmp 0x14010c90b
shl esi, 0xc
or ebp, esi
test r15b, r15b
jne 0x14010c975
cmp ebp, 0x110000
je 0x14010c96a
mov eax, 1
cmp ebp, 0x80
jb 0x14010c941
mov eax, 2
cmp ebp, 0x800
jb 0x14010c941
cmp ebp, 0x10000
mov eax, 4
sbb rax, 0
add r8, rax
mov qword [rdx], r8
mov r15d, ebx
jmp 0x14010c878
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rax
mov byte [rsp + 0x30], 1
call fcn.140005c0a
jmp 0x14010c989
test r15b, r15b
jne 0x14010c978
mov byte [r12 + 0x3a], 1
xor r11d, r11d
jmp 0x14010c986
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_9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0librarycore_src_strpattern.rs
mov qword [rsp + 0x20], rax
mov rcx, r10
mov rdx, r9
call fcn.1402a69f0
ud2
Function at 0x14010e083
Capabilities:
Hash data using sha256

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
movups xmm0, xmmword [0x14036d538]
movups xmmword [rcx + 0x30], xmm0
movups xmm0, xmmword [0x14036d528]
movups xmmword [rcx + 0x20], xmm0
movups xmm0, xmmword [0x14036d518]
movups xmmword [rcx + 0x10], xmm0
movups xmm0, xmmword [0x14036d508]
movups xmmword [rcx], xmm0
mov rax, qword [0x1403ce020]
test rax, rax
jne 0x14010e0f7
mov ecx, 1
xor eax, eax
lock cmpxchg qword [0x1403ce020], rcx
jne 0x14010e0f7
call fcn.1401d9000
mov byte [0x1403ce028], 1
mov eax, 2
xchg qword [0x1403ce020], rax
jmp 0x14010e103
pause
mov rax, qword [0x1403ce020]
cmp rax, 1
je 0x14010e0ee
cmp rax, 2
jne 0x14010e11c
mov qword [rsi + 0x40], 0
lea rax, [0x14036d508]
mov qword [rsi + 0x48], rax
add rsp, 0x20
pop rsi
ret
test rax, rax
jne 0x14010e136
lea rcx, str.internal_error:_entered_unreachable_codez
lea r8, [0x14036d2e0]
mov edx, 0x28
jmp 0x14010e149
lea rcx, str.Once_has_panickedC:UsersBraVera.cargo_registry_srcgithub.com_1ecc6299db9ec823_spin_0.5.2_srconce.rsq
lea r8, [0x14036d2c8]
mov edx, 0x11
call fcn.1402a6560
ud2
Function at 0x14012d126
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x198
movaps xmmword [rsp + 0x180], xmm6
mov r12, r9
test r12b, 0xf
je 0x14012d157
mov qword [rcx + 8], 0
jmp 0x14012d396
mov rsi, r8
mov rbx, rdx
mov qword [rsp + 0x50], rcx
mov rcx, r12
call fcn.140047b2b
mov qword [rsp + 0x48], rax
mov rdi, rdx
mov rcx, rdx
mov rdx, rsi
mov r8, r12
call sub.VCRUNTIME140.dll_memcpy
mov r15, r12
shr r15, 4
mov r14, r12
and r14, 0xffffffffffffff80
mov qword [rsp + 0x28], rdi
lea rbp, [rdi + r14]
mov qword [rsp + 0xf0], 0
xor eax, eax
xorps xmm0, xmm0
movups xmmword [rsp + rax + 0x70], xmm0
inc qword [rsp + 0xf0]
add rax, 0x10
cmp rax, 0x80
jne 0x14012d1a8
and r15d, 7
lea rax, [rsp + 0x100]
lea rsi, [rsp + 0x70]
mov ecx, 0x10
mov rdi, rax
rep movsq qword [rdi], qword [rsi]
lea rdx, [rbx + 0x3c0]
mov rcx, rax
mov qword [rsp + 0x40], rdx
call fcn.140002fd5
mov qword [rsp + 0x58], r12
cmp r12, 0x80
jb 0x14012d2b5
mov rsi, qword [rsp + 0x28]
mov r13, rsi
add r13, r14
mov r8d, 0x70
lea rcx, [rsp + 0x110]
mov rdx, rsi
call sub.VCRUNTIME140.dll_memcpy
lea rdx, [rsi + 0x70]
lea rcx, [rsp + 0x70]
call fcn.140002fd5
mov edi, 8
mov rdx, rsi
cmp rdi, 4
mov r12d, 4
cmovb r12, rdi
mov r14, r12
shl r14, 4
add r14, rdx
mov rcx, rbx
mov r8, r12
call fcn.140025021
mov rdx, r14
sub rdi, r12
jne 0x14012d23a
lea r8, [rsi + 0x80]
lea rcx, [rsp + 0x100]
xor edx, edx
inc rdx
xor edi, edi
mov al, byte [rcx + rdi]
xor byte [rsi + rdi], al
lea rax, [rdi + 1]
mov rdi, rax
cmp rax, 0x10
jne 0x14012d27b
add rcx, 0x10
add rsi, 0x10
cmp rdx, 8
jne 0x14012d276
movups xmm0, xmmword [rsp + 0x70]
movaps xmmword [rsp + 0x100], xmm0
mov rsi, r8
cmp r8, r13
jne 0x14012d20e
lea rsi, [rsp + 0x70]
lea rdx, [rsp + 0x100]
mov rcx, rsi
call fcn.140002fd5
movups xmm0, xmmword [rsi]
mov r13, qword [rsp + 0x40]
movups xmmword [r13], xmm0
lea rcx, [rsp + 0x30]
mov rdx, r13
call fcn.140002fd5
test r15, r15
mov r12, qword [rsp + 0x58]
je 0x14012d372
shl r15, 4
add r15, rbp
lea r14, [rsp + 0x60]
xorps xmm6, xmm6
lea rdi, [rsp + 0x70]
mov rcx, r14
mov rdx, rbp
call fcn.140002fd5
xor eax, eax
movups xmmword [rsp + rax + 0x70], xmm6
add rax, 0x10
cmp rax, 0x40
jne 0x14012d313
lea rsi, [rbp + 0x10]
movups xmm0, xmmword [rbp]
movaps xmmword [rsp + 0x70], xmm0
mov r8d, 4
mov rcx, rbx
mov rdx, rdi
call fcn.140025021
movaps xmm0, xmmword [rsp + 0x70]
movups xmmword [rbp], xmm0
xor eax, eax
mov cl, byte [rsp + rax + 0x30]
xor byte [rbp + rax], cl
lea rcx, [rax + 1]
mov rax, rcx
cmp rcx, 0x10
jne 0x14012d34b
movups xmm0, xmmword [rsp + 0x60]
movaps xmmword [rsp + 0x30], xmm0
mov rbp, rsi
cmp rsi, r15
jne 0x14012d306
movaps xmm0, xmmword [rsp + 0x30]
movups xmmword [r13], xmm0
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x48]
mov qword [rax], rcx
mov rcx, qword [rsp + 0x28]
mov qword [rax + 8], rcx
mov qword [rax + 0x10], r12
movaps xmm6, xmmword [rsp + 0x180]
add rsp, 0x198
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x140138d20
Capabilities:
Encode data using xor

Disassembly:
cmp rdx, 0x20
jae 0x140138d2b
jmp fcn.14003e9d0
jmp fcn.140035ea0

Function at 0x140139010
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x48
mov rsi, rcx
mov rdi, qword [rcx]
test rdi, rdi
je 0x140139062
mov r11, qword [rsi + 8]
mov r9, qword [rsi + 0x10]
cmp r9, r11
jae 0x140139062
movzx eax, byte [rdi + r9]
cmp eax, 0x49
je 0x14013907d
cmp eax, 0x42
jne 0x140139062
lea rcx, [r9 + 1]
mov qword [rsi + 0x10], rcx
cmp rcx, r11
jae 0x1401390ba
cmp byte [rdi + rcx], 0x5f
jne 0x1401390ba
lea rax, [r9 + 2]
mov qword [rsi + 0x10], rax
xor eax, eax
jmp 0x1401391b2
mov rcx, rsi
xor edx, edx
call fcn.140134c00
mov edi, eax
add dil, dil
mov eax, edi
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r14
ret
inc r9
mov qword [rsi + 0x10], r9
mov rcx, rsi
xor edx, edx
call fcn.140134c00
test al, al
jne 0x1401390b5
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x14013912c
lea rdx, [0x140371d32]
mov r8d, 1
call fcn.140037300
test al, al
je 0x14013912c
mov dil, 2
jmp 0x140139071
xor eax, eax
mov r10d, 0x3e
nop word cs:[rax + rax]
mov r8b, 1
cmp rcx, r11
jae 0x14013920c
movzx edx, byte [rdi + rcx]
cmp dl, 0x5f
je 0x1401391a6
lea ebx, [rdx - 0x30]
cmp bl, 0xa
jb 0x14013910f
lea ebx, [rdx - 0x61]
cmp bl, 0x1a
jae 0x1401390fe
add dl, 0xa9
jmp 0x14013910d
lea ebx, [rdx - 0x41]
cmp bl, 0x1a
jae 0x14013920c
add dl, 0xe3
mov ebx, edx
inc rcx
mov qword [rsi + 0x10], rcx
mul r10
jo 0x14013920c
movzx edx, bl
add rax, rdx
jae 0x1401390d0
jmp 0x14013920c
mov rax, qword [rsi]
mov dil, 1
test rax, rax
je 0x140139071
xor ebx, ebx
lea r14, [0x14037210e]
nop word cs:[rax + rax]
mov rcx, qword [rsi + 0x10]
cmp rcx, qword [rsi + 8]
jae 0x140139164
cmp byte [rax + rcx], 0x45
je 0x140139264
sub rbx, 1
jb 0x140139189
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x140139189
mov r8d, 2
mov rdx, r14
call fcn.140037300
test al, al
jne 0x1401390b5
mov rcx, rsi
call fcn.140139270
test al, al
jne 0x1401390b5
mov rax, qword [rsi]
test rax, rax
jne 0x140139150
jmp 0x140139071
inc rcx
mov qword [rsi + 0x10], rcx
inc rax
je 0x14013920c
cmp rax, r9
jae 0x140139209
mov ecx, dword [rsi + 0x18]
inc ecx
cmp ecx, 0x1f4
ja 0x14013925d
cmp qword [rsi + 0x20], 0
je 0x140139256
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.140139010
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm1
jmp 0x140139073
mov r8b, 1
xor ebx, ebx
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x14013924c
lea rax, [0x1403720d9]
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.140037300
mov dil, 2
test al, al
jne 0x140139071
mov qword [rsi], 0
mov byte [rsi + 8], bl
xor edi, edi
jmp 0x140139071
mov bl, 1
xor r8d, r8d
jmp 0x14013920e
inc rcx
mov qword [rsi + 0x10], rcx
jmp 0x140139071
Function at 0x14013bb8b
Capabilities:
Get remote cert context via schannel

Disassembly:
sub rsp, 0x28
lea r8, [rsp + 0x20]
mov 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 0x14013bbb8
mov rdx, qword [rsp + 0x20]
jmp 0x14013bbc0
shl rdx, 0x20
or rdx, 2
mov al, cl
add rsp, 0x28
ret

Function at 0x14013bd33
Capabilities:
Get client handle via schannel
Get outbound credentials handle via credssp

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0xb0
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0xa0], xmm0
movups xmmword [rsp + 0x90], xmm0
movups xmmword [rsp + 0x80], xmm0
movups xmmword [rsp + 0x70], xmm0
mov dword [rsp + 0x60], 4
mov dword [rsp + 0xa8], 0x400010
mov rax, qword [rcx + 8]
test rax, rax
je 0x14013bd94
mov edx, dword [rcx + 0x10]
mov dword [rsp + 0x88], edx
mov qword [rsp + 0x90], rax
mov rax, qword [rcx + 0x20]
test rax, rax
je 0x14013bdcc
mov rdx, qword [rcx + 0x28]
test rdx, rdx
je 0x14013bdc3
xor edi, edi
lea r8, [0x1403a2758]
xor ebx, ebx
movzx esi, byte [rax + rdi]
or ebx, dword [r8 + rsi*4]
inc rdi
cmp rdx, rdi
jne 0x14013bdb1
jmp 0x14013bdc5
xor ebx, ebx
mov dword [rsp + 0x98], ebx
mov r14, qword [rcx + 0x40]
test r14, r14
je 0x14013be10
xor r15d, r15d
mov rax, r14
shr rax, 0x3c
sete al
jne 0x14013bef4
mov rbx, qword [rcx + 0x38]
lea rdi, [r14*8]
mov r15b, al
shl r15, 3
test rdi, rdi
je 0x14013be19
mov rcx, rdi
mov rdx, r15
call fcn.1400235d0
mov rsi, rax
jmp 0x14013be1c
xor eax, eax
mov esi, 8
jmp 0x14013be38
mov rsi, r15
test rsi, rsi
je 0x14013befb
xor eax, eax
mov rcx, qword [rbx + rax*8]
mov qword [rsi + rax*8], rcx
inc rax
add rdi, 0xfffffffffffffff8
jne 0x14013be27
lea rcx, [rsp + 0x60]
mov dword [rcx + 4], eax
mov qword [rcx + 8], rsi
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x20], rcx
mov 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 0x14013be91
mov edi, eax
shl rdi, 0x20
or rdi, 2
mov ebx, 1
jmp 0x14013bec8
mov rbx, qword [rsp + 0x50]
mov r15, qword [rsp + 0x58]
mov ecx, 0x20
mov edx, 8
call fcn.1400235d0
test rax, rax
je 0x14013bf03
mov rdi, rax
mov eax, 1
mov qword [rdi], rax
mov qword [rdi + 8], rax
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], r15
xor ebx, ebx
test r14, r14
je 0x14013bedf
mov rcx, qword [0x1403ce198]
xor edx, edx
mov r8, rsi
call qword [sym.imp.kernel32.dll_HeapFree]
mov rax, rbx
mov rdx, rdi
add rsp, 0xb0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.14002ff10
ud2
mov rcx, rdi
mov rdx, r15
jmp 0x14013bf0d
mov ecx, 0x20
mov edx, 8
call fcn.1402a5fb0
ud2
Function at 0x140145338
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 0x140145364
xor eax, eax
jmp 0x140145371
call sub.kernel32.dll_GetLastError
shl rax, 0x20
or rax, 2
add rsp, 0x38
ret

Function at 0x1401453a1
Capabilities:
Connect socket

Disassembly:
sub rsp, 0x28
mov r8d, dword [rdx + 0x80]
call qword [sym.imp.ws2_32.dll_connect]
test eax, eax
je 0x1401453c5
call sub.kernel32.dll_GetLastError
shl rax, 0x20
or rax, 2
jmp 0x1401453c7
xor eax, eax
add rsp, 0x28
ret

Function at 0x14014ad80
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
movzx ebx, byte [rdx + 0x38]
xor r15d, r15d
cmp bl, 1
setne dl
mov eax, 0
sbb eax, eax
mov r14, rcx
or al, dl
movzx ecx, al
cmp cl, 0xff
je 0x14014adb3
test ecx, ecx
jne 0x14014ae02
movzx r15d, byte [rdi + 0x3a]
cmp al, 0xff
je 0x14014adc0
test ecx, ecx
jne 0x14014ae02
mov rcx, rdi
call fcn.14014ac60
movzx r10d, al
test bl, bl
jne 0x14014ae09
lea rax, [rdi + 0x10]
xor esi, esi
cmp byte [rdi + 0x10], 6
cmove rax, rsi
je case.0x14014adf6.2
movzx ecx, byte [rax]
mov esi, 6
lea rdx, [0x14014af7c]
movsxd rcx, dword [rdx + rcx*4]
add rcx, rdx
jmp rcx
mov rsi, qword [rax + 0x10]
add rsi, 4
jmp case.0x14014adf6.2
xor r10d, r10d
test bl, bl
je 0x14014add0
xor esi, esi
movzx eax, r15b
lea rcx, [r10 + rax]
add rcx, rsi
mov rdx, qword [rdi + 8]
cmp rdx, rcx
jb 0x14014af5e
mov r11, qword [rdi]
lea r9, [r11 + rcx]
movzx r8d, byte [rdi + 0x10]
cmp rdx, rcx
jne 0x14014ae3b
xor edi, edi
jmp 0x14014aeb8
add rsi, r10
add rsi, rax
sub rsi, rdx
inc rsi
lea rax, [rdx + r11]
dec rax
xor edi, edi
cmp r8b, 3
jae 0x14014ae80
nop word cs:[rax + rax]
cmp byte [rax], 0x5c
je 0x14014ae9b
inc rsi
dec rax
cmp rsi, 1
jne 0x14014ae60
jmp 0x14014aeb8
movzx ebx, byte [rax]
cmp ebx, 0x2f
je 0x14014ae9b
cmp ebx, 0x5c
je 0x14014ae9b
inc rsi
dec rax
cmp rsi, 1
jne 0x14014ae80
jmp 0x14014aeb8
neg rsi
add rcx, rsi
inc rcx
cmp rdx, rcx
jb 0x14014af6c
add r11, rcx
mov edi, 1
mov r9, r11
sub rdx, rcx
je 0x14014aee2
mov al, 9
cmp rdx, 2
je 0x14014aee6
cmp rdx, 1
jne 0x14014aef6
cmp byte [r9], 0x2e
jne 0x14014aef6
xor eax, eax
cmp r8b, 3
setae al
lea eax, [rax + rax*2]
add eax, 7
jmp 0x14014aef6
mov al, 0xa
jmp 0x14014aef6
cmp byte [r9], 0x2e
jne 0x14014aef6
cmp byte [r9 + 1], 0x2e
sete al
xor al, 9
add rdi, rdx
mov qword [r14], rdi
mov qword [r14 + 8], r9
mov qword [r14 + 0x10], rdx
mov byte [r14 + 0x18], al
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov rcx, qword [rax + 0x10]
mov rax, qword [rax + 0x20]
lea rdx, [rax + 1]
test rax, rax
cmove rdx, rax
lea rsi, [rcx + rdx]
add rsi, 8
jmp case.0x14014adf6.2
mov rcx, qword [rax + 0x10]
mov rax, qword [rax + 0x20]
lea rdx, [rax + 1]
test rax, rax
cmove rdx, rax
lea rsi, [rcx + rdx]
add rsi, 2
jmp case.0x14014adf6.2
mov esi, 2
jmp case.0x14014adf6.2
lea r8, str.library_std_srcpath.rs
call fcn.1402a6540
ud2
lea r8, str.library_std_srcpath.rs
call fcn.1402a6540
ud2
Function at 0x14014f930
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x4f0
mov rbx, rdx
mov rsi, rcx
mov eax, dword [rdx + 0x10]
movzx ebp, word [rdx + 0x40]
movzx r15d, word [rdx + 0x42]
movzx r12d, word [rdx + 0x44]
mov dword [rdx + 0x10], 0
cmp eax, 1
jne 0x14014f98d
mov r14, qword [rbx + 8]
cmp bp, 0x2e
jne 0x14014fa8e
test r15w, r15w
je 0x14014f98d
cmp r15w, 0x2e
jne 0x14014fa8e
test r12w, r12w
jne 0x14014fa8e
lea r14, [rsp + 0x80]
mov r8d, 0x250
mov rcx, r14
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov rdi, qword [rbx]
mov rcx, rdi
mov rdx, r14
call qword [sym.imp.kernel32.dll_FindNextFileW]
test eax, eax
je 0x14014fa74
mov r14, qword [rbx + 8]
lea rbx, [rsp + 0x80]
mov rbp, qword [sym.imp.kernel32.dll_FindNextFileW]
jmp 0x14014f9f0
mov rcx, rdi
mov rdx, rbx
call rbp
test eax, eax
je 0x14014fa74
cmp word [rsp + 0xac], 0x2e
jne 0x14014fa19
movzx eax, word [rsp + 0xae]
test ax, ax
je 0x14014f9e0
cmp ax, 0x2e
jne 0x14014fa19
cmp word [rsp + 0xb0], 0
je 0x14014f9e0
lock inc qword [r14]
jle 0x14014fb79
mov rdi, qword [rsp + 0x80]
movups xmm0, xmmword [rsp + 0x88]
movaps xmmword [rsp + 0x20], xmm0
movups xmm0, xmmword [rsp + 0x98]
movaps xmmword [rsp + 0x30], xmm0
mov eax, dword [rsp + 0xa8]
mov dword [rsp + 0x40], eax
movzx ebp, word [rsp + 0xac]
movzx r15d, word [rsp + 0xae]
movzx r12d, word [rsp + 0xb0]
lea rdx, [rsp + 0xb2]
jmp 0x14014fab9
call sub.kernel32.dll_GetLastError
cmp eax, 0x12
jne 0x14014fb05
mov qword [rsi], 0
jmp 0x14014fb67
lock inc qword [r14]
jle 0x14014fb79
lea rdx, [rbx + 0x46]
mov rdi, qword [rbx + 0x14]
mov eax, dword [rbx + 0x3c]
mov dword [rsp + 0x40], eax
movups xmm0, xmmword [rbx + 0x2c]
movaps xmmword [rsp + 0x30], xmm0
movups xmm0, xmmword [rbx + 0x1c]
movaps xmmword [rsp + 0x20], xmm0
lea rcx, [rsp + 0x2d2]
mov r8d, 0x21e
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x70], eax
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
movaps xmmword [rsp + 0x60], xmm1
movaps xmmword [rsp + 0x50], xmm0
lea rcx, [rsp + 0x80]
lea rdx, [rsp + 0x2d2]
mov r8d, 0x21e
call sub.VCRUNTIME140.dll_memcpy
jmp 0x14014fb17
call sub.kernel32.dll_GetLastError
mov edi, eax
shl rdi, 0x20
or rdi, 2
xor r14d, r14d
mov qword [rsi + 8], rdi
movaps xmm0, xmmword [rsp + 0x50]
movaps xmm1, xmmword [rsp + 0x60]
movups xmmword [rsi + 0x10], xmm0
movups xmmword [rsi + 0x20], xmm1
mov eax, dword [rsp + 0x70]
mov dword [rsi + 0x30], eax
mov word [rsi + 0x34], bp
mov word [rsi + 0x36], r15w
mov word [rsi + 0x38], r12w
lea rcx, [rsi + 0x3a]
lea rdx, [rsp + 0x80]
mov r8d, 0x21e
call sub.VCRUNTIME140.dll_memcpy
mov qword [rsi + 0x258], r14
mov qword [rsi], 1
add rsp, 0x4f0
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
ud2
Function at 0x140150be0
Capabilities:
Create directory

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x40
test cl, cl
je 0x140150bfd
mov rcx, rdx
mov rdx, r8
add rsp, 0x40
pop rbx
pop rdi
pop rsi
jmp fcn.140150c70
lea rcx, [rsp + 0x28]
call fcn.14014ec10
mov rdi, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x30]
test rsi, rsi
je 0x140150c46
mov rcx, rsi
xor edx, edx
call qword [sym.imp.kernel32.dll_CreateDirectoryW]
test eax, eax
je 0x140150c51
xor ebx, ebx
test rdi, rdi
mov edi, 0
je 0x140150c46
mov rcx, qword [0x1403ce198]
xor edx, edx
mov r8, rsi
call qword [sym.imp.kernel32.dll_HeapFree]
mov rdi, rbx
mov rax, rdi
add rsp, 0x40
pop rbx
pop rdi
pop rsi
ret
call sub.kernel32.dll_GetLastError
mov ebx, eax
shl rbx, 0x20
or rbx, 2
test rdi, rdi
mov rdi, rbx
jne 0x140150c31
jmp 0x140150c46