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

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x50
cmp byte [rcx + 0x79], 0
je 0x1400c38e4
xor eax, eax
jmp 0x1400c3b0d
mov r8, qword [rcx + 0x48]
mov r9, qword [rcx + 0x50]
test byte [rcx], 1
je 0x1400c391f
lea rdx, [rcx + 8]
mov rax, qword [rcx + 0x58]
cmp qword [rcx + 0x38], 0xffffffffffffffff
mov rdi, rcx
mov rcx, qword [rcx + 0x60]
je 0x1400c3a56
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
mov byte [rsp + 0x30], 0
jmp 0x1400c3a65
cmp byte [rcx + 0x1a], 0
je 0x1400c393f
mov rsi, r8
xor eax, eax
mov qword [rsp + 0x38], rax
test byte [rsp + 0x38], 1
jne 0x1400c3aa5
jmp 0x1400c3ad7
mov rax, qword [rcx + 8]
movzx edx, byte [rcx + 0x18]
jmp 0x1400c3957
add rax, r10
mov qword [rcx + 8], rax
mov r10d, edx
xor dl, 1
test rax, rax
je 0x1400c3986
cmp rax, r9
jae 0x1400c3980
cmp byte [r8 + rax], 0xbf
jg 0x1400c3986
jmp 0x1400c3b15
jne 0x1400c3b15
cmp rax, r9
je 0x1400c3a7e
movzx ebx, byte [r8 + rax]
movzx r11d, bl
test r11b, r11b
jns 0x1400c3a00
mov esi, r11d
and esi, 0x1f
movzx edi, byte [r8 + rax + 1]
and edi, 0x3f
cmp r11b, 0xdf
jbe 0x1400c39ea
movzx r11d, byte [r8 + rax + 2]
shl edi, 6
and r11d, 0x3f
or r11d, edi
cmp bl, 0xf0
jb 0x1400c3a42
movzx edi, byte [r8 + rax + 3]
and esi, 7
shl esi, 0x12
shl r11d, 6
and edi, 0x3f
or edi, r11d
or edi, esi
mov r11d, edi
test r10b, 1
je 0x1400c3a06
jmp 0x1400c3a4e
shl esi, 6
or esi, edi
mov r11d, esi
nop word cs:[rax + rax]
test r10b, 1
jne 0x1400c3a4e
mov r10d, 1
cmp r11d, 0x80
jb 0x1400c3950
mov r10d, 2
cmp r11d, 0x800
jb 0x1400c3950
cmp r11d, 0x10000
mov r10d, 4
sbb r10, 0
jmp 0x1400c3950
shl esi, 0xc
or r11d, esi
test r10b, 1
je 0x1400c3a06
mov byte [rcx + 0x18], dl
mov r9, rax
jmp 0x1400c3a87
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
mov byte [rsp + 0x30], 1
lea rcx, [rsp + 0x38]
mov rsi, r8
call fcn.1400bccf0
mov rcx, rdi
test byte [rsp + 0x38], 1
jne 0x1400c3aa5
jmp 0x1400c3ad7
mov byte [rcx + 0x18], dl
test r10b, 1
je 0x1400c3ac2
mov rsi, r8
mov qword [rsp + 0x40], r9
mov qword [rsp + 0x48], r9
mov eax, 1
mov qword [rsp + 0x38], rax
test byte [rsp + 0x38], 1
je 0x1400c3ad7
mov rdx, qword [rsp + 0x40]
mov r8, qword [rsp + 0x48]
mov r9, qword [rcx + 0x68]
sub rdx, r9
mov rax, rsi
add rax, r9
mov qword [rcx + 0x68], r8
jmp 0x1400c3b0d
mov rsi, r8
mov byte [rcx + 0x1a], 1
xor eax, eax
mov qword [rsp + 0x38], rax
test byte [rsp + 0x38], 1
jne 0x1400c3aa5
cmp byte [rcx + 0x79], 0
jne 0x1400c38dd
mov byte [rcx + 0x79], 1
cmp byte [rcx + 0x78], 1
jne 0x1400c3af5
mov rax, qword [rcx + 0x68]
mov rdx, qword [rcx + 0x70]
jmp 0x1400c3b06
mov rax, qword [rcx + 0x68]
mov rdx, qword [rcx + 0x70]
cmp rdx, rax
je 0x1400c38dd
sub rdx, rax
add rax, qword [rcx + 0x48]
add rsp, 0x50
pop rbx
pop rdi
pop rsi
ret
mov byte [rcx + 0x18], dl
lea rcx, [0x1401cd490]
mov qword [rsp + 0x20], rcx
mov rcx, r8
mov rdx, r9
mov r8, rax
call fcn.1401ba580
int3
Function at 0x1400d5bc0
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 rbx, rdx
mov rsi, rcx
add r9, r8
mov qword [rbp - 0x28], r8
mov qword [rbp - 0x20], r9
mov word [rbp - 0x18], 0
mov dword [rbp - 0x10], 1
lea rcx, [rbp - 0x50]
lea rdx, [rbp - 0x28]
call fcn.1400c44c0
mov dword [rbp - 4], 0x800
mov dword [rbp - 8], 0
movzx eax, byte [0x140295fc1]
mov ecx, 0x800
mov edx, 1
call fcn.140008970
test rax, rax
je 0x1400d5d6d
mov r14, rax
mov qword [rbp - 0x30], rsi
mov qword [rbp - 0x28], 0x800
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], 0
mov rdi, qword [rbp - 0x48]
lea r12, [rbp - 4]
lea r15, [rbp - 8]
mov rsi, qword [sym.imp.advapi32.dll_RegQueryValueExW]
mov r13, qword [rbp - 0x28]
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x38], rax
sub r13, rax
nop dword [rax + rax]
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r14
mov rcx, rbx
mov rdx, rdi
xor r8d, r8d
mov r9, r15
call rsi
cmp eax, 0xea
jne 0x1400d5cca
mov r8d, dword [rbp - 4]
cmp r13, r8
jae 0x1400d5c80
mov qword [rsp + 0x20], 1
mov r9d, 1
lea rcx, [rbp - 0x28]
mov rdx, qword [rbp - 0x38]
call fcn.1401b2ee0
mov r14, qword [rbp - 0x20]
jmp 0x1400d5c69
test eax, eax
jne 0x1400d5ced
mov eax, dword [rbp - 4]
mov qword [rbp - 0x18], rax
mov eax, dword [rbp - 8]
cmp eax, 0xb
mov rdx, qword [rbp - 0x30]
jbe 0x1400d5d50
movabs rax, 0xde00000002
jmp 0x1400d5cf9
shl rax, 0x20
or rax, 2
mov rdx, qword [rbp - 0x30]
mov qword [rdx + 8], rax
movabs rax, 0x8000000000000000
mov qword [rdx], rax
mov rdx, qword [rbp - 0x28]
test rdx, rdx
je 0x1400d5d21
mov r8d, 1
mov rcx, r14
call fcn.140008980
mov rdx, qword [rbp - 0x50]
test rdx, rdx
je 0x1400d5d3b
add rdx, rdx
mov r8d, 2
mov rcx, rdi
call fcn.140008980
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 - 0x18]
mov qword [rdx + 0x10], rcx
movups xmm0, xmmword [rbp - 0x28]
movups xmmword [rdx], xmm0
mov byte [rdx + 0x18], al
mov rdx, qword [rbp - 0x50]
test rdx, rdx
jne 0x1400d5d2a
jmp 0x1400d5d3b
mov ecx, 1
mov edx, 0x800
call fcn.1401b9c70
ud2
Function at 0x1400db370
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x88
movaps xmmword [rsp + 0x70], xmm6
call fcn.14017b3b0
mov rsi, rax
cmp dword [rax], 1
jne 0x1400db3a6
mov rax, rsi
add rax, 8
mov rbx, qword [rsi + 8]
mov r14, qword [rsi + 0x10]
jmp 0x1400db3da
xorps xmm0, xmm0
movaps xmmword [rsp + 0x20], xmm0
lea rcx, [rsp + 0x20]
mov edx, 0x10
call qword [sym.imp.bcryptprimitives.dll_ProcessPrng]
mov rbx, qword [rsp + 0x20]
mov r14, qword [rsp + 0x28]
mov rax, rsi
add rax, 8
mov qword [rsi], 1
mov qword [rsi + 0x10], r14
lea rcx, [rbx + 1]
mov qword [rax], rcx
movabs r15, 0x736f6d6570736575
xor r15, rbx
movabs r12, 0x646f72616e646f6d
xor r12, r14
movabs r13, 0x6c7967656e657261
xor r13, rbx
movabs rbp, 0x7465646279746573
xor rbp, r14
mov esi, 1
lea rdi, [rsp + 0x50]
xorps xmm6, xmm6
nop word cs:[rax + rax]
mov qword [rsp + 0x20], r15
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], r14
movups xmmword [rdi], xmm6
mov qword [rdi + 0x10], 0
mov qword [rsp + 0x68], rsi
mov r8d, 8
lea rcx, [rsp + 0x20]
lea rdx, [rsp + 0x68]
call fcn.140040540
mov r9, qword [rsp + 0x50]
shl r9, 0x38
or r9, qword [rsp + 0x58]
mov r8, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
xor rdx, r9
mov rax, qword [rsp + 0x20]
add rax, r8
mov rcx, qword [rsp + 0x28]
rol r8, 0xd
add rcx, rdx
xor r8, rax
rol rdx, 0x10
xor rdx, rcx
rol rax, 0x20
add rcx, r8
add rax, rdx
rol r8, 0x11
xor r8, rcx
rol rdx, 0x15
rol rcx, 0x20
xor rdx, rax
xor rax, r9
xor rcx, 0xff
add rax, r8
add rcx, rdx
rol r8, 0xd
xor r8, rax
rol rdx, 0x10
rol rax, 0x20
xor rdx, rcx
add rcx, r8
rol r8, 0x11
add rax, rdx
xor r8, rcx
rol rdx, 0x15
xor rdx, rax
rol rcx, 0x20
add rax, r8
add rcx, rdx
rol r8, 0xd
xor r8, rax
rol rdx, 0x10
rol rax, 0x20
xor rdx, rcx
add rcx, r8
rol r8, 0x11
add rax, rdx
xor r8, rcx
rol rdx, 0x15
xor rdx, rax
rol rcx, 0x20
add rax, r8
add rcx, rdx
rol r8, 0xd
xor r8, rax
rol rdx, 0x10
xor rdx, rcx
add rcx, r8
rol r8, 0x11
rol rdx, 0x15
mov rax, rcx
rol rax, 0x20
xor rax, r8
xor rax, rdx
inc rsi
cmp rax, rcx
je 0x1400db430
xor rax, rcx
movaps xmm6, xmmword [rsp + 0x70]
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret

