joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400132f0
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 0x140013370
cmp r11, r10
ja 0x1400133e7
cmp r10, rdx
ja 0x1400133f9
add r11, r9
xor r15d, r15d
nop dword [rax + rax]
cmp r14, r15
je 0x140013372
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x140013350
jmp 0x1400133d4
ja 0x14001337a
mov r11, r10
cmp rax, r8
jne 0x14001331e
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 0x1400133b0
mov rdi, r8
sub ecx, edx
jns 0x1400133cb
jmp 0x1400133d6
cmp r8, rsi
je 0x140013408
movzx r8d, byte [rdi + 1]
add rdi, 2
and edx, 0x7f
shl edx, 8
or edx, r8d
sub ecx, edx
js 0x1400133d6
xor al, 1
cmp rdi, rsi
jne 0x140013390
jmp 0x1400133d6
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, str.___v_
mov rcx, r11
mov rdx, r10
call fcn.1400adf00
lea r8, str.___v_
mov rcx, r10
call fcn.1400add40
lea rcx, str.librarycore_srcunicodeprintable.rs
call fcn.1400ae060
int3

Function at 0x140016d80
Capabilities:
Hash data using fnv

Disassembly:
mov rax, qword [rcx]
xor r9d, r9d
movabs r10, 0x100000001b3
cmp r8, r9
je 0x140016da6
movzx r11d, byte [rdx + r9]
xor rax, r11
imul rax, r10
inc r9
jmp 0x140016d90
mov qword [rcx], rax
ret

Function at 0x140016e8e
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.140016d55
test rbx, rbx
je 0x140016ec7
mov rdx, qword [rdi + 8]
mov r8, qword [rdi + 0x10]
mov rcx, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.140016d80
mov cl, byte [rdi + 8]
mov rdx, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.140016d78
Function at 0x140039515
Capabilities:
Link many functions at runtime

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rsi, rcx
mov r14, qword [0x140136430]
test r14, r14
jne 0x140039647
lea rcx, [0x1400f8485]
call qword [sym.imp.kernel32.dll_GetModuleHandleA]
test rax, rax
je 0x14003957d
mov rbx, rax
lea rdx, [0x1400f84a6]
mov rcx, rax
call sub.kernel32.dll_GetProcAddress
test rax, rax
je 0x14003957d
mov rdi, rax
lea rdx, [0x1400f84b4]
mov rcx, rbx
call sub.kernel32.dll_GetProcAddress
test rax, rax
je 0x14003957d
mov r15, rax
xor ebx, ebx
jmp 0x1400395ff
lea rcx, [0x1400f8440]
call qword [sym.imp.kernel32.dll_GetModuleHandleA]
test rax, rax
je 0x14003965b
mov rdi, rax
lea rdx, str.NtCreateKeyedEvent
mov rcx, rax
call sub.kernel32.dll_GetProcAddress
test rax, rax
je 0x14003965b
mov r14, rax
lea rdx, str.NtReleaseKeyedEvent
mov rcx, rdi
call sub.kernel32.dll_GetProcAddress
test rax, rax
je 0x14003965b
mov rbx, rax
lea rdx, str.NtWaitForKeyedEvent
mov rcx, rdi
call sub.kernel32.dll_GetProcAddress
test rax, rax
je 0x14003965b
mov rdi, rax
lea rcx, [rsp + 0x28]
mov edx, 0xc0000000
xor r8d, r8d
xor r9d, r9d
call r14
test eax, eax
jne 0x14003965b
mov r15, qword [rsp + 0x28]
mov ecx, 0x18
call fcn.1400365de
mov r14, rax
mov qword [rax], rbx
mov qword [rax + 8], rdi
mov qword [rax + 0x10], r15
xor eax, eax
lock cmpxchg qword [0x140136430], r14
je 0x140039647
mov rdi, rax
cmp qword [r14], 0
je 0x140039637
mov rcx, qword [r14 + 0x10]
call qword [sym.imp.kernel32.dll_CloseHandle]
mov edx, 8
mov rcx, r14
call fcn.14000ae20
mov r14, rdi
and qword [rsi + 8], 0
mov qword [rsi], r14
add rsp, 0x30
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
lea rcx, str.parking_lot_requires_either_NT_Keyed_Events__WinXP__or_WaitOnAddress_WakeByAddress__Win8_.cargo_registry_srcindex.crates.io_6f17d22bba15001fparking_lot_core_0.9.9_src_thread_parkerwindowsmod.rs
lea r8, [0x1400f8598]
mov edx, 0x5b
call fcn.1400af5b4
int3
Function at 0x14003ee59
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x9a8
movdqa xmmword [rsp + 0x990], xmm10
movdqa xmmword [rsp + 0x980], xmm9
movdqa xmmword [rsp + 0x970], xmm8
movaps xmmword [rsp + 0x960], xmm7
movaps xmmword [rsp + 0x950], xmm6
mov rdi, rdx
mov r13, rcx
lea rax, [rcx + 0xa0]
mov qword [rsp + 0x48], rax
lea r14, [rcx + 0x1c8]
lea rbx, [rcx + 0x1e9]
lea rax, [rcx + 0x198]
mov qword [rsp + 0x90], rax
xorps xmm6, xmm6
movdqa xmm7, xmmword [0x1400b3800]
pcmpeqd xmm8, xmm8
lea rax, [rcx + 0x18]
mov qword [rsp + 0x570], rax
lea r12, [rcx + 0xf0]
lea rax, [rcx + 0x110]
mov qword [rsp + 0x598], rax
lea rax, [rcx + 0xa8]
lea rcx, [rcx + 0xc1]
mov qword [rsp + 0x588], rcx
lea rcx, [r13 + 0x20]
mov qword [rsp + 0x580], rcx
movabs r15, 0x8000000000000002
xor ecx, ecx
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0xa8], r13
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x590], r14
mov qword [rsp + 0x2e0], rbx
mov qword [rsp + 0xe8], rax
Function at 0x140067109
Capabilities:
Send data
Send data on socket

