joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10117f90
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x101fd398]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x20]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x18], eax
push ebx
movzx ebx, byte [ecx]
push esi
mov esi, dword [eax]
push edi
lea edi, [ecx + 1]
mov dword [ebp - 0x34], ecx
mov edx, edi
mov dword [ebp - 0x30], edi
movzx eax, byte [edx]
shl eax, 8
or ebx, eax
movzx ecx, byte [edx + 3]
movzx eax, byte [edx + 1]
shl eax, 0x10
or ebx, eax
movzx eax, byte [edx + 2]
shl eax, 0x18
or ebx, eax
movzx eax, byte [edx + 4]
shl eax, 8
or ecx, eax
mov dword [ebp - 0x20], ebx
movzx eax, byte [edx + 5]
mov dword [ebp - 0x10], ecx
movzx ecx, byte [edx + 6]
mov edx, dword [ebp - 0x10]
shl ecx, 8
or ecx, eax
mov byte [ebp - 0xc], bl
mov eax, ebx
shl ecx, 0x10
shr eax, 8
or edx, ecx
mov byte [ebp - 0xb], al
mov eax, ebx
shr eax, 0x10
mov byte [ebp - 0xa], al
mov eax, ebx
shr eax, 0x18
mov byte [ebp - 9], al
mov eax, edx
shr eax, 8
mov byte [ebp - 7], al
mov eax, edx
shr eax, 0x10
mov byte [ebp - 6], al
mov eax, edx
shr eax, 0x18
mov byte [ebp - 5], al
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x1c], edx
mov byte [ebp - 8], dl
test eax, eax
je 0x1011811d
mov ecx, dword [ebp + 8]
sub dword [ebp - 0x14], ecx
xor edi, edi
dec eax
mov dword [ebp + 0x10], eax
test esi, esi
jne 0x101180c5
push dword [ebp - 0x24]
lea eax, [ebp - 0x20]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push eax
call fcn.10116630
mov ebx, dword [ebp - 0x20]
add esp, 0x10
mov edx, dword [ebp - 0x1c]
mov eax, ebx
shr eax, 8
mov byte [ebp - 0xb], al
mov eax, ebx
mov ecx, dword [ebp + 8]
shr eax, 0x10
mov byte [ebp - 0xa], al
mov eax, ebx
shr eax, 0x18
mov byte [ebp - 9], al
mov eax, edx
shr eax, 8
mov byte [ebp - 7], al
mov eax, edx
shr eax, 0x10
mov byte [ebp - 6], al
mov eax, edx
shr eax, 0x18
inc edi
mov dword [ebp - 0x10], edx
mov byte [ebp - 0xc], bl
mov byte [ebp - 8], dl
mov byte [ebp - 5], al
mov al, byte [ebp + esi - 0xc]
inc esi
mov edx, dword [ebp - 0x14]
and esi, 7
xor al, byte [ecx]
mov byte [edx + ecx], al
inc ecx
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp - 0x10]
mov dword [ebp + 8], ecx
test eax, eax
jne 0x10118065
test edi, edi
mov edi, dword [ebp - 0x30]
je 0x1011811d
mov eax, dword [ebp - 0x34]
mov byte [eax], bl
mov eax, ebx
shr eax, 8
mov byte [edi], al
mov eax, ebx
shr eax, 0x10
mov byte [edi + 1], al
mov eax, edx
shr ebx, 0x18
mov byte [edi + 2], bl
shr eax, 8
mov byte [edi + 3], dl
mov byte [edi + 4], al
mov eax, edx
shr eax, 0x10
shr edx, 0x18
mov byte [edi + 5], al
mov byte [edi + 6], dl
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov dword [eax], esi
pop esi
pop ebx
call fcn.101534c8
mov esp, ebp
pop ebp
ret
Function at 0x10119810
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x101fd398]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x18]
lea edx, [eax + 1]
mov dword [ebp - 0x28], eax
movzx ecx, byte [edx + 3]
movzx ebx, byte [eax]
movzx eax, byte [edx]
shl eax, 0x10
shl ebx, 0x18
or ebx, eax
shl ecx, 0x18
movzx eax, byte [edx + 1]
shl eax, 8
or ebx, eax
mov dword [ebp - 0x14], 0
movzx eax, byte [edx + 2]
or ebx, eax
movzx eax, byte [edx + 4]
shl eax, 0x10
or ecx, eax
mov dword [ebp - 0x20], ebx
movzx eax, byte [edx + 6]
mov dword [ebp - 8], ecx
movzx ecx, byte [edx + 5]
mov edx, dword [ebp - 8]
shl ecx, 8
or ecx, eax
mov byte [ebp - 9], bl
mov eax, ebx
or edx, ecx
shr eax, 0x18
mov byte [ebp - 0xc], al
mov eax, ebx
shr eax, 0x10
mov byte [ebp - 0xb], al
mov eax, ebx
shr eax, 8
mov byte [ebp - 0xa], al
mov eax, edx
shr eax, 0x18
mov byte [ebp - 8], al
mov eax, edx
shr eax, 0x10
mov byte [ebp - 7], al
mov eax, edx
shr eax, 8
mov edi, dword [ebp + 0x1c]
mov byte [ebp - 6], al
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x18], edi
mov esi, dword [edi]
mov dword [ebp - 0x1c], edx
mov byte [ebp - 5], dl
test eax, eax
je 0x10119999
mov edi, dword [ebp + 8]
sub dword [ebp - 0x10], edi
dec eax
mov dword [ebp + 0x10], eax
test esi, esi
jne 0x1011992c
push dword [ebp - 0x24]
lea eax, [ebp - 0x20]
push eax
call fcn.10118e70
mov ebx, dword [ebp - 0x20]
add esp, 8
mov edx, dword [ebp - 0x1c]
mov eax, ebx
shr eax, 0x18
mov byte [ebp - 0xc], al
mov eax, ebx
shr eax, 0x10
mov byte [ebp - 0xb], al
mov eax, ebx
shr eax, 8
mov byte [ebp - 0xa], al
mov eax, edx
shr eax, 0x18
mov byte [ebp - 8], al
mov eax, edx
shr eax, 0x10
mov byte [ebp - 7], al
mov eax, edx
shr eax, 8
inc dword [ebp - 0x14]
mov byte [ebp - 9], bl
mov byte [ebp - 6], al
mov byte [ebp - 5], dl
mov al, byte [ebp + esi - 0xc]
inc esi
mov ecx, dword [ebp - 0x10]
and esi, 7
xor al, byte [edi]
mov byte [ecx + edi], al
inc edi
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x14]
test eax, eax
jne 0x101198d6
test ecx, ecx
je 0x10119983
mov edi, dword [ebp - 0x28]
mov eax, ebx
shr eax, 0x18
mov byte [edi], al
mov eax, ebx
shr eax, 0x10
mov byte [edi + 1], al
mov eax, ebx
shr eax, 8
mov byte [edi + 2], al
mov eax, edx
shr eax, 0x18
mov byte [edi + 3], bl
mov byte [edi + 4], al
mov eax, edx
shr eax, 0x10
mov byte [edi + 5], al
mov eax, edx
shr eax, 8
mov byte [edi + 6], al
mov byte [edi + 7], dl
mov eax, dword [ebp - 0x18]
pop edi
mov dword [eax], esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101534c8
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov dword [edi], esi
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.101534c8
mov esp, ebp
pop ebp
ret
Function at 0x101199b0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, 0x80
mov esi, 0x400
mov edx, edi
mov byte [ebx], 0
cmp dword [ebp + 0xc], edx
mov ecx, esi
cmovle edx, dword [ebp + 0xc]
test eax, eax
cmovg ecx, eax
cmp ecx, esi
cmovg ecx, esi
mov dword [ebp + 0xc], ecx
test edx, edx
jle 0x10119a01
sub dword [ebp + 0x10], ebx
mov ecx, ebx
mov ebx, dword [ebp + 0x10]
mov esi, edx
nop
mov al, byte [ebx + ecx]
lea ecx, [ecx + 1]
mov byte [ecx - 1], al
sub esi, 1
jne 0x101199f0
mov ebx, dword [ebp + 8]
movzx esi, byte [edx + ebx - 1]
cmp edx, edi
jge 0x10119a2c
mov ecx, ebx
nop dword [eax]
movzx eax, byte [ecx]
lea ecx, [ecx + 1]
add eax, esi
movzx eax, al
mov al, byte [eax + 0x101bed80]
mov byte [edx + ebx], al
inc edx
movzx esi, al
cmp edx, edi
jl 0x10119a10
mov ecx, dword [ebp + 0xc]
mov edx, 0xff
lea eax, [ecx + 7]
neg ecx
sar eax, 3
and ecx, 7
sub edi, eax
mov dword [ebp + 8], eax
movzx eax, byte [edi + ebx]
lea esi, [edi + ebx]
sar edx, cl
and edx, eax
mov al, byte [edx + 0x101bed80]
movzx ecx, al
mov byte [esi], al
test edi, edi
je 0x10119a7b
mov edx, dword [ebp + 8]
movzx eax, byte [esi + edx - 1]
lea esi, [esi - 1]
xor eax, ecx
mov al, byte [eax + 0x101bed80]
movzx ecx, al
mov byte [esi], al
sub edi, 1
jne 0x10119a61
lea esi, [ebx + 0xfc]
mov edi, 0x40
lea edx, [ebx + 0x7e]
nop dword [eax]
movzx ecx, byte [edx + 1]
lea esi, [esi - 4]
movzx eax, byte [edx]
lea edx, [edx - 2]
shl ecx, 8
or ecx, eax
mov dword [esi + 4], ecx
sub edi, 1
jne 0x10119a90
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x1011a4b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x101fd398]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x18]
lea edx, [eax + 1]
mov dword [ebp - 0x28], eax
movzx ecx, byte [edx + 3]
movzx ebx, byte [eax]
movzx eax, byte [edx]
shl eax, 8
or ebx, eax
mov dword [ebp - 0x14], 0
movzx eax, byte [edx + 1]
shl eax, 0x10
or ebx, eax
movzx eax, byte [edx + 2]
shl eax, 0x18
or ebx, eax
movzx eax, byte [edx + 4]
shl eax, 8
or ecx, eax
mov dword [ebp - 0x20], ebx
movzx eax, byte [edx + 5]
mov dword [ebp - 8], ecx
movzx ecx, byte [edx + 6]
mov edx, dword [ebp - 8]
shl ecx, 8
or ecx, eax
mov byte [ebp - 0xc], bl
mov eax, ebx
shl ecx, 0x10
shr eax, 8
or edx, ecx
mov byte [ebp - 0xb], al
mov eax, ebx
shr eax, 0x10
mov byte [ebp - 0xa], al
mov eax, ebx
shr eax, 0x18
mov byte [ebp - 9], al
mov eax, edx
shr eax, 8
mov byte [ebp - 7], al
mov eax, edx
shr eax, 0x10
mov byte [ebp - 6], al
mov eax, edx
shr eax, 0x18
mov edi, dword [ebp + 0x1c]
mov byte [ebp - 5], al
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x18], edi
mov esi, dword [edi]
mov dword [ebp - 0x1c], edx
mov byte [ebp - 8], dl
test eax, eax
je 0x1011a635
mov edi, dword [ebp + 8]
sub dword [ebp - 0x10], edi
dec eax
mov dword [ebp + 0x10], eax
test esi, esi
jne 0x1011a5cc
push dword [ebp - 0x24]
lea eax, [ebp - 0x20]
push eax
call fcn.1011a190
mov ebx, dword [ebp - 0x20]
add esp, 8
mov edx, dword [ebp - 0x1c]
mov eax, ebx
shr eax, 8
mov byte [ebp - 0xb], al
mov eax, ebx
shr eax, 0x10
mov byte [ebp - 0xa], al
mov eax, ebx
shr eax, 0x18
mov byte [ebp - 9], al
mov eax, edx
shr eax, 8
mov byte [ebp - 7], al
mov eax, edx
shr eax, 0x10
mov byte [ebp - 6], al
mov eax, edx
shr eax, 0x18
inc dword [ebp - 0x14]
mov byte [ebp - 0xc], bl
mov byte [ebp - 8], dl
mov byte [ebp - 5], al
mov al, byte [ebp + esi - 0xc]
inc esi
mov ecx, dword [ebp - 0x10]
and esi, 7
xor al, byte [edi]
mov byte [ecx + edi], al
inc edi
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x14]
test eax, eax
jne 0x1011a576
test ecx, ecx
je 0x1011a61f
mov edi, dword [ebp - 0x28]
mov eax, ebx
shr eax, 8
mov byte [edi], bl
mov byte [edi + 1], al
mov eax, ebx
shr eax, 0x10
mov byte [edi + 2], al
mov eax, edx
shr ebx, 0x18
mov byte [edi + 3], bl
shr eax, 8
mov byte [edi + 4], dl
mov byte [edi + 5], al
mov eax, edx
shr eax, 0x10
shr edx, 0x18
mov byte [edi + 6], al
mov byte [edi + 7], dl
mov eax, dword [ebp - 0x18]
pop edi
mov dword [eax], esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101534c8
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov dword [edi], esi
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.101534c8
mov esp, ebp
pop ebp
ret

