joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400afd66
Capabilities:
Accept command line arguments

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rax, rdx
mov rsi, rcx
lea rdx, [rsp + 0x2c]
mov rcx, rax
call qword [sym.imp.shell32.dll_CommandLineToArgvW]
test rax, rax
je 0x1400afe12
mov rdi, rax
lea rbx, [rsp + 0x30]
and qword [rbx], 0
mov qword [rbx + 8], 8
and qword [rbx + 0x10], 0
movsxd r12, dword [rsp + 0x2c]
shl r12, 3
xor r13d, r13d
lea r14, [rsp + 0x48]
cmp r12, r13
je 0x1400afdec
mov r15, qword [rdi + r13]
mov rcx, r15
call sub.api_ms_win_crt_string_l1_1_0.dll_wcslen
mov rcx, r14
mov rdx, r15
mov r8, rax
call fcn.1400ae676
mov rcx, rbx
mov rdx, r14
call fcn.1400b00da
add r13, 8
jmp 0x1400afdbc
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
test rax, rax
jne 0x1400afdff
call fcn.1400bf882
mov rax, qword [rsp + 0x40]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rsi], xmm0
jmp 0x1400afe23
and qword [rsi], 0
mov qword [rsi + 8], 8
and qword [rsi + 0x10], 0
add rsp, 0x60
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x1400b1bb0
Capabilities:
Get system information on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x198
cmp qword [rcx + 0x80], 0
jne 0x1400b224e
mov r15d, edx
mov rbx, rcx
xorps xmm0, xmm0
lea rcx, [rsp + 0x160]
movaps xmmword [rcx + 0x20], xmm0
movaps xmmword [rcx + 0x10], xmm0
movaps xmmword [rcx], xmm0
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
add dword [rax], eax

Function at 0x1400b5d63
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
mov rax, qword [rcx]
mov rdx, rax
xor rdx, 3
lock cmpxchg qword [rcx], rdx
jne 0x1400b5d6a
test al, 1
je 0x1400b5d89
test al, 2
jne 0x1400b5da1
xor rax, 3
add rsp, 0x28
ret
lea rcx, str.assertion_failed:_prev.is_running__
lea r8, [0x14018e6a0]
mov edx, 0x23
call fcn.1400c11d0
lea rcx, str.assertion_failed:__prev.is_complete__
lea r8, [0x14018e6e0]
mov edx, 0x25
call fcn.1400c11d0
int3

Function at 0x1400b66ae
Capabilities:
Set socket configuration

