joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140029697
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
sub rsp, 0x78
mov r9, rdx
mov rsi, rcx
lea rax, [rsp + 0x3c]
mov dword [rax - 4], 0
mov qword [rax - 0xc], 0
bswap r8
mov qword [rax - 8], r8
lea rcx, [rdx + 0xc]
mov qword [rsp + 0x20], rcx
lea rdi, [rsp + 0x40]
lea rdx, [rsp + 0x30]
mov rcx, rdi
mov r8, rax
call fcn.14004c638
mov rcx, qword [rdi + 0x20]
mov rax, qword [rdi + 0x28]
cmp rcx, rax
jae 0x140029707
mov rdx, qword [rsp + 0x40]
mov r8, qword [rsp + 0x50]
mov r9b, byte [r8 + rcx]
xor byte [rdx + rcx], r9b
lea r9, [rcx + 1]
mov rcx, r9
cmp rax, r9
jne 0x1400296f3
movdqa xmm0, xmmword [rsp + 0x30]
movq qword [rsi], xmm0
pshufd xmm0, xmm0, 0xee
movd dword [rsi + 8], xmm0
mov rax, rsi
add rsp, 0x78
pop rdi
pop rsi
ret

Function at 0x14003f10d
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
mov rax, qword [rcx + 0x20]
cmp rax, qword [rdx + 0x20]
jne 0x14003f14f
test rax, rax
je 0x14003f153
lea r8, [rax - 0x21]
cmp r8, 0xffffffffffffffe0
jb 0x14003f15a
xor r8d, r8d
xor r9d, r9d
mov r10b, byte [rdx + r9]
xor r10b, byte [rcx + r9]
lea r11, [r9 + 1]
or r8b, r10b
mov r9, r11
cmp rax, r11
jne 0x14003f130
test r8b, r8b
sete al
jmp 0x14003f155
xor eax, eax
jmp 0x14003f155
mov al, 1
add rsp, 0x28
ret
lea r8, str.C:Users_runneradmin.cargo_registry_srcindex.crates.io_6f17d22bba15001f_rustls_0.19.1_srcmsgshandshake.rs
mov ecx, 0x20
mov edx, 0x20
call fcn.1400dbb90
ud2

Function at 0x14004e6ed
Capabilities:
Hash data using sha512

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x1d8
mov r15, r9
mov r12, r8
mov rbp, rdx
mov rsi, rcx
mov r14, qword [rsp + 0x250]
mov r13, qword [rsp + 0x240]
movups xmm0, xmmword [0x140100ca8]
lea rdi, [rsp + 0x28]
movups xmmword [rdi + 0x38], xmm0
movups xmm0, xmmword [0x140100c98]
movups xmmword [rdi + 0x28], xmm0
movups xmm0, xmmword [0x140100c88]
movups xmmword [rdi + 0x18], xmm0
movups xmm0, xmmword [0x140100c78]
movups xmmword [rdi + 8], xmm0
lea rbx, [0x140100c48]
lea rcx, [0x14014c1f8]
call fcn.140052648
xorps xmm0, xmm0
movups xmmword [rdi + 0x50], xmm0
movups xmmword [rdi + 0x60], xmm0
movups xmmword [rdi + 0x70], xmm0
movups xmmword [rdi + 0x80], xmm0
movups xmmword [rdi + 0x90], xmm0
movups xmmword [rdi + 0xa0], xmm0
movups xmmword [rdi + 0xb0], xmm0
movups xmmword [rdi + 0xc0], xmm0
mov qword [rdi], rbx
xor eax, eax
mov qword [rdi + 0x48], rax
mov qword [rdi + 0xd0], rax
mov rcx, rdi
mov rdx, rbp
mov r8, r12
call fcn.14005111b
mov rcx, rdi
mov rdx, r15
mov r8, r13
call fcn.14005111b
mov rcx, rdi
mov rdx, qword [rsp + 0x248]
mov r8, r14
call fcn.14005111b
lea rbx, [rsp + 0x100]
mov r8d, 0xd8
mov rcx, rbx
mov rdx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rcx, rsi
mov rdx, rbx
call fcn.140051377
mov rax, rsi
add rsp, 0x1d8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x14004fe00
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
test rdx, rdx
je 0x14004fe48
mov rsi, rdx
mov rdi, rcx
xor r14d, r14d
mov r15d, 0xffffffff
mov rbx, rsi
sub rbx, r14
lea rcx, [rdi + r14]
cmp rbx, r15
cmovae rbx, r15
mov edx, ebx
call sub.ADVAPI32.dll_SystemFunction036
test al, al
sete al
je 0x14004fe4a
add r14, rbx
cmp r14, rsi
jb 0x14004fe1f
jmp 0x14004fe4a
xor eax, eax
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret

