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

Disassembly:
sub esp, 0x34
mov eax, dword [0x1010d170]
xor eax, esp
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x38]
push ebx
push esi
mov esi, dword [esp + 0x44]
cmp esi, 0x80
push edi
mov edi, dword [esp + 0x50]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x4c]
mov ebx, edx
jg 0x1005e8b9
mov edx, dword [edi]
mov dword [esp + 0x18], edx
mov edx, dword [edi + 4]
push ebp
mov dword [esp + 0x20], edx
mov edx, dword [edi + 8]
push eax
mov dword [esp + 0x28], edx
mov edx, dword [edi + 0xc]
push edi
push edi
mov dword [esp + 0x34], edx
call ecx
lea eax, [esi + 7]
cdq
and edx, 7
add eax, edx
mov esi, eax
add esp, 0xc
sar esi, 3
cmp dword [esp + 0x58], 0
je 0x1005e7ad
test esi, esi
jle 0x1005e7ee
mov eax, dword [esp + 0x14]
mov edx, edi
lea ebp, [esp + 0x2c]
sub edx, ebx
sub ebp, ebx
sub eax, ebx
mov ecx, ebx
mov dword [esp + 0x14], eax
mov al, byte [edx + ecx]
xor al, byte [ecx]
mov ebx, dword [esp + 0x14]
mov byte [ecx + ebp], al
mov byte [ebx + ecx], al
inc ecx
sub esi, 1
jne 0x1005e796
jmp 0x1005e7ee
xor ebp, ebp
test esi, esi
jle 0x1005e7ee
lea eax, [esp + 0x2c]
mov ecx, eax
sub ebx, eax
mov eax, dword [esp + 0x14]
mov edx, edi
sub edx, ecx
sub eax, ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], eax
jmp 0x1005e7d4
mov edx, dword [esp + 0x18]
lea ecx, [esp + ebp + 0x2c]
mov al, byte [ebx + ecx]
mov dl, byte [edx + ecx]
xor dl, al
mov byte [ecx], al
mov eax, dword [esp + 0x14]
inc ebp
cmp ebp, esi
mov byte [eax + ecx], dl
jl 0x1005e7d0
mov eax, dword [esp + 0x4c]
mov ecx, eax
and ecx, 0x80000007
jns 0x1005e801
dec ecx
or ecx, 0xfffffff8
inc ecx
cdq
and edx, 7
add eax, edx
sar eax, 3
mov dword [esp + 0x14], ecx
test ecx, ecx
jne 0x1005e842
mov ecx, dword [esp + eax + 0x1c]
mov edx, dword [esp + eax + 0x20]
lea eax, [esp + eax + 0x1c]
mov dword [edi], ecx
mov ecx, dword [eax + 8]
mov dword [edi + 4], edx
mov edx, dword [eax + 0xc]
pop ebp
mov dword [edi + 8], ecx
mov dword [edi + 0xc], edx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.100ae60d
add esp, 0x34
ret
mov dl, 8
sub dl, cl
mov byte [esp + 0x13], dl
inc edi
lea esi, [esp + eax + 0x1d]
mov ebp, 4
movzx edx, byte [esi - 1]
mov al, byte [esi]
shl dl, cl
movzx ecx, byte [esp + 0x13]
mov bl, al
shr bl, cl
mov ecx, dword [esp + 0x14]
shl al, cl
movzx ecx, byte [esp + 0x13]
or dl, bl
mov byte [edi - 1], dl
mov dl, byte [esi + 1]
mov bl, dl
shr bl, cl
mov ecx, dword [esp + 0x14]
shl dl, cl
movzx ecx, byte [esp + 0x13]
or al, bl
mov byte [edi], al
mov al, byte [esi + 2]
mov bl, al
shr bl, cl
movzx ecx, byte [esp + 0x13]
or dl, bl
mov byte [edi + 1], dl
movzx edx, byte [esi + 3]
shr dl, cl
mov ecx, dword [esp + 0x14]
shl al, cl
add esi, 4
add edi, 4
or dl, al
sub ebp, 1
mov byte [edi - 2], dl
jne 0x1005e854
pop ebp
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100ae60d
add esp, 0x34
ret
Function at 0x1005edc0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
push ebx
push ebp
mov ebx, eax
mov eax, dword [esp + 0x24]
push esi
mov esi, dword [eax]
test esi, esi
je 0x1005edf7
test ebx, ebx
je 0x1005edf7
mov cl, byte [esi + edi]
mov ebp, dword [esp + 0x18]
xor cl, byte [ebp]
mov eax, dword [esp + 0x1c]
mov byte [eax], cl
inc eax
inc ebp
inc esi
dec ebx
and esi, 0xf
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ebp
jne 0x1005edd2
cmp ebx, 0x10
jb 0x1005ee89
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov eax, edx
sub eax, edi
mov dword [esp + 0xc], eax
mov eax, ebx
shr eax, 4
mov ebp, ecx
mov dword [esp + 0x10], eax
shl eax, 4
add ecx, eax
sub ebp, edi
add edx, eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], edx
lea esp, [esp]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
push edx
push edi
push eax
call dword [esp + 0x38]
mov edx, dword [esp + 0x30]
add esp, 0xc
call fcn.1005eda0
cmp esi, 0x10
jae 0x1005ee75
mov ecx, 0xf
sub ecx, esi
shr ecx, 2
lea eax, [esi + edi]
inc ecx
mov edi, edi
mov edx, dword [esp + 0xc]
mov edx, dword [edx + eax]
xor edx, dword [eax]
add eax, 4
sub ecx, 1
mov dword [eax + ebp - 4], edx
jne 0x1005ee60
add dword [esp + 0xc], 0x10
sub ebx, 0x10
add ebp, 0x10
xor esi, esi
sub dword [esp + 0x10], 1
jne 0x1005ee30
test ebx, ebx
je 0x1005eed2
mov eax, dword [esp + 0x20]
mov ebp, dword [esp + 0x24]
push eax
push edi
push ebp
call dword [esp + 0x38]
add esp, 0xc
mov edx, ebp
call fcn.1005eda0
mov ebp, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
lea eax, [esi + edi]
sub ebp, edi
sub ecx, edi
add esi, ebx
mov dl, byte [eax + ebp]
xor dl, byte [eax]
dec ebx
mov byte [eax + ecx], dl
inc eax
test ebx, ebx
jne 0x1005eeb7
mov eax, dword [esp + 0x28]
mov dword [eax], esi
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov ecx, dword [esp + 0x28]
mov dword [ecx], esi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x1005eee0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0x14]
push esi
mov esi, eax
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
push edi
mov dword [esp + 0x1c], eax
test eax, eax
je 0x1005ef24
test ebp, ebp
je 0x1005ef24
mov ecx, dword [esp + 0x24]
mov dl, byte [eax + ecx]
mov edi, dword [esp + 0x14]
xor dl, byte [edi]
mov ecx, dword [esp + 0x18]
mov byte [ecx], dl
inc ecx
inc edi
inc eax
dec ebp
and eax, 0xf
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], edi
mov dword [esp + 0x1c], eax
jne 0x1005eef8
movzx ebx, byte [esi + 0xc]
movzx ecx, byte [esi + 0xd]
movzx edx, byte [esi + 0xe]
shl ebx, 8
or ebx, ecx
movzx ecx, byte [esi + 0xf]
shl ebx, 8
or ebx, edx
shl ebx, 8
or ebx, ecx
cmp ebp, 0x10
jb 0x1005efb9
mov edi, ebp
shr edi, 4
add ebx, edi
cmp ebx, edi
jae 0x1005ef57
sub edi, ebx
xor ebx, ebx
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push esi
push edx
push edi
push eax
push ecx
call dword [esp + 0x40]
mov edx, ebx
mov eax, ebx
mov ecx, ebx
shr edx, 0x18
shr eax, 0x10
shr ecx, 8
add esp, 0x14
mov byte [esi + 0xc], dl
mov byte [esi + 0xd], al
mov byte [esi + 0xe], cl
mov byte [esi + 0xf], bl
test ebx, ebx
jne 0x1005efa3
mov ecx, 0xc
mov al, byte [ecx + esi - 1]
dec ecx
add al, 1
mov byte [ecx + esi], al
jne 0x1005efa3
test ecx, ecx
jne 0x1005ef93
shl edi, 4
add dword [esp + 0x18], edi
add dword [esp + 0x14], edi
sub ebp, edi
cmp ebp, 0x10
jae 0x1005ef48
mov eax, dword [esp + 0x1c]
test ebp, ebp
je 0x1005f049
mov edi, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
push esi
push edx
xor eax, eax
mov dword [edi], eax
push 1
mov dword [edi + 4], eax
push edi
mov dword [edi + 8], eax
push edi
mov dword [edi + 0xc], eax
call dword [esp + 0x40]
inc ebx
mov eax, ebx
mov ecx, ebx
mov edx, ebx
shr eax, 0x18
shr ecx, 0x10
shr edx, 8
add esp, 0x14
mov byte [esi + 0xc], al
mov byte [esi + 0xd], cl
mov byte [esi + 0xe], dl
mov byte [esi + 0xf], bl
test ebx, ebx
jne 0x1005f018
mov ecx, 0xc
mov al, byte [ecx + esi - 1]
dec ecx
add al, 1
mov byte [ecx + esi], al
jne 0x1005f018
test ecx, ecx
jne 0x1005f008
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
lea eax, [edx + edi]
sub ecx, edi
sub esi, edi
add edx, ebp
lea ecx, [ecx]
mov bl, byte [ecx + eax]
xor bl, byte [eax]
dec ebp
mov byte [esi + eax], bl
inc eax
test ebp, ebp
jne 0x1005f030
mov eax, dword [esp + 0x28]
pop edi
pop esi
pop ebp
mov dword [eax], edx
pop ebx
ret
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
mov dword [ecx], eax
pop ebx
ret
Function at 0x1005f060
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
push ebx
push ebp
mov ebx, eax
mov eax, dword [esp + 0x20]
push esi
mov esi, dword [eax]
test esi, esi
je 0x1005f097
test ebx, ebx
je 0x1005f097
mov cl, byte [esi + edi]
mov ebp, dword [esp + 0x18]
xor cl, byte [ebp]
mov eax, dword [esp + 0x1c]
mov byte [eax], cl
inc eax
inc ebp
inc esi
dec ebx
and esi, 0xf
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ebp
jne 0x1005f072
cmp ebx, 0x10
jb 0x1005f119
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov eax, edx
sub eax, edi
mov dword [esp + 0xc], eax
mov eax, ebx
shr eax, 4
mov ebp, ecx
mov dword [esp + 0x10], eax
shl eax, 4
add ecx, eax
sub ebp, edi
add edx, eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x20]
push edx
push edi
push edi
call dword [esp + 0x34]
add esp, 0xc
cmp esi, 0x10
jae 0x1005f105
mov ecx, 0xf
sub ecx, esi
shr ecx, 2
lea eax, [esi + edi]
inc ecx
lea esp, [esp]
mov edx, dword [esp + 0xc]
mov edx, dword [edx + eax]
xor edx, dword [eax]
add eax, 4
sub ecx, 1
mov dword [eax + ebp - 4], edx
jne 0x1005f0f0
add dword [esp + 0xc], 0x10
sub ebx, 0x10
add ebp, 0x10
xor esi, esi
sub dword [esp + 0x10], 1
jne 0x1005f0c8
test ebx, ebx
je 0x1005f15b
mov eax, dword [esp + 0x20]
push eax
push edi
push edi
call dword [esp + 0x34]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
add esp, 0xc
lea eax, [esi + edi]
sub ebp, edi
sub ecx, edi
add esi, ebx
lea esp, [esp]
mov dl, byte [eax + ebp]
xor dl, byte [eax]
dec ebx
mov byte [eax + ecx], dl
inc eax
test ebx, ebx
jne 0x1005f140
mov eax, dword [esp + 0x24]
mov dword [eax], esi
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov ecx, dword [esp + 0x24]
mov dword [ecx], esi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x1005f6a0
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
mov eax, ebx
call fcn.1005f170
test eax, eax
jl 0x1005f8d8
mov edx, dword [ebx + 0xf0]
add edx, edx
push esi
add edx, edx
xor esi, esi
push edi
test edx, edx
jle 0x1005f70d
lea ecx, [ebx + edx*4 + 8]
lea eax, [ebx + 8]
push ebp
lea esp, [esp]
mov ebp, dword [ecx - 8]
mov edi, dword [eax - 8]
mov dword [eax - 8], ebp
mov ebp, dword [ecx - 4]
mov dword [ecx - 8], edi
mov edi, dword [eax - 4]
mov dword [eax - 4], ebp
mov ebp, dword [ecx]
mov dword [ecx - 4], edi
mov edi, dword [eax]
mov dword [eax], ebp
mov ebp, dword [ecx + 4]
mov dword [ecx], edi
mov edi, dword [eax + 4]
mov dword [eax + 4], ebp
mov dword [ecx + 4], edi
add esi, 4
sub edx, 4
add eax, 0x10
sub ecx, 0x10
cmp esi, edx
jl 0x1005f6d0
pop ebp
mov edx, 1
cmp dword [ebx + 0xf0], edx
jle 0x1005f8d4
lea eax, [ebx + 2]
mov ecx, dword [eax + 0xe]
movzx edi, byte [eax + 0xf]
mov edi, dword [edi*4 + 0x100e3d30]
add eax, 0x10
mov esi, ecx
shr esi, 0x18
mov esi, dword [esi*4 + 0x100e3d30]
and esi, 0xff
mov esi, dword [esi*4 + 0x100e4930]
and edi, 0xff
xor esi, dword [edi*4 + 0x100e5130]
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x100e3d30]
and ecx, 0xff
xor esi, dword [ecx*4 + 0x100e5530]
movzx ecx, byte [eax]
mov ecx, dword [ecx*4 + 0x100e3d30]
movzx edi, byte [eax + 3]
and ecx, 0xff
xor esi, dword [ecx*4 + 0x100e4d30]
mov ecx, dword [eax + 2]
mov dword [eax - 2], esi
mov edi, dword [edi*4 + 0x100e3d30]
mov esi, ecx
shr esi, 0x18
mov esi, dword [esi*4 + 0x100e3d30]
and esi, 0xff
mov esi, dword [esi*4 + 0x100e4930]
and edi, 0xff
xor esi, dword [edi*4 + 0x100e5130]
movzx edi, byte [eax + 4]
mov edi, dword [edi*4 + 0x100e3d30]
and edi, 0xff
xor esi, dword [edi*4 + 0x100e4d30]
movzx edi, byte [eax + 7]
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x100e3d30]
and ecx, 0xff
xor esi, dword [ecx*4 + 0x100e5530]
mov ecx, dword [eax + 6]
mov dword [eax + 2], esi
mov edi, dword [edi*4 + 0x100e3d30]
mov esi, ecx
shr esi, 0x18
mov esi, dword [esi*4 + 0x100e3d30]
and esi, 0xff
mov esi, dword [esi*4 + 0x100e4930]
and edi, 0xff
xor esi, dword [edi*4 + 0x100e5130]
movzx edi, byte [eax + 8]
mov edi, dword [edi*4 + 0x100e3d30]
and edi, 0xff
xor esi, dword [edi*4 + 0x100e4d30]
movzx edi, byte [eax + 0xb]
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x100e3d30]
and ecx, 0xff
xor esi, dword [ecx*4 + 0x100e5530]
mov ecx, dword [eax + 0xa]
mov dword [eax + 6], esi
mov edi, dword [edi*4 + 0x100e3d30]
mov esi, ecx
shr esi, 0x18
mov esi, dword [esi*4 + 0x100e3d30]
and esi, 0xff
mov esi, dword [esi*4 + 0x100e4930]
and edi, 0xff
xor esi, dword [edi*4 + 0x100e5130]
movzx edi, byte [eax + 0xc]
mov edi, dword [edi*4 + 0x100e3d30]
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x100e3d30]
and edi, 0xff
xor esi, dword [edi*4 + 0x100e4d30]
and ecx, 0xff
xor esi, dword [ecx*4 + 0x100e5530]
inc edx
mov dword [eax + 0xa], esi
cmp edx, dword [ebx + 0xf0]
jl 0x1005f721
pop edi
xor eax, eax
pop esi
ret
Function at 0x100604a0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x14
push ebx
mov ebx, dword [esp + 0x1c]
push ebp
push esi
push edi
mov edi, eax
mov eax, dword [esp + 0x30]
mov esi, ecx
mov ebp, eax
cmp ebx, 0x10
jb 0x1006050d
shr ebx, 4
mov dword [esp + 0x10], ebx
mov ecx, edi
sub ebp, esi
mov eax, esi
sub ecx, esi
mov edx, 4
mov edi, edi
mov ebx, dword [eax + ebp]
xor ebx, dword [eax]
add eax, 4
sub edx, 1
mov dword [ecx + eax - 4], ebx
jne 0x100604d0
mov eax, dword [esp + 0x2c]
push eax
push edi
push edi
call dword [esp + 0x40]
mov ebx, dword [esp + 0x34]
mov ebp, edi
sub ebx, 0x10
add esp, 0xc
add esi, 0x10
add edi, 0x10
sub dword [esp + 0x10], 1
mov dword [esp + 0x28], ebx
jne 0x100604c1
mov eax, dword [esp + 0x30]
test ebx, ebx
je 0x1006060c
mov ecx, edi
sub ecx, esi
mov dword [esp + 0x14], ecx
mov ecx, 1
sub ecx, esi
mov dword [esp + 0x18], ecx
mov ecx, 2
sub ecx, esi
mov dword [esp + 0x1c], ecx
mov edx, ebp
sub edx, esi
mov ecx, 3
xor eax, eax
sub ecx, esi
mov dword [esp + 0x10], edx
mov dword [esp + 0x20], ecx
jmp 0x10060554
mov edx, dword [esp + 0x10]
cmp eax, ebx
jae 0x100605c2
mov ebx, dword [esp + 0x14]
lea ecx, [eax + esi]
mov dl, byte [edx + ecx]
xor dl, byte [ecx]
mov byte [ebx + ecx], dl
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x28]
add edx, ecx
cmp edx, ebx
jae 0x100605b7
mov dl, byte [eax + ebp + 1]
xor dl, byte [eax + esi + 1]
mov byte [eax + edi + 1], dl
mov edx, dword [esp + 0x1c]
add edx, ecx
cmp edx, ebx
jae 0x100605ba
mov dl, byte [eax + esi + 2]
xor dl, byte [eax + ebp + 2]
mov byte [eax + edi + 2], dl
mov edx, dword [esp + 0x20]
add edx, ecx
cmp edx, ebx
jae 0x100605bf
mov cl, byte [eax + ebp + 3]
xor cl, byte [eax + esi + 3]
add eax, 4
mov byte [eax + edi - 1], cl
cmp eax, 0x10
jb 0x10060550
jmp 0x100605de
inc eax
jmp 0x100605c2
add eax, 2
jmp 0x100605c2
add eax, 3
cmp eax, 0x10
jae 0x100605de
mov edx, 0x10
sub ebp, edi
lea ecx, [eax + edi]
sub edx, eax
mov al, byte [ecx + ebp]
mov byte [ecx], al
inc ecx
sub edx, 1
jne 0x100605d3
mov ecx, dword [esp + 0x2c]
push ecx
push edi
push edi
call dword [esp + 0x40]
add esp, 0xc
mov ebp, edi
cmp ebx, 0x10
jbe 0x10060608
sub ebx, 0x10
add esi, 0x10
add edi, 0x10
mov dword [esp + 0x28], ebx
test ebx, ebx
jne 0x10060515
mov eax, dword [esp + 0x30]
mov edx, dword [ebp]
mov dword [eax], edx
mov ecx, dword [ebp + 4]
mov dword [eax + 4], ecx
mov edx, dword [ebp + 8]
pop edi
mov dword [eax + 8], edx
mov ecx, dword [ebp + 0xc]
pop esi
pop ebp
mov dword [eax + 0xc], ecx
pop ebx
add esp, 0x14
ret
Function at 0x10060900
Capabilities:
Encrypt data using blowfish

