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

Disassembly:
sub esp, 0x2c
mov eax, dword [0x10252964]
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.1017aca0
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.1017aca0
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.1017aca0
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.1017aca0
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.1017aca0
add esp, 0x3c
mov byte [ebp], bl
sub dword [esp + 0x10], 1
jne 0x10179b90
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.101c1860
add esp, 0x2c
ret
Function at 0x1017a770
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 0x1017a930
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 [0x10252964]
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 0x1017aaba
xor ecx, ecx
add eax, 0xffffffff
mov dword [esp + 0x10], eax
je 0x1017aa81
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 0x1017a9b0
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 0x1017aaa0
push edi
push eax
lea eax, [esp + 0x28]
push eax
call fcn.101d7d20
movups xmm0, xmmword [esp + 0x2c]
add esp, 0xc
jmp 0x1017aaa3
movups xmm0, xmmword [eax]
push dword [esp + 0x14]
lea eax, [esp + 0x24]
movaps xmmword [esp + 0x24], xmm0
push eax
push esi
call fcn.1017a770
add esp, 0xc
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
xor ecx, esp
call fcn.101c1860
mov esp, ebp
pop ebp
ret
Function at 0x1017aad0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x40
mov eax, dword [0x10252964]
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 0x1017ac8d
push esi
xor esi, esi
add eax, 0xffffffff
mov dword [esp + 0x18], eax
je 0x1017ac4c
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.1017aca0
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.1017aca0
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.1017aca0
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.1017aca0
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.1017aca0
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 0x1017ab30
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 0x1017ac75
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.101d7d20
add esp, 0xc
jmp 0x1017ac7d
movups xmm0, xmmword [esi]
movups xmmword [esp + 0x2c], xmm0
lea eax, [esp + 0x2c]
push eax
push ebx
push edi
call fcn.1017a830
add esp, 0xc
pop esi
mov ecx, dword [esp + 0x48]
pop edi
pop ebp
pop ebx
xor ecx, esp
call fcn.101c1860
add esp, 0x40
ret
Function at 0x1017c500
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 0x10]
xor ecx, ecx
push ebx
mov ebx, dword [esp + 8]
push esi
mov esi, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x14]
movd xmm0, ebx
pshufd xmm3, xmm0, 0
test edx, edx
je 0x1017c5c0
push ebp
cmp edx, 4
jb 0x1017c59a
lea eax, [edx - 1]
lea eax, [edi + eax*4]
lea ebp, [edx - 1]
lea ebp, [esi + ebp*4]
cmp esi, eax
ja 0x1017c540
cmp ebp, edi
jae 0x1017c59a
mov ebp, edx
mov ebx, esi
and ebp, 0xfffffffc
mov eax, edi
sub ebx, edi
mov dword [esp + 0x20], ebx
mov ebx, dword [esp + 0x14]
mov esi, dword [esp + 0x20]
nop word [eax + eax]
movups xmm0, xmmword [esi + eax]
add ecx, 4
lea eax, [eax + 0x10]
movups xmm2, xmmword [eax - 0x10]
pxor xmm2, xmm0
movaps xmm1, xmm2
pand xmm1, xmm3
pxor xmm1, xmm0
movups xmmword [esi + eax - 0x10], xmm1
pxor xmm1, xmm2
movups xmmword [eax - 0x10], xmm1
cmp ecx, ebp
jb 0x1017c560
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x20], ecx
cmp ecx, edx
jae 0x1017c5bf
sub esi, edi
lea eax, [edi + ecx*4]
sub edx, ecx
mov ecx, dword [eax + esi]
lea eax, [eax + 4]
xor dword [eax - 4], ecx
mov ecx, dword [eax - 4]
and ecx, ebx
xor dword [eax + esi - 4], ecx
mov ecx, dword [eax + esi - 4]
xor dword [eax - 4], ecx
sub edx, 1
jne 0x1017c5a1
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x1017fa10
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 0x1017fa3f
sub ecx, 1
jne 0x1017fa46
inc esi
add esi, 2
mov dword [esp + 0xc], esi
cmp dword [esp + 0x18], esi
ja 0x1017fa55
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 0x1017fba6
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 0x1017fb24
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 0x1017fa90
mov edx, dword [esp + 0x24]
test ebp, ebp
jne 0x1017fa70
test esi, esi
je 0x1017fba6
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 0x1017fcb0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x814
mov eax, dword [0x10252964]
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 0x1017fea8
test edx, edx
je 0x1017fea8
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 0x1017fdf4
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 0x1017fd80
lea ecx, [edx - 0x3f8]
lea ebp, [esp + 0x418]
cmp ebp, ecx
jb 0x1017fd80
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 0x1017fd60
jmp 0x1017fde5
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 0x1017fd90
add esi, dword [esp + 0x14]
add edx, ebx
sub edi, 1
jne 0x1017fd40
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.10184f40
mov edi, dword [0x10251360]
add esp, 0x10
test edi, edi
je 0x1017fe5d
mov ecx, 0x400
lea eax, [esp + 0x20]
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x1017fe37
test edi, edi
je 0x1017fe5d
mov ecx, 0x400
lea eax, [esp + 0x420]
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x1017fe52
mov edx, dword [esp + 0x1c]
mov esi, dword [edx]
mov edx, dword [edx + 0xc]
shl edx, 0xa
test edi, edi
je 0x1017fe8b
test esi, esi
je 0x1017fe8b
mov ecx, edx
mov eax, esi
test edx, edx
je 0x1017fe8b
nop dword [eax]
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x1017fe80
mov eax, dword [ebx + 0x40]
test eax, eax
je 0x1017fe9b
push edx
push esi
call eax
add esp, 8
jmp 0x1017fea4
push esi
call fcn.100f260c
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x810]
xor ecx, esp
call fcn.101c1860
add esp, 0x814
ret
Function at 0x10180480
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 0x101804bb
cmp esi, edx
jb 0x101804bb
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 0x101804a4
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 0x101804d0
pop esi
ret
Function at 0x10184090
Capabilities:
Create thread

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x101840c1
mov eax, dword [esp + 0xc]
test eax, eax
je 0x101840c1
push 0
push 0
push dword [esp + 0x18]
push eax
push 0
push 0
call fcn.100f91ee
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 0x101876f0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 8]
movzx eax, byte [esi + 0x219]
push eax
movzx eax, byte [esi + 0x218]
add eax, 0x158
add eax, esi
push eax
push esi
call fcn.1011d290
mov al, byte [esi + 0x218]
add esp, 0xc
xor dl, dl
test al, al
je 0x10187741
movzx ecx, dl
inc dl
movzx eax, byte [ecx + esi + 0xd8]
xor al, 0x5c
mov byte [ecx + esi + 0x158], al
mov al, byte [esi + 0x218]
cmp dl, al
jb 0x10187721
push dword [esp + 0x10]
movzx ecx, al
movzx eax, byte [esi + 0x219]
push dword [esp + 0x10]
add ecx, eax
lea eax, [esi + 0x158]
push ecx
push eax
push esi
call fcn.1011d320
add esp, 0x14
pop esi
ret