Function at 0x14005085c
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rsi, rcx
mov rax, qword [rcx]
mov rcx, qword [rcx + 8]
bswap rax
bswap rcx
mov r12, qword [rsp + 0x90]
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x28], rax
and r12, 0xfffffffffffffff0
je 0x1400508de
mov rdi, r9
mov rbx, r8
mov r14, rdx
xor r13d, r13d
lea r15, [rsp + 0x20]
mov rax, qword [rdi + r13 + 8]
bswap rax
xor qword [rsp + 0x20], rax
mov rax, qword [rdi + r13]
bswap rax
xor qword [rsp + 0x28], rax
mov rcx, r15
mov rdx, r14
mov r8, rbx
call fcn.140050762
add r13, 0x10
cmp r12, r13
jne 0x1400508a4
mov rcx, qword [rsp + 0x20]
mov rax, qword [rsp + 0x28]
bswap rax
bswap rcx
movq xmm0, rcx
movq xmm1, rax
punpcklqdq xmm1, xmm0
movdqu xmmword [rsi], xmm1
add rsp, 0x30
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x140050914
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x50
movaps xmmword [rsp + 0x40], xmm6
mov r14, rdx
mov rdx, qword [rcx]
mov rsi, qword [rcx + 0x10]
cmp rsi, rdx
jb 0x140050a81
sub rsi, rdx
je 0x140050a6c
mov rdi, qword [rcx + 8]
mov r12, qword [r14]
mov rbx, qword [r14 + 8]
mov r13, qword [r14 + 0x10]
xorps xmm0, xmm0
movaps xmmword [rsp + 0x20], xmm0
cmp rsi, 0x11
jae 0x140050a95
add rdx, rdi
lea r15, [rsp + 0x20]
mov rcx, r15
mov r8, rsi
call sub.VCRUNTIME140.dll_memcpy
movaps xmm6, xmmword [r15]
cmp qword [r12], 0
jne 0x140050993
lea rdx, [rsp + 0x20]
movaps xmmword [rdx], xmm6
mov rcx, rbx
call fcn.1400530bd
mov r8, qword [r13]
movups xmm0, xmmword [r14 + 0x18]
mov eax, dword [0x14014c20c]
xor ecx, ecx
bt eax, 9
setae cl
or rcx, 2
bt eax, 0x19
mov eax, 1
cmovae rax, rcx
lea rcx, [rsp + 0x20]
cmp rax, 1
je 0x1400509db
cmp eax, 2
jne 0x1400509ea
movaps xmmword [rcx], xmm0
lea rdx, [rsp + 0x30]
call fcn.140054720
jmp 0x1400509f7
movaps xmmword [rcx], xmm0
lea rdx, [rsp + 0x30]
call fcn.140054d40
jmp 0x1400509f7
movaps xmmword [rcx], xmm0
lea rdx, [rsp + 0x30]
call fcn.1400cceb0
movaps xmmword [rsp + 0x20], xmm6
xor eax, eax
mov rcx, qword [rsp + rax*8 + 0x20]
xor qword [rsp + rax*8 + 0x30], rcx
lea rcx, [rax + 1]
mov rax, rcx
cmp rcx, 2
jne 0x1400509fe
movaps xmm6, xmmword [rsp + 0x30]
cmp qword [r12], 0
je 0x140050a59
movaps xmmword [rsp + 0x20], xmm6
cmp rsi, 0x10
je 0x140050a49
lea rcx, [rsp + rsi]
add rcx, 0x20
mov r8d, 0x10
sub r8, rsi
xor edx, edx
call sub.VCRUNTIME140.dll_memset
movaps xmm6, xmmword [rsp + 0x20]
lea rdx, [rsp + 0x20]
movaps xmmword [rdx], xmm6
mov rcx, rbx
call fcn.1400530bd
lea rdx, [rsp + 0x20]
movaps xmmword [rdx], xmm6
mov rcx, rdi
mov r8, rsi
call sub.VCRUNTIME140.dll_memcpy
movaps xmm6, xmmword [rsp + 0x40]
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea r8, str.C:Users_runneradmin.cargo_registry_srcindex.crates.io_6f17d22bba15001f_ring_0.16.20_src_aead_shift.rs
mov rcx, rdx
mov rdx, rsi
call fcn.1400dbfa0
ud2
lea r8, str.C:Users_runneradmin.cargo_registry_srcindex.crates.io_6f17d22bba15001f_ring_0.16.20_src_aead_block.rs
mov edx, 0x10
mov rcx, rsi
call fcn.1400dc020
ud2
Function at 0x1400530bd
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
sub rsp, 0x38
mov rsi, rcx
movups xmm0, xmmword [rdx]
movaps xmmword [rsp + 0x20], xmm0
xor eax, eax
mov rcx, qword [rsp + rax*8 + 0x20]
xor qword [rsi + rax*8], rcx
lea rcx, [rax + 1]
mov rax, rcx
cmp rcx, 2
jne 0x1400530d0
test byte [0x14014c20b], 1
je 0x14005310c
mov eax, dword [0x14014c20c]
and eax, 2
je 0x14005310c
lea rdx, [rsi + 0x20]
mov rcx, rsi
add rsp, 0x38
pop rdi
pop rsi
jmp 0x14006feb0
mov rdx, qword [rsi + 0x20]
mov rax, qword [rsi]
mov rcx, qword [rsi + 8]
bswap rax
bswap rcx
mov r8, qword [rsi + 0x28]
lea rdi, [rsp + 0x20]
mov qword [rdi], rcx
mov qword [rdi + 8], rax
mov rcx, rdi
call fcn.140050762
mov rax, qword [rdi]
mov rcx, qword [rdi + 8]
bswap rcx
bswap rax
movq xmm0, rax
movq xmm1, rcx
punpcklqdq xmm1, xmm0
movdqa xmmword [rsi], xmm1
add rsp, 0x38
pop rdi
pop rsi
ret
movdqu xmm0, xmmword [rcx]
movdqa xmm5, xmmword [0x140070f80]
movdqu xmm2, xmmword [rdx]
movdqu xmm4, xmmword [rdx + 0x20]
pshufb xmm0, xmm5
movdqa xmm1, xmm0
pshufd xmm3, xmm0, 0x4e
pxor xmm3, xmm0
pclmulqdq xmm0, xmm2, 0
pclmulqdq xmm1, xmm2, 0x11
pclmulqdq xmm3, xmm4, 0
pxor xmm3, xmm0
pxor xmm3, xmm1
movdqa xmm4, xmm3
psrldq xmm3, 8
pslldq xmm4, 8
pxor xmm1, xmm3
pxor xmm0, xmm4
movdqa xmm4, xmm0
movdqa xmm3, xmm0
psllq xmm0, 5
pxor xmm3, xmm0
psllq xmm0, 1
pxor xmm0, xmm3
psllq xmm0, 0x39
movdqa xmm3, xmm0
pslldq xmm0, 8
psrldq xmm3, 8
pxor xmm0, xmm4
pxor xmm1, xmm3
movdqa xmm4, xmm0
psrlq xmm0, 1
pxor xmm1, xmm4
pxor xmm4, xmm0
psrlq xmm0, 5
pxor xmm0, xmm4
psrlq xmm0, 1
pxor xmm0, xmm1
pshufb xmm0, xmm5
movdqu xmmword [rcx], xmm0
repz ret

