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

Disassembly:
sub esp, 0x2c
mov eax, dword [0x10205ac8]
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.1016e6b0
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.1016e6b0
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.1016e6b0
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.1016e6b0
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.1016e6b0
add esp, 0x3c
mov byte [ebp], bl
sub dword [esp + 0x10], 1
jne 0x1016d5a0
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.101b4a00
add esp, 0x2c
ret
Function at 0x1016e180
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 0x1016e340
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 [0x10205ac8]
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 0x1016e4ca
xor ecx, ecx
add eax, 0xffffffff
mov dword [esp + 0x10], eax
je 0x1016e491
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 0x1016e3c0
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 0x1016e4b0
push edi
push eax
lea eax, [esp + 0x28]
push eax
call fcn.101b6150
movups xmm0, xmmword [esp + 0x2c]
add esp, 0xc
jmp 0x1016e4b3
movups xmm0, xmmword [eax]
push dword [esp + 0x14]
lea eax, [esp + 0x24]
movaps xmmword [esp + 0x24], xmm0
push eax
push esi
call fcn.1016e180
add esp, 0xc
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
xor ecx, esp
call fcn.101b4a00
mov esp, ebp
pop ebp
ret
Function at 0x1016e4e0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x40
mov eax, dword [0x10205ac8]
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 0x1016e69d
push esi
xor esi, esi
add eax, 0xffffffff
mov dword [esp + 0x18], eax
je 0x1016e65c
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.1016e6b0
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.1016e6b0
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.1016e6b0
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.1016e6b0
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.1016e6b0
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 0x1016e540
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 0x1016e685
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.101b6150
add esp, 0xc
jmp 0x1016e68d
movups xmm0, xmmword [esi]
movups xmmword [esp + 0x2c], xmm0
lea eax, [esp + 0x2c]
push eax
push ebx
push edi
call fcn.1016e240
add esp, 0xc
pop esi
mov ecx, dword [esp + 0x48]
pop edi
pop ebp
pop ebx
xor ecx, esp
call fcn.101b4a00
add esp, 0x40
ret
Function at 0x1016ff30
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 0x1016ff5f
sub ecx, 1
jne 0x1016ff66
inc esi
add esi, 2
mov dword [esp + 0xc], esi
cmp dword [esp + 0x18], esi
ja 0x1016ff75
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 0x101700c6
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 0x10170044
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 0x1016ffb0
mov edx, dword [esp + 0x24]
test ebp, ebp
jne 0x1016ff90
test esi, esi
je 0x101700c6
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 0x101701d0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x814
mov eax, dword [0x10205ac8]
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 0x101703c8
test edx, edx
je 0x101703c8
push ebx
mov ebx, dword [edx + 0x14]
mov ecx, pe_nt_image_headers32
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 0x10170314
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 0x101702a0
lea ecx, [edx - 0x3f8]
lea ebp, [esp + 0x418]
cmp ebp, ecx
jb 0x101702a0
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 0x10170280
jmp 0x10170305
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 0x101702b0
add esi, dword [esp + 0x14]
add edx, ebx
sub edi, 1
jne 0x10170260
mov ebx, dword [esp + 0x18]
lea eax, [esp + 0x420]
push 0x400
push eax
mov ecx, pe_nt_image_headers32
lea esi, [esp + 0x28]
push dword [ebx + 4]
lea edi, [esp + 0x42c]
push dword [ebx]
rep movsd dword es:[edi], dword [esi]
call fcn.10172f10
mov edi, dword [0x10204430]
add esp, 0x10
test edi, edi
je 0x1017037d
mov ecx, 0x400
lea eax, [esp + 0x20]
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x10170357
test edi, edi
je 0x1017037d
mov ecx, 0x400
lea eax, [esp + 0x420]
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x10170372
mov edx, dword [esp + 0x1c]
mov esi, dword [edx]
mov edx, dword [edx + 0xc]
shl edx, 0xa
test edi, edi
je 0x101703ab
test esi, esi
je 0x101703ab
mov ecx, edx
mov eax, esi
test edx, edx
je 0x101703ab
nop dword [eax]
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x101703a0
mov eax, dword [ebx + 0x40]
test eax, eax
je 0x101703bb
push edx
push esi
call eax
add esp, 8
jmp 0x101703c4
push esi
call fcn.100ecdf4
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x810]
xor ecx, esp
call fcn.101b4a00
add esp, 0x814
ret
Function at 0x101709a0
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 0x101709db
cmp esi, edx
jb 0x101709db
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 0x101709c4
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 0x101709f0
pop esi
ret
Function at 0x10172060
Capabilities:
Create thread

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x10172091
mov eax, dword [esp + 0xc]
test eax, eax
je 0x10172091
push 0
push 0
push dword [esp + 0x18]
push eax
push 0
push 0
call fcn.100f3a4e
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 0x10173460
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x40
mov eax, dword [0x10205ac8]
xor eax, esp
mov dword [esp + 0x3c], eax
xorps xmm0, xmm0
mov dword [0x1020e7d8], 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 0x101734ac
cmp ax, 9
jne 0x101734b6
mov dword [0x1020e7d8], 1
call fcn.101787c0
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.101b4a00
mov esp, ebp
pop ebp
ret
Function at 0x10177000
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0xc]
xor eax, eax
test esi, esi
je 0x10177049
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 + 0x10204650]
xor edx, eax
shr eax, 4
and edx, 0xf
and eax, 0xfff
xor eax, dword [edx*4 + 0x10204650]
sub esi, 1
jne 0x10177010
pop edi
pop esi
ret 8

