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

Disassembly:
sub rsp, 0x58
mov eax, dword [0x140008698]
xor r9d, r9d
cmp byte [0x14000869d], r9b
movsd xmm0, qword [str.ohejcQM_UtTZZ_]
mov dword [rsp + 0x48], eax
movzx eax, word [0x14000869c]
mov word [rsp + 0x4c], ax
movsd qword [rsp + 0x40], xmm0
je 0x14000392d
cmp dword [0x14000b050], 2
mov ecx, r9d
jl 0x1400038f3
movdqa xmm2, xmmword [0x140008850]
mov ecx, 8
movdqa xmm4, xmmword [0x1400088a0]
movdqa xmm1, xmm2
movdqa xmm3, xmmword [0x140008860]
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140008870]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [str.ohejcQM_UtTZZ_]
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x140008880]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.3333333333333333]
xorps xmm2, xmm0
punpckldq xmm1, xmm3
movd dword [rsp + 0x40], xmm2
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140008870]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [rsp + 0x44]
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140008880]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.3333333333333333]
xorps xmm2, xmm0
movd dword [rsp + 0x44], xmm2
movsxd rax, ecx
lea r8, [rsp + 0x40]
add r8, rax
nop
mov eax, 0x4bda12f7
lea r8, [r8 + 1]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x36
movzx eax, cl
inc ecx
sub al, dl
add al, 0x33
xor byte [r8 - 1], al
cmp ecx, 0xe
jl 0x140003900
mov qword [rsp + 0x30], r9
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x28], r9d
mov edx, 0xc0000000
mov r8d, 3
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileA]
cmp rax, 0xffffffffffffffff
setne al
add rsp, 0x58
ret
Function at 0x140003970
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x88
movups xmm0, xmmword [str.ohejhKUXYNMw___6vF]
mov eax, dword [0x140008688]
xor r9d, r9d
cmp byte [0x14000868b], r9b
movups xmmword [rsp + 0x50], xmm0
mov dword [rsp + 0x60], eax
je 0x140003b3d
cmp dword [0x14000b050], 2
mov ecx, r9d
jl 0x140003af9
movdqa xmm0, xmmword [str.3333333333333333]
lea rdx, [rsp + 0x54]
movdqa xmm5, xmmword [0x140008850]
movdqa xmm4, xmmword [0x1400088a0]
movdqa xmmword [rsp + 0x40], xmm0
mov r8d, dword [rsp + 0x40]
movaps xmmword [rsp + 0x70], xmm6
movdqa xmm6, xmmword [0x140008870]
nop dword [rax]
nop word [rax + rax]
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add ecx, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x140008880]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rdx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, r8d
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140008880]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x10
jl 0x1400039f0
movaps xmm6, xmmword [rsp + 0x70]
cmp ecx, 0x14
jge 0x140003b3d
movsxd rax, ecx
lea r8, [rsp + 0x50]
add r8, rax
nop dword [rax]
nop dword [rax + rax]
mov eax, 0x4bda12f7
lea r8, [r8 + 1]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x36
movzx eax, cl
inc ecx
sub al, dl
add al, 0x33
xor byte [r8 - 1], al
cmp ecx, 0x14
jl 0x140003b10
mov qword [rsp + 0x30], r9
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x28], r9d
mov edx, 0xc0000000
mov r8d, 3
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileA]
cmp rax, 0xffffffffffffffff
setne al
add rsp, 0x88
ret
Function at 0x140003b80
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x58
mov eax, dword [0x140008670]
xor r9d, r9d
cmp dword [0x14000b050], 2
mov ecx, r9d
movsd xmm0, qword [str.ohejKOVLXL_]
mov dword [rsp + 0x48], eax
movzx eax, byte [0x140008674]
mov byte [rsp + 0x4c], al
movsd qword [rsp + 0x40], xmm0
jl 0x140003cb5
movdqa xmm2, xmmword [0x140008850]
mov ecx, 8
movdqa xmm4, xmmword [0x1400088a0]
movdqa xmm1, xmm2
movdqa xmm3, xmmword [0x140008860]
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140008870]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [str.ohejKOVLXL_]
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x140008880]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.3333333333333333]
xorps xmm2, xmm0
punpckldq xmm1, xmm3
movd dword [rsp + 0x40], xmm2
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140008870]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [rsp + 0x44]
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140008880]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.3333333333333333]
xorps xmm2, xmm0
movd dword [rsp + 0x44], xmm2
movsxd rax, ecx
lea r8, [rsp + 0x40]
add r8, rax
mov eax, 0x4bda12f7
lea r8, [r8 + 1]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x36
movzx eax, cl
inc ecx
sub al, dl
add al, 0x33
xor byte [r8 - 1], al
cmp ecx, 0xd
jl 0x140003cc0
mov qword [rsp + 0x30], r9
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x28], r9d
mov edx, 0xc0000000
mov r8d, 3
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileA]
cmp rax, 0xffffffffffffffff
setne al
add rsp, 0x58
ret
Function at 0x140003d30
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
push rbx
sub rsp, 0x90
movaps xmmword [rax - 0x18], xmm6
xor ecx, ecx
movups xmm0, xmmword [0x140008638]
movups xmmword [rax - 0x48], xmm0
movups xmm1, xmmword [0x140008648]
movups xmmword [rax - 0x38], xmm1
movsd xmm0, qword [0x140008658]
movsd qword [rax - 0x28], xmm0
mov eax, dword [0x140008660]
mov dword [rsp + 0x78], eax
movzx eax, byte [0x140008664]
mov byte [rsp + 0x7c], al
cmp dword [0x14000b050], 2
jl 0x140003ec2
movdqa xmm5, xmmword [0x140008850]
movdqa xmm4, xmmword [0x1400088a0]
movdqa xmm6, xmmword [0x140008870]
movdqa xmm0, xmmword [str.3333333333333333]
movdqa xmmword [rsp + 0x20], xmm0
lea rdx, [rsp + 0x54]
mov r8d, dword [rsp + 0x20]
nop word [rax + rax]
movd xmm2, ecx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140008880]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
xorps xmm2, xmm0
movd dword [rdx - 4], xmm2
lea eax, [rcx + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140008880]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
xorps xmm2, xmm0
movd dword [rdx], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x28
jl 0x140003dc0
cmp ecx, 0x2d
jge 0x140003efc
movsxd rax, ecx
lea r8, [rsp + 0x50]
add r8, rax
nop dword [rax]
mov eax, 0x4bda12f7
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x36
movzx eax, cl
sub al, dl
add al, 0x33
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x2d
jl 0x140003ed0
lea rax, [rsp + 0x50]
mov rbx, 0xffffffffffffffff
nop dword [rax + rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x140003f10
call fcn.140005b58
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x28], rbx
lea r8, [rsp + 0x20]
mov edx, eax
lea rcx, [rsp + 0x30]
call fcn.140002300
nop
lea rcx, [rsp + 0x30]
call fcn.140002dd0
movzx ebx, al
mov rdx, qword [rsp + 0x48]
cmp rdx, 7
jbe 0x140003f91
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003f8c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003f8c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140006050
test bl, bl
setne al
movaps xmm6, xmmword [rsp + 0x80]
add rsp, 0x90
pop rbx
ret
Function at 0x140003fb0
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x90
movaps xmmword [rsp + 0x80], xmm6
xor ecx, ecx
movups xmm0, xmmword [0x140008610]
movups xmmword [rsp + 0x50], xmm0
movups xmm1, xmmword [0x140008620]
movups xmmword [rsp + 0x60], xmm1
mov eax, dword [0x140008630]
mov dword [rsp + 0x70], eax
movzx eax, word [0x140008634]
mov word [rsp + 0x74], ax
cmp dword [0x14000b050], 2
jl 0x140004132
movdqa xmm5, xmmword [0x140008850]
movdqa xmm4, xmmword [0x1400088a0]
movdqa xmm6, xmmword [0x140008870]
movdqa xmm0, xmmword [str.3333333333333333]
movdqa xmmword [rsp + 0x20], xmm0
lea rdx, [rsp + 0x54]
mov r8d, dword [rsp + 0x20]
nop
movd xmm2, ecx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140008880]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
xorps xmm2, xmm0
movd dword [rdx - 4], xmm2
lea eax, [rcx + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140008880]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
xorps xmm2, xmm0
movd dword [rdx], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x20
jl 0x140004030
cmp ecx, 0x26
jge 0x14000416c
movsxd rax, ecx
lea r8, [rsp + 0x50]
add r8, rax
nop dword [rax]
mov eax, 0x4bda12f7
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x36
movzx eax, cl
sub al, dl
add al, 0x33
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x26
jl 0x140004140
lea rax, [rsp + 0x50]
mov rbx, 0xffffffffffffffff
nop dword [rax + rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x140004180
call fcn.140005b58
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x28], rbx
lea r8, [rsp + 0x20]
mov edx, eax
lea rcx, [rsp + 0x30]
call fcn.140002300
nop
lea rcx, [rsp + 0x30]
call fcn.140002dd0
movzx ebx, al
mov rdx, qword [rsp + 0x48]
cmp rdx, 7
jbe 0x140004201
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400041fc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400041fc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140006050
test bl, bl
setne al
movaps xmm6, xmmword [rsp + 0x80]
add rsp, 0x90
pop rbx
ret
Function at 0x140004220
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
push rbx
sub rsp, 0x90
movaps xmmword [rax - 0x18], xmm6
xor ecx, ecx
movups xmm0, xmmword [0x1400085e0]
movups xmmword [rax - 0x48], xmm0
movups xmm1, xmmword [0x1400085f0]
movups xmmword [rax - 0x38], xmm1
movsd xmm0, qword [0x140008600]
movsd qword [rax - 0x28], xmm0
movzx eax, word [0x140008608]
mov word [rsp + 0x78], ax
cmp dword [0x14000b050], 2
jl 0x1400043a2
movdqa xmm5, xmmword [0x140008850]
movdqa xmm4, xmmword [0x1400088a0]
movdqa xmm6, xmmword [0x140008870]
movdqa xmm0, xmmword [str.3333333333333333]
movdqa xmmword [rsp + 0x20], xmm0
lea rdx, [rsp + 0x54]
mov r8d, dword [rsp + 0x20]
nop dword [rax]
movd xmm2, ecx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140008880]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
xorps xmm2, xmm0
movd dword [rdx - 4], xmm2
lea eax, [rcx + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140008880]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
xorps xmm2, xmm0
movd dword [rdx], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x28
jl 0x1400042a0
cmp ecx, 0x2a
jge 0x1400043dc
movsxd rax, ecx
lea r8, [rsp + 0x50]
add r8, rax
nop dword [rax]
mov eax, 0x4bda12f7
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x36
movzx eax, cl
sub al, dl
add al, 0x33
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x2a
jl 0x1400043b0
lea rax, [rsp + 0x50]
mov rbx, 0xffffffffffffffff
nop dword [rax + rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x1400043f0
call fcn.140005b58
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x28], rbx
lea r8, [rsp + 0x20]
mov edx, eax
lea rcx, [rsp + 0x30]
call fcn.140002300
nop
lea rcx, [rsp + 0x30]
call fcn.140002dd0
movzx ebx, al
mov rdx, qword [rsp + 0x48]
cmp rdx, 7
jbe 0x140004471
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000446c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000446c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140006050
test bl, bl
setne al
movaps xmm6, xmmword [rsp + 0x80]
add rsp, 0x90
pop rbx
ret
Function at 0x140004490
Capabilities:
Check for debugger via api
Terminate process