Function at 0x14005315b
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
sub rsp, 0x48
mov rdi, rdx
mov rsi, rcx
movups xmm0, xmmword [r8 + 8]
mov rax, qword [r8]
mov r8, qword [rax]
mov eax, dword [0x14014c20c]
xor ecx, ecx
bt eax, 9
setae cl
or rcx, 2
bt eax, 0x19
mov eax, 1
cmovae rax, rcx
lea rcx, [rsp + 0x30]
cmp rax, 1
je 0x1400531b1
cmp eax, 2
jne 0x1400531c0
movaps xmmword [rcx], xmm0
lea rdx, [rsp + 0x20]
call fcn.140054720
jmp 0x1400531cd
movaps xmmword [rcx], xmm0
lea rdx, [rsp + 0x20]
call fcn.140054d40
jmp 0x1400531cd
movaps xmmword [rcx], xmm0
lea rdx, [rsp + 0x20]
call fcn.1400cceb0
movups xmm0, xmmword [rdi]
movaps xmmword [rsp + 0x30], xmm0
xor eax, eax
mov rcx, qword [rsp + rax*8 + 0x30]
xor qword [rsp + rax*8 + 0x20], rcx
lea rcx, [rax + 1]
mov rax, rcx
cmp rcx, 2
jne 0x1400531d7
movaps xmm0, xmmword [rsp + 0x20]
movups xmmword [rsi], xmm0
mov rax, rsi
add rsp, 0x48
pop rdi
pop rsi
ret
Function at 0x1400547fd
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rdi
mov qword [rsp + 0x10], rsi
mov rax, rsp
mov rdi, rcx
mov rsi, rdx
mov rdx, r8
mov rcx, r9
mov r8, qword [rsp + 0x28]
xchg rcx, rdx
test rcx, rcx
je 0x140054971
lea rsp, [rsp - 0xb8]
movaps xmmword [rsp + 0x10], xmm6
movaps xmmword [rsp + 0x20], xmm7
movaps xmmword [rsp + 0x30], xmm8
movaps xmmword [rsp + 0x40], xmm9
movaps xmmword [rsp + 0x50], xmm10
movaps xmmword [rsp + 0x60], xmm11
movaps xmmword [rsp + 0x70], xmm12
movaps xmmword [rsp + 0x80], xmm13
movaps xmmword [rsp + 0x90], xmm14
movaps xmmword [rsp + 0xa0], xmm15
movdqu xmm0, xmmword [r8]
movdqa xmm8, xmmword [0x140054ba0]
sub rsi, rdi
call fcn.140054980
movdqa xmm6, xmm0
pshufb xmm6, xmmword [0x140054b90]
test rcx, 1
je 0x1400548ba
movdqu xmm7, xmmword [rdi]
call fcn.140054000
pxor xmm0, xmm7
paddd xmm6, xmm8
movdqu xmmword [rsi + rdi], xmm0
sub rcx, 1
lea rdi, [rdi + 0x10]
je 0x140054926
movdqa xmm14, xmm6
movdqa xmm15, xmm6
paddd xmm15, xmm8
movdqa xmm1, xmmword [0x140054b90]
movdqa xmm0, xmm14
movdqa xmm6, xmm15
pshufb xmm0, xmm1
pshufb xmm6, xmm1
call fcn.140054160
movdqu xmm1, xmmword [rdi]
movdqu xmm2, xmmword [rdi + 0x10]
movdqa xmm3, xmmword [0x140054bb0]
pxor xmm0, xmm1
pxor xmm6, xmm2
paddd xmm14, xmm3
paddd xmm15, xmm3
movdqu xmmword [rsi + rdi], xmm0
movdqu xmmword [rsi + rdi + 0x10], xmm6
sub rcx, 2
lea rdi, [rdi + 0x20]
jne 0x1400548c9
movaps xmm6, xmmword [rsp + 0x10]
movaps xmm7, xmmword [rsp + 0x20]
movaps xmm8, xmmword [rsp + 0x30]
movaps xmm9, xmmword [rsp + 0x40]
movaps xmm10, xmmword [rsp + 0x50]
movaps xmm11, xmmword [rsp + 0x60]
movaps xmm12, xmmword [rsp + 0x70]
movaps xmm13, xmmword [rsp + 0x80]
movaps xmm14, xmmword [rsp + 0x90]
movaps xmm15, xmmword [rsp + 0xa0]
lea rsp, [rsp + 0xb8]
mov rdi, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
repz ret