Disassembly:
cmp dword [rcx], 2
jne 0x14006711b
add rcx, 8
jmp fcn.14009ed5b

Function at 0x140068390
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 + 0x78]
mov rcx, qword [rdx + 0x68]
mov rdx, qword [rdx + 0x70]
lea r9, str..cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rsP
call fcn.14006806f
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 + 0xf0]
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.secur32.dll_DecryptMessage]
cmp eax, 0x80090318
je 0x1400684de
test eax, eax
je 0x14006846c
cmp eax, 0x90317
je 0x1400684d8
cmp eax, 0x90321
jne 0x1400684fc
mov dword [rdi + 0xd0], 0x10000
xor ebx, ebx
mov byte [rdi + 0xd4], bl
cmp dword [rsp + 0x54], 5
mov rdx, qword [rdi + 0x78]
mov eax, 0
cmove eax, dword [rsp + 0x50]
sub rdx, rax
mov rcx, rdi
call fcn.14006833a
and qword [rdi + 0x110], 0
mov byte [rsi + 1], bl
jmp 0x14006850a
mov r8, qword [rsp + 0x38]
mov rcx, qword [rdi + 0x68]
mov rdx, qword [rdi + 0x70]
sub r8, rcx
mov r9d, dword [rsp + 0x30]
add r9, r8
lea rbx, [rdi + 0x40]
and qword [rdi + 0x50], 0
call fcn.14006851e
mov r8, rdx
mov rcx, rbx
mov rdx, rax
call fcn.1400a2933
and qword [rdi + 0x58], 0
xor ebx, ebx
cmp dword [rsp + 0x54], 5
mov rdx, qword [rdi + 0x78]
mov eax, dword [rsp + 0x50]
cmovne eax, ebx
sub rdx, rax
mov rcx, rdi
call fcn.14006833a
xor eax, eax
cmp qword [rdi + 0x78], rbx
sete al
mov qword [rdi + 0x110], rax
mov byte [rsi + 1], 0
jmp 0x14006850a
mov byte [rsi + 1], 1
jmp 0x1400684f8
cmp dword [rsp + 0x34], 4
mov eax, 1
cmove eax, dword [rsp + 0x30]
mov qword [rdi + 0x110], rax
mov byte [rsi + 1], 0
xor ebx, ebx
jmp 0x14006850a
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 0x1400685c4
Capabilities:
Receive data
Receive data on socket

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xc8
mov rbx, rdx
mov r14, rcx
mov qword [rsp + 0x50], r8
mov rcx, r8
call fcn.1400687f1
mov r15, rax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rdx
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
lea r12, [rsp + 0x32]
lea r13, [rsp + 0x4a]
mov rbp, qword [r14 + 0x10]
mov esi, 0x7fffffff
cmp rdx, rsi
cmovb rsi, rdx
mov rax, qword [r14 + 0x18]
mov qword [rsp + 0x60], rax
mov rax, qword [r14 + 0x20]
mov qword [rsp + 0x58], rax
lea rdi, [rsp + 0x28]
mov qword [rsp + 0x38], rsi
mov rcx, rdi
mov rdx, rbp
mov r8, rbx
xor r9d, r9d
call fcn.14009eb75
mov al, byte [rsp + 0x31]
cmp al, 3
je 0x140068763
mov rdi, qword [rsp + 0x28]
cmp al, 2
je 0x140068784
mov cl, byte [rsp + 0x30]
movzx edx, word [r12 + 4]
mov word [r13 + 4], dx
mov edx, dword [r12]
mov dword [r13], edx
mov qword [rsp + 0x40], rdi
mov byte [rsp + 0x48], cl
mov byte [rsp + 0x49], al
mov rcx, qword [rsp + 0x60]
cmp rcx, 0xffffffffffffffff
je 0x1400687e3
mov rdx, r15
mov r8d, esi
xor r9d, r9d
call qword [sym.imp.ws2_32.dll_recv]
cmp eax, 0xffffffff
jne 0x14006876a
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
cmp eax, 0x274a
je 0x14006877b
mov edi, eax
shl rdi, 0x20
or rdi, 2
mov rcx, rdi
call case.0x1400060a5.204
cmp al, 0xd
jne 0x140068733
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x140068733
mov rcx, qword [rax]
mov rdx, qword [rax + 8]
lock inc qword [rdx]
jle 0x1400687ef
mov rsi, rbp
mov rbp, r14
mov r14, r15
add rcx, 0x10
mov r8, qword [rax + 0x10]
mov r9b, byte [rax + 0x18]
call fcn.140038406
mov r15, rax
xor ecx, ecx
call fcn.140083144
test r15, r15
je 0x140068725
mov ecx, 1
mov rdx, rdi
call fcn.1400385c8
mov rdi, r15
mov r15, r14
mov r14, rbp
mov rbp, rsi
mov rsi, qword [rsp + 0x38]
mov rcx, rdi
call fcn.1400996a9
cmp al, 0xd
jne 0x140068784
mov qword [rsp + 0x28], rdi
mov rcx, r14
lea rdx, [rsp + 0x40]
call fcn.14009eb12
lea rdi, [rsp + 0x28]
mov rcx, rdi
call fcn.140099600
jmp 0x140068635
mov ebx, 1
jmp 0x140068786
cdqe
test rax, rax
je 0x14006877d
mov qword [rsp + 0x80], rax
jmp 0x14006877d
xor eax, eax
mov qword [rsp + 0x78], rax
xor edi, edi
xor ebx, ebx
mov qword [rsp + 0x88], rbx
mov qword [rsp + 0x90], rdi
test rbx, rbx
jne 0x1400687c9
test rdi, rdi
jne 0x1400687c9
lea rcx, [rsp + 0x68]
call fcn.140061d1d
mov rsi, rdx
lea rcx, [rsp + 0x88]
call fcn.140061d54
mov rcx, qword [rsp + 0x50]
mov rdx, rsi
call fcn.140068808
xor edi, edi
mov rax, rbx
mov rdx, rdi
add rsp, 0xc8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, str..cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.36.0_srciopoll_evented.rs
call fcn.1400ae060
ud2
Function at 0x140068aee
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 + 0x178]
mov rcx, qword [rdx + 0x168]
mov rdx, qword [rdx + 0x170]
lea r9, str..cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rsP
call fcn.14006806f
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 + 0x1f0]
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.secur32.dll_DecryptMessage]
cmp eax, 0x80090318
je 0x140068c5d
test eax, eax
je 0x140068bd6
cmp eax, 0x90317
je 0x140068c57
cmp eax, 0x90321
jne 0x140068c7b
mov dword [rdi + 0x1d0], 0x10000
xor ebx, ebx
mov byte [rdi + 0x1d4], bl
cmp dword [rsp + 0x54], 5
mov rdx, qword [rdi + 0x178]
mov eax, 0
cmove eax, dword [rsp + 0x50]
sub rdx, rax
mov rcx, rdi
call fcn.140068a8f
and qword [rdi + 0x210], 0
mov byte [rsi + 1], bl
jmp 0x140068c89
mov r8, qword [rsp + 0x38]
mov rcx, qword [rdi + 0x168]
mov rdx, qword [rdi + 0x170]
sub r8, rcx
mov r9d, dword [rsp + 0x30]
add r9, r8
lea rbx, [rdi + 0x140]
and qword [rdi + 0x150], 0
call fcn.14006851e
mov r8, rdx
mov rcx, rbx
mov rdx, rax
call fcn.1400a2933
and qword [rdi + 0x158], 0
xor ebx, ebx
cmp dword [rsp + 0x54], 5
mov rdx, qword [rdi + 0x178]
mov eax, dword [rsp + 0x50]
cmovne eax, ebx
sub rdx, rax
mov rcx, rdi
call fcn.140068a8f
xor eax, eax
cmp qword [rdi + 0x178], rbx
sete al
mov qword [rdi + 0x210], rax
mov byte [rsi + 1], 0
jmp 0x140068c89
mov byte [rsi + 1], 1
jmp 0x140068c77
cmp dword [rsp + 0x34], 4
mov eax, 1
cmove eax, dword [rsp + 0x30]
mov qword [rdi + 0x210], rax
mov byte [rsi + 1], 0
xor ebx, ebx
jmp 0x140068c89
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 0x140068c93
Capabilities:
Receive data
Receive data on socket