Function at 0x1400de090
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 0x1400de0c4
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 0x1400fc070
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x78
cmp dword [rcx], 2
jne 0x1400fc106
movdqu xmm0, xmmword [rcx + 8]
pshufd xmm1, xmm0, 0x44
pxor xmm1, xmmword [str.uespemosarenegylmodnarodsetybdet]
pshufd xmm2, xmm0, 0xee
pxor xmm2, xmmword [0x1401c0400]
movdqa xmmword [rsp + 0x30], xmm1
movdqa xmmword [rsp + 0x40], xmm2
movdqa xmmword [rsp + 0x50], xmm0
pxor xmm0, xmm0
movdqa xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], 0
mov rsi, qword [rdx]
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.140040540
test rdi, rdi
je 0x1400fc195
mov rdx, qword [rsi + 8]
mov r8, qword [rsi + 0x10]
lea rcx, [rsp + 0x30]
jmp 0x1400fc1ae
mov rcx, qword [rdx]
mov r8, qword [rcx]
xor edx, edx
test r8, r8
setne dl
movabs rax, 0xcbf29ce484222325
xor rax, rdx
movabs rdx, 0x1efac7090aef4a21
imul rax, rdx
test r8, r8
je 0x1400fc2a6
mov r9, qword [rcx + 0x10]
test r9, r9
je 0x1400fc328
mov rcx, qword [rcx + 8]
movabs rdx, 0x100000001b3
mov r10, r9
and r10, 7
je 0x1400fc2b3
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 0x1400fc170
cmp r9, 8
jae 0x1400fc2bc
jmp 0x1400fc328
movzx eax, byte [rsi + 8]
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x28]
mov r8d, 8
call fcn.140040540
mov rax, qword [rsp + 0x40]
mov r9, qword [rsp + 0x60]
shl r9, 0x38
or r9, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x48]
xor rcx, r9
mov r8, qword [rsp + 0x30]
add r8, rax
mov rdx, qword [rsp + 0x38]
add rdx, rcx
rol rax, 0xd
xor rax, r8
rol rcx, 0x10
rol r8, 0x20
xor rcx, rdx
add rdx, rax
rol rax, 0x11
add r8, rcx
xor rax, rdx
rol rcx, 0x15
xor rcx, r8
rol rdx, 0x20
xor r8, r9
xor rdx, 0xff
add r8, rax
rol rax, 0xd
add rdx, rcx
xor rax, r8
rol rcx, 0x10
xor rcx, rdx
rol r8, 0x20
add rdx, rax
add r8, rcx
rol rax, 0x11
xor rax, rdx
rol rcx, 0x15
rol rdx, 0x20
xor rcx, r8
add r8, rax
rol rax, 0xd
add rdx, rcx
xor rax, r8
rol rcx, 0x10
xor rcx, rdx
rol r8, 0x20
add rdx, rax
add r8, rcx
rol rax, 0x11
xor rax, rdx
rol rcx, 0x15
rol rdx, 0x20
xor rcx, r8
add r8, rax
rol rax, 0xd
add rdx, rcx
xor rax, r8
shl rcx, 0x10
xor rcx, rdx
add rdx, rax
shr rax, 0x2f
shr rcx, 0x2b
xor rcx, rax
mov rax, rdx
shr rax, 0x20
xor rax, rdx
xor rax, rcx
jmp 0x1400fc328
movzx ecx, byte [rcx + 8]
xor rax, rcx
imul rax, rdx
jmp 0x1400fc328
mov r8, rcx
cmp r9, 8
jb 0x1400fc328
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 0x1400fc2c0
and eax, 0x7fff
add rsp, 0x78
pop rdi
pop rsi
ret
Function at 0x1400ff110
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0xc0
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x38], 0xfffffffffffffffe
mov rsi, qword [rcx]
movups xmm0, xmmword [rcx + 8]
movups xmm1, xmmword [rcx + 0x18]
movaps xmmword [rbp + 0x20], xmm1
movaps xmmword [rbp + 0x10], xmm0
mov r8, qword [rsi + 0x28]
cmp r8, 0x7fff
mov qword [rbp + 0x30], r8
jbe 0x1400ff18d
mov r9, qword [rdx]
mov rax, qword [rdx + 8]
mov r8, qword [rdx + 0x10]
add rdx, 0x18
mov rcx, rdx
mov rdx, rax
call qword [r9 + 0x20]
mov rax, qword [rbp + 0x10]
test rax, rax
je 0x1400ff186
lea rcx, [rbp + 0x28]
mov rdx, qword [rbp + 0x18]
mov r8, qword [rbp + 0x20]
call qword [rax + 0x20]
xor eax, eax
jmp 0x1400ff2df
lea rax, [rcx + 8]
movzx r14d, word [rcx + 0x30]
mov rdi, qword [rcx + 0x28]
movzx ebx, byte [rcx + 0x32]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 8], xmm1
movups xmmword [rbp - 0x18], xmm0
movups xmm0, xmmword [rdx]
movups xmm1, xmmword [rdx + 0x10]
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm1
mov rax, qword [rdx + 0x20]
mov qword [rbp - 0x20], rax
mov word [rbp + 8], r14w
mov qword [rbp - 0x58], 0
cmp r8, qword [rsi + 0x18]
jne 0x1400ff1e0
lea rcx, [rsi + 0x18]
call fcn.1400ab690
mov r8, qword [rsi + 0x20]
mov rcx, qword [rbp + 0x30]
imul rax, rcx, 0x68
movups xmm0, xmmword [rbp - 0x58]
movups xmm1, xmmword [rbp - 0x48]
movups xmm2, xmmword [rbp - 0x38]
movups xmm3, xmmword [rbp - 0x28]
movups xmm4, xmmword [rbp - 0x18]
movups xmm5, xmmword [rbp - 8]
mov rdx, qword [rbp + 8]
mov qword [r8 + rax + 0x60], rdx
movups xmmword [r8 + rax + 0x50], xmm5
movups xmmword [r8 + rax + 0x40], xmm4
movups xmmword [r8 + rax + 0x30], xmm3
movups xmmword [r8 + rax + 0x20], xmm2
movups xmmword [r8 + rax + 0x10], xmm1
movups xmmword [r8 + rax], xmm0
lea rdx, [rcx + 1]
mov qword [rsi + 0x28], rdx
mov r12, qword [rsi + 0x48]
mov r8, qword [rsi + 0x50]
xor r9d, r9d
xor edx, edx
mov r10d, ecx
cmp rdi, r8
cmovae rdi, r9
test r8, r8
je 0x1400ff2a0
nop word cs:[rax + rax]
movzx r11d, word [r12 + rdi*4]
cmp r11w, 0xffff
je 0x1400ff2a2
inc rdx
movzx r15d, word [r12 + rdi*4 + 2]
mov word [r12 + rdi*4], r10w
mov word [r12 + rdi*4 + 2], r14w
inc rdi
mov r14d, r15d
mov r10d, r11d
cmp rdi, r8
cmovae rdi, r9
test r8, r8
jne 0x1400ff260
nop word cs:[rax + rax]
jmp 0x1400ff2a0
xor bl, 1
mov word [r12 + rdi*4], r10w
mov word [r12 + rdi*4 + 2], r14w
cmp rdx, 0x80
setb dl
test dl, bl
jne 0x1400ff2cb
cmp qword [rsi], 0
jne 0x1400ff2cb
mov qword [rsi], 1
mov rdx, qword [rsi + 0x28]
cmp rcx, rdx
jae 0x1400ff2f1
mov rcx, qword [rsi + 0x20]
add rax, rcx
add rax, 0x18
add rsp, 0xc0
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
pop rbp
ret
lea r8, [0x1401de8a8]
call fcn.1401ba010
int3
Function at 0x140100b30
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xd8
mov rdi, rdx
mov rsi, rcx
mov qword [rsp + 0x28], 0
mov ebp, dword [rdx + 0x58]
lea rbx, [rsp + 0x28]
mov rcx, rbx
mov edx, ebp
call fcn.14010fec0
test al, 1
jne 0x140100d09
add ebp, dword [rsp + 0x2c]
jo 0x140100b6e
mov dword [rsp + 0x2c], ebp
mov rax, qword [0x140295d90]
mov rax, qword [rax]
test rax, rax
je 0x140100bda
mov rax, qword [rdi + 0x38]
mov dword [rsi + 0x10], 0
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rsi + 0x14], xmm0
mov dword [rsi + 0x24], 0
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rsi + 0x28], xmm0
mov dword [rsi + 0x38], 0
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rsi + 0x3c], xmm0
mov rcx, qword [rsp + 0x28]
mov qword [rsi], rcx
mov dword [rsi + 0x58], 0
mov dword [rsi + 0x4c], 0
mov qword [rsi + 8], rax
mov rax, rsi
add rsp, 0xd8
pop rbx
pop rbp
pop rdi
pop rsi
ret
movzx edx, byte [0x140294458]
movzx eax, dl
lea ecx, [rax - 1]
cmp ecx, 2
jae 0x140100ce6
mov rcx, qword [0x140294448]
call fcn.140137d40
test al, al
je 0x140100b7d
mov rcx, qword [0x140294448]
mov rax, qword [rcx + 0x38]
test rax, rax
je 0x140100d36
lea rdx, [rcx + 0x30]
mov r8, qword [rcx + 0x30]
movups xmm0, xmmword [rcx + 0x40]
mov qword [rsp + 0xb0], r8
mov qword [rsp + 0xb8], rax
movups xmmword [rsp + 0xc0], xmm0
mov qword [rsp + 0xd0], 0
mov qword [rsp + 0x30], rbx
lea rax, [0x1401045b0]
mov qword [rsp + 0x38], rax
lea rax, str.Prioritize::new__flow
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], 1
mov qword [rsp + 0x88], 0
lea rax, [rsp + 0x30]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], 1
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x58], rax
lea rax, [0x1401df1e0]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x98], rax
mov qword [rsp + 0xa0], 1
mov qword [rsp + 0xa8], rdx
lea rdx, [rsp + 0x98]
call fcn.140138ee0
jmp 0x140100b7d
test eax, eax
je 0x140100b7d
lea rcx, [0x140294448]
call fcn.1401b6d80
mov edx, eax
test al, al
jne 0x140100bf0
jmp 0x140100b7d
mov dword [rsp + 0x68], edx
lea rax, [0x1401df160]
mov qword [rsp + 0x20], rax
lea rcx, str.invalid_initial_window_sizeC:UsersMarii.cargo_registry_srcindex.crates.io_6f17d22bba15001fh2_0.3.26_srcproto_streamsprioritize.rs
lea r9, [0x1401deea0]
lea r8, [rsp + 0x68]
mov edx, 0x1b
call fcn.1401ba2b0
lea rcx, [0x1401df178]
lea r8, [0x1401df1a0]
mov edx, 0x22
call fcn.1401b9e80
int3
Function at 0x14013c2a0
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 0x14013c2b0
test al, 1
je 0x14013c2cf
test al, 2
jne 0x14013c2e7
xor rax, 3
add rsp, 0x28
ret
lea rcx, str.assertion_failed:_prev.is_running__
lea r8, [0x14020a5d0]
mov edx, 0x23
call fcn.1401b9f80
lea rcx, str.assertion_failed:__prev.is_complete__
lea r8, [0x14020a610]
mov edx, 0x25
call fcn.1401b9f80
int3