Function at 0x1011a650
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.1011b0e0

Function at 0x1011a660
Capabilities:
Encrypt data using aes

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.1011b300
Function at 0x1011bc40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x20]
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp + 0x10], ecx
mov esi, dword [esi]
test esi, esi
je 0x1011bc78
mov edx, dword [ebp + 0x1c]
test edi, edi
je 0x1011bc78
mov al, byte [esi + edx]
dec edi
xor al, byte [ecx]
inc esi
mov byte [ebx], al
inc ecx
inc ebx
mov dword [ebp + 0x10], ecx
and esi, 0xf
jne 0x1011bc61
cmp edi, 0x10
jb 0x1011bd07
mov edx, dword [ebp + 0x1c]
mov eax, ebx
sub eax, edx
mov dword [ebp - 0xc], eax
mov eax, ecx
sub eax, edx
mov dword [ebp - 4], eax
mov eax, edi
shr eax, 4
mov dword [ebp - 8], eax
shl eax, 4
add ebx, eax
add ecx, eax
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0xc]
mov dword [ebp + 0x10], ecx
jmp 0x1011bcb3
mov edx, dword [ebp + 0x1c]
push dword [ebp + 0x14]
push edx
push dword [ebp + 0x18]
call dword [ebp + 0x24]
push dword [ebp + 0x18]
call fcn.1011bed0
add esp, 0x10
cmp esi, 0x10
jae 0x1011bcf2
mov eax, dword [ebp + 0x1c]
mov edx, 0xf
sub edx, esi
add eax, esi
mov esi, dword [ebp - 4]
shr edx, 2
inc edx
mov ecx, dword [esi + eax]
lea eax, [eax + 4]
xor ecx, dword [eax - 4]
mov dword [ebx + eax - 4], ecx
sub edx, 1
jne 0x1011bce0
add dword [ebp - 4], 0x10
sub edi, 0x10
add ebx, 0x10
xor esi, esi
sub dword [ebp - 8], 1
jne 0x1011bcb0
mov ebx, dword [ebp - 0x10]
test edi, edi
je 0x1011bd43
push dword [ebp + 0x14]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
call dword [ebp + 0x24]
push dword [ebp + 0x18]
call fcn.1011bed0
mov eax, dword [ebp + 0x1c]
add esp, 0x10
mov edx, dword [ebp + 0x10]
sub ebx, eax
sub edx, eax
lea ecx, [esi + eax]
add esi, edi
mov al, byte [ecx + edx]
lea ecx, [ecx + 1]
xor al, byte [ecx - 1]
mov byte [ecx + ebx - 1], al
sub edi, 1
jne 0x1011bd31
mov eax, dword [ebp + 0x20]
pop edi
mov dword [eax], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1011bd50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov edx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0x20]
mov dword [ebp - 4], edx
mov edi, dword [edi]
mov dword [ebp - 0xc], edi
test edi, edi
je 0x1011bd8e
mov ecx, dword [ebp + 0x1c]
test esi, esi
je 0x1011bd8e
mov al, byte [edi + ecx]
dec esi
xor al, byte [edx]
inc edi
mov byte [ebx], al
inc edx
inc ebx
mov dword [ebp - 4], edx
and edi, 0xf
mov dword [ebp - 0xc], edi
jne 0x1011bd74
mov eax, dword [ebp + 0x18]
movzx ecx, byte [eax + 0xc]
movzx eax, byte [eax + 0xd]
shl ecx, 8
or ecx, eax
mov eax, dword [ebp + 0x18]
shl ecx, 8
movzx eax, byte [eax + 0xe]
or ecx, eax
mov eax, dword [ebp + 0x18]
shl ecx, 8
movzx eax, byte [eax + 0xf]
or ecx, eax
mov dword [ebp + 0x10], ecx
cmp esi, 0x10
jb 0x1011be4f
mov eax, dword [ebp + 0x10]
mov ecx, esi
mov edi, dword [ebp + 0x10]
shr ecx, 4
neg edi
add eax, ecx
cmp eax, ecx
cmovae edi, ecx
mov dword [ebp - 8], edi
xor edi, edi
cmp eax, ecx
mov ecx, edi
mov edi, dword [ebp + 0x18]
push edi
push dword [ebp + 0x14]
cmovae ecx, eax
push dword [ebp - 8]
mov dword [ebp + 0x10], ecx
push ebx
push edx
call dword [ebp + 0x24]
mov ecx, dword [ebp + 0x10]
add esp, 0x14
mov eax, ecx
mov byte [edi + 0xf], cl
shr eax, 0x18
mov byte [edi + 0xc], al
mov eax, ecx
shr eax, 0x10
mov byte [edi + 0xd], al
mov eax, ecx
shr eax, 8
mov byte [edi + 0xe], al
test ecx, ecx
jne 0x1011be2e
mov eax, 0xc
nop
dec eax
add byte [eax + edi], 1
jne 0x1011be2b
test eax, eax
jne 0x1011be20
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
shl eax, 4
sub esi, eax
add edx, eax
add ebx, eax
mov dword [ebp - 4], edx
cmp esi, 0x10
jae 0x1011bdc2
mov edi, dword [ebp - 0xc]
mov dword [ebp + 0x10], ecx
test esi, esi
je 0x1011bec3
push dword [ebp + 0x18]
mov eax, dword [ebp + 0x1c]
xorps xmm0, xmm0
push dword [ebp + 0x14]
push 1
push eax
push eax
movups xmmword [eax], xmm0
call dword [ebp + 0x24]
mov ecx, dword [ebp + 0x10]
add esp, 0x14
mov edx, dword [ebp + 0x18]
inc ecx
mov eax, ecx
shr eax, 0x18
mov byte [edx + 0xc], al
mov eax, ecx
shr eax, 0x10
mov byte [edx + 0xd], al
mov eax, ecx
shr eax, 8
mov byte [edx + 0xe], al
mov byte [edx + 0xf], cl
test ecx, ecx
jne 0x1011bea2
mov ecx, 0xc
dec ecx
add byte [ecx + edx], 1
jne 0x1011bea2
test ecx, ecx
jne 0x1011be97
mov eax, dword [ebp + 0x1c]
sub ebx, eax
mov edx, dword [ebp - 4]
sub edx, eax
lea ecx, [edi + eax]
add edi, esi
mov al, byte [edx + ecx]
lea ecx, [ecx + 1]
xor al, byte [ecx - 1]
mov byte [ebx + ecx - 1], al
sub esi, 1
jne 0x1011beb1
mov eax, dword [ebp + 0x20]
mov dword [eax], edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1011bef0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x1c]
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp + 0x10], ecx
mov esi, dword [esi]
test esi, esi
je 0x1011bf28
mov edx, dword [ebp + 0x18]
test edi, edi
je 0x1011bf28
mov al, byte [esi + edx]
dec edi
xor al, byte [ecx]
inc esi
mov byte [ebx], al
inc ecx
inc ebx
mov dword [ebp + 0x10], ecx
and esi, 0xf
jne 0x1011bf11
cmp edi, 0x10
jb 0x1011bfa7
mov edx, dword [ebp + 0x18]
mov eax, ebx
sub eax, edx
mov dword [ebp - 0xc], eax
mov eax, ecx
sub eax, edx
mov dword [ebp - 4], eax
mov eax, edi
shr eax, 4
mov dword [ebp - 8], eax
shl eax, 4
add ebx, eax
add ecx, eax
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0xc]
mov dword [ebp + 0x10], ecx
jmp 0x1011bf5b
mov edx, dword [ebp + 0x18]
push dword [ebp + 0x14]
push edx
push edx
call dword [ebp + 0x20]
add esp, 0xc
cmp esi, 0x10
jae 0x1011bf92
mov eax, dword [ebp + 0x18]
mov edx, 0xf
sub edx, esi
add eax, esi
mov esi, dword [ebp - 4]
shr edx, 2
inc edx
nop
mov ecx, dword [esi + eax]
lea eax, [eax + 4]
xor ecx, dword [eax - 4]
mov dword [ebx + eax - 4], ecx
sub edx, 1
jne 0x1011bf80
add dword [ebp - 4], 0x10
sub edi, 0x10
add ebx, 0x10
xor esi, esi
sub dword [ebp - 8], 1
jne 0x1011bf58
mov ebx, dword [ebp - 0x10]
test edi, edi
je 0x1011bfe2
push dword [ebp + 0x14]
mov eax, dword [ebp + 0x18]
push eax
push eax
call dword [ebp + 0x20]
mov eax, dword [ebp + 0x18]
add esp, 0xc
mov edx, dword [ebp + 0x10]
sub ebx, eax
sub edx, eax
lea ecx, [esi + eax]
add esi, edi
nop dword [eax + eax]
mov al, byte [ecx + edx]
lea ecx, [ecx + 1]
xor al, byte [ecx - 1]
mov byte [ecx + ebx - 1], al
sub edi, 1
jne 0x1011bfd0
mov eax, dword [ebp + 0x1c]
pop edi
mov dword [eax], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1011c410
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
sub esp, 8
mov eax, dword [ecx + 0x38]
or eax, dword [ecx + 0x3c]
je 0x1011c42a
mov eax, 0xfffffffe
mov esp, ebp
pop ebp
ret
push esi
mov esi, dword [ebp + 0x10]
xor edx, edx
mov eax, esi
add eax, dword [ecx + 0x30]
adc edx, dword [ecx + 0x34]
cmp edx, 0x20000000
ja 0x1011c4fd
jb 0x1011c44e
test eax, eax
jne 0x1011c4fd
push ebx
mov ebx, dword [ebp + 0xc]
push edi
mov edi, dword [ecx + 0x16c]
mov dword [ecx + 0x34], edx
lea edx, [ecx + 0x40]
mov dword [ecx + 0x30], eax
test edi, edi
je 0x1011c4ad
test esi, esi
je 0x1011c47f
mov al, byte [ebx]
lea edx, [ecx + 0x40]
xor byte [edx + edi], al
inc ebx
inc edi
mov dword [ebp - 4], edx
dec esi
and edi, 0xf
jne 0x1011c466
jmp 0x1011c486
mov dword [ebp - 4], edx
test edi, edi
jne 0x1011c49e
lea eax, [ecx + 0x60]
push eax
push edx
mov dword [ebp - 8], eax
call fcn.1011d800
mov edx, dword [ebp - 4]
add esp, 8
mov ecx, dword [ebp - 8]
jmp 0x1011c4b3
mov dword [ecx + 0x16c], edi
xor eax, eax
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
add ecx, 0x60
mov dword [ebp - 4], edx
mov eax, esi
and eax, 0xfffffff0
mov dword [ebp - 8], eax
je 0x1011c4cf
push eax
push ebx
push ecx
push edx
call fcn.1011d5e0
add ebx, dword [ebp - 8]
add esp, 0x10
sub esi, dword [ebp - 8]
test esi, esi
je 0x1011c4eb
xor ecx, ecx
mov edi, esi
test esi, esi
je 0x1011c4eb
mov edx, dword [ebp - 4]
nop
mov al, byte [ecx + ebx]
xor byte [edx + ecx], al
inc ecx
cmp ecx, esi
jb 0x1011c4e0
mov eax, dword [ebp + 8]
mov dword [eax + 0x16c], edi
xor eax, eax
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
or eax, 0xffffffff
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1011e050
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x101fd398]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x18]
lea ecx, [esi + 0x10]
mov bl, byte [esi]
mov edx, dword [esi + 0x28]
mov dword [ebp - 0x2c], eax
mov eax, dword [esi + 0x2c]
mov dword [ebp - 0x30], esi
mov byte [ebp - 0x15], bl
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x20], eax
test bl, 0x40
jne 0x1011e09b
push eax
push ecx
push esi
call edx
add esp, 0xc
movzx eax, bl
mov edx, 0xf
and eax, 7
xor ecx, ecx
sub edx, eax
mov byte [esi], al
mov dword [ebp - 0x34], edx
cmp edx, 0xf
jae 0x1011e0c7
movzx eax, byte [esi + edx]
or ecx, eax
mov byte [esi + edx], 0
inc edx
shl ecx, 8
cmp edx, 0xf
jb 0x1011e0b4
movzx eax, byte [esi + 0xf]
mov ebx, dword [ebp + 0x14]
or ecx, eax
mov byte [esi + 0xf], 1
cmp ecx, ebx
je 0x1011e0eb
pop esi
or eax, 0xffffffff
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101534c8
mov esp, ebp
pop ebp
ret
push edi
mov edi, ebx
shr edi, 4
test edi, edi
je 0x1011e124
lea eax, [esi + 0x10]
push eax
push esi
push dword [ebp - 0x20]
push edi
push dword [ebp - 0x24]
push dword [ebp - 0x1c]
call dword [ebp - 0x2c]
shl edi, 4
add esp, 0x18
add dword [ebp - 0x1c], edi
add dword [ebp - 0x24], edi
sub ebx, edi
je 0x1011e17c
shr edi, 4
push edi
push esi
call fcn.1011e840
add esp, 8
test ebx, ebx
je 0x1011e17c
push dword [ebp - 0x20]
lea eax, [ebp - 0x14]
push eax
push esi
call dword [ebp - 0x28]
add esp, 0xc
xor edx, edx
test ebx, ebx
je 0x1011e16b
mov edi, dword [ebp - 0x24]
lea eax, [ebp - 0x14]
sub dword [ebp - 0x1c], eax
sub edi, eax
lea eax, [esi + 0x10]
mov esi, dword [ebp - 0x1c]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x14]
add eax, edx
mov cl, byte [esi + eax]
xor cl, byte [eax]
mov byte [edi + eax], cl
mov eax, dword [ebp - 0x2c]
xor byte [eax + edx], cl
inc edx
cmp edx, ebx
jb 0x1011e150
mov esi, dword [ebp - 0x30]
mov ebx, dword [ebp - 0x20]
lea eax, [esi + 0x10]
push ebx
push eax
push eax
call dword [ebp - 0x28]
add esp, 0xc
jmp 0x1011e17f
mov ebx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x34]
cmp edx, 0x10
jae 0x1011e1a1
mov ecx, 0x10
lea edi, [edx + esi]
sub ecx, edx
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
push ebx
lea eax, [ebp - 0x14]
push eax
push esi
call dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor dword [esi + 0x10], eax
mov eax, dword [ebp - 0x10]
xor dword [esi + 0x14], eax
mov eax, dword [ebp - 0xc]
xor dword [esi + 0x18], eax
mov eax, dword [ebp - 8]
xor dword [esi + 0x1c], eax
mov al, byte [ebp - 0x15]
mov ecx, dword [ebp - 4]
pop edi
mov byte [esi], al
xor ecx, ebp
pop esi
xor eax, eax
pop ebx
call fcn.101534c8
mov esp, ebp
pop ebp
ret
Function at 0x101213f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x1c], 0
je 0x10121406
mov dword [ebp + 0x1c], fcn.1011fc00
pop ebp
jmp fcn.1011baa0
mov dword [ebp + 0x1c], fcn.1011eed0
pop ebp
jmp fcn.1011b830
Function at 0x10121ba0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [0x101fc4a8], 0
je 0x10121be6
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
jne 0x10121bc4
mov dword [0x101fc4a8], eax
jmp 0x10121be6
sub esp, 8
lea eax, [ebp - 0xc]
xorps xmm0, xmm0
movsd qword [esp], xmm0
push 8
push eax
call fcn.10096ca0
add esp, 0x10
cmp dword [0x101fc4a8], 0
jne 0x10121c08
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub esp, 8
mov dword [ebp - 4], eax
xorps xmm0, xmm0
lea eax, [ebp - 4]
movsd qword [esp], xmm0
push 4
push eax
call fcn.10096ca0
add esp, 0x10
mov esp, ebp
pop ebp
ret

