joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140c12058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x140c121df
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 0x140c12089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140c1206f
add dl, dl
jne 0x140c12096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140c120f6
xor eax, eax
add dl, dl
jne 0x140c120a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140c121ad
add dl, dl
jne 0x140c120b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140c120c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140c120d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140c120dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140c120ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140c1207e
mov eax, 1
add dl, dl
jne 0x140c12106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140c12113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140c120fb
sub eax, ebx
mov ebx, 1
jne 0x140c1214c
mov ecx, 1
add dl, dl
jne 0x140c1212e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140c1213b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140c12123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140c1207e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140c12168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140c12175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140c1215d
cmp eax, 0x7d00
jae 0x140c1219b
cmp eax, 0x500
jb 0x140c12196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140c1207e
cmp eax, 0x7f
ja 0x140c1219e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140c1207e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140c121d2
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 0x140c1207e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x1400134d0
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 0x140013560
cmp r11, r10
ja 0x1400135d6
cmp r10, rdx
ja 0x1400135ea
add r11, r9
xor r15d, r15d
nop word cs:[rax + rax]
cmp r14, r15
je 0x140013562
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x140013540
jmp 0x1400135c4
ja 0x14001356a
mov r11, r10
cmp rax, r8
jne 0x140013504
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 0x1400135a0
mov rdi, r8
sub ecx, edx
jns 0x1400135bb
jmp 0x1400135c6
cmp r8, rsi
je 0x1400135fb
movzx r8d, byte [rdi + 1]
add rdi, 2
and edx, 0x7f
shl edx, 8
or edx, r8d
sub ecx, edx
js 0x1400135c6
xor al, 1
cmp rdi, rsi
jne 0x140013580
jmp 0x1400135c6
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.14000ef50
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.14000a750
ud2
lea rcx, [0x14016b97c]
lea r8, str.librarycore_srcunicodeprintable.rs
mov edx, 0x2b
call fcn.14000af80
ud2
Function at 0x140028343
Capabilities:
Hash data using fnv

Disassembly:
mov rax, qword [rcx]
xor r9d, r9d
movabs r10, 0x100000001b3
cmp r8, r9
je 0x140028369
movzx r11d, byte [rdx + r9]
xor rax, r11
imul rax, r10
inc r9
jmp 0x140028353
mov qword [rcx], rax
ret
Function at 0x14004ab31
Capabilities:
Link many functions at runtime

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
lea rcx, str.api_ms_win_core_synch_l1_2_0.dll
call sub.kernel32.dll_GetModuleHandleA
test rax, rax
je 0x14004ab83
mov rsi, rax
lea rdx, str.WaitOnAddress
mov rcx, rax
call sub.kernel32.dll_GetProcAddress
test rax, rax
je 0x14004ab83
mov rdi, rax
lea rdx, str.WakeByAddressSingle
mov rcx, rsi
call sub.kernel32.dll_GetProcAddress
test rax, rax
je 0x14004ab83
mov rbx, rax
xor esi, esi
jmp 0x14004ac03
lea rcx, str.ntdll.dll
call sub.kernel32.dll_GetModuleHandleA
test rax, rax
je 0x14004ac59
mov rdi, rax
lea rdx, str.NtCreateKeyedEvent
mov rcx, rax
call sub.kernel32.dll_GetProcAddress
test rax, rax
je 0x14004ac59
mov rbx, rax
lea rdx, str.NtReleaseKeyedEvent
mov rcx, rdi
call sub.kernel32.dll_GetProcAddress
test rax, rax
je 0x14004ac59
mov rsi, rax
lea rdx, str.NtWaitForKeyedEvent
mov rcx, rdi
call sub.kernel32.dll_GetProcAddress
test rax, rax
je 0x14004ac59
mov rdi, rax
lea rcx, [rsp + 0x20]
mov edx, 0xc0000000
xor r8d, r8d
xor r9d, r9d
call rbx
test eax, eax
jne 0x14004ac59
mov rbx, qword [rsp + 0x20]
mov ecx, 8
mov edx, 0x18
call fcn.1400fb20b
test rax, rax
je 0x14004ac73
mov r14, rax
mov qword [rax], rsi
mov qword [rax + 8], rdi
mov qword [rax + 0x10], rbx
xor eax, eax
lock cmpxchg qword [0x140192050], r14
je 0x14004ac4c
mov rsi, rax
mov rcx, qword [r14]
mov rdx, qword [r14 + 0x10]
call fcn.14004acb0
mov rcx, r14
call fcn.14002522f
mov r14, rsi
mov rax, r14
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, str.parking_lot_requires_either_NT_Keyed_Events__WinXP__or_WaitOnAddress_WakeByAddress__Win8__Users_spectrum_.cargo_registry_src_index.crates.io_6f17d22bba15001f_parking_lot_core_0.9.9_src_thread_parker_windows_mod.rs
lea r8, [0x140137288]
mov edx, 0x5b
call fcn.14004b6e1
ud2
mov ecx, 8
mov edx, 0x18
call fcn.140006450
ud2