Function at 0x140147680
Capabilities:
Set socket configuration

Disassembly:
jmp 0x140151420
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 0x140151458
xor eax, eax
add rsp, 0x38
ret
call fcn.140190900
shl rax, 0x20
or rax, 2
add rsp, 0x38
ret

Function at 0x140147690
Capabilities:
Set socket configuration

Disassembly:
mov edx, edx
jmp 0x140151470
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 0x1401514a5
xor eax, eax
add rsp, 0x38
ret
call fcn.140190900
shl rax, 0x20
or rax, 2
add rsp, 0x38
ret

Function at 0x1401476a0
Capabilities:
Set socket configuration

Disassembly:
mov edx, edx
jmp 0x1401513d0
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 0x140151405
xor eax, eax
add rsp, 0x38
ret
call fcn.140190900
shl rax, 0x20
or rax, 2
add rsp, 0x38
ret

Function at 0x14014d140
Capabilities:
Set socket configuration

Disassembly:
sub rsp, 0x28
cmp qword [rcx + 0x10], 0xffffffffffffffff
je 0x14014d158
add rcx, 0x10
add rsp, 0x28
jmp 0x140154490
lea rcx, [0x14020cd88]
call fcn.1401b9e60
int3
jmp 0x140186920
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 0x14018695d
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 0x140151350
Capabilities:
Connect socket