Function at 0x101786a0
Capabilities:
Identify system language via api

Disassembly:
sub esp, 0x18
mov eax, dword [0x10205ac8]
xor eax, esp
mov dword [esp + 0x14], eax
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersion]
call esi
test eax, eax
jns 0x10178752
call esi
cmp al, 4
jae 0x10178752
push edi
push 0x14
lea eax, [esp + 0xc]
push eax
push 0x100445c8
push 0x10058624
push 0x10058630
call dword [sym.imp.KERNEL32.dll_GetProfileStringA]
xor esi, esi
mov edi, 0x10204698
nop dword [eax]
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x101786f5
sub eax, edx
push eax
lea eax, [esp + 0xc]
push eax
push edi
call fcn.101c63b7
add esp, 0xc
test eax, eax
je 0x10178735
inc esi
add edi, 8
cmp esi, 0x10
jb 0x101786f0
pop edi
mov dword [0x1020d21c], 0x809
pop esi
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.101b4a00
add esp, 0x18
ret
mov eax, dword [esi*8 + 0x1020469c]
pop edi
mov dword [0x1020d21c], eax
pop esi
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.101b4a00
add esp, 0x18
ret
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx eax, ax
mov ecx, eax
and ecx, 0x3ff
cmp ecx, 4
jne 0x101787a3
shr eax, 0xa
mov ecx, eax
sub ecx, 3
je 0x1017877c
sub ecx, 1
je 0x1017879c
sub ecx, 1
jne 0x10178781
mov eax, 1
shl eax, 0xa
or eax, 4
mov dword [0x1020d21c], eax
pop esi
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.101b4a00
add esp, 0x18
ret
mov eax, 2
jmp 0x10178781
or ecx, 0x800
mov dword [0x1020d21c], ecx
mov ecx, dword [esp + 0x18]
pop esi
xor ecx, esp
call fcn.101b4a00
add esp, 0x18
ret
Function at 0x10179390
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x18
mov eax, dword [0x10205ac8]
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.0x101793be.3
jmp dword [eax*4 + 0x101794d4]
mov edi, 0x100586f4
jmp case.0x101793be.3
mov edi, 0x1005872c
jmp 0x101793f4
mov edi, 0x1005872c
jmp case.0x101793be.3
mov edi, 0x10058764
jmp case.0x101793be.3
mov edi, 0x10058798
jmp 0x101793f4
mov edi, 0x100587cc
jmp 0x101793f4
mov edi, 0x10058808
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 [0x1020e7d8], 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 0x10179466
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 0x101794b6
cmp esi, 3
jne 0x101794b6
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 0x101794b6
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.101b4a00
add esp, 0x18
ret