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

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
mov r10, qword [rdx + 0x20]
mov rdi, qword [rdx + 0x28]
lea rsi, [rdi + 1]
mov qword [rdx + 0x28], rsi
cmp rsi, r10
jae 0x140001300
mov byte [rsp + 0x2f], r8b
mov r8d, dword [rsp + 0xb0]
movabs rbx, 0x1999999999999998
lea ebp, [rdi + 1]
mov eax, ebp
sub eax, r10d
add rsi, qword [rdx + 0x18]
mov r15, rdi
sub r15, r10
inc r15
xor r14d, r14d
lea r12, [rbx + 1]
jmp 0x1400011a3
movzx r11d, r11b
lea r13, [rdi + r14]
add r13, 2
mov qword [rdx + 0x28], r13
lea r9, [r9 + r9*4]
lea r9, [r11 + r9*2]
inc r14
mov r11, r15
add r11, r14
je 0x140001207
movzx r13d, byte [rsi + r14]
lea r11d, [r13 - 0x30]
cmp r11b, 0xa
jae 0x1400011da
cmp r9, rbx
jbe 0x140001180
cmp r9, r12
jne 0x1400011c2
cmp r11b, 5
jbe 0x140001180
sub r8d, r14d
mov dword [rsp + 0x20], r8d
movzx r8d, byte [rsp + 0x2f]
call fcn.1401a2c70
jmp 0x1400012d9
test r14d, r14d
je 0x1400012f9
mov eax, r8d
sub rax, r14
or r13d, 0x20
cmp r13d, 0x65
jne 0x140001213
mov dword [rsp + 0x20], eax
movzx r8d, byte [rsp + 0x2f]
call fcn.140001620
jmp 0x1400012d9
cmp ebp, r10d
je 0x140001310
add eax, r8d
movq xmm1, r9
punpckldq xmm1, xmmword [0x1401ae980]
subpd xmm1, xmmword [0x1401ae990]
movapd xmm0, xmm1
unpckhpd xmm0, xmm1
addsd xmm0, xmm1
mov r9d, eax
neg r9d
cmovs r9d, eax
cmp r9d, 0x135
jb 0x140001290
xorpd xmm1, xmm1
movsd xmm2, qword [0x1401ae9a0]
nop word cs:[rax + rax]
ucomisd xmm0, xmm1
jne 0x14000126c
jnp 0x1400012ee
test eax, eax
jns 0x140001339
divsd xmm0, xmm2
add eax, 0x134
mov r9d, eax
neg r9d
cmovs r9d, eax
cmp r9d, 0x134
ja 0x140001260
mov r8d, r9d
mov r9, qword [0x140293038]
movsd xmm1, qword [r9 + r8*8]
test eax, eax
js 0x1400012ea
mulsd xmm0, xmm1
movapd xmm1, xmmword [0x1401ae9b0]
andpd xmm1, xmm0
ucomisd xmm1, qword [0x1401ae9c0]
movzx eax, byte [rsp + 0x2f]
jae 0x140001339
test al, al
jne 0x1400012cf
xorpd xmm0, xmmword [0x1401ae9d0]
movsd qword [rcx + 8], xmm0
xor eax, eax
mov qword [rcx], rax
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
divsd xmm0, xmm1
movzx eax, byte [rsp + 0x2f]
test al, al
je 0x1400012c7
jmp 0x1400012cf
lea rsi, [rdi + r14]
inc rsi
cmp rsi, r10
jae 0x140001310
mov qword [rsp + 0x30], 0xd
jmp 0x140001319
mov qword [rsp + 0x30], 5
lea rax, [rsp + 0x30]
mov rsi, rcx
mov rcx, rdx
mov rdx, rax
call fcn.1401a2790
mov qword [rsi + 8], rax
mov qword [rsi], 1
jmp 0x1400012d9
mov qword [rsp + 0x30], 0xe
lea rax, [rsp + 0x30]
mov rsi, rcx
mov rcx, rdx
mov rdx, rax
call fcn.1401a2e50
mov qword [rsi + 8], rax
mov eax, 1
mov qword [rsi], rax
jmp 0x1400012d9
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.1401a2db0
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 [0x1401ae980]
subpd xmm1, xmmword [0x1401ae990]
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 [0x1401ae9a0]
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 [0x140293038]
movsd xmm1, qword [r9 + rax*8]
test r10d, r10d
js 0x1400017e9
mulsd xmm0, xmm1
movapd xmm1, xmmword [0x1401ae9b0]
andpd xmm1, xmm0
ucomisd xmm1, qword [0x1401ae9c0]
jae 0x140001828
test r8b, r8b
jne 0x1400017d7
xorpd xmm0, xmmword [0x1401ae9d0]
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.1401a2e50
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.1401a2e50
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 0x140045050
Capabilities:
Encode data using xor

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0xc8
Function at 0x140061df0
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 0x140061e86
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 [0x1401aea00]
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 0x140061f15
mov rdx, qword [rsi + 8]
mov r8, qword [rsi + 0x10]
lea rcx, [rsp + 0x30]
jmp 0x140061f2e
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 0x140062026
mov r9, qword [rsi + 0x10]
test r9, r9
je 0x1400620a8
mov rcx, qword [rsi + 8]
movabs rdx, 0x100000001b3
mov r10, r9
and r10, 7
je 0x140062033
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 0x140061ef0
cmp r9, 8
jae 0x14006203c
jmp 0x1400620a8
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 0x1400620a8
movzx edx, byte [rsi + 8]
xor rax, rdx
imul rax, rcx
jmp 0x1400620a8
mov r8, rcx
cmp r9, 8
jb 0x1400620a8
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 0x140062040
and eax, 0x7fff
add rsp, 0x78
pop rdi
pop rsi
ret
Function at 0x1400a26f0
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.1400a2380
mov dword [rbp - 4], 0x800
mov dword [rbp - 8], 0
movzx eax, byte [0x140296081]
mov ecx, 0x800
mov edx, 1
call fcn.1400174d0
test rax, rax
je 0x1400a287e
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 0x1400a27db
mov r8d, dword [rbp - 4]
cmp r13, r8
jae 0x1400a27a0
lea rcx, [rbp - 0x20]
mov rdx, qword [rbp - 0x30]
call fcn.1401a3d30
mov rbx, qword [rbp - 0x18]
jmp 0x1400a2786
test eax, eax
jne 0x1400a27fe
mov eax, dword [rbp - 4]
mov qword [rbp - 0x10], rax
mov eax, dword [rbp - 8]
cmp eax, 0xb
mov rdx, qword [rbp - 0x28]
jbe 0x1400a2861
movabs rax, 0xde00000002
jmp 0x1400a280a
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 0x1400a2832
mov r8d, 1
mov rcx, rbx
call fcn.1400174e0
mov rdx, qword [rbp - 0x48]
test rdx, rdx
je 0x1400a284c
add rdx, rdx
mov r8d, 2
mov rcx, rsi
call fcn.1400174e0
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 0x1400a283b
jmp 0x1400a284c
mov ecx, 1
mov edx, 0x800
call fcn.1401ab960
ud2
Function at 0x1400ad120
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 0x1400ad3ce
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 0x1400ad294
cmp eax, 0x80090318
je 0x1400ad31a
test eax, eax
jne 0x1400ad307
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 0x1400ad404
cmp r9, rax
ja 0x1400ad413
add rdx, rcx
xor r14d, r14d
cmp qword [rdi + 0x140], rbx
jb 0x1400ad3ab
xor r15d, r15d
cmp eax, 0x90317
je 0x1400ad32b
mov word [rax], es
add byte [rax], al
cmp dword [rsp + 0x34], 4
mov eax, 1
cmove eax, dword [rsp + 0x30]
jmp 0x1400ad390
mov byte [rsi + 1], 1
jmp 0x1400ad39b
lea r8, [0x1401bb5b8]
call fcn.1401ac0d0
Function at 0x1400b1fa0
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 0x1400b2073
cmp rax, 1
jne 0x1400b2000
xor r8d, r8d
jmp 0x1400b2057
movabs rcx, 0x1ffffffffffffffe
and rcx, rax
xor r9d, r9d
movdqa xmm0, xmmword [0x1401aea10]
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 0x1400b2020
test al, 1
je 0x1400b2073
pxor xmm0, xmm0
pcmpgtb xmm0, xmmword [rdx + r8]
por xmm0, xmmword [0x1401aea10]
movdqa xmmword [rdx + r8], xmm0
mov rbx, qword [rbp + 0x90]
cmp r15, 0x10
jae 0x1400b20ab
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 0x1400b20c1
mov rcx, 0xffffffffffffffff
xor eax, eax
jmp 0x1400b23f3
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 0x1400b2149
Function at 0x1400dda40
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 0x1400dda74
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 0x140134d60
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push rsi
push rdi
sub rsp, 0x78
mov eax, dword [0x140296248]
mov rdx, qword gs:[0x58]
mov rax, qword [rdx + rax*8]
movzx eax, byte [rax + 0x48]
test eax, eax
je 0x140134d90
cmp eax, 1
je 0x140134dc6
xor eax, eax
jmp 0x140134eb6
mov eax, dword [0x140296248]
mov rdx, qword gs:[0x58]
mov rdi, qword [rdx + rax*8]
lea rax, [rdi + 0x18]
lea rdx, [0x140134ec0]
mov rsi, rcx
mov rcx, rax
call fcn.140189230
mov rcx, rsi
mov byte [rdi + 0x48], 1
movaps xmm0, xmmword [0x1401fb740]
mov al, 1
test rcx, rcx
je 0x140134e00
cmp qword [rcx], 0
mov qword [rcx], 0
je 0x140134e00
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 [0x140296248]
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 0x140134e9c
mov rax, qword [rsp + 0x40]
cmp rax, 2
je 0x140134e9c
test rax, rax
je 0x140134e9c
mov rax, qword [rsp + 0x48]
lock dec qword [rax]
jne 0x140134e9c
lea rcx, [rsp + 0x48]
call fcn.14000c590
mov eax, dword [0x140296248]
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 0x14013d320
Capabilities:
Set socket configuration

