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

Disassembly:
sub rsp, 0x58
xor r8d, r8d
mov r10, rdx
cmp dword [0x1400bf090], 2
jl 0x14001ddb3
movdqa xmm5, xmmword [0x1400b1700]
lea rax, [r10 + 0x21]
lea rdx, [rcx + 0x21]
cmp rcx, rax
ja 0x14001db95
cmp rdx, r10
jae 0x14001ddb3
movaps xmmword [rsp + 0x40], xmm6
movaps xmmword [rsp + 0x30], xmm7
movaps xmmword [rsp + 0x20], xmm8
movaps xmmword [rsp + 0x10], xmm9
movdqa xmm0, xmmword [0x1400b17c0]
lea r9, [rcx + 4]
movdqa xmm3, xmmword [0x1400b17b0]
mov rdx, r10
movdqa xmm6, xmmword [0x1400b1720]
sub rdx, rcx
movdqa xmm7, xmmword [0x1400b16f0]
movdqa xmm4, xmmword [0x1400b17f0]
movdqa xmm8, xmmword [0x1400b1730]
movdqa xmm9, xmmword [0x1400b1740]
movdqa xmmword [rsp], xmm0
mov r11d, dword [rsp]
nop dword [rax + rax]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 3
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
xorps xmm0, xmm0
pcmpgtd xmm0, xmm2
andps xmm0, xmm7
paddd xmm0, xmm2
psrad xmm0, 1
paddd xmm0, xmm0
psubd xmm2, xmm0
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm8
psubd xmm2, xmm0
movd xmm0, r11d
andps xmm2, xmm9
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx + r9 - 4]
xorps xmm2, xmm0
movd dword [r9 - 4], xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 3
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
xorps xmm0, xmm0
pcmpgtd xmm0, xmm2
andps xmm0, xmm7
paddd xmm0, xmm2
psrad xmm0, 1
paddd xmm0, xmm0
psubd xmm2, xmm0
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm8
psubd xmm2, xmm0
andps xmm2, xmm9
movd xmm0, r11d
packuswb xmm2, xmm2
lea r9, [r9 + 8]
packuswb xmm2, xmm2
add r8d, 8
paddb xmm2, xmm0
movd xmm0, dword [rdx + r9 - 8]
xorps xmm2, xmm0
movd dword [r9 - 8], xmm2
cmp r8d, 0x20
jl 0x14001dc00
movaps xmm9, xmmword [rsp + 0x10]
movaps xmm8, xmmword [rsp + 0x20]
movaps xmm7, xmmword [rsp + 0x30]
movaps xmm6, xmmword [rsp + 0x40]
cmp r8d, 0x22
jge 0x14001de15
movsxd r9, r8d
add r9, rcx
sub r10, rcx
nop dword [rax]
mov eax, 0x22b63cbf
mov ecx, r8d
imul r8d
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x3b
sub ecx, eax
and ecx, 0x80000001
jge 0x14001dde9
dec ecx
or ecx, 0xfffffffe
inc ecx
mov eax, 0x4325c53f
inc r8d
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x3d
sub ecx, eax
add cl, 0x32
xor cl, byte [r10 + r9]
mov byte [r9], cl
inc r9
cmp r8d, 0x22
jl 0x14001ddc0
add rsp, 0x58
ret
Function at 0x14001de60
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x58
xor r8d, r8d
mov r10, rdx
cmp dword [0x1400bf090], 2
jl 0x14001e0b3
movdqa xmm5, xmmword [0x1400b1700]
lea rax, [r10 + 0x15]
lea rdx, [rcx + 0x15]
cmp rcx, rax
ja 0x14001de95
cmp rdx, r10
jae 0x14001e0b3
movaps xmmword [rsp + 0x40], xmm6
movaps xmmword [rsp + 0x30], xmm7
movaps xmmword [rsp + 0x20], xmm8
movaps xmmword [rsp + 0x10], xmm9
movdqa xmm0, xmmword [0x1400b17c0]
lea r9, [rcx + 4]
movdqa xmm3, xmmword [0x1400b17b0]
mov rdx, r10
movdqa xmm6, xmmword [0x1400b1720]
sub rdx, rcx
movdqa xmm7, xmmword [0x1400b16f0]
movdqa xmm4, xmmword [0x1400b17f0]
movdqa xmm8, xmmword [0x1400b1730]
movdqa xmm9, xmmword [0x1400b1740]
movdqa xmmword [rsp], xmm0
mov r11d, dword [rsp]
nop dword [rax + rax]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 3
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
xorps xmm0, xmm0
pcmpgtd xmm0, xmm2
andps xmm0, xmm7
paddd xmm0, xmm2
psrad xmm0, 1
paddd xmm0, xmm0
psubd xmm2, xmm0
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm8
psubd xmm2, xmm0
movd xmm0, r11d
andps xmm2, xmm9
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx + r9 - 4]
xorps xmm2, xmm0
movd dword [r9 - 4], xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 3
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
xorps xmm0, xmm0
pcmpgtd xmm0, xmm2
andps xmm0, xmm7
paddd xmm0, xmm2
psrad xmm0, 1
paddd xmm0, xmm0
psubd xmm2, xmm0
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm8
psubd xmm2, xmm0
andps xmm2, xmm9
movd xmm0, r11d
packuswb xmm2, xmm2
lea r9, [r9 + 8]
packuswb xmm2, xmm2
add r8d, 8
paddb xmm2, xmm0
movd xmm0, dword [rdx + r9 - 8]
xorps xmm2, xmm0
movd dword [r9 - 8], xmm2
cmp r8d, 0x10
jl 0x14001df00
movaps xmm9, xmmword [rsp + 0x10]
movaps xmm8, xmmword [rsp + 0x20]
movaps xmm7, xmmword [rsp + 0x30]
movaps xmm6, xmmword [rsp + 0x40]
cmp r8d, 0x16
jge 0x14001e115
movsxd r9, r8d
add r9, rcx
sub r10, rcx
nop dword [rax]
mov eax, 0x22b63cbf
mov ecx, r8d
imul r8d
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x3b
sub ecx, eax
and ecx, 0x80000001
jge 0x14001e0e9
dec ecx
or ecx, 0xfffffffe
inc ecx
mov eax, 0x4325c53f
inc r8d
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x3d
sub ecx, eax
add cl, 0x32
xor cl, byte [r10 + r9]
mov byte [r9], cl
inc r9
cmp r8d, 0x16
jl 0x14001e0c0
add rsp, 0x58
ret
Function at 0x14001fbc0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x58
xor r8d, r8d
mov r10, rdx
cmp dword [0x1400bf090], 2
jl 0x14001fe13
movdqa xmm5, xmmword [0x1400b1700]
lea rax, [r10 + 0x22]
lea rdx, [rcx + 0x22]
cmp rcx, rax
ja 0x14001fbf5
cmp rdx, r10
jae 0x14001fe13
movaps xmmword [rsp + 0x40], xmm6
movaps xmmword [rsp + 0x30], xmm7
movaps xmmword [rsp + 0x20], xmm8
movaps xmmword [rsp + 0x10], xmm9
movdqa xmm0, xmmword [0x1400b17c0]
lea r9, [rcx + 4]
movdqa xmm3, xmmword [0x1400b17b0]
mov rdx, r10
movdqa xmm6, xmmword [0x1400b1720]
sub rdx, rcx
movdqa xmm7, xmmword [0x1400b16f0]
movdqa xmm4, xmmword [0x1400b17f0]
movdqa xmm8, xmmword [0x1400b1730]
movdqa xmm9, xmmword [0x1400b1740]
movdqa xmmword [rsp], xmm0
mov r11d, dword [rsp]
nop dword [rax + rax]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 3
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
xorps xmm0, xmm0
pcmpgtd xmm0, xmm2
andps xmm0, xmm7
paddd xmm0, xmm2
psrad xmm0, 1
paddd xmm0, xmm0
psubd xmm2, xmm0
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm8
psubd xmm2, xmm0
movd xmm0, r11d
andps xmm2, xmm9
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx + r9 - 4]
xorps xmm2, xmm0
movd dword [r9 - 4], xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 3
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
xorps xmm0, xmm0
pcmpgtd xmm0, xmm2
andps xmm0, xmm7
paddd xmm0, xmm2
psrad xmm0, 1
paddd xmm0, xmm0
psubd xmm2, xmm0
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm8
psubd xmm2, xmm0
andps xmm2, xmm9
movd xmm0, r11d
packuswb xmm2, xmm2
lea r9, [r9 + 8]
packuswb xmm2, xmm2
add r8d, 8
paddb xmm2, xmm0
movd xmm0, dword [rdx + r9 - 8]
xorps xmm2, xmm0
movd dword [r9 - 8], xmm2
cmp r8d, 0x20
jl 0x14001fc60
movaps xmm9, xmmword [rsp + 0x10]
movaps xmm8, xmmword [rsp + 0x20]
movaps xmm7, xmmword [rsp + 0x30]
movaps xmm6, xmmword [rsp + 0x40]
cmp r8d, 0x23
jge 0x14001fe75
movsxd r9, r8d
add r9, rcx
sub r10, rcx
nop dword [rax]
mov eax, 0x22b63cbf
mov ecx, r8d
imul r8d
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x3b
sub ecx, eax
and ecx, 0x80000001
jge 0x14001fe49
dec ecx
or ecx, 0xfffffffe
inc ecx
mov eax, 0x4325c53f
inc r8d
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x3d
sub ecx, eax
add cl, 0x32
xor cl, byte [r10 + r9]
mov byte [r9], cl
inc r9
cmp r8d, 0x23
jl 0x14001fe20
add rsp, 0x58
ret
Function at 0x14001feb0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x58
xor r8d, r8d
mov r10, rdx
cmp dword [0x1400bf090], 2
jl 0x140020103
movdqa xmm5, xmmword [0x1400b1700]
lea rax, [r10 + 0x1c]
lea rdx, [rcx + 0x1c]
cmp rcx, rax
ja 0x14001fee5
cmp rdx, r10
jae 0x140020103
movaps xmmword [rsp + 0x40], xmm6
movaps xmmword [rsp + 0x30], xmm7
movaps xmmword [rsp + 0x20], xmm8
movaps xmmword [rsp + 0x10], xmm9
movdqa xmm0, xmmword [0x1400b17c0]
lea r9, [rcx + 4]
movdqa xmm3, xmmword [0x1400b17b0]
mov rdx, r10
movdqa xmm6, xmmword [0x1400b1720]
sub rdx, rcx
movdqa xmm7, xmmword [0x1400b16f0]
movdqa xmm4, xmmword [0x1400b17f0]
movdqa xmm8, xmmword [0x1400b1730]
movdqa xmm9, xmmword [0x1400b1740]
movdqa xmmword [rsp], xmm0
mov r11d, dword [rsp]
nop dword [rax + rax]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 3
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
xorps xmm0, xmm0
pcmpgtd xmm0, xmm2
andps xmm0, xmm7
paddd xmm0, xmm2
psrad xmm0, 1
paddd xmm0, xmm0
psubd xmm2, xmm0
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm8
psubd xmm2, xmm0
movd xmm0, r11d
andps xmm2, xmm9
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx + r9 - 4]
xorps xmm2, xmm0
movd dword [r9 - 4], xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 3
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
xorps xmm0, xmm0
pcmpgtd xmm0, xmm2
andps xmm0, xmm7
paddd xmm0, xmm2
psrad xmm0, 1
paddd xmm0, xmm0
psubd xmm2, xmm0
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm8
psubd xmm2, xmm0
andps xmm2, xmm9
movd xmm0, r11d
packuswb xmm2, xmm2
lea r9, [r9 + 8]
packuswb xmm2, xmm2
add r8d, 8
paddb xmm2, xmm0
movd xmm0, dword [rdx + r9 - 8]
xorps xmm2, xmm0
movd dword [r9 - 8], xmm2
cmp r8d, 0x18
jl 0x14001ff50
movaps xmm9, xmmword [rsp + 0x10]
movaps xmm8, xmmword [rsp + 0x20]
movaps xmm7, xmmword [rsp + 0x30]
movaps xmm6, xmmword [rsp + 0x40]
cmp r8d, 0x1d
jge 0x140020165
movsxd r9, r8d
add r9, rcx
sub r10, rcx
nop dword [rax]
mov eax, 0x22b63cbf
mov ecx, r8d
imul r8d
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x3b
sub ecx, eax
and ecx, 0x80000001
jge 0x140020139
dec ecx
or ecx, 0xfffffffe
inc ecx
mov eax, 0x4325c53f
inc r8d
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x3d
sub ecx, eax
add cl, 0x32
xor cl, byte [r10 + r9]
mov byte [r9], cl
inc r9
cmp r8d, 0x1d
jl 0x140020110
add rsp, 0x58
ret
Function at 0x1400201a0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x58
xor r8d, r8d
mov r10, rdx
cmp dword [0x1400bf090], 2
jl 0x1400203f3
movdqa xmm5, xmmword [0x1400b1700]
lea rax, [r10 + 0x4c]
lea rdx, [rcx + 0x4c]
cmp rcx, rax
ja 0x1400201d5
cmp rdx, r10
jae 0x1400203f3
movaps xmmword [rsp + 0x40], xmm6
movaps xmmword [rsp + 0x30], xmm7
movaps xmmword [rsp + 0x20], xmm8
movaps xmmword [rsp + 0x10], xmm9
movdqa xmm0, xmmword [0x1400b17c0]
lea r9, [rcx + 4]
movdqa xmm3, xmmword [0x1400b17b0]
mov rdx, r10
movdqa xmm6, xmmword [0x1400b1720]
sub rdx, rcx
movdqa xmm7, xmmword [0x1400b16f0]
movdqa xmm4, xmmword [0x1400b17f0]
movdqa xmm8, xmmword [0x1400b1730]
movdqa xmm9, xmmword [0x1400b1740]
movdqa xmmword [rsp], xmm0
mov r11d, dword [rsp]
nop dword [rax + rax]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 3
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
xorps xmm0, xmm0
pcmpgtd xmm0, xmm2
andps xmm0, xmm7
paddd xmm0, xmm2
psrad xmm0, 1
paddd xmm0, xmm0
psubd xmm2, xmm0
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm8
psubd xmm2, xmm0
movd xmm0, r11d
andps xmm2, xmm9
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx + r9 - 4]
xorps xmm2, xmm0
movd dword [r9 - 4], xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 3
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
xorps xmm0, xmm0
pcmpgtd xmm0, xmm2
andps xmm0, xmm7
paddd xmm0, xmm2
psrad xmm0, 1
paddd xmm0, xmm0
psubd xmm2, xmm0
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm8
psubd xmm2, xmm0
andps xmm2, xmm9
movd xmm0, r11d
packuswb xmm2, xmm2
lea r9, [r9 + 8]
packuswb xmm2, xmm2
add r8d, 8
paddb xmm2, xmm0
movd xmm0, dword [rdx + r9 - 8]
xorps xmm2, xmm0
movd dword [r9 - 8], xmm2
cmp r8d, 0x48
jl 0x140020240
movaps xmm9, xmmword [rsp + 0x10]
movaps xmm8, xmmword [rsp + 0x20]
movaps xmm7, xmmword [rsp + 0x30]
movaps xmm6, xmmword [rsp + 0x40]
cmp r8d, 0x4d
jge 0x140020455
movsxd r9, r8d
add r9, rcx
sub r10, rcx
nop dword [rax]
mov eax, 0x22b63cbf
mov ecx, r8d
imul r8d
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x3b
sub ecx, eax
and ecx, 0x80000001
jge 0x140020429
dec ecx
or ecx, 0xfffffffe
inc ecx
mov eax, 0x4325c53f
inc r8d
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x3d
sub ecx, eax
add cl, 0x32
xor cl, byte [r10 + r9]
mov byte [r9], cl
inc r9
cmp r8d, 0x4d
jl 0x140020400
add rsp, 0x58
ret
Function at 0x140020ea0
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je 0x140020ec8
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x140020eee
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140020ef0
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140020f49
test ecx, ecx
jle 0x140020f29
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x140020f49
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140020f49
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret
Function at 0x140020f70
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x140020fa1
xor eax, eax
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
cmp qword [rcx + 0x68], 0
je 0x140020fbf
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x30], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x140020fdb
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140020fdd
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140021019
mov qword [rsp + 0x38], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x38]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x1400210ae
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x140021054
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x14002108e
nop dword [rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x1400210ae
cmp rbx, rax
ja 0x140021060
test rbx, rbx
je 0x1400210ae
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
mov rsi, qword [rsp + 0x48]
sub rbp, rbx
mov rbx, qword [rsp + 0x30]
mov rax, rbp
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x140021520
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x70
mov ebx, edx
mov rdi, rcx
call fcn.14000a3a0
mov ecx, eax
mov edx, ebx
call fcn.14000a3b0
test al, al
je 0x140021566
call fcn.14000a3a0
cmp ebx, eax
jne 0x140021556
call fcn.14000a3a0
xor ebx, ebx
test eax, eax
sete bl
mov eax, ebx
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rdi
ret
mov rax, qword [rdi + 0x40]
mov rcx, qword [rax]
test rcx, rcx
je 0x1400215a8
mov rdx, qword [rdi + 0x58]
movsxd r8, dword [rdx]
lea rax, [rcx + r8]
cmp rcx, rax
jae 0x1400215a8
lea eax, [r8 - 1]
mov dword [rdx], eax
mov rcx, qword [rdi + 0x40]
mov rdx, qword [rcx]
lea rax, [rdx + 1]
mov qword [rcx], rax
mov eax, ebx
mov byte [rdx], bl
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rdi
ret
cmp qword [rdi + 0x80], 0
jne 0x1400215c5
call fcn.14000a3a0
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rdi
ret
mov r8, qword [rdi + 0x18]
lea rax, [rdi + 0x70]
cmp qword [r8], rax
jne 0x1400215f2
mov rcx, qword [rdi + 0x88]
mov rdx, qword [rdi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rdi + 0x38]
mov qword [rax], rcx
mov rax, qword [rdi + 0x50]
mov dword [rax], edx
mov rcx, qword [rdi + 0x68]
test rcx, rcx
jne 0x140021627
movsx ecx, bl
mov rdx, qword [rdi + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
cmp eax, 0xffffffff
jne 0x140021617
call fcn.14000a3a0
mov ebx, eax
mov eax, ebx
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rdi
ret
lea rax, [rsp + 0x90]
mov byte [rsp + 0x40], bl
mov qword [rsp + 0x38], rax
lea rdx, [rdi + 0x74]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x41]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x40]
lea rax, [rsp + 0x98]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140021689
sub eax, 1
je 0x140021689
cmp eax, 2
jne 0x1400215b2
movsx ecx, byte [rsp + 0x40]
jmp 0x1400215fe
mov qword [rsp + 0x80], rsi
lea rax, [rsp + 0x48]
mov rsi, qword [rsp + 0x90]
sub rsi, rax
je 0x1400216c2
mov r9, qword [rdi + 0x80]
lea rcx, [rsp + 0x48]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x1400216d9
lea rax, [rsp + 0x40]
mov byte [rdi + 0x71], 1
cmp qword [rsp + 0x98], rax
je 0x1400216d9
mov eax, ebx
jmp 0x1400216de
call fcn.14000a3a0
mov rsi, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rdi
ret
Function at 0x140021cb0
Capabilities:
Write file on windows

