joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001620
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x40
mov rsi, qword [rdx + 0x20]
mov r11, qword [rdx + 0x28]
lea r10, [r11 + 1]
mov qword [rdx + 0x28], r10
mov al, 1
cmp r10, rsi
jae 0x140001660
mov rax, qword [rdx + 0x18]
movzx edi, byte [rax + r10]
mov al, 1
cmp edi, 0x2b
je 0x140001655
cmp edi, 0x2d
jne 0x140001660
xor eax, eax
add r11, 2
mov qword [rdx + 0x28], r11
mov r10, r11
cmp r10, rsi
jae 0x1400017f4
mov rdi, qword [rdx + 0x18]
movzx r11d, byte [rdi + r10]
lea rbx, [r10 + 1]
mov qword [rdx + 0x28], rbx
add r11b, 0xd0
cmp r11b, 0xa
jae 0x1400017ff
movzx r11d, r11b
cmp rbx, rsi
jae 0x1400016fd
add r10, 2
mov ebx, 1
sub rbx, rsi
jmp 0x1400016bc
movzx esi, sil
lea r11d, [r11 + r11*4]
lea r11d, [rsi + r11*2]
lea rsi, [rbx + r10]
inc rsi
inc r10
cmp rsi, 2
je 0x1400016fd
movzx esi, byte [rdi + r10 - 1]
add sil, 0xd0
cmp sil, 0xa
jae 0x1400016fd
mov qword [rdx + 0x28], r10
cmp r11d, 0xccccccb
jle 0x1400016a0
cmp r11d, 0xccccccc
jne 0x1400016e8
cmp sil, 7
jbe 0x1400016a0
test r9, r9
sete r9b
mov byte [rsp + 0x20], al
call fcn.1401a2ca0
jmp 0x1400017e1
mov r10d, dword [rsp + 0x80]
test al, al
je 0x14000171a
lea eax, [r10 + r11]
sar eax, 0x1f
add eax, 0x80000000
add r10d, r11d
jmp 0x14000172a
xor eax, eax
cmp r10d, r11d
setns al
add eax, 0x7fffffff
sub r10d, r11d
cmovo r10d, eax
movq xmm1, r9
punpckldq xmm1, xmmword [0x1401aea00]
subpd xmm1, xmmword [0x1401aea10]
movapd xmm0, xmm1
unpckhpd xmm0, xmm1
addsd xmm0, xmm1
mov eax, r10d
neg eax
cmovs eax, r10d
cmp eax, 0x135
jb 0x14000179c
xorpd xmm1, xmm1
movsd xmm2, qword [0x1401aea20]
nop dword [rax + rax]
ucomisd xmm0, xmm1
jne 0x140001778
jnp 0x1400017ca
test r10d, r10d
jns 0x140001828
divsd xmm0, xmm2
add r10d, 0x134
mov eax, r10d
neg eax
cmovs eax, r10d
cmp eax, 0x134
ja 0x140001770
mov eax, eax
mov r9, qword [0x140294038]
movsd xmm1, qword [r9 + rax*8]
test r10d, r10d
js 0x1400017e9
mulsd xmm0, xmm1
movapd xmm1, xmmword [0x1401aea30]
andpd xmm1, xmm0
ucomisd xmm1, qword [0x1401aea40]
jae 0x140001828
test r8b, r8b
jne 0x1400017d7
xorpd xmm0, xmmword [0x1401aea50]
movsd qword [rcx + 8], xmm0
xor eax, eax
mov qword [rcx], rax
add rsp, 0x40
pop rbx
pop rdi
pop rsi
ret
divsd xmm0, xmm1
test r8b, r8b
je 0x1400017cf
jmp 0x1400017d7
mov qword [rsp + 0x28], 5
jmp 0x140001808
mov qword [rsp + 0x28], 0xd
lea rax, [rsp + 0x28]
mov rsi, rcx
mov rcx, rdx
mov rdx, rax
call fcn.1401a2d40
mov qword [rsi + 8], rax
mov qword [rsi], 1
jmp 0x1400017e1
mov qword [rsp + 0x28], 0xe
lea rax, [rsp + 0x28]
mov rsi, rcx
mov rcx, rdx
mov rdx, rax
call fcn.1401a2d40
mov rcx, rsi
mov qword [rsi + 8], rax
mov eax, 1
jmp 0x1400017de
Function at 0x14000ee60
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbx
mov rax, rcx
add qword [rcx + 0x30], r8
mov r11, qword [rcx + 0x40]
test r11, r11
je 0x14000eea2
mov r10d, 8
sub r10, r11
cmp r8, r10
mov rdi, r10
cmovb rdi, r8
cmp rdi, 4
jb 0x14000eeaa
mov esi, dword [rdx]
mov r9d, 4
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jb 0x14000eebb
jmp 0x14000eed2
xor r10d, r10d
jmp 0x14000ef5d
xor esi, esi
xor r9d, r9d
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jae 0x14000eed2
movzx ebx, word [rdx + r9]
lea ecx, [r9*8]
shl rbx, cl
or rsi, rbx
or r9, 2
cmp r9, rdi
jae 0x14000eee9
movzx edi, byte [rdx + r9]
shl r9d, 3
mov ecx, r9d
shl rdi, cl
or rsi, rdi
lea ecx, [r11*8]
shl rsi, cl
or rsi, qword [rax + 0x38]
mov qword [rax + 0x38], rsi
cmp r10, r8
jbe 0x14000ef09
add r11, r8
jmp 0x14000f03b
mov r11, qword [rax + 0x18]
mov r9, qword [rax + 0x10]
mov rcx, qword [rax]
add rcx, r9
rol r9, 0xd
xor r11, rsi
xor r9, rcx
rol rcx, 0x20
mov rdi, qword [rax + 8]
add rdi, r11
rol r11, 0x10
xor r11, rdi
add rcx, r11
rol r11, 0x15
xor r11, rcx
add rdi, r9
rol r9, 0x11
mov qword [rax + 0x18], r11
xor r9, rdi
rol rdi, 0x20
mov qword [rax + 0x10], r9
mov qword [rax + 8], rdi
xor rcx, rsi
mov qword [rax], rcx
sub r8, r10
mov r11d, r8d
and r11d, 7
and r8, 0xfffffffffffffff8
cmp r10, r8
jae 0x14000efd2
mov rcx, qword [rax]
mov r9, qword [rax + 8]
mov rdi, qword [rax + 0x18]
mov rsi, qword [rax + 0x10]
nop
add rcx, rsi
rol rsi, 0xd
mov rbx, qword [rdx + r10]
xor rsi, rcx
rol rcx, 0x20
xor rdi, rbx
add r9, rdi
rol rdi, 0x10
xor rdi, r9
add rcx, rdi
rol rdi, 0x15
add r9, rsi
rol rsi, 0x11
xor rsi, r9
rol r9, 0x20
xor rdi, rcx
xor rcx, rbx
add r10, 8
cmp r10, r8
jb 0x14000ef80
mov qword [rax + 0x18], rdi
mov qword [rax + 0x10], rsi
mov qword [rax + 8], r9
mov qword [rax], rcx
cmp r11d, 4
jb 0x14000eff0
mov r9d, dword [rdx + r10]
mov r8d, 4
mov rcx, r8
or rcx, 1
cmp rcx, r11
jb 0x14000f002
jmp 0x14000f01d
xor r9d, r9d
xor r8d, r8d
mov rcx, r8
or rcx, 1
cmp rcx, r11
jae 0x14000f01d
lea rcx, [rdx + r8]
movzx esi, word [r10 + rcx]
lea ecx, [r8*8]
shl rsi, cl
or r9, rsi
or r8, 2
cmp r8, r11
jae 0x14000f037
add r10, r8
movzx edx, byte [rdx + r10]
shl r8d, 3
mov ecx, r8d
shl rdx, cl
or r9, rdx
mov qword [rax + 0x38], r9
mov qword [rax + 0x40], r11
pop rbx
pop rdi
pop rsi
ret
Function at 0x140044c20
Capabilities:
Encode data using xor

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0xc8
movaps xmmword [rsp + 0xb0], xmm9
movdqa xmmword [rsp + 0xa0], xmm8
movdqa xmmword [rsp + 0x90], xmm7
movdqa xmmword [rsp + 0x80], xmm6
test rcx, rcx
je 0x140044c6b
mov r8, qword [rcx + 8]
cmp qword [rcx], 0
mov qword [rcx], 0
jne 0x140044dfc
call fcn.14017b820
cmp qword [rax], 0
je 0x140044c7c
add rax, 8
jmp 0x140044c86
mov rcx, rax
xor edx, edx
call fcn.140001c60
movdqu xmm6, xmmword [rax]
inc qword [rax]
pshufd xmm7, xmm6, 0x44
pxor xmm7, xmmword [str.uespemosarenegylmodnarodsetybdet]
pshufd xmm8, xmm6, 0xee
pxor xmm8, xmmword [0x1401aea80]
mov ebx, 1
lea r14, [rsp + 0x60]
xorps xmm9, xmm9
lea rsi, [rsp + 0x30]
lea rdi, [rsp + 0x28]
nop word cs:[rax + rax]
movdqa xmmword [rsp + 0x30], xmm7
movdqa xmmword [rsp + 0x40], xmm8
movdqa xmmword [rsp + 0x50], xmm6
movaps xmmword [r14], xmm9
mov qword [r14 + 0x10], 0
mov qword [rsp + 0x28], rbx
mov r8d, 8
mov rcx, rsi
mov rdx, rdi
call fcn.14000ee60
mov rax, qword [rsp + 0x40]
mov r9, qword [rsp + 0x60]
shl r9, 0x38
or r9, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x48]
mov r8, qword [rsp + 0x30]
add r8, rax
rol rax, 0xd
xor rcx, r9
xor rax, r8
rol r8, 0x20
mov rdx, qword [rsp + 0x38]
add rdx, rcx
rol rcx, 0x10
xor rcx, rdx
add r8, rcx
rol rcx, 0x15
add rdx, rax
rol rax, 0x11
xor rcx, r8
xor rax, rdx
rol rdx, 0x20
xor r8, r9
add r8, rax
rol rax, 0xd
xor rax, r8
rol r8, 0x20
xor rdx, 0xff
add rdx, rcx
rol rcx, 0x10
xor rcx, rdx
add r8, rcx
rol rcx, 0x15
add rdx, rax
rol rax, 0x11
xor rax, rdx
rol rdx, 0x20
xor rcx, r8
add r8, rax
rol rax, 0xd
xor rax, r8
rol r8, 0x20
add rdx, rcx
rol rcx, 0x10
xor rcx, rdx
add r8, rcx
rol rcx, 0x15
add rdx, rax
rol rax, 0x11
xor rax, rdx
rol rdx, 0x20
xor rcx, r8
add r8, rax
rol rax, 0xd
add rdx, rcx
rol rcx, 0x10
xor rcx, rdx
rol rcx, 0x15
xor rax, r8
add rdx, rax
rol rax, 0x11
mov r8, rdx
rol r8, 0x20
xor r8, rax
xor r8, rcx
inc rbx
xor r8, rdx
je 0x140044cd0
mov eax, dword [0x140297248]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov byte [rax + 8], 1
mov qword [rax + 0x10], r8
movaps xmm6, xmmword [rsp + 0x80]
movaps xmm7, xmmword [rsp + 0x90]
movaps xmm8, xmmword [rsp + 0xa0]
movaps xmm9, xmmword [rsp + 0xb0]
add rsp, 0xc8
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x1400619c0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x78
mov rsi, rdx
cmp dword [rcx], 2
jne 0x140061a56
movdqu xmm0, xmmword [rcx + 8]
pshufd xmm1, xmm0, 0x44
pxor xmm1, xmmword [str.uespemosarenegylmodnarodsetybdet]
movdqa xmmword [rsp + 0x30], xmm1
pshufd xmm1, xmm0, 0xee
pxor xmm1, xmmword [0x1401aea80]
movdqa xmmword [rsp + 0x40], xmm1
movdqa xmmword [rsp + 0x50], xmm0
pxor xmm0, xmm0
movdqa xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], 0
mov rdi, qword [rsi]
xor eax, eax
test rdi, rdi
setne al
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x28]
mov r8d, 8
call fcn.14000ee60
test rdi, rdi
je 0x140061ae5
mov rdx, qword [rsi + 8]
mov r8, qword [rsi + 0x10]
lea rcx, [rsp + 0x30]
jmp 0x140061afe
mov rdx, qword [rsi]
xor ecx, ecx
test rdx, rdx
setne cl
movabs rax, 0xcbf29ce484222325
xor rax, rcx
movabs rcx, 0x1efac7090aef4a21
imul rax, rcx
test rdx, rdx
je 0x140061bf6
mov r9, qword [rsi + 0x10]
test r9, r9
je 0x140061c78
mov rcx, qword [rsi + 8]
movabs rdx, 0x100000001b3
mov r10, r9
and r10, 7
je 0x140061c03
mov r11, rax
mov r8, rcx
nop word cs:[rax + rax]
movzx eax, byte [r8]
inc r8
xor rax, r11
imul rax, rdx
mov r11, rax
dec r10
jne 0x140061ac0
cmp r9, 8
jae 0x140061c0c
jmp 0x140061c78
movzx eax, byte [rsi + 8]
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x28]
mov r8d, 8
call fcn.14000ee60
mov rcx, qword [rsp + 0x40]
mov r9, qword [rsp + 0x60]
shl r9, 0x38
or r9, qword [rsp + 0x68]
mov rax, qword [rsp + 0x48]
mov r8, qword [rsp + 0x30]
add r8, rcx
rol rcx, 0xd
xor rax, r9
xor rcx, r8
rol r8, 0x20
mov rdx, qword [rsp + 0x38]
add rdx, rax
rol rax, 0x10
xor rax, rdx
add r8, rax
rol rax, 0x15
add rdx, rcx
rol rcx, 0x11
xor rax, r8
xor rcx, rdx
rol rdx, 0x20
xor r8, r9
add r8, rcx
rol rcx, 0xd
xor rcx, r8
rol r8, 0x20
xor rdx, 0xff
add rdx, rax
rol rax, 0x10
xor rax, rdx
add r8, rax
rol rax, 0x15
add rdx, rcx
rol rcx, 0x11
xor rcx, rdx
rol rdx, 0x20
xor rax, r8
add r8, rcx
rol rcx, 0xd
xor rcx, r8
rol r8, 0x20
add rdx, rax
rol rax, 0x10
xor rax, rdx
add r8, rax
rol rax, 0x15
add rdx, rcx
rol rcx, 0x11
xor rcx, rdx
rol rdx, 0x20
xor rax, r8
add r8, rcx
rol rcx, 0xd
xor rcx, r8
add rdx, rax
shl rax, 0x10
xor rax, rdx
shr rax, 0x2b
add rdx, rcx
shr rcx, 0x2f
xor rcx, rax
mov rax, rdx
shr rax, 0x20
xor rax, rdx
xor rax, rcx
jmp 0x140061c78
movzx edx, byte [rsi + 8]
xor rax, rdx
imul rax, rcx
jmp 0x140061c78
mov r8, rcx
cmp r9, 8
jb 0x140061c78
add rcx, r9
nop
movzx r9d, byte [r8]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 1]
xor rax, r9
imul rax, rdx
movzx r9d, byte [r8 + 2]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 3]
xor rax, r9
imul rax, rdx
movzx r9d, byte [r8 + 4]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 5]
xor rax, r9
imul rax, rdx
movzx r9d, byte [r8 + 6]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 7]
add r8, 8
xor rax, r9
imul rax, rdx
cmp r8, rcx
jne 0x140061c10
and eax, 0x7fff
add rsp, 0x78
pop rdi
pop rsi
ret
Function at 0x1400a2250
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x88
lea rbp, [rsp + 0x80]
mov qword [rbp], 0xfffffffffffffffe
mov rax, r8
mov r14, rdx
mov qword [rbp - 0x28], rcx
lea rcx, [rbp - 0x48]
mov r8d, 0xb
mov rdx, rax
call fcn.1400a1ee0
mov dword [rbp - 4], 0x800
mov dword [rbp - 8], 0
movzx eax, byte [0x140297081]
mov ecx, 0x800
mov edx, 1
call fcn.140017490
test rax, rax
je 0x1400a23de
mov rbx, rax
mov qword [rbp - 0x20], 0x800
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x10], 0
mov rsi, qword [rbp - 0x40]
lea r12, [rbp - 4]
lea r15, [rbp - 8]
mov rdi, qword [sym.imp.advapi32.dll_RegQueryValueExW]
mov r13, qword [rbp - 0x20]
mov rax, qword [rbp - 0x10]
mov qword [rbp - 0x30], rax
sub r13, rax
nop word cs:[rax + rax]
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], rbx
mov rcx, r14
mov rdx, rsi
xor r8d, r8d
mov r9, r15
call rdi
cmp eax, 0xea
jne 0x1400a233b
mov r8d, dword [rbp - 4]
cmp r13, r8
jae 0x1400a2300
lea rcx, [rbp - 0x20]
mov rdx, qword [rbp - 0x30]
call fcn.1401a3ac0
mov rbx, qword [rbp - 0x18]
jmp 0x1400a22e6
test eax, eax
jne 0x1400a235e
mov eax, dword [rbp - 4]
mov qword [rbp - 0x10], rax
mov eax, dword [rbp - 8]
cmp eax, 0xb
mov rdx, qword [rbp - 0x28]
jbe 0x1400a23c1
movabs rax, 0xde00000002
jmp 0x1400a236a
shl rax, 0x20
or rax, 2
mov rdx, qword [rbp - 0x28]
mov qword [rdx + 8], rax
movabs rax, 0x8000000000000000
mov qword [rdx], rax
mov rdx, qword [rbp - 0x20]
test rdx, rdx
je 0x1400a2392
mov r8d, 1
mov rcx, rbx
call fcn.1400174a0
mov rdx, qword [rbp - 0x48]
test rdx, rdx
je 0x1400a23ac
add rdx, rdx
mov r8d, 2
mov rcx, rsi
call fcn.1400174a0
nop
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rcx, qword [rbp - 0x10]
mov qword [rdx + 0x10], rcx
movups xmm0, xmmword [rbp - 0x20]
movups xmmword [rdx], xmm0
mov byte [rdx + 0x18], al
mov rdx, qword [rbp - 0x48]
test rdx, rdx
jne 0x1400a239b
jmp 0x1400a23ac
mov ecx, 1
mov edx, 0x800
call fcn.1401aba40
ud2
Function at 0x1400acc80
Capabilities:
Decrypt data via sspi

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x70
mov rdi, rdx
mov rsi, rcx
mov rcx, qword [rdx + 0x178]
mov rdx, qword [rdx + 0x170]
cmp rcx, rdx
ja 0x1400acf2e
mov rax, qword [rdi + 0x168]
mov dword [rsp + 0x20], ecx
mov dword [rsp + 0x24], 1
mov qword [rsp + 0x28], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
movabs rax, 0x400000000
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x20]
mov qword [rsp + 0x68], rax
lea rcx, [rdi + 0x1f0]
lea rdx, [rsp + 0x60]
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.secur32.dll_DecryptMessage]
cmp eax, 0x90316
jg 0x1400acdf4
cmp eax, 0x80090318
je 0x1400ace7a
test eax, eax
jne 0x1400ace67
mov rcx, qword [rsp + 0x38]
mov rdx, qword [rdi + 0x168]
mov rax, qword [rdi + 0x170]
sub rcx, rdx
mov ebx, dword [rsp + 0x30]
mov r9, rcx
mov qword [rdi + 0x150], 0
add r9, rbx
jb 0x1400acf64
cmp r9, rax
ja 0x1400acf73
add rdx, rcx
xor r14d, r14d
cmp qword [rdi + 0x140], rbx
jb 0x1400acf0b
xor r15d, r15d
cmp eax, 0x90317
je 0x1400ace8b
mov word [rax], es
add byte [rax], al
cmp dword [rsp + 0x34], 4
mov eax, 1
cmove eax, dword [rsp + 0x30]
jmp 0x1400acef0
mov byte [rsi + 1], 1
jmp 0x1400acefb
lea r8, [0x1401bb8d0]
call fcn.1401ac110
Function at 0x1400b1b00
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0xa8
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x20], 0xfffffffffffffffe
mov rdi, r9
mov qword [rbp - 0x58], r8
mov qword [rbp - 0x50], rdx
mov rsi, rcx
mov rdx, qword [rcx]
mov r13, qword [rcx + 8]
lea r15, [r13 + 1]
mov rcx, r15
shr rcx, 4
xor eax, eax
test r15b, 0xf
setne al
add rax, rcx
je 0x1400b1bd3
cmp rax, 1
jne 0x1400b1b60
xor r8d, r8d
jmp 0x1400b1bb7
movabs rcx, 0x1ffffffffffffffe
and rcx, rax
xor r9d, r9d
movdqa xmm0, xmmword [0x1401aea90]
nop dword [rax + rax]
pxor xmm1, xmm1
pcmpgtb xmm1, xmmword [rdx + r9]
por xmm1, xmm0
movdqa xmmword [rdx + r9], xmm1
lea r8, [r9 + 0x20]
pxor xmm1, xmm1
pcmpgtb xmm1, xmmword [rdx + r9 + 0x10]
por xmm1, xmm0
movdqa xmmword [rdx + r9 + 0x10], xmm1
mov r9, r8
add rcx, 0xfffffffffffffffe
jne 0x1400b1b80
test al, 1
je 0x1400b1bd3
pxor xmm0, xmm0
pcmpgtb xmm0, xmmword [rdx + r8]
por xmm0, xmmword [0x1401aea90]
movdqa xmmword [rdx + r8], xmm0
mov rbx, qword [rbp + 0x90]
cmp r15, 0x10
jae 0x1400b1c0b
lea rcx, [rdx + 0x10]
mov r8, r15
call sub.VCRUNTIME140.dll_memmove
mov qword [rbp - 0x18], rbx
mov qword [rbp - 0x10], rdi
mov qword [rbp - 0x20], rsi
test r15, r15
jne 0x1400b1c21
mov rcx, 0xffffffffffffffff
xor eax, eax
jmp 0x1400b1f53
movdqu xmm0, xmmword [rdx]
movdqu xmmword [rdx + r15], xmm0
mov qword [rbp - 0x18], rbx
mov qword [rbp - 0x10], rdi
mov qword [rbp - 0x20], rsi
mov rbx, rdi
and rbx, 0xffffffffffffffe0
mov r15, rdi
and r15, 0xfffffffffffffff8
lea rax, [rdi - 1]
mov qword [rbp - 0x38], rax
mov eax, 0x10
sub rax, rdi
mov qword [rbp - 8], rax
mov rax, rdi
neg rax
mov qword [rbp], rax
mov eax, 1
sub rax, rdi
mov qword [rbp + 8], rax
xor r12d, r12d
mov qword [rbp + 0x10], r13
mov qword [rbp - 0x48], r15
mov qword [rbp - 0x40], rbx
jmp 0x1400b1ca9
Function at 0x1400dd520
Capabilities:
Get remote cert context via schannel