Function at 0x140054f50
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenc xmm5, xmm1
aesenc xmm6, xmm1
aesenc xmm7, xmm1
movups xmm1, xmmword [rcx + rax]
add rax, 0x20
aesenc xmm2, xmm0
aesenc xmm3, xmm0
aesenc xmm4, xmm0
aesenc xmm5, xmm0
aesenc xmm6, xmm0
aesenc xmm7, xmm0
movups xmm0, xmmword [rcx + rax - 0x10]
jne fcn.140054f50
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenc xmm5, xmm1
aesenc xmm6, xmm1
aesenc xmm7, xmm1
aesenclast xmm2, xmm0
aesenclast xmm3, xmm0
aesenclast xmm4, xmm0
aesenclast xmm5, xmm0
aesenclast xmm6, xmm0
aesenclast xmm7, xmm0
repz ret
Function at 0x14005505a
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenc xmm5, xmm1
aesenc xmm6, xmm1
aesenc xmm7, xmm1
aesenc xmm8, xmm1
aesenc xmm9, xmm1
movups xmm1, xmmword [rcx + rax]
add rax, 0x20
aesenc xmm2, xmm0
aesenc xmm3, xmm0
aesenc xmm4, xmm0
aesenc xmm5, xmm0
aesenc xmm6, xmm0
aesenc xmm7, xmm0
aesenc xmm8, xmm0
aesenc xmm9, xmm0
movups xmm0, xmmword [rcx + rax - 0x10]
jne 0x140055030
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenc xmm5, xmm1
aesenc xmm6, xmm1
aesenc xmm7, xmm1
aesenc xmm8, xmm1
aesenc xmm9, xmm1
aesenclast xmm2, xmm0
aesenclast xmm3, xmm0
aesenclast xmm4, xmm0
aesenclast xmm5, xmm0
aesenclast xmm6, xmm0
aesenclast xmm7, xmm0
aesenclast xmm8, xmm0
aesenclast xmm9, xmm0
repz ret
Function at 0x1400568c0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
vmovdqu xmm4, xmmword [rcx - 0x80]
vmovdqu xmm2, xmmword [r11 + 0x20]
lea r13, [rbp - 1]
vmovups xmm15, xmmword [rcx - 0x70]
lea r12, [rcx - 0x60]
vpxor xmm9, xmm1, xmm4
add ebx, 0x6000000
jb 0x1400569e0
vpaddb xmm10, xmm1, xmm2
vpaddb xmm11, xmm10, xmm2
vpxor xmm10, xmm10, xmm4
vpaddb xmm12, xmm11, xmm2
vpxor xmm11, xmm11, xmm4
vpaddb xmm13, xmm12, xmm2
vpxor xmm12, xmm12, xmm4
vpaddb xmm14, xmm13, xmm2
vpxor xmm13, xmm13, xmm4
vpaddb xmm1, xmm14, xmm2
vpxor xmm14, xmm14, xmm4
jmp 0x140056920
vaesenc xmm9, xmm9, xmm15
vaesenc xmm10, xmm10, xmm15
vaesenc xmm11, xmm11, xmm15
vaesenc xmm12, xmm12, xmm15
vaesenc xmm13, xmm13, xmm15
vaesenc xmm14, xmm14, xmm15
vmovups xmm15, xmmword [r12]
lea r12, [r12 + 0x10]
dec r13d
jne 0x140056920
vmovdqu xmm3, xmmword [r12]
vaesenc xmm9, xmm9, xmm15
vpxor xmm4, xmm3, xmmword [rdi]
vaesenc xmm10, xmm10, xmm15
vpxor xmm5, xmm3, xmmword [rdi + 0x10]
vaesenc xmm11, xmm11, xmm15
vpxor xmm6, xmm3, xmmword [rdi + 0x20]
vaesenc xmm12, xmm12, xmm15
vpxor xmm8, xmm3, xmmword [rdi + 0x30]
vaesenc xmm13, xmm13, xmm15
vpxor xmm2, xmm3, xmmword [rdi + 0x40]
vaesenc xmm14, xmm14, xmm15
vpxor xmm3, xmm3, xmmword [rdi + 0x50]
lea rdi, [rdi + 0x60]
vaesenclast xmm9, xmm9, xmm4
vaesenclast xmm10, xmm10, xmm5
vaesenclast xmm11, xmm11, xmm6
vaesenclast xmm12, xmm12, xmm8
vaesenclast xmm13, xmm13, xmm2
vaesenclast xmm14, xmm14, xmm3
vmovups xmmword [rsi], xmm9
vmovups xmmword [rsi + 0x10], xmm10
vmovups xmmword [rsi + 0x20], xmm11
vmovups xmmword [rsi + 0x30], xmm12
vmovups xmmword [rsi + 0x40], xmm13
vmovups xmmword [rsi + 0x50], xmm14
lea rsi, [rsi + 0x60]
repz ret
vpshufb xmm6, xmm1, xmm0
vmovdqu xmm5, xmmword [r11 + 0x30]
vpaddd xmm10, xmm6, xmmword [r11 + 0x40]
vpaddd xmm11, xmm6, xmm5
vpaddd xmm12, xmm10, xmm5
vpshufb xmm10, xmm10, xmm0
vpaddd xmm13, xmm11, xmm5
vpshufb xmm11, xmm11, xmm0
vpxor xmm10, xmm10, xmm4
vpaddd xmm14, xmm12, xmm5
vpshufb xmm12, xmm12, xmm0
vpxor xmm11, xmm11, xmm4
vpaddd xmm1, xmm13, xmm5
vpshufb xmm13, xmm13, xmm0
vpxor xmm12, xmm12, xmm4
vpshufb xmm14, xmm14, xmm0
vpxor xmm13, xmm13, xmm4
vpshufb xmm1, xmm1, xmm0
vpxor xmm14, xmm14, xmm4
jmp 0x140056920
Function at 0x14005e580
Capabilities:
Encode data using xor