Disassembly:
push rbx
sub rsp, 0x30
mov ebx, edx
call fcn.1400b5c16
mov rcx, qword [rax]
movzx eax, bl
lea r9, [rsp + 0x2c]
mov dword [r9], eax
mov dword [rsp + 0x20], 4
mov edx, 6
mov r8d, 1
call qword [sym.imp.ws2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x1400b66ea
xor eax, eax
jmp 0x1400b66f8
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
add rsp, 0x30
pop rbx
ret
Function at 0x1400b695f
Capabilities:
Send data
Send data on socket

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov rdi, r9
mov rbx, r8
mov r14, rdx
mov qword [rsp + 0x28], rcx
mov rax, qword [rsp + 0xd0]
lea r15, [rsp + 0x3a]
lea r13, [rsp + 0x52]
mov rbp, qword [rdx + 8]
mov r12, qword [rdx + 0x10]
mov ecx, 0x7fffffff
cmp rax, rcx
cmovb rcx, rax
mov qword [rsp + 0x60], rcx
mov rax, qword [rdx + 0x18]
mov qword [rsp + 0x58], rax
lea rsi, [rsp + 0x30]
mov qword [rsp + 0x40], rbp
mov rcx, rsi
mov rdx, rbp
mov r8, rbx
call fcn.1400b66a6
mov al, byte [rsp + 0x39]
cmp al, 3
je 0x1400b6ad3
mov rcx, qword [rsp + 0x30]
cmp al, 2
je 0x1400b6ae1
mov dl, byte [rsp + 0x38]
movzx r8d, word [r15 + 4]
mov word [r13 + 4], r8w
mov r8d, dword [r15]
mov dword [r13], r8d
mov qword [rsp + 0x48], rcx
mov byte [rsp + 0x50], dl
mov byte [rsp + 0x51], al
cmp r12, 0xffffffffffffffff
je 0x1400b6b25
mov rcx, r12
mov rdx, rdi
mov r8, qword [rsp + 0x60]
xor r9d, r9d
call qword [sym.imp.ws2_32.dll_send]
cmp eax, 0xffffffff
jne 0x1400b6af3
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov esi, eax
shl rsi, 0x20
or rsi, 2
mov rcx, rsi
call fcn.140021aae
cmp al, 0xd
jne 0x1400b6aa3
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x1400b6aa3
mov rcx, qword [rax]
mov rdx, qword [rax + 8]
lock inc qword [rdx]
jle 0x1400b6b31
mov rbp, r12
mov r12, r14
add rcx, 0x10
mov r8, qword [rax + 0x10]
mov r9b, byte [rax + 0x18]
call fcn.14003eaae
mov r14, rax
xor ecx, ecx
call fcn.14003cf89
test r14, r14
je 0x1400b6a98
mov ecx, 1
mov rdx, rsi
call fcn.14003ec70
mov rsi, r14
mov r14, r12
mov r12, rbp
mov rbp, qword [rsp + 0x40]
mov rcx, rsi
call fcn.1400b2f7d
cmp al, 0xd
jne 0x1400b6b04
mov qword [rsp + 0x30], rsi
mov rcx, r14
lea rdx, [rsp + 0x48]
call fcn.1400b63d7
lea rsi, [rsp + 0x30]
mov rcx, rsi
call fcn.1400b3201
jmp 0x1400b69bb
mov rax, qword [rsp + 0x28]
mov qword [rax], 2
jmp 0x1400b6b14
mov rax, qword [rsp + 0x28]
mov qword [rax], 1
mov qword [rax + 8], rcx
jmp 0x1400b6b14
cdqe
mov rcx, qword [rsp + 0x28]
and qword [rcx], 0
mov qword [rcx + 8], rax
jmp 0x1400b6b14
mov rax, qword [rsp + 0x28]
mov qword [rax], 1
mov qword [rax + 8], rsi
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, str.C:UsersGyanbu.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.37.0_srciopoll_evented.rs
call fcn.1400c15c0
ud2
Function at 0x1400c0470
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400c04ba
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400c04ba
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400c04ba
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400c04ba
cmp dword [rcx + 0x84], 0xe
jbe 0x1400c04ba
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400c04bc
xor al, al
add rsp, 0x28
ret
Function at 0x140001418
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov rcx, qword [rcx]
mov r8d, 1
jmp fcn.1400c47fc

Function at 0x140011840
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x20
lea rbp, [rsp + 0x20]
mov rax, rdx
mov rsi, qword [rbp + 0x70]
mov rdi, qword [rbp + 0x68]
mov rdx, qword [rbp + 0x60]
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 0x1400118c0
cmp r11, r10
ja 0x140011937
cmp r10, rdx
ja 0x140011949
add r11, r9
xor r15d, r15d
nop dword [rax + rax]
cmp r14, r15
je 0x1400118c2
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x1400118a0
jmp 0x140011924
ja 0x1400118ca
mov r11, r10
cmp rax, r8
jne 0x14001186e
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 0x140011900
mov rdi, r8
sub ecx, edx
jns 0x14001191b
jmp 0x140011926
cmp r8, rsi
je 0x140011958
movzx r8d, byte [rdi + 1]
add rdi, 2
and edx, 0x7f
shl edx, 8
or edx, r8d
sub ecx, edx
js 0x140011926
xor al, 1
cmp rdi, rsi
jne 0x1400118e0
jmp 0x140011926
xor eax, eax
and al, 1
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
pop rbp
ret
lea r8, [0x140a79bd8]
mov rcx, r11
mov rdx, r10
call fcn.1400f86d0
lea r8, [0x140a79bd8]
mov rcx, r10
call fcn.1400f8330
lea rcx, [0x140a79bc0]
call fcn.1400f8740
int3

Function at 0x140020440
Capabilities:
Hash data using fnv

Disassembly:
mov rax, qword [rcx]
xor r9d, r9d
movabs r10, 0x100000001b3
cmp r8, r9
je 0x140020466
movzx r11d, byte [rdx + r9]
xor rax, r11
imul rax, r10
inc r9
jmp 0x140020450
mov qword [rcx], rax
ret
Function at 0x14003adf5
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov rcx, qword [rcx]
add qword [rcx + 0x20], r8
jmp fcn.1400c47fc
Function at 0x14003b507
Capabilities:
Encrypt data using aes

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rsi, rdx
mov rdi, rcx
mov byte [rdx + 0xf0], 0xe
call fcn.14003b802
mov dword [rsi], eax
lea rcx, [rdi + 4]
call fcn.14003b802
mov dword [rsi + 4], eax
lea rcx, [rdi + 8]
call fcn.14003b802
mov dword [rsi + 8], eax
lea rcx, [rdi + 0xc]
call fcn.14003b802
mov dword [rsi + 0xc], eax
lea rcx, [rdi + 0x10]
call fcn.14003b802
mov dword [rsi + 0x10], eax
lea rcx, [rdi + 0x14]
call fcn.14003b802
mov dword [rsi + 0x14], eax
lea rcx, [rdi + 0x18]
call fcn.14003b802
mov dword [rsi + 0x18], eax
add rdi, 0x1c
mov rcx, rdi
call fcn.14003b802
mov dword [rsi + 0x1c], eax
mov eax, 0x3c
xor ebx, ebx
lea r14, [0x140aa1c28]
mov ebp, 0xff
lea r15, [0x140aa2028]
lea r12, [0x140aa2428]
lea r13, [0x140aa2828]
lea rdi, [0x140aa2c28]
cmp rax, 7
jbe 0x14003b745
cmp rax, 8
je 0x14003b759
mov ecx, dword [rsi + 0x1c]
mov edx, ecx
shr edx, 0xe
and edx, 0x3fc
movzx r8d, byte [rdx + r14 + 3]
shl r8d, 0x18
xor r8d, dword [rsi]
mov edx, ecx
shr edx, 8
and edx, ebp
movzx edx, byte [r15 + rdx*4 + 2]
shl edx, 0x10
mov r9d, ecx
and r9d, ebp
movzx r9d, byte [r12 + r9*4 + 1]
shl r9d, 8
xor r9d, edx
mov edx, ecx
shr edx, 0x18
movzx edx, byte [r13 + rdx*4]
xor edx, r9d
xor edx, r8d
xor edx, dword [rbx + rdi]
mov dword [rsi + 0x20], edx
cmp rax, 9
jbe 0x14003b72f
xor edx, dword [rsi + 4]
mov dword [rsi + 0x24], edx
cmp rax, 0xa
je 0x14003b76f
xor edx, dword [rsi + 8]
mov dword [rsi + 0x28], edx
cmp rax, 0xb
jbe 0x14003b719
xor edx, dword [rsi + 0xc]
mov dword [rsi + 0x2c], edx
cmp rbx, 0x18
je 0x14003b708
cmp rax, 0xc
je 0x14003b785
mov r8d, edx
shr r8d, 0x18
movzx r8d, byte [r14 + r8*4 + 3]
shl r8d, 0x18
xor r8d, dword [rsi + 0x10]
mov r9d, edx
shr r9d, 0xe
and r9d, 0x3fc
movzx r9d, byte [r9 + r15 + 2]
shl r9d, 0x10
mov r10d, edx
shr r10d, 8
and r10d, ebp
movzx r10d, byte [r12 + r10*4 + 1]
shl r10d, 8
xor r10d, r9d
and edx, ebp
movzx edx, byte [r13 + rdx*4]
xor edx, r10d
xor edx, r8d
mov dword [rsi + 0x30], edx
cmp rax, 0xd
jbe 0x14003b7c7
xor edx, dword [rsi + 0x14]
mov dword [rsi + 0x34], edx
cmp rax, 0xe
je 0x14003b79b
xor edx, dword [rsi + 0x18]
mov dword [rsi + 0x38], edx
cmp rax, 0xf
jbe 0x14003b7b1
xor edx, ecx
mov dword [rsi + 0x3c], edx
mov ecx, 8
mov rdx, rsi
mov r8, rax
lea r9, [0x140aa2d28]
call fcn.14003b7de
mov rsi, rax
mov rax, rdx
add rbx, 4
jmp 0x14003b5b1
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea r8, [0x140aa2cb0]
mov ecx, 0xb
mov edx, 0xb
call fcn.1400f82c0
lea r8, [0x140aa2c80]
mov ecx, 9
mov edx, 9
or dword [rax], eax
add byte [rax], al
call fcn.1400f82c0
lea r8, [0x140aa2c50]
mov ecx, 7
mov rdx, rax
call fcn.1400f82c0
lea r8, [0x140aa2c68]
mov ecx, 8
mov edx, 8
call fcn.1400f82c0
retf
or eax, dword [rax]
lea r8, [0x140aa2c98]
mov ecx, 0xa
mov edx, 0xa
call fcn.1400f82c0
lea r8, [0x140aa2cc8]
mov ecx, 0xc
mov edx, 0xc
call fcn.1400f82c0
lea r8, [0x140aa2cf8]
mov ecx, 0xe
mov edx, 0xe
call fcn.1400f82c0
lea r8, [0x140aa2d10]
mov ecx, 0xf
add byte [rdx + 0xf], bh
call fcn.1400f82c0
lea r8, [0x140aa2ce0]
mov ecx, 0xd
mov edx, 0xd
call fcn.1400f82c0
int3
Function at 0x1400773a8
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsp
push rsi
push rdi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0x60]
mov qword [rbp], 0xfffffffffffffffe
mov r15, rdx
mov r12, rcx
mov qword [rbp - 0x30], r8
mov rcx, r8
call fcn.1400776ca
mov qword [rbp - 0x40], rax
mov rsi, qword [r12 + 8]
mov ebx, 0x7fffffff
cmp rdx, rbx
mov qword [rbp - 0x38], rdx
cmovb rbx, rdx
cmovb ebx, edx
mov rdi, qword [r12 + 0x10]
mov r13, qword [r12 + 0x18]
xor r14d, r14d
Function at 0x140098787
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 + 0x48]
mov rcx, qword [rdx + 0x38]
mov rdx, qword [rdx + 0x40]
lea r9, [0x140aaa6c0]
call fcn.14009890b
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 + 0xe8]
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.secur32.dll_DecryptMessage]
cmp eax, 0x80090318
je 0x1400988d5
test eax, eax
je 0x140098863
cmp eax, 0x90317
je 0x1400988cf
cmp eax, 0x90321
jne 0x1400988f3
mov dword [rdi + 0xa0], 0x10000
xor ebx, ebx
mov byte [rdi + 0xa4], bl
cmp dword [rsp + 0x54], 5
mov rdx, qword [rdi + 0x48]
mov eax, 0
cmove eax, dword [rsp + 0x50]
sub rdx, rax
mov rcx, rdi
call fcn.140098960
and qword [rdi + 0x108], 0
mov byte [rsi + 1], bl
jmp 0x140098901
mov r8, qword [rsp + 0x38]
mov rcx, qword [rdi + 0x38]
mov rdx, qword [rdi + 0x40]
sub r8, rcx
mov r9d, dword [rsp + 0x30]
add r9, r8
lea rbx, [rdi + 0x10]
and qword [rdi + 0x20], 0
call fcn.14009891c
mov r8, rdx
mov rcx, rbx
mov rdx, rax
call fcn.1400de9b8
and qword [rdi + 0x28], 0
xor ebx, ebx
cmp dword [rsp + 0x54], 5
mov rdx, qword [rdi + 0x48]
mov eax, dword [rsp + 0x50]
cmovne eax, ebx
sub rdx, rax
mov rcx, rdi
call fcn.140098960
xor eax, eax
cmp qword [rdi + 0x48], rbx
sete al
mov qword [rdi + 0x108], rax
mov byte [rsi + 1], 0
jmp 0x140098901
mov byte [rsi + 1], 1
jmp 0x1400988ef
cmp dword [rsp + 0x34], 4
mov eax, 1
cmove eax, dword [rsp + 0x30]
mov qword [rdi + 0x108], rax
mov byte [rsi + 1], 0
xor ebx, ebx
jmp 0x140098901
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 0x140099de4
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 + 0x170]
mov rcx, qword [rdx + 0x160]
mov rdx, qword [rdx + 0x168]
lea r9, [0x140aaa6c0]
call fcn.14009890b
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 + 0x1e8]
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.secur32.dll_DecryptMessage]
cmp eax, 0x80090318
je 0x140099f53
test eax, eax
je 0x140099ecc
cmp eax, 0x90317
je 0x140099f4d
cmp eax, 0x90321
jne 0x140099f71
mov dword [rdi + 0x1c8], 0x10000
xor ebx, ebx
mov byte [rdi + 0x1cc], bl
cmp dword [rsp + 0x54], 5
mov rdx, qword [rdi + 0x170]
mov eax, 0
cmove eax, dword [rsp + 0x50]
sub rdx, rax
mov rcx, rdi
call fcn.140099f89
and qword [rdi + 0x208], 0
mov byte [rsi + 1], bl
jmp 0x140099f7f
mov r8, qword [rsp + 0x38]
mov rcx, qword [rdi + 0x160]
mov rdx, qword [rdi + 0x168]
sub r8, rcx
mov r9d, dword [rsp + 0x30]
add r9, r8
lea rbx, [rdi + 0x138]
and qword [rdi + 0x148], 0
call fcn.14009891c
mov r8, rdx
mov rcx, rbx
mov rdx, rax
call fcn.1400de9b8
and qword [rdi + 0x150], 0
xor ebx, ebx
cmp dword [rsp + 0x54], 5
mov rdx, qword [rdi + 0x170]
mov eax, dword [rsp + 0x50]
cmovne eax, ebx
sub rdx, rax
mov rcx, rdi
call fcn.140099f89
xor eax, eax
cmp qword [rdi + 0x170], rbx
sete al
mov qword [rdi + 0x208], rax
mov byte [rsi + 1], 0
jmp 0x140099f7f
mov byte [rsi + 1], 1
jmp 0x140099f6d
cmp dword [rsp + 0x34], 4
mov eax, 1
cmove eax, dword [rsp + 0x30]
mov qword [rdi + 0x208], rax
mov byte [rsi + 1], 0
xor ebx, ebx
jmp 0x140099f7f
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 0x14009d7f6
Capabilities:
Receive data
Receive data on socket