Disassembly:
sub rsp, 0x28
mov qword [rsp + 0x20], 0
lea r8, [rsp + 0x20]
mov edx, 0x53
call qword [sym.imp.secur32.dll_QueryContextAttributesW]
mov edx, eax
xor eax, eax
test edx, edx
setne cl
jne 0x1400dd554
mov rdx, qword [rsp + 0x20]
mov al, cl
add rsp, 0x28
ret
shl rdx, 0x20
or rdx, 2
mov al, cl
add rsp, 0x28
ret
Function at 0x140134840
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push rsi
push rdi
sub rsp, 0x78
mov eax, dword [0x140297248]
mov rdx, qword gs:[0x58]
mov rax, qword [rdx + rax*8]
movzx eax, byte [rax + 0x48]
test eax, eax
je 0x140134870
cmp eax, 1
je 0x1401348a6
xor eax, eax
jmp 0x140134996
mov eax, dword [0x140297248]
mov rdx, qword gs:[0x58]
mov rdi, qword [rdx + rax*8]
lea rax, [rdi + 0x18]
lea rdx, [0x1401349a0]
mov rsi, rcx
mov rcx, rax
call fcn.140189260
mov rcx, rsi
mov byte [rdi + 0x48], 1
movaps xmm0, xmmword [0x1401fc910]
mov al, 1
test rcx, rcx
je 0x1401348e0
cmp qword [rcx], 0
mov qword [rcx], 0
je 0x1401348e0
movups xmm0, xmmword [rcx + 8]
movups xmm1, xmmword [rcx + 0x18]
movaps xmmword [rsp + 0x60], xmm1
movzx eax, byte [rcx + 0x28]
mov edx, dword [rcx + 0x2c]
mov dword [rsp + 0x2b], edx
mov ecx, dword [rcx + 0x29]
mov dword [rsp + 0x28], ecx
mov ecx, dword [0x140297248]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
movups xmm1, xmmword [rcx + 0x18]
movaps xmmword [rsp + 0x30], xmm1
movups xmm1, xmmword [rcx + 0x38]
movaps xmmword [rsp + 0x50], xmm1
movups xmm1, xmmword [rcx + 0x28]
movaps xmmword [rsp + 0x40], xmm1
mov qword [rcx + 0x18], 1
movups xmmword [rcx + 0x20], xmm0
movaps xmm0, xmmword [rsp + 0x60]
movups xmmword [rcx + 0x30], xmm0
mov byte [rcx + 0x40], al
mov eax, dword [rsp + 0x28]
mov edx, dword [rsp + 0x2b]
mov dword [rcx + 0x44], edx
mov dword [rcx + 0x41], eax
cmp qword [rsp + 0x30], 0
je 0x14013497c
mov rax, qword [rsp + 0x40]
cmp rax, 2
je 0x14013497c
test rax, rax
je 0x14013497c
mov rax, qword [rsp + 0x48]
lock dec qword [rax]
jne 0x14013497c
lea rcx, [rsp + 0x48]
call fcn.14000ade0
mov eax, dword [0x140297248]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
lea rax, [rax + 0x20]
add rsp, 0x78
pop rdi
pop rsi
ret
Function at 0x14013ce00
Capabilities:
Set socket configuration