Disassembly:
cmp dword [rcx], 2
jne 0x140068ca5
add rcx, 8
jmp fcn.1400685c4
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x78
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
mov rcx, r8
call fcn.1400687f1
lea rcx, [rsp + 0x58]
mov qword [rcx], rax
mov qword [rcx + 8], rdx
xorps xmm0, xmm0
movups xmmword [rcx + 0x10], xmm0
mov qword [rdi + 0x38], rbx
call fcn.140068e75
mov r14, rax
mov r15, rdx
lea r12, [rsp + 0x30]
mov rcx, rdi
call fcn.140068f15
test rdx, rdx
jne 0x140068d57
mov rcx, r12
mov rdx, rdi
call fcn.140067385
mov eax, dword [rsp + 0x30]
cmp eax, 2
je 0x140068dc4
test eax, eax
je 0x140068d57
cmp qword [rdi + 0x110], 0
je 0x140068d3e
mov rcx, rdi
call fcn.1400680fe
mov rbx, rdx
test rax, rax
jne 0x140068dd0
test rbx, rbx
je 0x140068d57
and qword [rdi + 0x110], 0
mov rcx, r12
mov rdx, rdi
call fcn.140068390
cmp byte [rsp + 0x30], 0
jne 0x140068dc4
cmp byte [rsp + 0x31], 0
je 0x140068cea
mov rcx, rdi
call fcn.140068f15
mov rbx, rdx
test rax, rax
je 0x140068dd0
mov r12, rax
cmp r15, rbx
cmovb rbx, r15
lea r9, str..cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rsP
mov rcx, rbx
mov rdx, r14
mov r8, r15
call fcn.140068080
lea rcx, str..cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rsP
mov qword [rsp + 0x20], rcx
mov rcx, rax
mov r8, r12
mov r9, rbx
call fcn.14008316d
mov rax, qword [rdi + 0x58]
add rax, rbx
cmp rax, qword [rdi + 0x50]
ja 0x140068e5c
mov qword [rdi + 0x58], rax
lea rcx, [rsp + 0x58]
mov rdx, rbx
call fcn.140068ee2
jmp 0x140068e00
mov rbx, qword [rsp + 0x38]
mov qword [rsp + 0x30], rbx
jmp 0x140068dda
mov qword [rsp + 0x30], rbx
test rbx, rbx
je 0x140068e00
mov rcx, rbx
call case.0x1400060a5.204
and qword [rdi + 0x38], 0
cmp al, 0xd
jne 0x140068e0d
lea rcx, [rsp + 0x30]
call fcn.14002a9f2
mov edi, 1
xor ebx, ebx
xor eax, eax
jmp 0x140068e11
and qword [rdi + 0x38], 0
mov al, 1
xor ebx, ebx
xor edi, edi
jmp 0x140068e11
xor edi, edi
mov al, 1
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], rbx
test al, al
je 0x140068e48
test rbx, rbx
jne 0x140068e48
lea rcx, [rsp + 0x58]
call fcn.140061d1d
mov rbx, rdx
lea rcx, [rsp + 0x48]
call fcn.140061d54
mov rcx, rsi
mov rdx, rbx
call fcn.140068808
xor ebx, ebx
mov rax, rdi
mov rdx, rbx
add rsp, 0x78
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea rcx, [0x1400fd9cc]
lea r8, str..cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rsP
mov edx, 0x3b
call fcn.1400add50
int3