Disassembly:
cmp dword [rcx], 2
jne fcn.14007771c
add rcx, 8
jmp fcn.1400773a8

Function at 0x14009d808
Capabilities:
Send data
Send data on socket

Disassembly:
cmp dword [rcx], 2
jne fcn.140077d6f
add rcx, 8
jmp fcn.1400d6277
Function at 0x1400c04f0
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
mov rax, rdx
sub rdx, rcx
cmp rdx, 0x20
jae 0x1400c0515
cmp rax, rcx
je 0x1400c051b
cmp rdx, 4
jae 0x1400c0522
xor eax, eax
xor r8d, r8d
jmp 0x1400c05c0
pop rbp
jmp fcn.14000da60
xor eax, eax
jmp 0x1400c05d7
mov r8d, edx
and r8d, 0x1c
pxor xmm0, xmm0
xor eax, eax
movdqa xmm2, xmmword [0x1400fd630]
movdqa xmm3, xmmword [0x1400fd640]
pxor xmm1, xmm1
nop word cs:[rax + 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 0x1400c0550
paddq xmm1, xmm0
pshufd xmm0, xmm1, 0xee
paddq xmm0, xmm1
movq rax, xmm0
cmp r8, rdx
je 0x1400c05d7
nop dword [rax]
xor r9d, r9d
cmp byte [rcx + r8], 0xc0
setge r9b
add rax, r9
inc r8
cmp rdx, r8
jne 0x1400c05c0
pop rbp
ret

Function at 0x1400c42e0
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 0x1400c430a
mov rdx, qword [rsp + 0x20]
jmp 0x1400c4312
shl rdx, 0x20
or rdx, 2
mov al, cl
add rsp, 0x28
ret
Function at 0x1400c45c3
Capabilities:
Get client handle via schannel
Get outbound credentials handle via credssp

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0xf0
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x68], 0xfffffffffffffffe
xorps xmm0, xmm0
movaps xmmword [rbp + 0x40], xmm0
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp], xmm0
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp - 0x20], xmm0
mov dword [rbp - 0x30], 4
mov dword [rbp + 0x18], 0x400010
movabs rax, 0x8000000000000000
cmp qword [rcx + 0x18], rax
je 0x1400c4623
mov edx, dword [rcx + 0x28]
mov dword [rbp - 8], edx
mov rdx, qword [rcx + 0x20]
mov qword [rbp], rdx
cmp qword [rcx + 0x30], rax
je 0x1400c465a
mov rax, qword [rcx + 0x40]
test rax, rax
je 0x1400c4655
mov r8, qword [rcx + 0x38]
xor edx, edx
lea r9, [0x140ad8b78]
xor r10d, r10d
movzx r11d, byte [r8 + r10]
or edx, dword [r9 + r11*4]
inc r10
cmp rax, r10
jne 0x1400c4642
jmp 0x1400c4657
xor edx, edx
mov dword [rbp + 8], edx
mov r14, qword [rcx + 0x10]
test r14, r14
je 0x1400c46ae
lea rsi, [r14*8]
mov rax, r14
shr rax, 0x3c
jne 0x1400c4772
mov rbx, qword [rcx + 8]
push 8
pop rdi
mov rcx, rdi
mov rdx, rsi
call fcn.140040f55
test rax, rax
je 0x1400c4774
xor edx, edx
mov rcx, qword [rbx + rdx*8]
mov qword [rax + rdx*8], rcx
inc rdx
cmp r14, rdx
jne 0x1400c4695
mov qword [rbp + 0x60], r14
mov edx, r14d
jmp 0x1400c46b9
xor eax, eax
mov qword [rbp + 0x60], rax
push 8
pop rax
xor edx, edx
lea rcx, [rbp - 0x30]
mov dword [rcx + 4], edx
mov qword [rbp + 0x58], rax
mov qword [rcx + 8], rax
lea rax, [rbp + 0x40]
mov qword [rsp + 0x38], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
and qword [rsp + 0x40], 0
mov qword [rsp + 0x20], rcx
lea rdx, [0x140aae0d0]
push 2
pop r8
xor ecx, ecx
xor r9d, r9d
call qword [sym.imp.secur32.dll_AcquireCredentialsHandleA]
mov esi, eax
test eax, eax
je 0x1400c4715
shl rsi, 0x20
or rsi, 2
push 1
pop rdi
mov rcx, qword [rbp + 0x60]
mov rdx, qword [rbp + 0x58]
jmp 0x1400c4759
movaps xmm0, xmmword [rbp + 0x40]
push 1
pop rax
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], rax
movups xmmword [rbp + 0x30], xmm0
mov al, byte [0x140b18d98]
push 0x20
pop rdx
xor ecx, ecx
call fcn.1400d0590
test rax, rax
mov rcx, qword [rbp + 0x60]
mov rdx, qword [rbp + 0x58]
je 0x1400c477f
mov rsi, rax
movups xmm0, xmmword [rbp + 0x20]
movups xmm1, xmmword [rbp + 0x30]
movups xmmword [rax + 0x10], xmm1
movups xmmword [rax], xmm0
xor edi, edi
call fcn.140001291
mov rax, rdi
mov rdx, rsi
add rsp, 0xf0
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
xor edi, edi
mov rcx, rdi
mov rdx, rsi
call fcn.1400f7e60
push 8
pop rcx
push 0x20
pop rdx
call fcn.1400f7e80
ud2
Function at 0x1400c6d2d
Capabilities:
Hash data using sha256 via x86 extensions