Disassembly:
sub rsp, 0x28
cmp qword [rcx + 0x18], 0xffffffffffffffff
je 0x14013ce18
add rcx, 0x18
add rsp, 0x28
jmp 0x14015a070
lea rcx, str.C:UsersAdministrator.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.36.0_srciopoll_evented.rs
call fcn.1401abc00
int3
jmp 0x140181650
push rbp
sub rsp, 0x30
lea rbp, [rsp + 0x30]
mov rcx, qword [rcx]
movzx eax, dl
mov dword [rbp - 4], eax
mov dword [rsp + 0x20], 4
lea r9, [rbp - 4]
mov edx, 6
mov r8d, 1
call qword [sym.imp.ws2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x14018168d
xor eax, eax
add rsp, 0x30
pop rbp
ret
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
add rsp, 0x30
pop rbp
ret

Function at 0x14013d360
Capabilities:
Set socket configuration

Disassembly:
jmp 0x1401558a0
sub rsp, 0x38
mov rcx, qword [rcx]
movzx eax, dl
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x34]
mov edx, 0xffff
mov r8d, 4
call qword [sym.imp.ws2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x1401558d8
xor eax, eax
add rsp, 0x38
ret
call fcn.140188410
shl rax, 0x20
or rax, 2
add rsp, 0x38
ret

Function at 0x14013d370
Capabilities:
Set socket configuration

Disassembly:
mov edx, edx
jmp 0x1401558f0
sub rsp, 0x38
mov rcx, qword [rcx]
mov dword [rsp + 0x34], edx
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x34]
mov edx, 0xffff
mov r8d, 0x1001
call qword [sym.imp.ws2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x140155925
xor eax, eax
add rsp, 0x38
ret
call fcn.140188410
shl rax, 0x20
or rax, 2
add rsp, 0x38
ret

Function at 0x14013d380
Capabilities:
Set socket configuration

Disassembly:
mov edx, edx
jmp 0x140155850
sub rsp, 0x38
mov rcx, qword [rcx]
mov dword [rsp + 0x34], edx
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x34]
mov edx, 0xffff
mov r8d, 0x1002
call qword [sym.imp.ws2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x140155885
xor eax, eax
add rsp, 0x38
ret
call fcn.140188410
shl rax, 0x20
or rax, 2
add rsp, 0x38
ret

Function at 0x14014a470
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
mov rax, qword [rcx]
nop word [rax + rax]
mov rdx, rax
xor rdx, 3
lock cmpxchg qword [rcx], rdx
jne 0x14014a480
test al, 1
je 0x14014a49f
test al, 2
jne 0x14014a4b7
xor rax, 3
add rsp, 0x28
ret
lea rcx, str.assertion_failed:_prev.is_running__
lea r8, [0x1401fff00]
mov edx, 0x23
call fcn.1401abd10
lea rcx, str.assertion_failed:__prev.is_complete__
lea r8, [0x1401fff40]
mov edx, 0x25
call fcn.1401abd10
int3
Function at 0x140154b90
Capabilities:
Get number of processors

Disassembly:
push rbp
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0x60]
mov qword [rbp], 0xfffffffffffffffe
mov edi, r8d
mov rbx, rdx
mov rsi, rcx
mov r14, qword [rbp + 0x60]
mov eax, dword [0x140297248]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
movzx eax, byte [rax + 0xa0]
cmp eax, 1
je 0x140154c0b
test eax, eax
jne 0x140154de6
mov eax, dword [0x140297248]
mov rcx, qword gs:[0x58]
mov r15, qword [rcx + rax*8]
lea rcx, [r15 + 0x50]
lea rdx, [0x14013ecb0]
call fcn.140189260
mov byte [r15 + 0xa0], 1
mov eax, dword [0x140297248]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov rcx, qword [rax + 0x50]
movabs rax, 0x7ffffffffffffffe
cmp rcx, rax
ja 0x140154d99
lea rax, [rcx + 1]
mov edx, dword [0x140297248]
mov r8, qword gs:[0x58]
mov rdx, qword [r8 + rdx*8]
mov qword [rdx + 0x50], rax
mov rax, qword [rdx + 0x58]
cmp rax, 2
je 0x140154da5
mov ecx, dword [0x140297248]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
mov rcx, qword [rcx + 0x60]
mov edx, 1
mov r9d, 1
lock xadd qword [rcx], r9
test rax, rax
je 0x140154ca6
mov r8d, 0x118
test r9, r9
jns 0x140154cb7
jmp 0x140154de4
test r9, r9
js 0x140154de4
mov r8d, 0xb8
xor edx, edx
mov r9d, dword [0x140297248]
mov r10, qword gs:[0x58]
mov r9, qword [r10 + r9*8]
dec qword [r9 + 0x50]
mov qword [rbp - 0x10], rdx
mov qword [rbp - 8], rcx
cmp dword [rcx + r8 + 0xa8], 0x3b9aca00
je 0x140154dd0
mov edx, 1
mov r8d, 1
lock xadd qword [rcx], r8
test rax, rax
je 0x140154d0b
test r8, r8
jns 0x140154d16
jmp 0x140154de4
test r8, r8
js 0x140154de4
xor edx, edx
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x30], xmm0
mov qword [rsi], rdx
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rbx
mov dword [rsi + 0x18], edi
movups xmm0, xmmword [rbp - 0x34]
movups xmm1, xmmword [rbp - 0x24]
movups xmmword [rsi + 0x1c], xmm0
movups xmmword [rsi + 0x2c], xmm1
mov edx, dword [rbp - 0x14]
mov dword [rsi + 0x3c], edx
mov qword [rsi + 0x40], 0xffffffffffffffff
mov qword [rsi + 0x48], 0
mov qword [rsi + 0x58], 0
mov byte [rsi + 0x60], 0
mov byte [rsi + 0x68], 0
lock dec qword [rcx]
lea rcx, [rbp - 8]
sete dl
test rax, rax
je 0x140154d80
test dl, dl
je 0x140154d89
call fcn.14013c320
jmp 0x140154d89
test dl, dl
je 0x140154d89
call fcn.14013c060
mov rax, rsi
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop r14
pop r15
pop rbp
ret
lea rcx, str.C:UsersAdministrator.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.36.0_src_runtimecontextcurrent.rs
call fcn.1401abba0
mov eax, dword [0x140297248]
mov rdx, qword gs:[0x58]
mov rax, qword [rdx + rax*8]
mov qword [rax + 0x50], rcx
xor eax, eax
mov byte [rbp - 0x10], al
lea rcx, [rbp - 0x10]
mov rdx, r14
call fcn.1401a7ae0
lea rcx, [0x1401fe7a0]
mov edx, 0x73
mov r8, r14
call fcn.1401abc20
ud2
mov al, 1
mov byte [rbp - 0x10], al
lea rcx, [rbp - 0x10]
mov rdx, r14
call fcn.1401a7ae0
int3