Disassembly:
sub rsp, 0x28
cmp qword [rcx + 0x18], 0xffffffffffffffff
je 0x14013d338
add rcx, 0x18
add rsp, 0x28
jmp 0x14015a560
lea rcx, str.C:Users_fhnir.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.36.0_srciopoll_evented.rs
call fcn.1401abb40
int3
jmp 0x140181580
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, 6
mov r8d, 1
call qword [sym.imp.ws2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x1401815b8
xor eax, eax
add rsp, 0x38
ret
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
add rsp, 0x38
ret

Function at 0x14013d880
Capabilities:
Set socket configuration

Disassembly:
jmp 0x140155dc0
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 0x140155df8
xor eax, eax
add rsp, 0x38
ret
call sub.kernel32.dll_GetLastError
shl rax, 0x20
or rax, 2
add rsp, 0x38
ret

Function at 0x14013d890
Capabilities:
Set socket configuration

Disassembly:
mov edx, edx
jmp 0x140155e10
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 0x140155e45
xor eax, eax
add rsp, 0x38
ret
call sub.kernel32.dll_GetLastError
shl rax, 0x20
or rax, 2
add rsp, 0x38
ret

Function at 0x14013d8a0
Capabilities:
Set socket configuration

Disassembly:
mov edx, edx
jmp 0x140155d70
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 0x140155da5
xor eax, eax
add rsp, 0x38
ret
call sub.kernel32.dll_GetLastError
shl rax, 0x20
or rax, 2
add rsp, 0x38
ret

Function at 0x14014a990
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 0x14014a9a0
test al, 1
je 0x14014a9bf
test al, 2
jne 0x14014a9d7
xor rax, 3
add rsp, 0x28
ret
lea rcx, str.assertion_failed:_prev.is_running__
lea r8, [0x1401fec30]
mov edx, 0x23
call fcn.1401abc50
lea rcx, str.assertion_failed:__prev.is_complete__
lea r8, [0x1401fec70]
mov edx, 0x25
call fcn.1401abc50
int3
Function at 0x1401550b0
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 [0x140296248]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
movzx eax, byte [rax + 0xa0]
cmp eax, 1
je 0x14015512b
test eax, eax
jne 0x140155306
mov eax, dword [0x140296248]
mov rcx, qword gs:[0x58]
mov r15, qword [rcx + rax*8]
lea rcx, [r15 + 0x50]
lea rdx, [0x14013f1d0]
call fcn.140189230
mov byte [r15 + 0xa0], 1
mov eax, dword [0x140296248]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov rcx, qword [rax + 0x50]
movabs rax, 0x7ffffffffffffffe
cmp rcx, rax
ja 0x1401552b9
lea rax, [rcx + 1]
mov edx, dword [0x140296248]
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 0x1401552c5
mov ecx, dword [0x140296248]
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 0x1401551c6
mov r8d, 0x118
test r9, r9
jns 0x1401551d7
jmp 0x140155304
test r9, r9
js 0x140155304
mov r8d, 0xb8
xor edx, edx
mov r9d, dword [0x140296248]
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 0x1401552f0
mov edx, 1
mov r8d, 1
lock xadd qword [rcx], r8
test rax, rax
je 0x14015522b
test r8, r8
jns 0x140155236
jmp 0x140155304
test r8, r8
js 0x140155304
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 0x1401552a0
test dl, dl
je 0x1401552a9
call fcn.14013c750
jmp 0x1401552a9
test dl, dl
je 0x1401552a9
call fcn.14013c8a0
mov rax, rsi
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop r14
pop r15
pop rbp
ret
lea rcx, str.C:Users_fhnir.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.36.0_src_runtimecontextcurrent.rs
call fcn.1401abae0
mov eax, dword [0x140296248]
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.1401a7bf0
lea rcx, [0x1401fd558]
mov edx, 0x73
mov r8, r14
call fcn.1401abb60
ud2
mov al, 1
mov byte [rbp - 0x10], al
lea rcx, [rbp - 0x10]
mov rdx, r14
call fcn.1401a7bf0
int3