Disassembly:
movaps xmm0, xmmword [rdx]
sha256msg1 xmm0, xmmword [r8]
movaps xmmword [rcx], xmm0
ret

Function at 0x1400c6d49
Capabilities:
Hash data using sha256 via x86 extensions

Disassembly:
movaps xmm0, xmmword [rdx]
sha256msg2 xmm0, xmmword [r8]
movaps xmmword [rcx], xmm0
ret

Function at 0x1400c6e4d
Capabilities:
Hash data using murmur3

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
mov r10d, r8d
rol r10d, 0x19
mov eax, dword [rdx]
mov esi, eax
rol esi, 0x19
mov r11d, dword [rdx + 4]
mov ebp, r11d
rol ebp, 0x19
mov edi, dword [rdx + 8]
mov r14d, edi
rol r14d, 0x19
mov ebx, r8d
rol ebx, 0xe
xor ebx, r10d
mov r15d, eax
rol r15d, 0xe
xor r15d, esi
mov r12d, r11d
rol r12d, 0xe
xor r12d, ebp
mov ebp, edi
rol ebp, 0xe
mov r10, qword [rsp + 0x60]
xor ebp, r14d
shr r8d, 3
mov esi, eax
shr esi, 3
xor esi, r15d
add esi, r11d
shr r11d, 3
xor r11d, r12d
add r11d, edi
shr edi, 3
xor edi, ebp
add edi, dword [rdx + 0xc]
add esi, dword [r9]
add r11d, dword [r9 + 4]
add edi, dword [r9 + 8]
mov edx, dword [r10 + 4]
mov ebp, edx
rol ebp, 0xf
xor r8d, ebx
mov ebx, edx
rol ebx, 0xd
mov r9d, dword [r10]
xor ebx, ebp
shr edx, 0xa
xor edx, ebx
add edx, edi
mov edi, r9d
rol edi, 0xf
mov ebx, r9d
rol ebx, 0xd
xor ebx, edi
shr r9d, 0xa
mov edi, edx
rol edi, 0xf
xor r9d, ebx
mov ebx, edx
rol ebx, 0xd
add r9d, r11d
xor ebx, edi
mov r11d, edx
shr r11d, 0xa
xor r11d, ebx
mov edi, r9d
rol edi, 0xf
add r11d, esi
mov esi, r9d
rol esi, 0xd
xor esi, edi
mov edi, r9d
shr edi, 0xa
xor edi, esi
add eax, dword [r10 + 0xc]
add eax, r8d
add eax, edi
mov dword [rcx], eax
mov dword [rcx + 4], r11d
mov dword [rcx + 8], r9d
mov dword [rcx + 0xc], edx
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
Function at 0x1400c6f6e
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x148
lea rbp, [rsp + 0x80]
mov qword [rbp + 0xc0], 0xfffffffffffffffe
mov rax, qword [rcx]
cmp byte [rax], 0
mov byte [rax], 0
je 0x1400c76e6
lea rsi, [0x140aae260]
lea rcx, [rbp + 0x98]
mov qword [rcx], rsi
mov qword [rcx + 8], 0xf
call fcn.14000f310
mov rdi, rax
test dil, 1
je 0x1400c7061
mov r8, qword [rbp + 0x98]
mov r9, qword [rbp + 0xa0]
test r9, r9
je 0x1400c704c
xor ebx, ebx
cmp byte [r8], 0x3a
jne 0x1400c704c
lea r10, [r8 + 1]
lea r11, [r9 - 1]
mov r15w, 0xa
mov r14, r11
mov r12, r10
xor ecx, ecx
test r14, r14
je 0x1400c7023
lea rdx, [r12 + 1]
movzx r13d, byte [r12]
add r13d, 0xffffffd0
xor eax, eax
cmp r13d, 0xa
setb al
cmovb r12, rdx
sub r14, rax
jmp 0x1400c7025
xor eax, eax
cmp eax, 1
jne 0x1400c7079
mov eax, ecx
mul r15w
jo 0x1400c7067
add ax, r13w
setb dl
cmp r13d, 0xffff
ja 0x1400c7067
test dl, dl
jne 0x1400c7067
inc ebx
mov ecx, eax
jmp 0x1400c6ffe
xor eax, eax
mov qword [rbp + 0x98], r8
mov qword [rbp + 0xa0], r9
test ax, ax
jne 0x1400c7096
xor edi, edi
xor eax, eax
jmp 0x1400c70b8
xor eax, eax
mov qword [rbp + 0x98], r10
mov qword [rbp + 0xa0], r11
jmp 0x1400c7090
mov qword [rbp + 0x98], r12
mov qword [rbp + 0xa0], r14
xor eax, eax
test ebx, ebx
setne al
je 0x1400c7069
cmp ax, 1
jne 0x1400c704e
movabs rax, 0xffffffff00
and rdi, rax
shr rdi, 8
movzx eax, cx
shl rax, 0x30
shl rdi, 0x10
or rdi, rax
push 1
pop rax
movzx ecx, di
or rcx, rax
cmp rcx, 1
jne 0x1400c731b
cmp qword [rbp + 0xa0], 0
jne 0x1400c7336
mov esi, edi
shr esi, 0x10
shr rdi, 0x18
xor r15d, r15d
mov qword [rbp + 0x98], rsi
mov qword [rbp + 0xa0], 0xf
test rcx, rcx
je 0x1400c73f9
mov rax, qword [rbp + 0xa0]
lea rcx, [0x140aae1c8]
call fcn.1400f8740

Function at 0x1400c778c
Capabilities:
Set socket configuration

Disassembly:
sub rsp, 0x38
mov eax, edx
lea r9, [rsp + 0x34]
mov dword [r9], r8d
mov dword [rsp + 0x20], 4
add byte [rax], al

Function at 0x1400c78a7
Capabilities:
Connect socket

Disassembly:
sub rsp, 0x28
mov r8d, dword [rdx + 0x80]
call qword [sym.imp.ws2_32.dll_connect]
test eax, eax
je 0x1400c78c5
add rsp, 0x28
jmp fcn.140041979
xor eax, eax
add rsp, 0x28
ret