Disassembly:
sub rsp, 0x48
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x38], rax
call fcn.1400035b0
test al, al
jne 0x1400045b1
call fcn.140003d30
test al, al
jne 0x1400045b1
call fcn.140003fb0
test al, al
jne 0x1400045b1
call fcn.1400037b0
test al, al
jne 0x1400045b1
call fcn.140004220
test al, al
jne 0x1400045b1
call fcn.140003970
test al, al
jne 0x1400045b1
call fcn.140003b80
test al, al
jne 0x1400045b1
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CheckRemoteDebuggerPresent]
cmp dword [rsp + 0x30], 0
jne 0x1400045b1
call fcn.140002ed0
test eax, eax
jne 0x1400045b1
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
jne 0x1400045b1
lea rcx, str.ntdll.dll
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x30], 0
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rcx, rax
lea rdx, str.NtQueryInformationProcess
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r9d, 4
mov qword [rsp + 0x20], 0
mov rcx, rax
lea r8, [rsp + 0x30]
lea edx, [r9 + 0x1a]
call rbx
mov rbx, qword [rsp + 0x40]
test eax, eax
jne 0x140004596
cmp qword [rsp + 0x30], 0
jne 0x1400045b1
call fcn.140003130
test eax, eax
jne 0x1400045b1
call fcn.140003370
test eax, eax
jne 0x1400045b1
call fcn.140003590
test eax, eax
je 0x1400045bd
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140006030
add rsp, 0x48
ret