Disassembly:
sub rsp, 0x28
mov rcx, qword [rcx]
mov r8d, dword [rdx + 0x80]
call qword [sym.imp.ws2_32.dll_connect]
test eax, eax
je 0x14015137a
call fcn.140190900
shl rax, 0x20
or rax, 2
add rsp, 0x28
ret
xor eax, eax
add rsp, 0x28
ret

Function at 0x140151390
Capabilities:
Set socket configuration

Disassembly:
sub rsp, 0x28
mov rcx, qword [rcx]
movzx eax, dl
mov dword [rsp + 0x24], eax
lea r8, [rsp + 0x24]
mov edx, 0x8004667e
call qword [sym.imp.ws2_32.dll_ioctlsocket]
cmp eax, 0xffffffff
je 0x1401513ba
xor eax, eax
add rsp, 0x28
ret
call fcn.140190900
shl rax, 0x20
or rax, 2
add rsp, 0x28
ret
Function at 0x1401513d0
Capabilities:
Set socket configuration

Disassembly:
mov edx, edx
jmp 0x1401513d0
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 0x140151405
xor eax, eax
add rsp, 0x38
ret
call fcn.140190900
shl rax, 0x20
or rax, 2
add rsp, 0x38
ret

Function at 0x140151420
Capabilities:
Set socket configuration