Disassembly:
push rdi
sub rsp, 0x50
cmp qword [rcx + 0x68], 0
mov rdi, rcx
je 0x140021d90
cmp byte [rcx + 0x71], 0
je 0x140021d90
mov rax, qword [rcx]
mov qword [rsp + 0x68], rbx
mov rbx, qword [rax + 0x18]
call fcn.14000a3a0
mov edx, eax
mov rcx, rdi
call rbx
mov ebx, eax
call fcn.14000a3a0
mov edx, ebx
mov ecx, eax
call fcn.14000a3b0
test al, al
jne 0x140021d83
mov rcx, qword [rdi + 0x68]
lea rax, [rsp + 0x60]
lea rdx, [rdi + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x30]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140021d3f
sub eax, 1
je 0x140021d43
cmp eax, 2
jne 0x140021d83
mov rbx, qword [rsp + 0x68]
mov al, 1
mov byte [rdi + 0x71], 0
add rsp, 0x50
pop rdi
ret
mov byte [rdi + 0x71], 0
mov rbx, qword [rsp + 0x60]
lea rax, [rsp + 0x30]
sub rbx, rax
je 0x140021d71
mov r9, qword [rdi + 0x80]
lea rcx, [rsp + 0x30]
mov r8, rbx
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rbx, rax
jne 0x140021d83
cmp byte [rdi + 0x71], 0
mov rbx, qword [rsp + 0x68]
sete al
add rsp, 0x50
pop rdi
ret
mov rbx, qword [rsp + 0x68]
xor al, al
add rsp, 0x50
pop rdi
ret
mov al, 1
add rsp, 0x50
pop rdi
ret