Function at 0x1012a7b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 8]
cmp dword [edi + 0x10c], 0xffffffff
jne 0x1012a7c5
xor eax, eax
pop edi
pop ebp
ret
push ebx
push esi
push edi
call fcn.10087a30
mov ecx, dword [ebp + 0x10]
add esp, 4
mov ebx, dword [ebp + 0xc]
mov esi, eax
mov dword [ecx], esi
test ebx, ebx
je 0x1012a888
mov ecx, dword [edi + 0x10c]
cmp ecx, esi
jne 0x1012a816
test esi, esi
jle 0x1012a867
mov edx, ebx
lea ecx, [edi + 0x8c]
mov ebx, esi
nop word [eax + eax]
mov al, byte [ecx + 0x60]
lea ecx, [ecx + 1]
xor al, byte [ecx - 1]
lea edx, [edx + 1]
mov byte [edx - 1], al
sub ebx, 1
jne 0x1012a800
jmp 0x1012a864
sub eax, ecx
mov byte [ecx + edi + 0xec], 0x80
cmp eax, 1
jle 0x1012a83a
dec eax
push eax
lea eax, [edi + 0xed]
add eax, ecx
push 0
push eax
call fcn.10155d20
add esp, 0xc
test esi, esi
jle 0x1012a867
mov edx, ebx
lea ecx, [edi + 0xac]
mov ebx, esi
nop dword [eax + eax]
mov al, byte [ecx + 0x40]
lea ecx, [ecx + 1]
xor al, byte [ecx - 1]
lea edx, [edx + 1]
mov byte [edx - 1], al
sub ebx, 1
jne 0x1012a850
mov ebx, dword [ebp + 0xc]
push esi
push ebx
push ebx
push edi
call fcn.100a9ee0
add esp, 0x10
test eax, eax
jne 0x1012a888
push esi
push ebx
call fcn.100a4620
add esp, 8
xor eax, eax
pop esi
pop ebx
pop edi
pop ebp
ret
pop esi
pop ebx
mov eax, 1
pop edi
pop ebp
ret