Function at 0x1400045d0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
lea r14, [0x14000b090]
xor r9d, r9d
lea r15, [rsp + 0x18]
mov r10d, 1
mov rbp, qword [r15]
mov r11d, 2
mov ebx, 3
mov qword [r15], r9
sub r10, r14
sub r11, r14
sub rbx, r14
mov edi, 4
sub rdi, r14
mov rsi, r8
movabs r12, 0x905a38633e06c43b
nop
lea r8, [r9 + r14]
mov rcx, r9
mov rax, r12
mul r9
add r9, 5
shr rdx, 7
imul rax, rdx, 0xe3
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + r10]
xor byte [r8], al
mov rax, r12
mul rcx
shr rdx, 7
imul rax, rdx, 0xe3
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + r11]
xor byte [r8 + 1], al
mov rax, r12
mul rcx
shr rdx, 7
imul rax, rdx, 0xe3
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + rbx]
xor byte [r8 + 2], al
mov rax, r12
mul rcx
shr rdx, 7
imul rax, rdx, 0xe3
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + rdi]
xor byte [r8 + 3], al
mov rax, r12
mul rcx
shr rdx, 7
imul rax, rdx, 0xe3
sub rcx, rax
movzx eax, byte [rcx + rsi]
xor byte [r8 + 4], al
cmp r9, 0x399e00
jb 0x140004630
mov rbx, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov qword [r15], rbp
mov rbp, qword [rsp + 0x28]
pop r15
pop r14
pop r12
ret
Function at 0x140004710
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
lea rdi, [rsp + 0x48]
xor ecx, ecx
mov rbx, qword [rdi]
lea r10, [0x1403a4e90]
mov qword [rdi], rcx
cmp byte [0x1403a4f73], cl
je 0x1400048d0
cmp dword [0x14000b050], 2
jl 0x140004890
movdqa xmm0, xmmword [str.3333333333333333]
lea rdx, [0x1403a4e94]
movdqa xmm5, xmmword [0x140008850]
movdqa xmm4, xmmword [0x1400088a0]
movdqa xmmword [rsp + 0x20], xmm0
mov r8d, dword [rsp + 0x20]
movaps xmmword [rsp + 0x30], xmm6
movdqa xmm6, xmmword [0x140008870]
nop
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add ecx, 8
pmuldq xmm1, xmm4
mov eax, ecx
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x140008880]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rdx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, r8d
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140008880]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0xe0
jl 0x140004780
movaps xmm6, xmmword [rsp + 0x30]
cmp eax, 0xe4
jge 0x1400048d0
movsxd r9, ecx
add r9, r10
nop word [rax + rax]
mov eax, 0x4bda12f7
lea r9, [r9 + 1]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x36
movzx eax, cl
inc ecx
sub al, dl
add al, 0x33
xor byte [r9 - 1], al
cmp ecx, 0xe4
jl 0x1400048a0
mov r8, r10
call fcn.1400045d0
mov qword [rdi], rbx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x140005ab8
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x140005af2
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x140005af7
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x140005b40
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x140008350]
cmp byte [rcx + rax], 0
je 0x140005b40
dec r8
sub rdx, 1
jne 0x140005b26
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x140006a2c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140006a76
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140006a76
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140006a76
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140006a76
cmp dword [rcx + 0x84], 0xe
jbe 0x140006a76
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140006a78
xor al, al
add rsp, 0x28
ret
Function at 0x140005b60
Capabilities:
Get disk information

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0x90
mov qword [rbp + 0xf], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
mov rax, qword [0x14002a520]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov sil, 1
mov edi, 2
xor r14d, r14d
lea eax, [rdi + 0x41]
movsx r8d, al
lea rdx, str._c:_
lea rcx, [rbp - 1]
call qword [sym.imp.USER32.dll_wsprintfA]
lea rcx, [rbp - 1]
call qword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 5
jne 0x140005d33
lea rax, [rbp + 7]
mov qword [rsp + 0x20], rax
lea r9, [0x140020b58]
xor edx, edx
lea r8d, [rdx + 0x17]
lea rcx, [0x14001d800]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov rcx, qword [rbp + 7]
mov rax, qword [rcx]
lea r8, [rbp - 9]
lea rdx, [0x14001ede8]
call qword [rax]
mov rcx, qword [rbp + 7]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp - 9]
test rcx, rcx
je 0x140005ce1
mov rax, qword [rcx]
mov edx, edi
call qword [rax + 0x1b8]
test eax, eax
jne 0x140005ce1
lea rax, [rbp - 9]
mov rcx, qword [0x14002bc98]
cmp rax, rcx
jae 0x140005ca0
lea rdx, [rbp - 9]
mov rax, qword [0x14002bc90]
cmp rax, rdx
ja 0x140005ca0
lea rbx, [rbp - 9]
sub rbx, rax
sar rbx, 3
cmp rcx, qword [0x14002bca0]
jne 0x140005c7f
mov edx, 1
lea rcx, [0x14002bc90]
call fcn.14000e0c0
mov rcx, qword [0x14002bc98]
mov rax, qword [0x14002bc90]
mov qword [rbp + 0x1f], rcx
mov qword [rbp + 0x17], rcx
test rcx, rcx
je 0x140005c93
mov rax, qword [rax + rbx*8]
mov qword [rcx], rax
add qword [0x14002bc98], 8
jmp 0x140005d33
cmp rcx, qword [0x14002bca0]
jne 0x140005cc1
mov edx, 1
lea rcx, [0x14002bc90]
call fcn.14000e0c0
mov rcx, qword [0x14002bc98]
test rcx, rcx
je 0x140005cd4
mov rax, qword [rbp - 9]
mov qword [rcx], rax
mov rcx, qword [0x14002bc98]
add rcx, 8
mov qword [0x14002bc98], rcx
jmp 0x140005d33
mov qword [rbp + 0x37], r14
mov qword [rbp + 0x3f], r14
mov qword [rbp + 0x3f], reloc.OLEAUT32.dll_SafeArrayDestroy
mov qword [rbp + 0x37], r14
mov byte [rbp + 0x27], 0
mov r8d, socket
lea rdx, str.device_not_initialized
lea rcx, [rbp + 0x27]
call fcn.14000e570
nop
xor sil, sil
cmp qword [rbp + 0x3f], 0x10
jb 0x140005d23
mov rcx, qword [rbp + 0x27]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rbp + 0x3f], reloc.OLEAUT32.dll_SafeArrayDestroy
mov qword [rbp + 0x37], r14
mov byte [rbp + 0x27], 0
inc edi
cmp edi, 0x1a
jl 0x140005ba0
movzx eax, sil
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.140019e70
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret