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

Disassembly:
sub esp, 0x2c
mov eax, dword [0x653af8]
xor eax, esp
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x30]
push ebx
push ebp
mov ebp, dword [esp + 0x40]
xor ebx, ebx
push esi
mov esi, dword [esp + 0x48]
shl eax, 3
movzx edx, byte [ebp]
push edi
mov dword [esp + 0x10], 7
lea ecx, [edx + 3]
add edx, edx
add ecx, ecx
xor eax, dword [esi + ecx*8]
xor ebx, dword [esi + ecx*8 + 4]
xor ecx, ecx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x44]
shl eax, 3
xor eax, dword [esi + edx*8 + 0x38]
xor ecx, dword [esi + edx*8 + 0x3c]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
nop
mov bl, byte [ebp]
movzx ecx, byte [ebp]
shr bl, 3
dec bl
shl ecx, 4
and bl, 1
shl bl, 3
movzx eax, bl
mov dword [esp + 0x24], eax
add eax, eax
lea edi, [esi + eax*8]
lea eax, [edi + 0x40]
push eax
lea eax, [esi + 0x40]
add eax, ecx
push eax
lea eax, [esi + 0x30]
add eax, ecx
push eax
call fcn.005bc6a0
movzx ecx, byte [ebp]
lea eax, [edi + 0x30]
push eax
shl ecx, 4
lea eax, [esi + 0x30]
add eax, ecx
push eax
lea eax, [esi + 0x20]
add eax, ecx
push eax
call fcn.005bc6a0
movzx ecx, byte [ebp]
lea eax, [edi + 0x20]
push eax
shl ecx, 4
lea eax, [esi + 0x20]
add eax, ecx
push eax
lea eax, [esi + 0x10]
add eax, ecx
push eax
call fcn.005bc6a0
movzx ecx, byte [ebp]
lea eax, [edi + 0x10]
shl ecx, 4
add ecx, esi
push eax
lea eax, [ecx + 0x10]
push eax
push ecx
call fcn.005bc6a0
movzx edx, byte [ebp]
mov ecx, dword [esp + 0x44]
shl edx, 4
add edx, esi
push edi
mov eax, dword [edx + 4]
xor eax, dword [esp + 0x4c]
xor ecx, dword [edx]
mov dword [esp + 0x60], eax
mov eax, dword [edx + 0xc]
xor eax, dword [esp + 0x54]
mov dword [esp + 0x68], eax
lea eax, [esp + 0x5c]
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0x50]
xor ecx, dword [edx + 8]
push eax
lea eax, [edx + 0x40]
mov dword [esp + 0x68], ecx
push eax
call fcn.005bc6a0
add esp, 0x3c
mov byte [ebp], bl
sub dword [esp + 0x10], 1
jne 0x5bb590
mov ecx, dword [esp + 0x24]
mov edx, ecx
shl edx, 4
add edx, esi
lea eax, [ecx + 2]
add eax, eax
mov ecx, dword [esi + eax*8]
xor ecx, dword [edx + 0x10]
mov eax, dword [esi + eax*8 + 4]
xor eax, dword [edx + 0x14]
xor dword [edx], ecx
xor dword [edx + 4], eax
movzx edx, byte [ebp]
shl edx, 4
add edx, esi
mov ecx, dword [edx + 0x28]
xor ecx, dword [edx + 0x18]
mov eax, dword [edx + 0x2c]
xor eax, dword [edx + 0x1c]
xor dword [edx + 8], ecx
xor dword [edx + 0xc], eax
movzx ecx, byte [ebp]
mov edi, ecx
shl edi, 4
add edi, esi
lea eax, [ecx + 4]
add eax, eax
lea edx, [ecx + 3]
add edx, edx
mov ecx, dword [esi + eax*8]
xor ecx, dword [esi + edx*8]
mov eax, dword [esi + eax*8 + 4]
xor eax, dword [esi + edx*8 + 4]
xor dword [edi], ecx
xor dword [edi + 4], eax
movzx edx, byte [ebp]
shl edx, 4
add edx, esi
pop edi
pop esi
pop ebp
mov ecx, dword [edx + 0x48]
xor ecx, dword [edx + 0x38]
mov eax, dword [edx + 0x4c]
xor eax, dword [edx + 0x3c]
xor dword [edx + 8], ecx
mov ecx, dword [esp + 0x2c]
xor dword [edx + 0xc], eax
pop ebx
xor ecx, esp
call fcn.00602a00
add esp, 0x2c
ret
Function at 0x5bc170
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x18]
mov bl, byte [edi]
movzx eax, byte [edi]
shr bl, 3
dec bl
and bl, 1
lea ecx, [eax + 4]
shl bl, 3
add eax, 3
movzx edx, bl
add eax, eax
add ecx, ecx
movups xmm0, xmmword [esi + eax*8]
lea eax, [edx + 4]
aesenc xmm0, xmmword [esi + ecx*8]
add eax, eax
movups xmmword [esi + eax*8], xmm0
movzx eax, byte [edi]
lea ecx, [eax + 3]
add eax, 2
add eax, eax
add ecx, ecx
movups xmm0, xmmword [esi + eax*8]
lea eax, [edx + 3]
aesenc xmm0, xmmword [esi + ecx*8]
add eax, eax
movups xmmword [esi + eax*8], xmm0
movzx eax, byte [edi]
lea ecx, [eax + 2]
inc eax
add eax, eax
add ecx, ecx
movups xmm0, xmmword [esi + eax*8]
lea eax, [edx + 2]
aesenc xmm0, xmmword [esi + ecx*8]
add eax, eax
add edx, edx
movups xmmword [esi + eax*8], xmm0
movzx eax, byte [edi]
add eax, eax
movups xmm0, xmmword [esi + eax*8]
aesenc xmm0, xmmword [esi + eax*8 + 0x10]
movups xmmword [esi + edx*8 + 0x10], xmm0
movzx ecx, byte [edi]
mov eax, ecx
add eax, eax
movups xmm1, xmmword [esi + eax*8]
mov eax, dword [esp + 0x14]
pxor xmm1, xmmword [eax]
lea eax, [ecx + 4]
add eax, eax
movups xmm0, xmmword [esi + eax*8]
aesenc xmm0, xmm1
movups xmmword [esi + edx*8], xmm0
mov byte [edi], bl
pop edi
pop esi
pop ebx
ret
Function at 0x5bc330
Capabilities:
Encode data using xor
Encrypt data using aes via x86 extensions
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x38
mov eax, dword [0x653af8]
xor eax, esp
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], 0
lea eax, [edi + 0xf]
mov dword [esp + 0x24], 0
shr eax, 4
and edi, 0xf
mov dword [ebp + 0x10], edi
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
test eax, eax
je 0x5bc4ba
xor ecx, ecx
add eax, 0xffffffff
mov dword [esp + 0x10], eax
je 0x5bc481
mov edi, dword [esp + 0x14]
mov ecx, edx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x18], eax
nop dword [eax + eax]
movups xmm1, xmmword [ecx]
mov cl, byte [edi]
movzx eax, byte [edi]
shr cl, 3
dec cl
and cl, 1
shl cl, 3
movzx edx, cl
mov byte [esp + 0xb], cl
lea ecx, [eax + 4]
add eax, 3
add ecx, ecx
add eax, eax
movups xmm0, xmmword [esi + eax*8]
lea eax, [edx + 4]
aesenc xmm0, xmmword [esi + ecx*8]
add eax, eax
movups xmmword [esi + eax*8], xmm0
movzx eax, byte [edi]
lea ecx, [eax + 3]
add eax, 2
add eax, eax
add ecx, ecx
movups xmm0, xmmword [esi + eax*8]
lea eax, [edx + 3]
aesenc xmm0, xmmword [esi + ecx*8]
add eax, eax
movups xmmword [esi + eax*8], xmm0
movzx eax, byte [edi]
lea ecx, [eax + 2]
inc eax
add eax, eax
add ecx, ecx
movups xmm0, xmmword [esi + eax*8]
lea eax, [edx + 2]
aesenc xmm0, xmmword [esi + ecx*8]
add eax, eax
add edx, edx
movups xmmword [esi + eax*8], xmm0
movzx eax, byte [edi]
add eax, eax
movups xmm0, xmmword [esi + eax*8]
aesenc xmm0, xmmword [esi + eax*8 + 0x10]
movups xmmword [esi + edx*8 + 0x10], xmm0
movzx ecx, byte [edi]
mov eax, ecx
add eax, eax
pxor xmm1, xmmword [esi + eax*8]
lea eax, [ecx + 4]
mov ecx, dword [esp + 0xc]
add eax, eax
add ecx, 0x10
sub dword [esp + 0x10], 1
mov dword [esp + 0xc], ecx
movups xmm0, xmmword [esi + eax*8]
mov al, byte [esp + 0xb]
aesenc xmm0, xmm1
movups xmmword [esi + edx*8], xmm0
mov byte [edi], al
jne 0x5bc3b0
mov edi, dword [ebp + 0x10]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
add ecx, ecx
lea eax, [edx + ecx*8]
test edi, edi
je 0x5bc4a0
push edi
push eax
lea eax, [esp + 0x28]
push eax
call fcn.00604150
movups xmm0, xmmword [esp + 0x2c]
add esp, 0xc
jmp 0x5bc4a3
movups xmm0, xmmword [eax]
push dword [esp + 0x14]
lea eax, [esp + 0x24]
movaps xmmword [esp + 0x24], xmm0
push eax
push esi
call fcn.005bc170
add esp, 0xc
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
xor ecx, esp
call fcn.00602a00
mov esp, ebp
pop ebp
ret
Function at 0x5bc4d0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x40
mov eax, dword [0x653af8]
xor eax, esp
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x44]
push ebx
mov ebx, dword [esp + 0x54]
push ebp
mov ebp, dword [esp + 0x50]
push edi
mov edi, dword [esp + 0x58]
mov dword [esp + 0x1c], ebx
lea eax, [ebp + 0xf]
mov dword [esp + 0x24], ecx
shr eax, 4
and ebp, 0xf
mov dword [esp + 0x18], edi
mov dword [esp + 0x54], ebp
test eax, eax
je 0x5bc68d
push esi
xor esi, esi
add eax, 0xffffffff
mov dword [esp + 0x18], eax
je 0x5bc64c
mov dword [esp + 0x14], ecx
mov ebp, edi
mov dword [esp + 0x24], eax
mov esi, ebx
nop
mov al, byte [ebp]
movups xmm1, xmmword [ecx]
movzx ecx, byte [ebp]
shr al, 3
dec al
shl ecx, 4
and al, 1
shl al, 3
movzx ebx, al
shl ebx, 4
mov byte [esp + 0x13], al
add ebx, esi
movups xmmword [esp + 0x2c], xmm1
lea eax, [ebx + 0x40]
push eax
lea eax, [esi + 0x40]
add eax, ecx
push eax
lea eax, [esi + 0x30]
add eax, ecx
push eax
call fcn.005bc6a0
movzx ecx, byte [ebp]
lea eax, [ebx + 0x30]
push eax
shl ecx, 4
lea eax, [esi + 0x30]
add eax, ecx
push eax
lea eax, [esi + 0x20]
add eax, ecx
push eax
call fcn.005bc6a0
movzx ecx, byte [ebp]
lea eax, [ebx + 0x20]
push eax
shl ecx, 4
lea eax, [esi + 0x20]
add eax, ecx
push eax
lea eax, [esi + 0x10]
add eax, ecx
push eax
call fcn.005bc6a0
movzx ecx, byte [ebp]
lea eax, [ebx + 0x10]
shl ecx, 4
add ecx, esi
push eax
lea eax, [ecx + 0x10]
push eax
push ecx
call fcn.005bc6a0
movzx edi, byte [ebp]
movaps xmm0, xmm1
shl edi, 4
add edi, esi
psrldq xmm0, 4
movd eax, xmm0
movaps xmm0, xmm1
movd edx, xmm1
psrldq xmm1, 0xc
mov ecx, dword [edi + 4]
xor edx, dword [edi]
xor ecx, eax
mov dword [esp + 0x70], ecx
mov ecx, dword [edi + 0xc]
movd eax, xmm1
mov dword [esp + 0x6c], edx
psrldq xmm0, 8
xor ecx, eax
movd edx, xmm0
push ebx
lea eax, [esp + 0x70]
mov dword [esp + 0x7c], ecx
xor edx, dword [edi + 8]
push eax
lea eax, [edi + 0x40]
mov dword [esp + 0x7c], edx
push eax
call fcn.005bc6a0
mov ecx, dword [esp + 0x50]
add esp, 0x3c
mov al, byte [esp + 0x13]
add ecx, 0x10
sub dword [esp + 0x18], 1
mov byte [ebp], al
mov dword [esp + 0x14], ecx
jne 0x5bc530
mov esi, dword [esp + 0x24]
mov ebp, dword [esp + 0x58]
mov edi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
shl esi, 4
add esi, ecx
test ebp, ebp
je 0x5bc675
push ebp
xorps xmm0, xmm0
lea eax, [esp + 0x30]
push esi
push eax
movlpd qword [esp + 0x38], xmm0
movlpd qword [esp + 0x40], xmm0
call fcn.00604150
add esp, 0xc
jmp 0x5bc67d
movups xmm0, xmmword [esi]
movups xmmword [esp + 0x2c], xmm0
lea eax, [esp + 0x2c]
push eax
push ebx
push edi
call fcn.005bc230
add esp, 0xc
pop esi
mov ecx, dword [esp + 0x48]
pop edi
pop ebp
pop ebx
xor ecx, esp
call fcn.00602a00
add esp, 0x40
ret
Function at 0x5bdf20
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
push ebp
mov ebp, dword [esp + 0x1c]
mov eax, 0xaaaaaaab
mul ebp
mov ecx, ebp
shr edx, 1
push esi
lea eax, [edx + edx*2]
sub ecx, eax
lea esi, [edx*4]
mov dword [esp + 0xc], esi
sub ecx, 1
je 0x5bdf4f
sub ecx, 1
jne 0x5bdf56
inc esi
add esi, 2
mov dword [esp + 0xc], esi
cmp dword [esp + 0x18], esi
ja 0x5bdf65
pop esi
or eax, 0xffffffff
pop ebp
add esp, 8
ret
push ebx
xor eax, eax
xor esi, esi
push edi
mov edi, dword [esp + 0x1c]
test ebp, ebp
je 0x5be0b6
mov edx, dword [esp + 0x24]
nop dword [eax + eax]
movzx ecx, byte [edx]
add esi, 8
shl eax, 8
inc edx
dec ebp
mov dword [esp + 0x24], edx
add eax, ecx
cmp esi, 6
jb 0x5be034
nop word [eax + eax]
sub esi, 6
mov edx, eax
mov ecx, esi
shr edx, cl
and edx, 0x3f
mov dword [esp + 0x28], edx
lea ecx, [edx - 0x1a]
lea ebx, [edx - 0x34]
shr ecx, 8
xor edx, 0x3e
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x28]
neg edx
shr edx, 8
xor ecx, 0x3f
not dl
shr ebx, 8
neg ecx
and dl, 0xfb
shr ecx, 8
not cl
or dl, cl
mov ecx, dword [esp + 0x28]
and edx, 0xffffff2f
mov dword [esp + 0x20], edx
lea edx, [ecx - 0x3e]
sub cl, 4
shr edx, 8
and dl, cl
mov cl, bl
not cl
and dl, cl
mov cl, byte [esp + 0x10]
or byte [esp + 0x20], dl
not cl
mov dl, byte [esp + 0x28]
add dl, 0x47
and dl, cl
mov ecx, dword [esp + 0x20]
and dl, bl
or cl, dl
mov edx, dword [esp + 0x28]
add dl, 0x41
and dl, byte [esp + 0x10]
or cl, dl
mov byte [edi], cl
inc edi
cmp esi, 6
jae 0x5bdfa0
mov edx, dword [esp + 0x24]
test ebp, ebp
jne 0x5bdf80
test esi, esi
je 0x5be0b6
mov ecx, 6
sub ecx, esi
shl eax, cl
and eax, 0x3f
mov edx, eax
xor edx, 0x3e
neg edx
lea ecx, [eax - 0x1a]
shr edx, 8
shr ecx, 8
lea ebx, [eax - 0x34]
mov dword [esp + 0x20], ecx
not dl
mov ecx, eax
shr ebx, 8
xor ecx, 0x3f
and dl, 0xfb
neg ecx
shr ecx, 8
not cl
or dl, cl
lea ecx, [eax - 4]
and edx, 0xffffff2f
mov dword [esp + 0x28], edx
lea edx, [eax - 0x3e]
shr edx, 8
and dl, cl
mov cl, bl
not cl
and dl, cl
mov cl, byte [esp + 0x20]
or byte [esp + 0x28], dl
not cl
lea edx, [eax + 0x47]
add al, 0x41
and al, byte [esp + 0x20]
and dl, cl
mov ecx, dword [esp + 0x28]
and dl, bl
or cl, dl
or cl, al
mov byte [edi], cl
inc edi
mov eax, dword [esp + 0x14]
mov byte [edi], 0
pop edi
pop ebx
pop esi
pop ebp
add esp, 8
ret
Function at 0x5be1c0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x814
mov eax, dword [0x653af8]
xor eax, esp
mov dword [esp + 0x810], eax
mov eax, dword [esp + 0x818]
mov edx, dword [esp + 0x81c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
test eax, eax
je 0x5be3b8
test edx, edx
je 0x5be3b8
push ebx
mov ebx, dword [edx + 0x14]
mov ecx, 0x100
push ebp
mov ebp, dword [edx]
mov eax, ebx
push esi
shl eax, 0xa
push edi
lea esi, [ebp - 0x400]
mov dword [esp + 0x10], eax
add esi, eax
lea edi, [esp + 0x20]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [edx + 0x18]
cmp edi, 1
jbe 0x5be304
mov eax, ebx
imul ecx, ebx, 0xfffffc00
mov ebx, dword [esp + 0x10]
lea esi, [esp + 0x430]
shl eax, 0xb
lea edx, [ebp - 8]
sub esi, eax
add edx, eax
sub esi, ebp
dec edi
mov dword [esp + 0x14], ecx
nop
lea ecx, [esp + 0x20]
xor eax, eax
cmp ecx, edx
ja 0x5be290
lea ecx, [edx - 0x3f8]
lea ebp, [esp + 0x418]
cmp ebp, ecx
jb 0x5be290
nop dword [eax + eax]
mov ecx, dword [edx + eax*8 - 0x3f8]
xor dword [esp + eax*8 + 0x20], ecx
mov ecx, dword [edx + eax*8 - 0x3f4]
xor dword [esp + eax*8 + 0x24], ecx
inc eax
cmp eax, 0x80
jl 0x5be270
jmp 0x5be2f5
lea ecx, [edx - 0x3d8]
nop word [eax + eax]
movups xmm0, xmmword [esp + eax*8 + 0x20]
lea ecx, [ecx + 0x40]
movups xmm1, xmmword [ecx - 0x60]
pxor xmm1, xmm0
movups xmmword [esp + eax*8 + 0x20], xmm1
movups xmm0, xmmword [esp + eax*8 + 0x30]
movups xmm1, xmmword [ecx - 0x50]
pxor xmm1, xmm0
movups xmm0, xmmword [ecx - 0x40]
movups xmmword [esp + eax*8 + 0x30], xmm1
add eax, 8
movups xmm1, xmmword [ecx + esi - 0x50]
pxor xmm1, xmm0
movups xmmword [ecx + esi - 0x50], xmm1
movups xmm0, xmmword [ecx + esi - 0x40]
movups xmm1, xmmword [ecx - 0x30]
pxor xmm1, xmm0
movups xmmword [ecx + esi - 0x40], xmm1
cmp eax, 0x80
jl 0x5be2a0
add esi, dword [esp + 0x14]
add edx, ebx
sub edi, 1
jne 0x5be250
mov ebx, dword [esp + 0x18]
lea eax, [esp + 0x420]
push 0x400
push eax
mov ecx, 0x100
lea esi, [esp + 0x28]
push dword [ebx + 4]
lea edi, [esp + 0x42c]
push dword [ebx]
rep movsd dword es:[edi], dword [esi]
call fcn.005c0f00
mov edi, dword [0x652430]
add esp, 0x10
test edi, edi
je 0x5be36d
mov ecx, 0x400
lea eax, [esp + 0x20]
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x5be347
test edi, edi
je 0x5be36d
mov ecx, 0x400
lea eax, [esp + 0x420]
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x5be362
mov edx, dword [esp + 0x1c]
mov esi, dword [edx]
mov edx, dword [edx + 0xc]
shl edx, 0xa
test edi, edi
je 0x5be39b
test esi, esi
je 0x5be39b
mov ecx, edx
mov eax, esi
test edx, edx
je 0x5be39b
nop dword [eax]
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x5be390
mov eax, dword [ebx + 0x40]
test eax, eax
je 0x5be3ab
push edx
push esi
call eax
add esp, 8
jmp 0x5be3b4
push esi
call fcn.0053ae24
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x810]
xor ecx, esp
call fcn.00602a00
add esp, 0x814
ret
Function at 0x5be990
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 8]
mov eax, dword [esp + 4]
push esi
lea ecx, [edx + 0x3f8]
lea esi, [eax + 0x3f8]
cmp eax, ecx
ja 0x5be9cb
cmp esi, edx
jb 0x5be9cb
sub edx, eax
mov esi, 0x80
mov ecx, dword [eax + edx]
lea eax, [eax + 8]
xor dword [eax - 8], ecx
mov ecx, dword [eax + edx - 4]
xor dword [eax - 4], ecx
sub esi, 1
jne 0x5be9b4
pop esi
ret
lea esi, [edx + 0x30]
sub edx, eax
lea ecx, [eax + 0x10]
mov eax, 0x10
nop dword [eax + eax]
lea ecx, [ecx + 0x40]
lea esi, [esi + 0x40]
movups xmm0, xmmword [ecx - 0x50]
movups xmm1, xmmword [esi - 0x70]
pxor xmm1, xmm0
movups xmmword [ecx - 0x50], xmm1
movups xmm0, xmmword [ecx - 0x40]
movups xmm1, xmmword [edx + ecx - 0x40]
pxor xmm1, xmm0
movups xmmword [ecx - 0x40], xmm1
movups xmm0, xmmword [ecx - 0x30]
movups xmm1, xmmword [esi - 0x50]
pxor xmm1, xmm0
movups xmmword [ecx - 0x30], xmm1
movups xmm0, xmmword [ecx - 0x20]
movups xmm1, xmmword [esi - 0x40]
pxor xmm1, xmm0
movups xmmword [ecx - 0x20], xmm1
sub eax, 1
jne 0x5be9e0
pop esi
ret
Function at 0x5c0050
Capabilities:
Create thread

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x5c0081
mov eax, dword [esp + 0xc]
test eax, eax
je 0x5c0081
push 0
push 0
push dword [esp + 0x18]
push eax
push 0
push 0
call fcn.00541a7e
mov dword [esi], eax
add esp, 0x18
neg eax
sbb eax, eax
neg eax
dec eax
pop esi
ret
or eax, 0xffffffff
pop esi
ret
Function at 0x5c1450
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x40
mov eax, dword [0x653af8]
xor eax, esp
mov dword [esp + 0x3c], eax
xorps xmm0, xmm0
mov dword [0x65c808], 0
lea eax, [esp]
movaps xmmword [esp], xmm0
push eax
movaps xmmword [esp + 0x14], xmm0
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov ax, word [esp]
cmp ax, 6
je 0x5c149c
cmp ax, 9
jne 0x5c14a6
mov dword [0x65c808], 1
call fcn.005c67b0
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.00602a00
mov esp, ebp
pop ebp
ret
Function at 0x5c4ff0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0xc]
xor eax, eax
test esi, esi
je 0x5c5039
push edi
mov edi, dword [esp + 0xc]
movzx edx, byte [edi]
lea edi, [edi + 1]
mov ecx, edx
shr edx, 4
xor ecx, eax
shr eax, 4
and ecx, 0xf
and eax, 0xfff
xor eax, dword [ecx*4 + 0x652650]
xor edx, eax
shr eax, 4
and edx, 0xf
and eax, 0xfff
xor eax, dword [edx*4 + 0x652650]
sub esi, 1
jne 0x5c5000
pop edi
pop esi
ret 8

Function at 0x5c6690
Capabilities:
Identify system language via api

Disassembly:
sub esp, 0x18
mov eax, dword [0x653af8]
xor eax, esp
mov dword [esp + 0x14], eax
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersion]
call esi
test eax, eax
jns 0x5c6742
call esi
cmp al, 4
jae 0x5c6742
push edi
push 0x14
lea eax, [esp + 0xc]
push eax
push 0x4925d8
push 0x4a6634
push 0x4a6640
call dword [sym.imp.KERNEL32.dll_GetProfileStringA]
xor esi, esi
mov edi, 0x652698
nop dword [eax]
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5c66e5
sub eax, edx
push eax
lea eax, [esp + 0xc]
push eax
push edi
call fcn.006143b7
add esp, 0xc
test eax, eax
je 0x5c6725
inc esi
add edi, 8
cmp esi, 0x10
jb 0x5c66e0
pop edi
mov dword [0x65b24c], 0x809
pop esi
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.00602a00
add esp, 0x18
ret
mov eax, dword [esi*8 + 0x65269c]
pop edi
mov dword [0x65b24c], eax
pop esi
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.00602a00
add esp, 0x18
ret
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx eax, ax
mov ecx, eax
and ecx, 0x3ff
cmp ecx, 4
jne 0x5c6793
shr eax, 0xa
mov ecx, eax
sub ecx, 3
je 0x5c676c
sub ecx, 1
je 0x5c678c
sub ecx, 1
jne 0x5c6771
mov eax, 1
shl eax, 0xa
or eax, 4
mov dword [0x65b24c], eax
pop esi
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.00602a00
add esp, 0x18
ret
mov eax, 2
jmp 0x5c6771
or ecx, 0x800
mov dword [0x65b24c], ecx
mov ecx, dword [esp + 0x18]
pop esi
xor ecx, esp
call fcn.00602a00
add esp, 0x18
ret
Function at 0x5c7380
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x18
mov eax, dword [0x653af8]
xor eax, esp
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x24]
push ebx
push ebp
mov ebp, dword [esp + 0x28]
push esi
push edi
mov dword [esp + 0x10], eax
xor edi, edi
mov eax, dword [esp + 0x2c]
mov esi, 2
cmp eax, 0xa
ja case.0x5c73ae.3
jmp dword [eax*4 + 0x5c74c4]
mov edi, 0x4a6704
jmp case.0x5c73ae.3
mov edi, 0x4a673c
jmp 0x5c73e4
mov edi, 0x4a673c
jmp case.0x5c73ae.3
mov edi, 0x4a6774
jmp case.0x5c73ae.3
mov edi, 0x4a67a8
jmp 0x5c73e4
mov edi, 0x4a67dc
jmp 0x5c73e4
mov edi, 0x4a6818
mov esi, 3
mov eax, dword [esp + 0x38]
mov edx, 0x20119
mov dword [esp + 0x1c], eax
mov ecx, 0x20019
xor eax, eax
cmp esi, 2
sete al
add eax, reloc.WS2_32.dll_accept
cmp dword [0x65c808], 0
cmovne ecx, edx
lea edx, [esp + 0x18]
push edx
push ecx
push 0
push edi
push eax
mov dword [esp + 0x28], ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ebx, eax
test ebx, ebx
jne 0x5c7456
lea eax, [esp + 0x1c]
push eax
push dword [esp + 0x14]
lea eax, [esp + 0x28]
push eax
push ebx
push ebp
push dword [esp + 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [esp + 0x18]
mov ebx, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
je 0x5c74a6
cmp esi, 3
jne 0x5c74a6
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x18]
push 0
push edi
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ebx, eax
test ebx, ebx
jne 0x5c74a6
mov eax, dword [esp + 0x38]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1c]
push eax
push dword [esp + 0x14]
lea eax, [esp + 0x28]
push eax
push ebx
push ebp
push dword [esp + 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [esp + 0x18]
mov ebx, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x24]
xor eax, eax
pop edi
pop esi
test ebx, ebx
pop ebp
cmove eax, dword [esp + 0x10]
pop ebx
xor ecx, esp
call fcn.00602a00
add esp, 0x18
ret
Function at 0x5c7550
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x44
mov eax, dword [0x653af8]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x58]
mov ebp, 0x19
xor esi, esi
nop dword [eax]
cmp esi, 6
jge 0x5c76c1
push 0
push 0x24
push 0
push 0x3c
push dword [edi + 0x20]
call dword [sym.imp.KERNEL32.dll_LockFile]
mov ebx, eax
test ebx, ebx
jne 0x5c7599
push ebp
call dword [sym.imp.KERNEL32.dll_Sleep]
add ebp, ebp
inc esi
test ebx, ebx
je 0x5c7570
push 0x40
lea eax, [esp + 0x14]
mov dword [edi + 0x24], 1
push 0
push eax
call fcn.006046d0
add esp, 0xc
lea eax, [esp + 0x2c]
push 0x24
push eax
push 0x3c
push edi
call fcn.005c7790
test eax, eax
je 0x5c7668
lea ecx, [esp + 0x30]
xor edx, edx
lea esi, [edi + 0x74]
mov ebx, ecx
lea eax, [esi + 0x1f]
cmp ebx, eax
ja 0x5c7600
lea eax, [esp + 0x4f]
cmp eax, esi
jb 0x5c7600
mov al, byte [esi + edx]
lea ecx, [ecx + 1]
add byte [ecx - 1], al
inc edx
cmp edx, 0x20
jl 0x5c75e7
jmp 0x5c761a
movups xmm0, xmmword [ecx]
lea ecx, [ecx + 0x10]
movups xmm1, xmmword [esi + edx]
add edx, 0x10
paddb xmm1, xmm0
movups xmmword [ecx - 0x10], xmm1
cmp edx, 0x20
jl 0x5c7600
mov eax, dword [esp + 0x2e]
lea edx, [esp + 0x30]
add eax, dword [esp + 0x2c]
mov esi, 0x20
movzx eax, ax
nop
xor byte [edx], al
lea edx, [edx + 1]
mov cx, ax
add eax, eax
shr cx, 0xf
add cx, ax
movzx eax, cx
mov cx, ax
add eax, eax
shr cx, 0xf
add cx, ax
movzx eax, cx
sub esi, 1
jne 0x5c7630
cmp dword [esp + 0x4c], esi
je 0x5c7688
mov dword [0x6527a4], 0x65
cmp dword [edi + 0x24], 0
je 0x5c76cb
push 0
push 0x24
push 0
push 0x3c
push dword [edi + 0x20]
call dword [sym.imp.KERNEL32.dll_UnlockFile]
mov dword [edi + 0x24], 0
jmp 0x5c76cb
movzx eax, word [esp + 0x32]
mov dword [edi + 0x40], eax
movzx eax, word [esp + 0x34]
mov dword [edi + 0x44], eax
mov al, byte [esp + 0x36]
mov byte [edi + 0x50], al
movzx eax, word [esp + 0x30]
mov dword [edi + 4], eax
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.00602a00
add esp, 0x44
ret 4
mov dword [0x6527a4], 0x64
mov ecx, dword [esp + 0x50]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00602a00
add esp, 0x44
ret 4