Function at 0x14006c27b
Capabilities:
Set socket configuration

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x328
add eax, dword [rax]
add byte [rax - 0x77], cl
mov ebx, edx
Function at 0x1400744e5
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 rbx, rdx
mov rsi, rcx
lea rdi, [rsp + 0x50]
mov r8d, 0xb
mov rcx, rdi
mov rdx, rax
call fcn.1400743a1
lea r13, [rsp + 0x30]
mov dword [r13], 0x800
lea r15, [rsp + 0x34]
and dword [r15], 0
lea r12, [rsp + 0x38]
mov edx, 0x800
mov rcx, r12
call fcn.14006263f
mov rdi, qword [rdi + 8]
mov rbp, qword [sym.imp.advapi32.dll_RegQueryValueExW]
mov r14, qword [rsp + 0x40]
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r14
mov rcx, rbx
mov rdx, rdi
xor r8d, r8d
mov r9, r15
call rbp
cmp eax, 0xea
jne 0x140074579
mov edx, dword [rsp + 0x30]
mov rcx, r12
call fcn.1400a291c
jmp 0x140074547
test eax, eax
jne 0x14007459b
mov eax, dword [rsp + 0x30]
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x34]
cmp eax, 0xb
jbe 0x1400745c3
movabs rax, 0xde00000002
jmp 0x1400745a3
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
movabs rax, 0x8000000000000000
mov qword [rsi], rax
mov rcx, qword [rsp + 0x38]
mov rdx, r14
call fcn.140092294
jmp 0x1400745d7
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 rcx, qword [rsp + 0x50]
mov rdx, rdi
call fcn.1400922ad
nop
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret

Function at 0x14007e410
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
mov rax, rdx
sub rdx, rcx
cmp rdx, 0x20
jae 0x14007e435
cmp rax, rcx
je 0x14007e43b
cmp rdx, 4
jae 0x14007e442
xor eax, eax
xor r8d, r8d
jmp 0x14007e4e0
pop rbp
jmp fcn.14000e640
xor eax, eax
jmp 0x14007e4f7
mov r8d, edx
and r8d, 0x1c
pxor xmm0, xmm0
xor eax, eax
movdqa xmm2, xmmword [0x1400b3810]
movdqa xmm3, xmmword [0x1400b3820]
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 0x14007e470
paddq xmm1, xmm0
pshufd xmm0, xmm1, 0xee
paddq xmm0, xmm1
movq rax, xmm0
cmp r8, rdx
je 0x14007e4f7
nop dword [rax]
xor r9d, r9d
cmp byte [rcx + r8], 0xc0
setge r9b
add rax, r9
inc r8
cmp rdx, r8
jne 0x14007e4e0
pop rbp
ret

Function at 0x14008211d
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
add byte [rax], al
Function at 0x140083914
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 qword [sym.imp.ws2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x140083941
xor eax, eax
jmp 0x140083946
call fcn.140037be8
nop
add rsp, 0x38
ret
Function at 0x14008d220
Capabilities:
Resolve dns

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x1e8
lea rbp, [rsp + 0x80]
mov rax, rdx
mov rsi, rcx
mov rdx, qword [rdx]
mov rdi, qword [rax + 8]
movzx eax, word [rax + 0x10]
mov word [rbp + 0x166], ax
mov rax, qword [0x1401364f8]
cmp rax, 3
jne 0x14008d412
lea rax, [rbp + 0x166]
mov qword [rbp + 0x150], rax
cmp rdi, 0x17f
ja 0x14008d422
lea rbx, [rbp - 0x60]
mov rcx, rbx
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbp + rdi - 0x60], 0
lea rax, [rdi + 1]
cmp rdi, 0xe
ja 0x14008d2b8
xor edx, edx
nop word [rax + rax]
cmp byte [rbp + rdx - 0x60], 0
je 0x14008d374
inc rdx
cmp rax, rdx
jne 0x14008d2a0
jmp 0x14008d3dd
lea rcx, [rbp - 0x59]
and rcx, 0xfffffffffffffff8
sub rcx, rbx
je 0x14008d2ee
xor edx, edx
nop word [rax + rax]
cmp byte [rbp + rdx - 0x60], 0
je 0x14008d374
inc rdx
cmp rcx, rdx
jne 0x14008d2d0
lea rdx, [rdi - 0xf]
cmp rcx, rdx
jbe 0x14008d2f2
jmp 0x14008d33e
lea rdx, [rdi - 0xf]
movdqa xmm0, xmmword [0x1400b3850]
movabs r8, 0x8080808080808080
nop word cs:[rax + rax]
movdqu xmm1, xmmword [rbp + rcx - 0x60]
movdqa xmm2, xmm1
paddq xmm2, xmm0
pandn xmm1, xmm2
pshufd xmm2, xmm1, 0xee
por xmm2, xmm1
movq r9, xmm2
test r9, r8
jne 0x14008d33e
add rcx, 0x10
cmp rcx, rdx
jbe 0x14008d310
sub rax, rcx
je 0x14008d3dd
lea r8, [rcx + rbp]
add r8, 0xffffffffffffffa0
xor edx, edx
nop word cs:[rax + rax]
cmp byte [r8 + rdx], 0
je 0x14008d371
inc rdx
cmp rax, rdx
jne 0x14008d360
jmp 0x14008d3dd
add rdx, rcx
cmp rdx, rdi
jne 0x14008d3dd
pxor xmm0, xmm0
movdqa xmmword [rbp + 0x120], xmm0
movdqa xmmword [rbp + 0x140], xmm0
movdqa xmmword [rbp + 0x130], xmm0
mov dword [rbp + 0x128], 1
mov qword [rbp + 0x158], 0
lea rcx, [rbp - 0x60]
lea r8, [rbp + 0x120]
lea r9, [rbp + 0x158]
xor edx, edx
call qword [sym.imp.ws2_32.dll_getaddrinfo]
test eax, eax
je 0x14008d3f1
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
mov ecx, 1
jmp 0x14008d409
lea rax, [0x140101fb0]
mov qword [rsi + 8], rax
mov qword [rsi], 1
jmp 0x14008d434
mov rax, qword [rbp + 0x158]
movzx ecx, word [rbp + 0x166]
mov qword [rsi + 0x10], rax
mov word [rsi + 0x18], cx
xor ecx, ecx
mov qword [rsi + 8], rax
mov qword [rsi], rcx
jmp 0x14008d434
mov rbx, rdx
call fcn.1400b1340
mov rdx, rbx
jmp 0x14008d25c
lea r9, [rbp + 0x150]
mov rcx, rsi
mov r8, rdi
call fcn.1400b13a0
nop
add rsp, 0x1e8
pop rbx
pop rdi
pop rsi
pop rbp
ret
Function at 0x14008dc50
Capabilities:
Create thread

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x50
lea rbp, [rsp + 0x50]
mov qword [rbp - 8], 0xfffffffffffffffe
mov rdi, r8
mov r14, rdx
mov rsi, rcx
movzx eax, byte [0x140136598]
mov edx, 0x10
xor ecx, ecx
call fcn.14008e650
test rax, rax
je 0x14008dd24
mov rbx, rax
mov qword [rax], r14
mov qword [rax + 8], rdi
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x10000
lea r8, [0x14008ddc0]
xor edi, edi
xor ecx, ecx
mov rdx, rsi
mov r9, rax
call qword [sym.imp.kernel32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x14008dd16
mov rcx, qword [rbx]
mov qword [rbp - 0x18], rbx
mov rax, qword [rbx + 8]
mov qword [rbp - 0x20], rcx
mov qword [rbp - 0x10], rax
call qword [rax]
mov rax, qword [rbp - 0x10]
cmp qword [rax + 8], 0
je 0x14008dcf3
mov rdx, qword [rax + 0x10]
mov rcx, qword [rbp - 0x20]
call fcn.14000ae20
mov edx, 8
mov rcx, qword [rbp - 0x18]
call fcn.14000ae20
call qword [sym.imp.kernel32.dll_GetLastError]
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov edi, 1
mov rax, rdi
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
mov qword [rbp - 0x18], r14
mov qword [rbp - 0x10], rdi
mov ecx, 8
mov edx, 0x10
call fcn.1400ad950
ud2

Function at 0x140093c53
Capabilities:
Accept command line arguments

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x60
invalid
mov rax, rdx
mov rsi, rcx
mov esi, ecx
invalid
lea rdx, [rsp + 0x2c]
mov rcx, rax
mov ecx, eax
call qword [sym.imp.shell32.dll_CommandLineToArgvW]
test rax, rax
je 0x140093cff
invalid
add byte [rax], 0
add byte [rax], al
mov rdi, rax
lea rbx, [rsp + 0x30]
lea ebx, [rsp + 0x30]
and qword [rbx], 0
add byte [rax - 0x39], cl
or byte [r8], cl
add byte [rax], al
add byte [rax], al
and qword [rbx + 0x10], 0
adc byte [rax], al
movsxd r12, dword [rsp + 0x2c]
invalid
and al, 0x2c
shl r12, 3
shl esp, 3
in al, 3
xor r13d, r13d
lea r14, [rsp + 0x48]
je 0x140093ccc
invalid
and qword [rsi], 0
mov qword [rsi + 8], 8
or byte [rax], cl
add byte [rax], al
add byte [rax - 0x7d], cl
adc byte [rax], al
adc byte [rax], al
Function at 0x14009e3a9
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 0x14009e3b0
test al, 1
je 0x14009e3cf
test al, 2
jne 0x14009e3e7
xor rax, 3
add rsp, 0x28
ret
lea rcx, str.assertion_failed:_prev.is_running__
lea r8, [0x140106b80]
mov edx, 0x23
call fcn.1400add50
lea rcx, str.assertion_failed:__prev.is_complete__
lea r8, [0x140106bc0]
mov edx, 0x25
call fcn.1400add50
int3

Function at 0x14009ed0b
Capabilities:
Set socket configuration

Disassembly:
push rbx
sub rsp, 0x30
mov ebx, edx
call fcn.14009dc33
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 0x14009ed47
xor eax, eax
jmp 0x14009ed55
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
add rsp, 0x30
pop rbx
ret

Function at 0x14009ed5b
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, 0x58
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
lea r14, [rsp + 0x2a]
lea r12, [rsp + 0x42]
mov r13, qword [rcx + 0x10]
mov r15, qword [rcx + 0x18]
mov eax, 0x7fffffff
cmp r9, rax
cmovb rax, r9
mov qword [rsp + 0x50], rax
mov rax, qword [rcx + 0x20]
mov qword [rsp + 0x48], rax
lea rbp, [rsp + 0x20]
mov qword [rsp + 0x30], r13