Disassembly:
sub esp, 8
push ebp
mov ebp, dword [esp + 0x10]
push esi
push edi
push 0x1048
push 0x100e28e8
push ebp
mov edi, eax
mov esi, ecx
call fcn.100b3140
add esp, 0xc
cmp esi, 0x48
jle 0x1006092b
mov esi, 0x48
lea ecx, [esi + edi]
mov eax, edi
lea esi, [ebp + 8]
mov dword [esp + 0x18], 6
push ebx
lea esp, [esp]
movzx edx, byte [eax]
inc eax
cmp eax, ecx
jb 0x1006094a
mov eax, edi
movzx ebx, byte [eax]
shl edx, 8
inc eax
or edx, ebx
cmp eax, ecx
jb 0x10060959
mov eax, edi
movzx ebx, byte [eax]
shl edx, 8
inc eax
or edx, ebx
cmp eax, ecx
jb 0x10060968
mov eax, edi
movzx ebx, byte [eax]
shl edx, 8
inc eax
or edx, ebx
cmp eax, ecx
jb 0x10060977
mov eax, edi
xor dword [esi - 8], edx
movzx edx, byte [eax]
inc eax
cmp eax, ecx
jb 0x10060984
mov eax, edi
movzx ebx, byte [eax]
shl edx, 8
inc eax
or edx, ebx
cmp eax, ecx
jb 0x10060993
mov eax, edi
movzx ebx, byte [eax]
shl edx, 8
inc eax
or edx, ebx
cmp eax, ecx
jb 0x100609a2
mov eax, edi
movzx ebx, byte [eax]
shl edx, 8
inc eax
or edx, ebx
cmp eax, ecx
jb 0x100609b1
mov eax, edi
xor dword [esi - 4], edx
movzx edx, byte [eax]
inc eax
cmp eax, ecx
jb 0x100609be
mov eax, edi
movzx ebx, byte [eax]
shl edx, 8
inc eax
or edx, ebx
cmp eax, ecx
jb 0x100609cd
mov eax, edi
movzx ebx, byte [eax]
shl edx, 8
inc eax
or edx, ebx
cmp eax, ecx
jb 0x100609dc
mov eax, edi
movzx ebx, byte [eax]
shl edx, 8
inc eax
or edx, ebx
cmp eax, ecx
jb 0x100609eb
mov eax, edi
xor dword [esi], edx
add esi, 0xc
sub dword [esp + 0x1c], 1
jne 0x10060940
xor ebx, ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
xor edi, edi
jmp 0x10060a10
mov eax, ebp
lea esi, [esp + 0x10]
call fcn.10060c60
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [ebp + edi*4], eax
mov dword [ebp + edi*4 + 4], ecx
add edi, 2
cmp edi, 0x12
jl 0x10060a10
xor edi, edi
pop ebx
jmp 0x10060a40
mov eax, ebp
lea esi, [esp + 0xc]
call fcn.10060c60
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
mov dword [ebp + edi*4 + 0x48], edx
mov dword [ebp + edi*4 + 0x4c], eax
add edi, 2
cmp edi, 0x400
jl 0x10060a40
pop edi
pop esi
pop ebp
add esp, 8
ret
Function at 0x10061940
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x2c
mov eax, dword [0x1010d170]
xor eax, esp
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 8], eax
push ebx
mov dword [esp + 0x20], ecx
push ebp
mov ebp, dword [esp + 0x40]
push esi
mov esi, edx
movzx edx, byte [ebp]
lea ecx, [ebp + 1]
shl edx, 0x18
push edi
mov edi, dword [eax]
movzx eax, byte [ecx]
shl eax, 0x10
or edx, eax
movzx eax, byte [ecx + 1]
shl eax, 8
or edx, eax
mov dword [esp + 0x28], ecx
inc ecx
movzx eax, byte [ecx + 1]
or edx, eax
inc ecx
movzx ebx, byte [ecx + 1]
inc ecx
movzx eax, byte [ecx + 1]
shl eax, 0x10
inc ecx
shl ebx, 0x18
or ebx, eax
movzx eax, byte [ecx + 1]
inc ecx
movzx ecx, byte [ecx + 1]
shl eax, 8
or eax, ecx
or ebx, eax
mov eax, edx
shr eax, 0x18
mov byte [esp + 0x30], al
mov eax, edx
shr eax, 0x10
mov ecx, edx
mov byte [esp + 0x31], al
mov eax, edx
mov byte [esp + 0x33], dl
shr eax, 8
mov edx, ebx
shr edx, 0x18
mov byte [esp + 0x32], al
mov byte [esp + 0x34], dl
mov eax, ebx
mov edx, ebx
shr eax, 0x10
shr edx, 8
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], 0
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], ebx
mov byte [esp + 0x35], al
mov byte [esp + 0x36], dl
mov byte [esp + 0x37], bl
test esi, esi
je 0x10061b10
mov edx, ebx
dec dword [esp + 0x14]
test edi, edi
jne 0x10061a74
mov eax, dword [esp + 0x2c]
lea esi, [esp + 0x20]
call fcn.10060c60
mov ecx, dword [esp + 0x20]
mov eax, ecx
shr eax, 0x18
mov byte [esp + 0x30], al
mov edx, ecx
shr edx, 0x10
mov eax, ecx
shr eax, 8
mov byte [esp + 0x32], al
mov byte [esp + 0x31], dl
mov edx, dword [esp + 0x24]
mov eax, edx
shr eax, 0x18
mov byte [esp + 0x34], al
mov eax, edx
shr eax, 0x10
mov byte [esp + 0x35], al
mov eax, edx
shr eax, 8
inc dword [esp + 0x10]
mov byte [esp + 0x33], cl
mov byte [esp + 0x36], al
mov byte [esp + 0x37], dl
mov bl, byte [esp + edi + 0x30]
mov eax, dword [esp + 0x40]
xor bl, byte [eax]
mov esi, dword [esp + 0x1c]
inc edi
mov byte [esi], bl
inc esi
inc eax
and edi, 7
cmp dword [esp + 0x14], 0
mov dword [esp + 0x1c], esi
mov dword [esp + 0x40], eax
jne 0x10061a15
cmp dword [esp + 0x10], 0
je 0x10061af7
mov eax, ecx
shr eax, 0x18
mov byte [ebp], al
mov eax, dword [esp + 0x28]
mov ebx, ecx
shr ebx, 0x10
mov byte [eax], bl
mov ebx, ecx
inc eax
shr ebx, 8
mov byte [eax], bl
mov byte [eax + 1], cl
inc eax
inc eax
mov ecx, edx
shr ecx, 0x18
mov byte [eax], cl
mov ecx, edx
inc eax
shr ecx, 0x10
mov byte [eax], cl
inc eax
mov ecx, edx
shr ecx, 8
mov byte [eax], cl
mov byte [eax + 1], dl
mov edx, dword [esp + 0x18]
mov dword [edx], edi
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.100ae60d
add esp, 0x2c
ret
mov eax, dword [esp + 0x18]
mov dword [eax], edi
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.100ae60d
add esp, 0x2c
ret
mov ecx, dword [esp + 0x18]
mov dword [ecx], edi
mov ecx, dword [esp + 0x38]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100ae60d
add esp, 0x2c
ret
Function at 0x100652b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x2c
mov eax, dword [0x1010d170]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push ebp
push esi
mov ebp, dword [esp + 0x44]
movzx edx, byte [edi + 1]
mov eax, dword [esp + 0x40]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x14], eax
mov dword [esp + 0x28], ecx
movzx ecx, byte [edi]
mov esi, dword [eax]
lea eax, [edi + 1]
mov dword [esp + 0x24], eax
inc eax
inc eax
shl edx, 0x10
shl ecx, 0x18
or ecx, edx
movzx edx, byte [eax - 1]
inc eax
movzx ebx, byte [eax + 1]
shl edx, 8
inc eax
or ecx, edx
movzx edx, byte [eax - 2]
or ecx, edx
movzx edx, byte [eax - 1]
inc eax
shl ebx, 0x10
shl edx, 0x18
or edx, ebx
movzx ebx, byte [eax]
movzx eax, byte [eax + 1]
shl ebx, 8
or ebx, eax
mov eax, ecx
shr eax, 0x18
mov byte [esp + 0x2c], al
mov eax, ecx
shr eax, 0x10
mov byte [esp + 0x2d], al
or edx, ebx
mov eax, ecx
shr eax, 8
mov byte [esp + 0x2e], al
mov eax, edx
shr eax, 0x18
mov byte [esp + 0x30], al
mov eax, edx
shr eax, 0x10
mov byte [esp + 0x31], al
mov eax, edx
shr eax, 8
mov dword [esp + 0x10], ebp
mov dword [esp + 0xc], 0
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
mov byte [esp + 0x2f], cl
mov byte [esp + 0x32], al
mov byte [esp + 0x33], dl
test ebp, ebp
je 0x1006547e
lea ecx, [ecx]
mov ebp, 1
sub dword [esp + 0x10], ebp
test esi, esi
jne 0x100653e4
mov eax, dword [esp + 0x28]
lea ebx, [esp + 0x1c]
call fcn.10064250
mov ecx, dword [esp + 0x1c]
mov edx, ecx
shr edx, 0x18
mov byte [esp + 0x2c], dl
mov edx, ecx
shr edx, 8
mov eax, ecx
shr eax, 0x10
mov byte [esp + 0x2d], al
mov byte [esp + 0x2e], dl
mov edx, dword [esp + 0x20]
mov eax, edx
shr eax, 0x18
mov byte [esp + 0x30], al
mov eax, edx
shr eax, 0x10
mov byte [esp + 0x31], al
mov eax, edx
shr eax, 8
add dword [esp + 0xc], ebp
mov byte [esp + 0x2f], cl
mov byte [esp + 0x32], al
mov byte [esp + 0x33], dl
mov bl, byte [esp + esi + 0x2c]
mov eax, dword [esp + 0x3c]
xor bl, byte [eax]
mov ebp, dword [esp + 0x18]
inc esi
mov byte [ebp], bl
inc ebp
inc eax
and esi, 7
cmp dword [esp + 0x10], 0
mov dword [esp + 0x18], ebp
mov dword [esp + 0x3c], eax
jne 0x10065380
cmp dword [esp + 0xc], 0
je 0x10065466
mov eax, ecx
shr eax, 0x18
mov byte [edi], al
mov eax, dword [esp + 0x24]
mov ebx, ecx
shr ebx, 0x10
mov byte [eax], bl
mov ebx, ecx
inc eax
shr ebx, 8
mov byte [eax], bl
mov byte [eax + 1], cl
inc eax
inc eax
mov ecx, edx
shr ecx, 0x18
mov byte [eax], cl
mov ecx, edx
inc eax
shr ecx, 0x10
mov byte [eax], cl
inc eax
mov ecx, edx
shr ecx, 8
mov byte [eax], cl
mov byte [eax + 1], dl
mov edx, dword [esp + 0x14]
mov dword [edx], esi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.100ae60d
add esp, 0x2c
ret
mov eax, dword [esp + 0x14]
mov dword [eax], esi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.100ae60d
add esp, 0x2c
ret
mov ecx, dword [esp + 0x14]
mov dword [ecx], esi
mov ecx, dword [esp + 0x34]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100ae60d
add esp, 0x2c
ret