Disassembly:
xor r10, r10
xor r11, r11
xor r12, r12
cmp r8, 0xd
jne 0x14005e62f
mov r10, qword [rcx]
mov r11, qword [rcx + 5]
shr r11, 0x18
mov r12d, 1
mov rax, qword [rbp + 0xa0]
mov r15, rax
mul r10
mov r13, rax
mov r14, rdx
mov rax, qword [rbp + 0xa0]
mul r11
imul r15, r12
add r14, rax
adc r15, rdx
mov rax, qword [rbp + 0xa8]
mov r9, rax
mul r10
add r14, rax
adc rdx, 0
mov r10, rdx
mov rax, qword [rbp + 0xa8]
mul r11
add r15, rax
adc rdx, 0
imul r9, r12
add r15, r10
adc r9, rdx
mov r10, r13
mov r11, r14
mov r12, r15
and r12, 3
mov r13, r15
and r13, 0xfffffffffffffffc
mov r14, r9
shrd r15, r9, 2
shr r9, 2
add r15, r13
adc r9, r14
add r10, r15
adc r11, r9
adc r12, 0
repz ret
cmp r8, 0x10
jb 0x14005e6da
add r10, qword [rcx]
adc r11, qword [rcx + 8]
adc r12, 1
mov rax, qword [rbp + 0xa0]
mov r15, rax
mul r10
mov r13, rax
mov r14, rdx
mov rax, qword [rbp + 0xa0]
mul r11
imul r15, r12
add r14, rax
adc r15, rdx
mov rax, qword [rbp + 0xa8]
mov r9, rax
mul r10
add r14, rax
adc rdx, 0
mov r10, rdx
mov rax, qword [rbp + 0xa8]
mul r11
add r15, rax
adc rdx, 0
imul r9, r12
add r15, r10
adc r9, rdx
mov r10, r13
mov r11, r14
mov r12, r15
and r12, 3
mov r13, r15
and r13, 0xfffffffffffffffc
mov r14, r9
shrd r15, r9, 2
shr r9, 2
add r15, r13
adc r9, r14
add r10, r15
adc r11, r9
adc r12, 0
lea rcx, [rcx + 0x10]
sub r8, 0x10
jmp 0x14005e62f
cmp r8, 0
je 0x14005e7a0
xor r13, r13
xor r14, r14
xor r15, r15
add rcx, r8
shld r14, r13, 8
shl r13, 8
movzx r15, byte [rcx - 1]
xor r13, r15
dec rcx
dec r8
jne 0x14005e6f0
add r10, r13
adc r11, r14
adc r12, 1
mov rax, qword [rbp + 0xa0]
mov r15, rax
mul r10
mov r13, rax
mov r14, rdx
mov rax, qword [rbp + 0xa0]
mul r11
imul r15, r12
add r14, rax
adc r15, rdx
mov rax, qword [rbp + 0xa8]
mov r9, rax
mul r10
add r14, rax
adc rdx, 0
mov r10, rdx
mov rax, qword [rbp + 0xa8]
mul r11
add r15, rax
adc rdx, 0
imul r9, r12
add r15, r10
adc r9, rdx
mov r10, r13
mov r11, r14
mov r12, r15
and r12, 3
mov r13, r15
and r13, 0xfffffffffffffffc
mov r14, r9
shrd r15, r9, 2
shr r9, 2
add r15, r13
adc r9, r14
add r10, r15
adc r11, r9
adc r12, 0
repz ret
Function at 0x14007c2ca
Capabilities:
Query or enumerate registry value

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x78
mov r14, rdx
mov rsi, rcx
add r9, r8
lea rdi, [rsp + 0x40]
mov qword [rdi], r8
mov qword [rdi + 8], r9
mov word [rdi + 0x10], 0
mov dword [rdi + 0x18], 1
lea r15, [rsp + 0x60]
mov rcx, r15
mov rdx, rdi
call fcn.14008daf0
lea r12, [rsp + 0x38]
mov dword [r12], 0x800
lea rbx, [rsp + 0x3c]
mov dword [rbx], 0
mov ecx, 0x800
xor edx, edx
call fcn.140016f5a
mov qword [rdi], rax
mov qword [rdi + 8], rdx
mov qword [rdi + 0x10], 0
mov r14, qword [r14]
mov r15, qword [r15]
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], rax
mov rcx, r14
mov rdx, r15
xor r8d, r8d
mov r9, rbx
call sub.ADVAPI32.dll_RegQueryValueExW
cmp eax, 0xea
jne 0x14007c377
mov edx, dword [rsp + 0x38]
mov rcx, rdi
call fcn.14004e319
mov rax, qword [rsp + 0x40]
jmp 0x14007c342
test eax, eax
jne 0x14007c399
mov eax, dword [rsp + 0x38]
mov qword [rsp + 0x50], rax
mov eax, dword [rsp + 0x3c]
cmp eax, 0xb
jbe 0x14007c3bf
movabs rax, 0xde00000002
jmp 0x14007c3a1
shl rax, 0x20
or rax, 2
mov qword [rsi], rax
mov byte [rsi + 0x18], 0xc
lea rdi, [rsp + 0x40]
mov rcx, rdi
call fcn.1400011f0
mov rcx, rdi
call fcn.1400155f0
jmp 0x14007c3d3
mov rcx, qword [rsp + 0x50]
mov qword [rsi + 0x10], rcx
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rsi], xmm0
mov byte [rsi + 0x18], al
lea rdi, [rsp + 0x60]
mov rcx, rdi
call fcn.1400011f0
mov rcx, rdi
call fcn.140086e50
mov rax, rsi
add rsp, 0x78
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
Function at 0x14009a9d0
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 + 0x3e0], rcx
mov qword [rbp + 0x3c8], 2
xorps xmm0, xmm0
movups xmmword [rbp + 0x3d0], xmm0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x3e8], rax
xor edi, edi
xor ebx, ebx
xor r12d, r12d
cmp r8, 0x201
jae 0x14009aa60
jmp 0x14009aa4f
jae 0x14009ab20
cmp r8, 0x201
jae 0x14009aa60
mov esi, 0x200
lea r13, [rbp - 0x58]
mov r15, r8
jmp 0x14009aab8
sub r8, r12
sub rbx, r12
cmp rbx, r8
jae 0x14009aa8f
lea rcx, [rbp + 0x3c8]
mov rdx, r12
call fcn.1400dabb0
mov rax, qword [rbp + 0x3c8]
mov qword [rbp + 0x3e8], rax
mov rdi, qword [rbp + 0x3d0]
mov eax, 0xffffffff
cmp rdi, rax
mov r12d, 0xffffffff
cmovb r12, rdi
mov qword [rbp + 0x3d8], r12
mov rbx, rdi
mov rsi, r12
mov r13, qword [rbp + 0x3e8]
mov r15, r12
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, r15d
mov rdx, r13
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov r14d, eax
test eax, eax
jne 0x14009aae1
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x14009ab88
mov r8d, r14d
cmp r15, r8
jne 0x14009aa40
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x14009abab
add r15, r15
mov eax, 0xffffffff
cmp r15, rax
cmovae r15, rax
mov r8, r15
cmp r8, 0x201
jb 0x14009aa4f
jmp 0x14009aa60
cmp rsi, r8
jb 0x14009abc5
lea rcx, [rbp + 0x3a8]
mov rdx, r13
call fcn.1400a1e30
movups xmm0, xmmword [rbp + 0x3a8]
movups xmm1, xmmword [rbp + 0x3b8]
mov rsi, qword [rbp + 0x3e0]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
test rdi, rdi
je 0x14009ab71
add rdi, rdi
mov r8d, 2
mov rcx, qword [rbp + 0x3e8]
mov rdx, rdi
call fcn.1400155b0
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 + 0x3e0]
mov qword [rsi], rax
mov byte [rsi + 0x18], 2
test rdi, rdi
jne 0x14009ab59
jmp 0x14009ab71
lea rcx, str.internal_error:_entered_unreachable_code
lea r8, str.library_std_src_syswindowsmod.rs
mov edx, 0x28
call fcn.1400dbaf0
jmp 0x14009abda
lea rax, str.library_std_src_syswindowsmod.rs
mov rcx, r8
mov rdx, rsi
mov r8, rax
call fcn.1400dc020
ud2
Function at 0x14009cd80
Capabilities:
Create directory

Disassembly:
cmp byte [rcx], 0
je 0x14009cd90
mov rcx, rdx
mov rdx, r8
jmp fcn.14009cda0
mov rcx, rdx
mov rdx, r8
jmp fcn.1400aa820

Function at 0x1400a19d0
Capabilities:
Set socket configuration

Disassembly:
sub rsp, 0x38
mov rcx, qword [rcx]
xor r9d, r9d
cmp r8d, 0x3b9aca00
je 0x1400a1a31
mov r9d, 0x3e8
mov rax, rdx
mul r9
mov r9d, 0xffffffff
jo 0x1400a1a31
mov edx, r8d
imul rdx, rdx, 0x431bde83
shr rdx, 0x32
add rax, rdx
jb 0x1400a1a31
imul edx, edx, 0xf4240
xor r10d, r10d
sub r8d, edx
setne r10b
add rax, r10
jb 0x1400a1a31
mov r9d, 0xffffffff
cmp rax, r9
cmovb r9, rax
test r9, r9
je 0x1400a1a73
mov dword [rsp + 0x34], r9d
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x34]
mov edx, 0xffff
mov r8d, 0x1006
call qword [sym.imp.ws2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x1400a1a60
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
lea rax, str.cannot_set_a_0_duration_timeout
add rsp, 0x38
ret

Function at 0x1400a1a80
Capabilities:
Set socket configuration

Disassembly:
sub rsp, 0x38
mov rcx, qword [rcx]
xor r9d, r9d
cmp r8d, 0x3b9aca00
je 0x1400a1ae1
mov r9d, 0x3e8
mov rax, rdx
mul r9
mov r9d, 0xffffffff
jo 0x1400a1ae1
mov edx, r8d
imul rdx, rdx, 0x431bde83
shr rdx, 0x32
add rax, rdx
jb 0x1400a1ae1
imul edx, edx, 0xf4240
xor r10d, r10d
sub r8d, edx
setne r10b
add rax, r10
jb 0x1400a1ae1
mov r9d, 0xffffffff
cmp rax, r9
cmovb r9, rax
test r9, r9
je 0x1400a1b23
mov dword [rsp + 0x34], r9d
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x34]
mov edx, 0xffff
mov r8d, 0x1005
call qword [sym.imp.ws2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x1400a1b10
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
lea rax, str.cannot_set_a_0_duration_timeout
add rsp, 0x38
ret

Function at 0x1400a1b30
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rdi, rdx
mov rdx, qword [rdx + 8]
mov rsi, qword [rdi + 0x10]
mov rax, rdx
sub rax, rsi
jb 0x1400a1bac
mov rcx, qword [rcx]
cmp rax, 0x7fffffff
mov r8d, 0x7fffffff
cmovb r8, rax
mov rdx, qword [rdi]
add rdx, rsi
xor r9d, r9d
call qword [sym.imp.ws2_32.dll_recv]
cmp eax, 0xffffffff
je 0x1400a1b8c
cdqe
add rsi, rax
mov qword [rdi + 0x10], rsi
mov rax, qword [rdi + 0x18]
cmp rax, rsi
cmova rsi, rax
mov qword [rdi + 0x18], rsi
xor eax, eax
jmp 0x1400a1ba5
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
cmp eax, 0x274a
jne 0x1400a1b9d
xor eax, eax
jmp 0x1400a1ba5
shl rax, 0x20
or rax, 2
add rsp, 0x28
pop rdi
pop rsi
ret
lea r8, str.library_std_srcio_readbuf.rs
mov rcx, rsi
call fcn.1400dbfa0
ud2