Function at 0x14004b582
Capabilities:
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x58
call fcn.14004b7c0
cmp rax, 2
jb 0x14004b5a1
mov rsi, rax
cmp qword [rax + 8], 0
jne 0x14004b637
call fcn.14004b7c0
cmp rax, 1
je 0x14004b63d
mov rsi, rax
test rax, rax
jne 0x14004b5fc
mov al, byte [0x140192198]
mov ecx, 0x40
mov edx, 8
call fcn.140005f00
test rax, rax
je 0x14004b659
mov rsi, rax
lea rax, section..data
mov qword [rsi], rax
and qword [rsi + 8], 0
mov ecx, dword [0x140103018]
test ecx, ecx
je 0x14004b649
dec ecx
mov rdx, rsi
call sub.kernel32.dll_TlsSetValue
lea rdi, [rsp + 0x20]
mov rcx, rdi
call fcn.14004b160
movups xmm0, xmmword [rdi]
movups xmm1, xmmword [rdi + 0x10]
movups xmm2, xmmword [rdi + 0x20]
movups xmmword [rsi + 0x18], xmm1
movups xmmword [rsi + 0x28], xmm2
mov rax, qword [rdi + 0x30]
mov qword [rsi + 0x38], rax
cmp qword [rsi + 8], 0
movups xmmword [rsi + 8], xmm0
je 0x14004b637
lock dec qword [0x140192040]
add rsi, 8
jmp 0x14004b63f
xor esi, esi
mov rax, rsi
add rsp, 0x58
pop rdi
pop rsi
ret
lea rcx, section..data
call fcn.1400b2d00
mov ecx, eax
jmp 0x14004b5f4
mov ecx, 8
mov edx, 0x40
call fcn.140006450
ud2
Function at 0x14004b6ff
Capabilities:
Set thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rdx
mov rax, rcx
mov ecx, dword [rcx + 0x18]
test ecx, ecx
je 0x14004b720
dec ecx
mov rdx, rsi
add rsp, 0x20
pop rsi
jmp sub.kernel32.dll_TlsSetValue
mov rcx, rax
call fcn.1400b2d00
mov ecx, eax
jmp 0x14004b713