Disassembly:
jmp 0x140151420
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 0x140151458
xor eax, eax
add rsp, 0x38
ret
call fcn.140190900
shl rax, 0x20
or rax, 2
add rsp, 0x38
ret

Function at 0x140151470
Capabilities:
Set socket configuration

Disassembly:
mov edx, edx
jmp 0x140151470
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 0x1401514a5
xor eax, eax
add rsp, 0x38
ret
call fcn.140190900
shl rax, 0x20
or rax, 2
add rsp, 0x38
ret

Function at 0x1401514c0
Capabilities:
Set socket configuration

Disassembly:
push rsi
push rdi
sub rsp, 0x58
mov rdi, rdx
mov rsi, qword [rcx]
mov dword [rsp + 0x48], 1
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x48]
mov rcx, rsi
mov edx, 0xffff
mov r8d, 8
call qword [sym.imp.ws2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x1401515e7
mov r9d, dword [rdi + 8]
xor ecx, ecx
mov r8d, 0
cmp r9d, 0x3b9aca00
je 0x140151548
mov eax, 0x3e8
mul qword [rdi]
mov r8d, r9d
imul r9, r8, 0x431bde83
shr r9, 0x32
add r9, rax
adc rdx, 0
mov eax, 0xffffffff
cmp r9, rax
cmovae r9, rax
xor r8d, r8d
neg rdx
sbb r8d, r8d
or r8d, r9d
mov r9d, dword [rdi + 0x18]
cmp r9d, 0x3b9aca00
je 0x140151589
mov eax, 0x3e8
mul qword [rdi + 0x10]
mov ecx, r9d
imul r9, rcx, 0x431bde83
shr r9, 0x32
add r9, rax
adc rdx, 0
mov eax, 0xffffffff
cmp r9, rax
cmovae r9, rax
xor ecx, ecx
neg rdx
sbb ecx, ecx
or ecx, r9d
mov dword [rsp + 0x48], 1
mov dword [rsp + 0x4c], r8d
mov dword [rsp + 0x50], ecx
mov dword [rsp + 0x54], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
lea rax, [rsp + 0x54]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r8, [rsp + 0x48]
mov rcx, rsi
mov edx, 0x98000004
mov r9d, 0xc
call qword [sym.imp.ws2_32.dll_WSAIoctl]
cmp eax, 0xffffffff
je 0x1401515e7
xor eax, eax
jmp 0x1401515f4
call fcn.140190900
shl rax, 0x20
or rax, 2
add rsp, 0x58
pop rdi
pop rsi
ret
Function at 0x140182ce0
Capabilities:
Get common file path

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x478
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x3f0], 0xfffffffffffffffe
mov qword [rbp + 0x3d0], rcx
mov qword [rbp + 0x3d8], 0
mov qword [rbp + 0x3e0], 2
mov qword [rbp + 0x3e8], 0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x3c8], rax
xor esi, esi
xor edi, edi
xor ebx, ebx
cmp r8, 0x201
jae 0x140182d80
jmp 0x140182d6f
jae 0x140182e4e
cmp r8, 0x201
jae 0x140182d80
mov r14d, 0x200
lea r15, [rbp - 0x58]
mov r12, r8
jmp 0x140182de6
sub r8, rbx
sub rdi, rbx
cmp rdi, r8
jae 0x140182dbe
mov qword [rsp + 0x20], 2
mov r9d, 2
lea rcx, [rbp + 0x3d8]
mov rdx, rbx
call fcn.1401b8a10
mov rsi, qword [rbp + 0x3d8]
mov rax, qword [rbp + 0x3e0]
mov qword [rbp + 0x3c8], rax
mov eax, 0xffffffff
cmp rsi, rax
mov ebx, 0xffffffff
cmovb rbx, rsi
mov qword [rbp + 0x3e8], rbx
mov rdi, rsi
mov r14, rbx
mov r15, qword [rbp + 0x3c8]
mov r12, rbx
xor ecx, ecx
call qword [sym.imp.kernel32.dll_SetLastError]
mov ecx, r12d
mov rdx, r15
call qword [sym.imp.kernel32.dll_GetCurrentDirectoryW]
mov r13d, eax
test eax, eax
jne 0x140182e0f
call qword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
jne 0x140182eba
mov r8d, r13d
cmp r12, r8
jne 0x140182d60
call qword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x7a
jne 0x140182eee
add r12, r12
mov eax, 0xffffffff
cmp r12, rax
cmovae r12, rax
mov r8, r12
cmp r8, 0x201
jb 0x140182d6f
jmp 0x140182d80
cmp r14, r8
jb 0x140182f08
lea rcx, [rbp + 0x3a8]
mov rdx, r15
call fcn.140186b60
movups xmm0, xmmword [rbp + 0x3a8]
movups xmm1, xmmword [rbp + 0x3b8]
mov rsi, qword [rbp + 0x3d0]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
mov rdx, qword [rbp + 0x3d8]
test rdx, rdx
je 0x140182ea3
mov rcx, qword [rbp + 0x3e0]
add rdx, rdx
mov r8d, 2
call fcn.140008980
mov rax, rsi
add rsp, 0x478
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
call qword [sym.imp.kernel32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov rsi, qword [rbp + 0x3d0]
mov qword [rsi + 8], rax
movabs rax, 0x8000000000000000
mov qword [rsi], rax
mov rdx, qword [rbp + 0x3d8]
test rdx, rdx
jne 0x140182e8e
jmp 0x140182ea3
lea rcx, str.internal_error:_entered_unreachable_code8
lea r8, str.std_src_syspalwindowsmod.rsstrings_passed_to_WinAPI_cannot_contain_NULs
mov edx, 0x28
call fcn.1401b9f80
jmp 0x140182f1d
lea rax, str.std_src_syspalwindowsmod.rsstrings_passed_to_WinAPI_cannot_contain_NULs
mov rcx, r8
mov rdx, r14
mov r8, rax
call fcn.1401ba3f0
ud2