Function at 0x5c76f0
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, dword [esp + 0x10]
push esi
mov esi, dword [esp + 0x18]
push edi
mov edi, dword [esp + 0x10]
push esi
push ebx
push dword [esp + 0x1c]
push edi
call fcn.005c7790
test eax, eax
je 0x5c7779
xor edx, edx
mov ecx, ebx
test esi, esi
je 0x5c7768
mov eax, edx
lea ecx, [ecx + 1]
and eax, 0x1f
inc edx
mov al, byte [eax + edi + 0x74]
add byte [ecx - 1], al
cmp edx, esi
jb 0x5c7717
mov ecx, dword [edi + 0x30]
mov edx, ebx
mov eax, ecx
mov edi, esi
shr eax, 0x10
add eax, ecx
movzx eax, ax
nop dword [eax]
xor byte [edx], al
lea edx, [edx + 1]
mov cx, ax
add eax, eax
shr cx, 0xf
add cx, ax
movzx eax, cx
mov cx, ax
add eax, eax
shr cx, 0xf
add cx, ax
movzx eax, cx
sub edi, 1
jne 0x5c7740
cmp dword [ebx + esi - 4], 0
je 0x5c7781
mov dword [0x6527a4], 0x65
pop edi
pop esi
xor eax, eax
pop ebx
ret 0x10
pop edi
pop esi
mov eax, 1
pop ebx
ret 0x10