Function at 0x14004b7c0
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov ecx, dword [0x140103018]
test ecx, ecx
je 0x14004b7d9
dec ecx
add rsp, 0x28
jmp sub.kernel32.dll_TlsGetValue
lea rcx, section..data
call fcn.1400b2d00
mov ecx, eax
jmp 0x14004b7d0
Function at 0x140068d35
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._Users_spectrum_.cargo_registry_src_index.crates.io_6f17d22bba15001f_schannel_0.1.22_src_tls_stream.rs
call fcn.140068c57
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 sub.secur32.dll_DecryptMessage
cmp eax, 0x80090318
je 0x140068e12
test eax, eax
je 0x140068e2e
cmp eax, 0x90317
je 0x140068ea6
cmp eax, 0x90321
jne 0x140068eae
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.140068cd5
and qword [rdi + 0xf8], 0
mov byte [rsi + 1], bl
jmp 0x140068ebc
cmp dword [rsp + 0x34], 4
mov eax, 1
cmove eax, dword [rsp + 0x30]
mov qword [rdi + 0xf8], rax
mov byte [rsi + 1], 0
jmp 0x140068eaa
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.140068ec6
mov r8, rdx
mov rcx, rbx
mov rdx, rax
call fcn.1400f1381
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.140068cd5
xor eax, eax
cmp qword [rdi + 0x98], rbx
sete al
mov qword [rdi + 0xf8], rax
mov byte [rsi + 1], 0
jmp 0x140068ebc
mov byte [rsi + 1], 1
xor ebx, ebx
jmp 0x140068ebc
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 0x14006a1d2
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._Users_spectrum_.cargo_registry_src_index.crates.io_6f17d22bba15001f_schannel_0.1.22_src_tls_stream.rs
call fcn.140068c57
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 sub.secur32.dll_DecryptMessage
cmp eax, 0x80090318
je 0x14006a2b5
test eax, eax
je 0x14006a2d4
cmp eax, 0x90317
je 0x14006a355
cmp eax, 0x90321
jne 0x14006a35d
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.14006a172
and qword [rdi + 0x1f8], 0
mov byte [rsi + 1], bl
jmp 0x14006a36b
cmp dword [rsp + 0x34], 4
mov eax, 1
cmove eax, dword [rsp + 0x30]
mov qword [rdi + 0x1f8], rax
mov byte [rsi + 1], 0
jmp 0x14006a359
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.140068ec6
mov r8, rdx
mov rcx, rbx
mov rdx, rax
call fcn.1400f1381
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.14006a172
xor eax, eax
cmp qword [rdi + 0x198], rbx
sete al
mov qword [rdi + 0x1f8], rax
mov byte [rsi + 1], 0
jmp 0x14006a36b
mov byte [rsi + 1], 1
xor ebx, ebx
jmp 0x14006a36b
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 0x140084655
Capabilities:
Receive data
Receive data on socket

Disassembly:
cmp dword [rcx], 2
jne 0x140084667
add rcx, 8
jmp fcn.1400ee48e
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.140084806
mov rbx, rax
mov r14, rdx
lea r15, [rsp + 0x28]
mov rcx, rsi
call fcn.14006abbd
test rdx, rdx
jne 0x14008470a
mov rcx, r15
mov rdx, rsi
call fcn.1400678dd
mov eax, dword [rsp + 0x28]
cmp eax, 2
je 0x140084795
test eax, eax
je 0x14008470a
cmp qword [rsi + 0xf8], 0
je 0x1400846ed
mov rcx, r15
mov rdx, rsi
call fcn.140068af1
cmp qword [rsp + 0x28], 0
jne 0x140084795
cmp qword [rsp + 0x30], 0
je 0x14008470a
and qword [rsi + 0xf8], 0
mov rcx, r15
mov rdx, rsi
call fcn.140068d35
cmp byte [rsp + 0x28], 0
jne 0x140084795
cmp byte [rsp + 0x29], 0
je 0x140084693
mov rcx, rsi
call fcn.14006abbd
mov r13, rax
mov r15, rdx
test rax, rax
je 0x14008479a
cmp r14, r15
mov r12, r15
cmovb r12, r14
lea r9, str._Users_spectrum_.cargo_registry_src_index.crates.io_6f17d22bba15001f_schannel_0.1.22_src_tls_stream.rs
mov rcx, r12
mov rdx, rbx
mov r8, r14
call fcn.14006744b
mov rbx, rax
mov r14, rdx
lea r9, str._Users_spectrum_.cargo_registry_src_index.crates.io_6f17d22bba15001f_schannel_0.1.22_src_tls_stream.rs
mov rcx, r13
mov rdx, r15
mov r8, r12
call fcn.1400374a0
mov r9, rdx
lea rcx, str._Users_spectrum_.cargo_registry_src_index.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.1400aff92
mov rax, qword [rsi + 0x78]
add rax, r12
cmp rax, qword [rsi + 0x70]
ja 0x1400847db
mov qword [rsi + 0x78], rax
mov rcx, rdi
mov rdx, r12
call fcn.14008485c
xor r15d, r15d
jmp 0x1400847c1
mov r15, qword [rsp + 0x30]
mov qword [rsp + 0x28], r15
mov rcx, r15
call fcn.1400686d4
cmp al, 0xd
jne 0x1400847c1
and qword [rsi + 0x38], 0
lea rcx, [rsp + 0x28]
call fcn.140081d59
mov eax, 1
jmp 0x1400847c8
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._Users_spectrum_.cargo_registry_src_index.crates.io_6f17d22bba15001f_schannel_0.1.22_src_tls_stream.rs
mov edx, 0x3b
call fcn.14000af80
ud2
Function at 0x14008ae44
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 rax, r8
ror byte [rax - 0x77], 0xd3
mov rdi, rcx
lea rcx, [rsp + 0x58]
mov r8d, 0xb
mov rdx, rax
call fcn.140089013
mov dword [rsp + 0x38], 0x800
or byte [rax], al
invalid
and dword [rsp + 0x3c], 0
mov ecx, 0x800
call fcn.1400af94f
add al, byte [rax]
lea r15, [rsp + 0x40]
mov qword [r15], rax
mov qword [r15 + 8], rdx
and qword [r15 + 0x10], 0
adc byte [eax], al
mov rsi, qword [rsp + 0x58]
lea r13, [rsp + 0x38]
lea r12, [rsp + 0x3c]
mov r14, qword [rsp + 0x40]
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r14
mov rcx, rbx
mov rdx, rsi
xor r8d, r8d
mov r9, r12
call sub.advapi32.dll_RegQueryValueExW
invalid
add byte [0x14008afb5], bh
add byte [rax], al
jne 0x14008aedb
mov edx, dword [rsp + 0x38]
mov rcx, r15
mov ecx, edi
call fcn.1400aff1c
jmp 0x14008aea6
retf
test eax, eax
jne 0x14008aefd
mov eax, dword [rsp + 0x38]
mov qword [rsp + 0x50], rax
mov eax, dword [rsp + 0x3c]
cmp eax, 0xb
or esi, dword [rsi + 0x2a]
movabs rax, 0xde00000002
jmp 0x14008af05
shl rax, 0x20
or rax, 2
mov qword [rdi], rax
mov byte [rdi + 0x18], 0xc
sbb byte [r8 + r9*2], r9b
mov edx, dword [rsp + 0x48]
mov rcx, r14
call fcn.1400afadf
jmp 0x14008af2f
mov rcx, qword [rsp + 0x50]
mov qword [rdi + 0x10], rcx
movups xmm0, xmmword [rsp + 0x40]
and al, 0x40
movups xmmword [rdi], xmm0
mov byte [rdi + 0x18], al
mov rdx, qword [rsp + 0x60]
mov rcx, rsi
call fcn.1400ea7e4
nop
add rsp, 0x70
add esp, 0x70
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x1400ac8c0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rdx
sub rdx, rcx
cmp rdx, 0x20
jae fcn.140009d10
cmp rax, rcx
je 0x1400ac8e5
cmp rdx, 4
jae 0x1400ac8e8
xor eax, eax
xor r8d, r8d
jmp 0x1400ac980
xor eax, eax
ret
mov r8, rdx
and r8, 0xfffffffffffffffc
pxor xmm0, xmm0
xor eax, eax
movdqa xmm2, xmmword [0x140106690]
movdqa xmm3, xmmword [0x1401066a0]
pxor xmm1, xmm1
nop dword [rax]
movzx r9d, word [rcx + rax]
movd xmm4, r9d
movzx r9d, word [rcx + rax + 2]
movd xmm5, r9d
pcmpgtb xmm4, xmm2
punpcklbw xmm4, xmm4
pshuflw xmm4, xmm4, 0xd4
pshufd xmm4, xmm4, 0xd4
pand xmm4, xmm3
paddq xmm0, xmm4
pcmpgtb xmm5, xmm2
punpcklbw xmm5, xmm5
pshuflw xmm4, xmm5, 0xd4
pshufd xmm4, xmm4, 0xd4
pand xmm4, xmm3
paddq xmm1, xmm4
add rax, 4
cmp r8, rax
jne 0x1400ac910
paddq xmm1, xmm0
pshufd xmm0, xmm1, 0xee
paddq xmm0, xmm1
movq rax, xmm0
cmp r8, rdx
je 0x1400ac997
nop dword [rax]
xor r9d, r9d
cmp byte [rcx + r8], 0xc0
setge r9b
add rax, r9
inc r8
cmp rdx, r8
jne 0x1400ac980
ret
Function at 0x1400ad900
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x48
mov rsi, rcx
mov r8, qword [rcx]
test r8, r8
je 0x1400ad95b
mov r10, qword [rsi + 8]
mov rcx, qword [rsi + 0x10]
cmp rcx, r10
jae 0x1400ad95b
movzx eax, byte [r8 + rcx]
cmp eax, 0x49
je 0x1400ad976
cmp eax, 0x42
jne 0x1400ad95b
lea r11, [rcx + 1]
mov qword [rsi + 0x10], r11
cmp r11, r10
jae 0x1400ada26
cmp byte [r8 + r11], 0x5f
jne 0x1400ada26
lea rax, [rcx + 2]
mov qword [rsi + 0x10], rax
xor eax, eax
jmp 0x1400ada8e
mov rcx, rsi
xor edx, edx
call fcn.1400a92f0
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.1400a92f0
test al, al
jne 0x1400adb21
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x1400ad9b2
lea rdx, [0x14013eca3]
mov r8d, 1
call fcn.14000ac60
test al, al
jne 0x1400adb21
mov rax, qword [rsi]
mov dil, 1
test rax, rax
je 0x1400ad96a
xor r14d, r14d
lea rbx, [0x14013f011]
nop word [rax + rax]
mov rcx, qword [rsi + 0x10]
cmp rcx, qword [rsi + 8]
jae 0x1400ad9e4
cmp byte [rax + rcx], 0x45
je 0x1400adb43
sub r14, 1
jb 0x1400ada09
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x1400ada09
mov r8d, 2
mov rdx, rbx
call fcn.14000ac60
test al, al
jne 0x1400adb21
mov rcx, rsi
call fcn.1400aab20
test al, al
jne 0x1400adb21
mov rax, qword [rsi]
test rax, rax
jne 0x1400ad9d0
jmp 0x1400ad96a
xor eax, eax
mov edi, 0x3e
nop dword [rax]
mov r9b, 1
cmp r11, r10
jae 0x1400adae8
movzx edx, byte [r8 + r11]
cmp dl, 0x5f
je 0x1400ada82
lea ebx, [rdx - 0x30]
cmp bl, 0xa
jb 0x1400ada6c
lea ebx, [rdx - 0x61]
cmp bl, 0x1a
jae 0x1400ada5b
add dl, 0xa9
jmp 0x1400ada6a
lea ebx, [rdx - 0x41]
cmp bl, 0x1a
jae 0x1400adae8
add dl, 0xe3
mov ebx, edx
inc r11
mov qword [rsi + 0x10], r11
mul rdi
jo 0x1400adae8
movzx edx, bl
add rax, rdx
jae 0x1400ada30
jmp 0x1400adae8
inc r11
mov qword [rsi + 0x10], r11
inc rax
je 0x1400adae8
cmp rax, rcx
jae 0x1400adae5
mov ecx, dword [rsi + 0x18]
inc ecx
cmp ecx, 0x1f4
ja 0x1400adb3b
cmp qword [rsi + 0x20], 0
je 0x1400adb34
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.1400ad900
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm1
jmp 0x1400ad96c
mov r9b, 1
xor edi, edi
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x1400adb29
mov eax, r9d
xor al, 1
movzx eax, al
lea r8, [rax + rax*8]
add r8, 0x10
lea rax, str.invalid_syntaxrecursion_limit_reached_for_____::closureshim_as__mut_const___dyn___unsafe_extern__
lea rdx, [0x14013eff0]
test r9b, r9b
cmovne rdx, rax
call fcn.14000ac60
test al, al
je 0x1400adb29
mov dil, 2
jmp 0x1400ad96a
mov qword [rsi], 0
mov byte [rsi + 8], dil
xor edi, edi
jmp 0x1400ad96a
mov dil, 1
xor r9d, r9d
jmp 0x1400adaea
inc rcx
mov qword [rsi + 0x10], rcx
jmp 0x1400ad96a
Function at 0x1400b0475
Capabilities:
Get client handle via schannel
Get outbound credentials handle via credssp

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0xd8
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], 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 + 0x18]
test rax, rax
je 0x1400b04da
mov edx, dword [rcx + 0x28]
mov dword [rsp + 0xb0], edx
mov qword [rsp + 0xb8], rax
mov rax, qword [rcx + 0x30]
test rax, rax
je 0x1400b0510
mov r8, qword [rcx + 0x40]
xor edx, edx
test r8, r8
je 0x1400b0509
lea r9, [0x14016c200]
xor r10d, r10d
movzx r11d, byte [rax + r10]
or edx, dword [r9 + r11*4]
inc r10
cmp r8, r10
jne 0x1400b04f8
mov dword [rsp + 0xc0], edx
mov rsi, qword [rcx + 0x10]
test rsi, rsi
je 0x1400b0560
mov rax, rsi
shr rax, 0x3c
jne 0x1400b0628
mov r14, qword [rcx]
lea rbx, [rsi*8]
mov ecx, 8
mov rdx, rbx
call fcn.1400fb20b
test rax, rax
je 0x1400b062f
mov rdi, rax
xor eax, eax
mov rcx, qword [r14 + rax*8]
mov qword [rdi + rax*8], rcx
inc rax
cmp rsi, rax
jne 0x1400b054c
mov eax, esi
jmp 0x1400b0567
xor eax, eax
mov edi, 8
lea rcx, [rsp + 0x88]
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 sub.secur32.dll_AcquireCredentialsHandleA
mov ebx, eax
test eax, eax
je 0x1400b05c0
shl rbx, 0x20
or rbx, 2
mov r14d, 1
jmp 0x1400b060a
movaps xmm0, xmmword [rsp + 0x50]
mov eax, 1
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
movups xmmword [rsp + 0x78], xmm0
mov al, byte [0x140192198]
mov ecx, 0x20
mov edx, 8
call fcn.140005f00
test rax, rax
je 0x1400b063e
mov rbx, rax
movups xmm0, xmmword [rsp + 0x68]
movups xmm1, xmmword [rsp + 0x78]
movups xmmword [rax + 0x10], xmm1
movups xmmword [rax], xmm0
xor r14d, r14d
mov rcx, rdi
mov rdx, rsi
call fcn.1400afab4
mov rax, r14
mov rdx, rbx
add rsp, 0xd8
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.140006410
ud2
mov ecx, 8
mov rdx, rbx
call fcn.140006450
ud2
lea r14, [rsp + 0x78]
mov ecx, 8
mov edx, 0x20
call fcn.140006450
ud2

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

Disassembly:
sub rsp, 0x28
lea r8, [rsp + 0x20]
and qword [r8], 0
mov edx, 0x53
call sub.secur32.dll_QueryContextAttributesW
mov edx, eax
xor eax, eax
test edx, edx
setne cl
jne 0x1400b09ef
mov rdx, qword [rsp + 0x20]
jmp 0x1400b09f7
shl rdx, 0x20
or rdx, 2
mov al, cl
add rsp, 0x28
ret
Function at 0x1400b156c
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 0x1400b1598
xor eax, eax
jmp 0x1400b159d
call fcn.140048c6e
nop
add rsp, 0x38
ret

Function at 0x1400b15a3
Capabilities:
Connect socket

Disassembly:
sub rsp, 0x28
mov r8d, dword [rdx + 0x80]
call sub.ws2_32.dll_connect
test eax, eax
je 0x1400b15c0
add rsp, 0x28
jmp fcn.140048c6e
xor eax, eax
add rsp, 0x28
ret