Function at 0x10187870
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 8]
xor dl, dl
cmp byte [esi + 0x218], dl
jbe 0x1018789d
nop
movzx ecx, dl
inc dl
mov al, byte [ecx + esi + 0xd8]
xor al, 0x36
mov byte [ecx + esi + 0x158], al
cmp dl, byte [esi + 0x218]
jb 0x10187880
push esi
call fcn.1011d3a0
movzx eax, byte [esi + 0x218]
push eax
lea eax, [esi + 0x158]
push eax
push esi
call fcn.1011d3c0
add esp, 0x10
xor eax, eax
pop esi
ret

Function at 0x101887b0
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 0xc]
xor ecx, ecx
push ebx
mov ebx, dword [esp + 0x14]
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, dword [esp + 0x10]
movd xmm0, ebx
pshufd xmm3, xmm0, 0
test edx, edx
je 0x10188870
push ebp
cmp edx, 4
jb 0x1018884a
lea eax, [edx - 1]
lea eax, [edi + eax*4]
lea ebp, [edx - 1]
lea ebp, [esi + ebp*4]
cmp esi, eax
ja 0x101887f0
cmp ebp, edi
jae 0x1018884a
mov ebp, edx
mov ebx, esi
and ebp, 0xfffffffc
mov eax, edi
sub ebx, edi
mov dword [esp + 0x1c], ebx
mov ebx, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
nop word [eax + eax]
movups xmm0, xmmword [esi + eax]
add ecx, 4
lea eax, [eax + 0x10]
movups xmm2, xmmword [eax - 0x10]
pxor xmm2, xmm0
movaps xmm1, xmm2
pand xmm1, xmm3
pxor xmm1, xmm0
movups xmmword [esi + eax - 0x10], xmm1
pxor xmm1, xmm2
movups xmmword [eax - 0x10], xmm1
cmp ecx, ebp
jb 0x10188810
mov esi, dword [esp + 0x18]
mov dword [esp + 0x1c], ecx
cmp ecx, edx
jae 0x1018886f
sub esi, edi
lea eax, [edi + ecx*4]
sub edx, ecx
mov ecx, dword [eax + esi]
lea eax, [eax + 4]
xor dword [eax - 4], ecx
mov ecx, dword [eax - 4]
and ecx, ebx
xor dword [eax + esi - 4], ecx
mov ecx, dword [eax + esi - 4]
xor dword [eax - 4], ecx
sub edx, 1
jne 0x10188851
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x101894c0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x18]
mov dl, 4
push ebx
mov ebx, dword [esp + 0x18]
mov byte [esp + 0x1c], dl
mov ecx, dword [ebx]
mov dword [eax], ecx
mov ecx, dword [ebx + 4]
mov dword [eax + 4], ecx
mov ecx, dword [ebx + 8]
mov dword [eax + 8], ecx
mov ecx, dword [ebx + 0xc]
mov dword [eax + 0xc], ecx
movzx ecx, byte [esp + 0x14]
shl ecx, 2
mov dword [esp + 0xc], ecx
cmp ecx, 4
jbe 0x1018963e
push ebp
mov ecx, 4
push esi
mov dword [esp + 0xc], ecx
push edi
nop dword [eax]
mov edi, dword [ebx + ecx*4]
mov ebx, edi
shr ebx, 0x10
xor ebx, edi
mov edx, ebx
shr edx, 8
mov cl, dl
shr cl, 6
and cl, 1
movzx ecx, cl
imul ecx, ecx, 0x1b
movzx esi, cl
mov cl, dl
shr cl, 7
movzx ecx, cl
imul ecx, ecx, 0x36
shl dl, 2
movzx ecx, cl
xor esi, ecx
movzx ecx, dl
xor esi, ecx
mov cl, bl
shr cl, 6
and cl, 1
shl esi, 8
movzx ecx, cl
imul ecx, ecx, 0x1b
movzx edx, cl
mov cl, bl
shr cl, 7
movzx ecx, cl
imul ecx, ecx, 0x36
shl bl, 2
movzx ecx, cl
xor edx, ecx
movzx ecx, bl
xor edx, ecx
or esi, edx
mov ebp, esi
shl ebp, 0x10
or ebp, esi
xor ebp, edi
mov ecx, ebp
rol ecx, 8
xor ecx, ebp
mov dword [esp + 0x20], ecx
mov edx, ecx
mov ebx, ecx
shr edx, 0x18
shr ecx, 8
mov dword [esp + 0x14], ecx
mov cl, dl
shr cl, 7
add dl, dl
movzx ecx, cl
imul ecx, ecx, 0x1b
shr ebx, 0x10
mov edi, dword [esp + 0x20]
rol edi, 0x10
movzx esi, cl
movzx ecx, dl
xor esi, ecx
mov edx, dword [esp + 0x14]
mov cl, bl
shl esi, 8
shr cl, 7
add bl, bl
movzx ecx, cl
imul ecx, ecx, 0x1b
movzx ecx, cl
xor esi, ecx
movzx ecx, bl
xor esi, ecx
mov cl, dl
shr cl, 7
movzx ecx, cl
imul ecx, ecx, 0x1b
shl esi, 8
movzx ecx, cl
xor esi, ecx
add dl, dl
movzx ecx, dl
mov edx, dword [esp + 0x20]
xor esi, ecx
mov cl, dl
mov ebx, dword [esp + 0x24]
shr cl, 7
movzx ecx, cl
imul ecx, ecx, 0x1b
shl esi, 8
xor edi, esi
movzx ecx, cl
xor edi, ecx
mov cl, dl
add cl, cl
movzx ecx, cl
xor edi, ecx
mov ecx, dword [esp + 0x10]
xor edi, edx
mov dl, byte [esp + 0x28]
xor edi, ebp
inc dl
mov byte [esp + 0x28], dl
mov dword [eax + ecx*4], edi
movzx ecx, dl
mov dword [esp + 0x10], ecx
cmp ecx, dword [esp + 0x18]
jb 0x10189510
pop edi
pop esi
pop ebp
movzx edx, dl
mov ecx, dword [ebx + edx*4]
mov dword [eax + edx*4], ecx
mov ecx, dword [ebx + edx*4 + 4]
mov dword [eax + edx*4 + 4], ecx
mov ecx, dword [ebx + edx*4 + 8]
mov dword [eax + edx*4 + 8], ecx
mov ecx, dword [ebx + edx*4 + 0xc]
mov dword [eax + edx*4 + 0xc], ecx
pop ebx
add esp, 0xc
ret

Function at 0x1018a080
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x40
mov eax, dword [0x10252964]
xor eax, esp
mov dword [esp + 0x3c], eax
xorps xmm0, xmm0
mov dword [0x10266930], 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 0x1018a0cc
cmp ax, 9
jne 0x1018a0d6
mov dword [0x10266930], 1
call fcn.1018f3e0
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.101c1860
mov esp, ebp
pop ebp
ret