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

Disassembly:
mov eax, 4
call fcn.10033890
mov eax, dword [esp + 0x20]
mov eax, dword [eax]
test eax, eax
push ebx
push ebp
mov ebp, dword [esp + 0x18]
push esi
push edi
mov dword [esp + 0x10], eax
je 0x1004f384
test ebp, ebp
je 0x1004f384
mov ecx, dword [esp + 0x2c]
mov dl, byte [eax + ecx]
mov esi, dword [esp + 0x18]
xor dl, byte [esi]
mov ecx, dword [esp + 0x1c]
mov byte [ecx], dl
add ecx, 1
add esi, 1
add eax, 1
sub ebp, 1
and eax, 0xf
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], esi
mov dword [esp + 0x10], eax
jne 0x1004f350
mov esi, dword [esp + 0x28]
movzx ecx, byte [esi + 0xe]
movzx edx, byte [esi + 0xf]
xor ebx, ebx
mov bh, byte [esi + 0xc]
mov bl, byte [esi + 0xd]
shl ebx, 8
or ebx, ecx
shl ebx, 8
or ebx, edx
cmp ebp, 0x10
jb 0x1004f42a
jmp 0x1004f3b0
mov edi, ebp
shr edi, 4
add ebx, edi
cmp ebx, edi
jae 0x1004f3bf
sub edi, ebx
xor ebx, ebx
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push esi
push eax
push edi
push ecx
push edx
call dword [esp + 0x48]
mov eax, ebx
mov ecx, ebx
mov edx, ebx
shr eax, 0x18
shr ecx, 0x10
shr edx, 8
add esp, 0x14
test ebx, ebx
mov byte [esi + 0xc], al
mov byte [esi + 0xd], cl
mov byte [esi + 0xe], dl
mov byte [esi + 0xf], bl
jne 0x1004f414
mov eax, 0xc
mov ecx, 1
movzx edx, byte [eax + esi - 1]
sub eax, 1
add ecx, edx
mov byte [eax + esi], cl
shr ecx, 8
test eax, eax
jne 0x1004f400
shl edi, 4
add dword [esp + 0x1c], edi
add dword [esp + 0x18], edi
sub ebp, edi
cmp ebp, 0x10
jae 0x1004f3b0
mov eax, dword [esp + 0x10]
test ebp, ebp
je 0x1004f4b0
mov edi, dword [esp + 0x2c]
xor eax, eax
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
push esi
mov dword [edi + 0xc], eax
mov eax, dword [esp + 0x28]
push eax
push 1
push edi
push edi
call dword [esp + 0x48]
add ebx, 1
mov ecx, ebx
mov edx, ebx
mov eax, ebx
shr ecx, 0x18
shr edx, 0x10
shr eax, 8
add esp, 0x14
test ebx, ebx
mov byte [esi + 0xc], cl
mov byte [esi + 0xd], dl
mov byte [esi + 0xe], al
mov byte [esi + 0xf], bl
jne 0x1004f47d
mov edx, esi
call fcn.1004f300
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
lea eax, [edx + edi]
sub ecx, edi
sub esi, edi
add edx, ebp
mov bl, byte [ecx + eax]
xor bl, byte [eax]
sub ebp, 1
mov byte [esi + eax], bl
add eax, 1
test ebp, ebp
jne 0x1004f492
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
mov dword [ecx], edx
pop ebx
pop ecx
ret
mov edx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
mov dword [edx], eax
pop ebx
pop ecx
ret
Function at 0x1004fc50
Capabilities:
Encode data using xor

Disassembly:
mov eax, 8
call fcn.10033890
xor eax, eax
push ebx
mov ebx, dword [esp + 0x18]
cmp ebx, 0xc
push esi
mov esi, dword [esp + 0x14]
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x16c], eax
mov dword [esi + 0x168], eax
jne 0x1004fcbc
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov dword [esi], ecx
mov edx, dword [eax + 4]
mov dword [esi + 4], edx
mov eax, dword [eax + 8]
mov dword [esi + 8], eax
mov byte [esi + 0xf], 1
mov ebx, 1
jmp 0x1004fdec
cmp ebx, 0x10
mov ecx, ebx
push edi
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
jb 0x1004fd3b
mov edi, dword [esp + 0x1c]
mov eax, ebx
sub edi, esi
shr eax, 4
mov dword [esp + 0x18], eax
push ebp
lea esp, [esp]
mov ecx, dword [esp + 0x20]
add ecx, 2
mov eax, esi
mov ebp, 4
mov edi, edi
movzx edx, byte [edi + eax]
xor byte [eax], dl
movzx edx, byte [ecx - 1]
xor byte [eax + 1], dl
movzx edx, byte [ecx]
xor byte [eax + 2], dl
movzx edx, byte [ecx + 1]
xor byte [eax + 3], dl
add eax, 4
add ecx, 4
sub ebp, 1
jne 0x1004fcf0
lea eax, [esi + 0x60]
push eax
push esi
call fcn.1004f820
add dword [esp + 0x28], 0x10
add esp, 8
add edi, 0x10
sub ebx, 0x10
sub dword [esp + 0x1c], 1
jne 0x1004fce0
mov ecx, dword [esp + 0x10]
xor eax, eax
pop ebp
cmp ebx, eax
je 0x1004fd6e
jbe 0x1004fd5d
mov ecx, dword [esp + 0x1c]
mov eax, esi
sub ecx, esi
mov edi, ebx
jmp 0x1004fd50
mov dl, byte [eax + ecx]
xor byte [eax], dl
add eax, 1
sub edi, 1
jne 0x1004fd50
lea eax, [esi + 0x60]
push eax
push esi
call fcn.1004f820
mov ecx, dword [esp + 0x14]
add esp, 8
mov eax, dword [esp + 0x10]
shld eax, ecx, 3
mov edx, eax
shr edx, 0x18
xor byte [esi + 8], dl
mov edx, eax
shr edx, 0x10
xor byte [esi + 9], dl
mov edx, eax
shr edx, 8
xor byte [esi + 0xa], dl
add ecx, ecx
mov edx, eax
xor byte [esi + 0xb], dl
add ecx, ecx
add ecx, ecx
xor byte [esi + 0xf], cl
mov edi, eax
mov edx, ecx
shrd edx, edi, 0x18
xor byte [esi + 0xc], dl
shr edi, 0x18
mov edi, eax
mov edx, ecx
shrd edx, edi, 0x10
xor byte [esi + 0xd], dl
mov edx, ecx
shrd edx, eax, 8
xor byte [esi + 0xe], dl
shr eax, 8
lea eax, [esi + 0x60]
push eax
push esi
shr edi, 0x10
call fcn.1004f820
movzx ecx, byte [esi + 0xe]
movzx edx, byte [esi + 0xf]
xor ebx, ebx
mov bh, byte [esi + 0xc]
add esp, 8
pop edi
mov bl, byte [esi + 0xd]
shl ebx, 8
or ebx, ecx
shl ebx, 8
or ebx, edx
mov eax, dword [esi + 0x174]
mov edx, dword [esi + 0x170]
push eax
lea ecx, [esi + 0x20]
push ecx
push esi
call edx
add ebx, 1
mov eax, ebx
mov ecx, ebx
add esp, 0xc
mov edx, ebx
shr eax, 0x18
shr ecx, 0x10
shr edx, 8
mov byte [esi + 0xf], bl
mov byte [esi + 0xc], al
mov byte [esi + 0xd], cl
mov byte [esi + 0xe], dl
pop esi
pop ebx
add esp, 8
ret
Function at 0x1004fe30
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 8]
mov eax, dword [esi + 0x38]
or eax, dword [esi + 0x3c]
je 0x1004fe44
mov eax, 0xfffffffe
pop esi
ret
push ebx
mov ebx, dword [esp + 0x14]
xor eax, eax
mov ecx, ebx
add ecx, dword [esi + 0x30]
adc eax, dword [esi + 0x34]
cmp eax, 0x20000000
ja 0x1004fefc
jb 0x1004fe68
test ecx, ecx
ja 0x1004fefc
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov edi, dword [esi + 0x16c]
test edi, edi
mov dword [esi + 0x30], ecx
mov dword [esi + 0x34], eax
je 0x1004feaf
mov edi, edi
test ebx, ebx
je 0x1004fe9b
mov cl, byte [ebp]
xor byte [edi + esi + 0x40], cl
add edi, 1
add ebp, 1
sub ebx, 1
and edi, 0xf
jne 0x1004fe80
jmp 0x1004fe9f
test edi, edi
jne 0x1004feef
lea edx, [esi + 0x60]
push edx
lea eax, [esi + 0x40]
push eax
call fcn.1004f820
add esp, 8
mov eax, ebx
and eax, 0xfffffff0
mov dword [esp + 0x14], eax
je 0x1004fed5
push eax
lea ecx, [esi + 0x60]
push ecx
lea edx, [esi + 0x40]
push edx
mov ecx, ebp
call fcn.1004f9a0
mov eax, dword [esp + 0x20]
add esp, 0xc
add ebp, eax
sub ebx, eax
test ebx, ebx
je 0x1004feef
xor eax, eax
test ebx, ebx
mov edi, ebx
jbe 0x1004feef
mov cl, byte [eax + ebp]
xor byte [esi + eax + 0x40], cl
add eax, 1
cmp eax, ebx
jb 0x1004fee1
mov dword [esi + 0x16c], edi
pop edi
pop ebp
pop ebx
xor eax, eax
pop esi
ret
pop ebx
or eax, 0xffffffff
pop esi
ret
Function at 0x10052590
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x30
call fcn.10033890
mov eax, dword [0x1012f5f0]
xor eax, esp
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x44]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x40]
mov bl, byte [esi]
test bl, 0x40
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x28]
mov dword [esp + 0x14], ecx
mov ecx, dword [esi + 0x2c]
mov dword [esp + 0x24], edx
mov byte [esp + 0xf], bl
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], ecx
jne 0x100525e8
push ecx
lea ecx, [esi + 0x10]
push ecx
push esi
call eax
add esp, 0xc
movzx eax, bl
and eax, 7
mov ebx, 0xf
sub ebx, eax
mov byte [esi], al
mov eax, ebx
xor ecx, ecx
cmp eax, 0xf
mov dword [esp + 0x20], ebx
jae 0x10052619
movzx edx, byte [esi + eax]
or ecx, edx
mov byte [esi + eax], 0
add eax, 1
shl ecx, 8
cmp eax, 0xf
jb 0x10052604
movzx eax, byte [esi + 0xf]
mov ebp, dword [esp + 0x4c]
or ecx, eax
cmp ecx, ebp
mov byte [esi + 0xf], 1
je 0x10052640
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.1001d3e9
add esp, 0x30
ret
push edi
mov edi, ebp
shr edi, 4
je 0x1005267f
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
lea ecx, [esi + 0x10]
push ecx
mov ecx, dword [esp + 0x20]
push esi
push edx
push edi
push eax
push ecx
call dword [esp + 0x40]
shl edi, 4
mov edx, edi
add dword [esp + 0x34], edx
add dword [esp + 0x30], edx
add esp, 0x18
sub ebp, edx
je 0x100526dc
shr edx, 4
mov ecx, esi
call fcn.10052340
test ebp, ebp
je 0x100526dc
mov edx, dword [esp + 0x14]
push edx
lea eax, [esp + 0x30]
push eax
push esi
call dword [esp + 0x2c]
add esp, 0xc
xor eax, eax
test ebp, ebp
jbe 0x100526cb
mov edi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
lea ecx, [esp + 0x2c]
mov edx, ecx
sub edi, ecx
sub ebx, edx
lea ecx, [ecx]
lea edx, [esp + eax + 0x2c]
mov cl, byte [edi + edx]
xor cl, byte [edx]
add eax, 1
mov byte [ebx + edx], cl
xor byte [esi + eax + 0xf], cl
cmp eax, ebp
jb 0x100526b0
mov ebx, dword [esp + 0x24]
mov ecx, dword [esp + 0x14]
lea eax, [esi + 0x10]
push ecx
push eax
push eax
call dword [esp + 0x2c]
add esp, 0xc
cmp ebx, 0x10
pop edi
jae 0x100526f8
mov edx, 0x10
sub edx, ebx
push edx
lea eax, [esi + ebx]
push 0
push eax
call fcn.10027680
add esp, 0xc
mov eax, dword [esp + 0x10]
push eax
lea ecx, [esp + 0x2c]
push ecx
push esi
call dword [esp + 0x28]
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
xor dword [esi + 0x14], eax
xor dword [esi + 0x10], edx
mov ecx, dword [esp + 0x3c]
xor dword [esi + 0x18], ecx
mov al, byte [esp + 0x1b]
mov edx, dword [esp + 0x40]
xor dword [esi + 0x1c], edx
mov ecx, dword [esp + 0x44]
add esp, 0xc
mov byte [esi], al
pop esi
pop ebp
pop ebx
xor ecx, esp
xor eax, eax
call fcn.1001d3e9
add esp, 0x30
ret
Function at 0x10054040
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, 0x28
call fcn.10033890
mov eax, dword [0x1012f5f0]
xor eax, esp
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 4], eax
push ebx
push ebp
push esi
mov esi, dword [eax]
push edi
mov edi, dword [esp + 0x4c]
movzx edx, byte [edi + 1]
mov dword [esp + 0x18], ecx
movzx ecx, byte [edi]
lea eax, [edi + 1]
mov dword [esp + 0x28], eax
add eax, 1
shl edx, 0x10
add eax, 1
shl ecx, 0x18
or ecx, edx
xor edx, edx
mov dh, byte [eax - 1]
add eax, 1
movzx ebx, byte [eax + 1]
add eax, 1
add eax, 1
or ecx, edx
movzx edx, byte [eax - 3]
or ecx, edx
movzx edx, byte [eax - 2]
shl ebx, 0x10
shl edx, 0x18
or edx, ebx
xor ebx, ebx
mov bh, byte [eax]
mov ebp, dword [esp + 0x40]
mov dword [esp + 0x10], 0
mov dword [esp + 0x1c], ecx
mov byte [esp + 0x2f], cl
mov bl, byte [eax + 1]
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
cmp dword [esp + 0x44], 0
mov dword [esp + 0x20], edx
mov byte [esp + 0x32], al
mov byte [esp + 0x33], dl
je 0x10054225
mov ebx, dword [esp + 0x3c]
sub dword [esp + 0x18], 1
test esi, esi
jne 0x10054189
mov ecx, dword [esp + 0x24]
push ecx
lea edx, [esp + 0x20]
push edx
call fcn.10052f20
mov ecx, dword [esp + 0x24]
mov eax, ecx
shr eax, 0x18
mov byte [esp + 0x34], al
mov edx, ecx
shr edx, 0x10
mov eax, ecx
shr eax, 8
mov byte [esp + 0x36], al
mov byte [esp + 0x35], dl
mov edx, dword [esp + 0x28]
mov eax, edx
shr eax, 0x18
mov byte [esp + 0x38], al
mov eax, edx
shr eax, 0x10
mov byte [esp + 0x39], al
mov eax, edx
shr eax, 8
add esp, 8
add dword [esp + 0x10], 1
mov byte [esp + 0x2f], cl
mov byte [esp + 0x32], al
mov byte [esp + 0x33], dl
mov al, byte [esp + esi + 0x2c]
xor al, byte [ebx]
add esi, 1
mov byte [ebp], al
add ebp, 1
add ebx, 1
and esi, 7
cmp dword [esp + 0x18], 0
jne 0x10054123
cmp dword [esp + 0x10], 0
je 0x1005420c
mov eax, ecx
shr eax, 0x18
mov byte [edi], al
mov eax, dword [esp + 0x28]
mov ebx, ecx
shr ebx, 0x10
mov byte [eax], bl
mov ebx, ecx
add eax, 1
shr ebx, 8
mov byte [eax], bl
mov byte [eax + 1], cl
add eax, 1
add eax, 1
mov ecx, edx
shr ecx, 0x18
mov byte [eax], cl
mov ecx, edx
add eax, 1
shr ecx, 0x10
mov byte [eax], cl
add eax, 1
mov ecx, edx
shr ecx, 8
mov byte [eax], cl
mov byte [eax + 1], dl
mov edx, dword [esp + 0x14]
pop edi
mov dword [edx], esi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.1001d3e9
add esp, 0x28
ret
mov eax, dword [esp + 0x14]
pop edi
mov dword [eax], esi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.1001d3e9
add esp, 0x28
ret
mov ecx, dword [esp + 0x14]
pop edi
mov dword [ecx], esi
mov ecx, dword [esp + 0x30]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1001d3e9
add esp, 0x28
ret
Function at 0x10056530
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, 0x28
call fcn.10033890
mov eax, dword [0x1012f5f0]
xor eax, esp
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 4], eax
push ebx
push ebp
push esi
mov esi, dword [eax]
push edi
mov edi, dword [esp + 0x4c]
movzx edx, byte [edi + 1]
mov dword [esp + 0x18], ecx
movzx ecx, byte [edi]
lea eax, [edi + 1]
mov dword [esp + 0x28], eax
add eax, 1
shl edx, 0x10
add eax, 1
shl ecx, 0x18
or ecx, edx
xor edx, edx
mov dh, byte [eax - 1]
add eax, 1
movzx ebx, byte [eax + 1]
add eax, 1
add eax, 1
or ecx, edx
movzx edx, byte [eax - 3]
or ecx, edx
movzx edx, byte [eax - 2]
shl ebx, 0x10
shl edx, 0x18
or edx, ebx
xor ebx, ebx
mov bh, byte [eax]
mov ebp, dword [esp + 0x40]
mov dword [esp + 0x10], 0
mov dword [esp + 0x1c], ecx
mov byte [esp + 0x2f], cl
mov bl, byte [eax + 1]
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
cmp dword [esp + 0x44], 0
mov dword [esp + 0x20], edx
mov byte [esp + 0x32], al
mov byte [esp + 0x33], dl
je 0x10056715
mov ebx, dword [esp + 0x3c]
sub dword [esp + 0x18], 1
test esi, esi
jne 0x10056679
mov ecx, dword [esp + 0x24]
push ecx
lea edx, [esp + 0x20]
push edx
call fcn.10055550
mov ecx, dword [esp + 0x24]
mov eax, ecx
shr eax, 0x18
mov byte [esp + 0x34], al
mov edx, ecx
shr edx, 0x10
mov eax, ecx
shr eax, 8
mov byte [esp + 0x36], al
mov byte [esp + 0x35], dl
mov edx, dword [esp + 0x28]
mov eax, edx
shr eax, 0x18
mov byte [esp + 0x38], al
mov eax, edx
shr eax, 0x10
mov byte [esp + 0x39], al
mov eax, edx
shr eax, 8
add esp, 8
add dword [esp + 0x10], 1
mov byte [esp + 0x2f], cl
mov byte [esp + 0x32], al
mov byte [esp + 0x33], dl
mov al, byte [esp + esi + 0x2c]
xor al, byte [ebx]
add esi, 1
mov byte [ebp], al
add ebp, 1
add ebx, 1
and esi, 7
cmp dword [esp + 0x18], 0
jne 0x10056613
cmp dword [esp + 0x10], 0
je 0x100566fc
mov eax, ecx
shr eax, 0x18
mov byte [edi], al
mov eax, dword [esp + 0x28]
mov ebx, ecx
shr ebx, 0x10
mov byte [eax], bl
mov ebx, ecx
add eax, 1
shr ebx, 8
mov byte [eax], bl
mov byte [eax + 1], cl
add eax, 1
add eax, 1
mov ecx, edx
shr ecx, 0x18
mov byte [eax], cl
mov ecx, edx
add eax, 1
shr ecx, 0x10
mov byte [eax], cl
add eax, 1
mov ecx, edx
shr ecx, 8
mov byte [eax], cl
mov byte [eax + 1], dl
mov edx, dword [esp + 0x14]
pop edi
mov dword [edx], esi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.1001d3e9
add esp, 0x28
ret
mov eax, dword [esp + 0x14]
pop edi
mov dword [eax], esi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.1001d3e9
add esp, 0x28
ret
mov ecx, dword [esp + 0x14]
pop edi
mov dword [ecx], esi
mov ecx, dword [esp + 0x30]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1001d3e9
add esp, 0x28
ret
Function at 0x10056730
Capabilities:
Encrypt data using blowfish

Disassembly:
mov eax, 8
call fcn.10033890
push ebx
mov ebx, dword [esp + 0x10]
push esi
push 0x1048
push 0x10101400
push ebx
call fcn.10024b20
mov ecx, dword [esp + 0x24]
add esp, 0xc
cmp ecx, 0x48
jle 0x10056761
mov ecx, 0x48
push edi
mov edi, dword [esp + 0x20]
mov eax, edi
add ecx, edi
lea esi, [ebx + 8]
mov dword [esp + 0x18], 6
push ebp
movzx edx, byte [eax]
add eax, 1
cmp eax, ecx
jb 0x10056782
mov eax, edi
movzx ebp, byte [eax]
shl edx, 8
add eax, 1
or edx, ebp
cmp eax, ecx
jb 0x10056793
mov eax, edi
movzx ebp, byte [eax]
shl edx, 8
add eax, 1
or edx, ebp
cmp eax, ecx
jb 0x100567a4
mov eax, edi
movzx ebp, byte [eax]
shl edx, 8
add eax, 1
or edx, ebp
cmp eax, ecx
jb 0x100567b5
mov eax, edi
xor dword [esi - 8], edx
movzx edx, byte [eax]
add eax, 1
cmp eax, ecx
jb 0x100567c4
mov eax, edi
movzx ebp, byte [eax]
shl edx, 8
add eax, 1
or edx, ebp
cmp eax, ecx
jb 0x100567d5
mov eax, edi
movzx ebp, byte [eax]
shl edx, 8
add eax, 1
or edx, ebp
cmp eax, ecx
jb 0x100567e6
mov eax, edi
movzx ebp, byte [eax]
shl edx, 8
add eax, 1
or edx, ebp
cmp eax, ecx
jb 0x100567f7
mov eax, edi
xor dword [esi - 4], edx
movzx edx, byte [eax]
add eax, 1
cmp eax, ecx
jb 0x10056806
mov eax, edi
movzx ebp, byte [eax]
shl edx, 8
add eax, 1
or edx, ebp
cmp eax, ecx
jb 0x10056817
mov eax, edi
movzx ebp, byte [eax]
shl edx, 8
add eax, 1
or edx, ebp
cmp eax, ecx
jb 0x10056828
mov eax, edi
movzx ebp, byte [eax]
shl edx, 8
add eax, 1
or edx, ebp
cmp eax, ecx
jb 0x10056839
mov eax, edi
xor dword [esi], edx
add esi, 0xc
sub dword [esp + 0x1c], 1
jne 0x10056776
xor edi, edi
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], edi
xor esi, esi
pop ebp
lea eax, [esp + 0xc]
push ebx
push eax
call fcn.10055550
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [ebx + esi*4], ecx
mov dword [ebx + esi*4 + 4], edx
add esi, 2
add esp, 8
cmp esi, 0x12
jl 0x10056856
xor esi, esi
pop edi
mov edi, edi
lea eax, [esp + 8]
push ebx
push eax
call fcn.10055550
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [ebx + esi*4 + 0x48], ecx
mov dword [ebx + esi*4 + 0x4c], edx
add esi, 2
add esp, 8
cmp esi, 0x400
jl 0x10056880
pop esi
pop ebx
add esp, 8
ret
Function at 0x100573d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, 0x28
call fcn.10033890
mov eax, dword [0x1012f5f0]
xor eax, esp
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
push ebx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 8], eax
xor edx, edx
push ebp
push esi
mov esi, dword [eax]
push edi
mov edi, dword [esp + 0x4c]
mov dh, byte [edi + 1]
lea eax, [edi + 1]
mov dword [esp + 0x28], eax
add eax, 1
mov dword [esp + 0x18], ecx
movzx ecx, byte [edi]
or ecx, edx
movzx edx, byte [eax]
add eax, 1
shl edx, 0x10
or ecx, edx
movzx edx, byte [eax]
add eax, 1
shl edx, 0x18
or ecx, edx
movzx edx, byte [eax]
add eax, 1
xor ebx, ebx
mov bh, byte [eax]
add eax, 1
mov ebp, dword [esp + 0x40]
mov byte [esp + 0x2c], cl
mov dword [esp + 0x10], 0
or edx, ebx
xor ebx, ebx
mov bh, byte [eax + 1]
mov bl, byte [eax]
mov eax, ecx
shr eax, 8
mov byte [esp + 0x2d], al
mov eax, ecx
shr eax, 0x10
mov byte [esp + 0x2e], al
shl ebx, 0x10
or edx, ebx
mov ebx, ecx
shr ecx, 0x18
mov byte [esp + 0x2f], cl
mov ecx, edx
mov eax, edx
mov dword [esp + 0x20], edx
mov byte [esp + 0x30], dl
shr ecx, 8
shr eax, 0x10
shr edx, 0x18
cmp dword [esp + 0x44], 0
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x31], cl
mov byte [esp + 0x32], al
mov byte [esp + 0x33], dl
je 0x100575af
sub dword [esp + 0x18], 1
test esi, esi
jne 0x1005750b
mov ecx, dword [esp + 0x24]
push ecx
lea edx, [esp + 0x20]
push edx
call fcn.100568b0
mov ebx, dword [esp + 0x24]
mov eax, ebx
shr eax, 8
mov ecx, ebx
shr ecx, 0x10
mov edx, ebx
shr edx, 0x18
mov byte [esp + 0x35], al
mov eax, dword [esp + 0x28]
mov byte [esp + 0x36], cl
mov byte [esp + 0x37], dl
mov ecx, eax
mov edx, eax
mov byte [esp + 0x38], al
shr ecx, 8
shr edx, 0x10
shr eax, 0x18
add esp, 8
add dword [esp + 0x10], 1
mov byte [esp + 0x2c], bl
mov byte [esp + 0x31], cl
mov byte [esp + 0x32], dl
mov byte [esp + 0x33], al
mov cl, byte [esp + esi + 0x2c]
mov eax, dword [esp + 0x3c]
xor cl, byte [eax]
add esi, 1
mov byte [ebp], cl
add eax, 1
add ebp, 1
and esi, 7
cmp dword [esp + 0x18], 0
mov dword [esp + 0x3c], eax
jne 0x100574a7
cmp dword [esp + 0x10], 0
je 0x10057596
mov eax, dword [esp + 0x28]
mov byte [edi], bl
mov edx, ebx
shr edx, 8
mov byte [eax], dl
add eax, 1
mov ecx, ebx
shr ecx, 0x10
mov byte [eax], cl
mov ecx, dword [esp + 0x20]
add eax, 1
shr ebx, 0x18
mov byte [eax], bl
mov byte [eax + 1], cl
add eax, 1
add eax, 1
mov edx, ecx
shr edx, 8
mov byte [eax], dl
add eax, 1
mov edx, ecx
shr edx, 0x10
mov byte [eax], dl
shr ecx, 0x18
mov byte [eax + 1], cl
mov eax, dword [esp + 0x14]
pop edi
mov dword [eax], esi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.1001d3e9
add esp, 0x28
ret
mov ecx, dword [esp + 0x14]
pop edi
mov dword [ecx], esi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.1001d3e9
add esp, 0x28
ret
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x34]
pop edi
mov dword [edx], esi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1001d3e9
add esp, 0x28
ret
Function at 0x100575d0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov eax, dword [esp + 8]
cmp eax, 0x80
push ebx
push esi
push edi
mov edi, dword [esp + 0x10]
mov byte [edi], 0
jle 0x100575ea
mov eax, 0x80
mov ecx, dword [esp + 0x1c]
test ecx, ecx
jle 0x100575fa
cmp ecx, 0x400
jle 0x100575ff
mov ecx, 0x400
test eax, eax
jle 0x1005761e
mov esi, dword [esp + 0x18]
push ebp
mov edx, edi
sub esi, edi
mov ebp, eax
mov edi, edi
mov bl, byte [esi + edx]
mov byte [edx], bl
add edx, 1
sub ebp, 1
jne 0x10057610
pop ebp
cmp eax, 0x80
movzx edx, byte [edi + eax - 1]
jge 0x10057650
mov esi, edi
sub esi, eax
mov edi, edi
movzx ebx, byte [esi + eax]
add ebx, edx
and ebx, 0xff
movzx edx, byte [ebx + 0x10102470]
mov byte [eax + edi], dl
add eax, 1
cmp eax, 0x80
jl 0x10057630
lea edx, [ecx + 7]
neg ecx
sar edx, 3
mov eax, 0x80
and ecx, 7
sub eax, edx
lea esi, [eax + edi]
mov ebx, 0xff
sar ebx, cl
movzx ecx, byte [esi]
and ebx, ecx
test eax, eax
movzx ecx, byte [ebx + 0x10102470]
mov byte [esi], cl
je 0x1005769a
mov edi, edi
movzx ebx, byte [esi + edx - 1]
sub esi, 1
xor ebx, ecx
movzx ecx, byte [ebx + 0x10102470]
sub eax, 1
test eax, eax
mov byte [esi], cl
jne 0x10057680
lea ecx, [edi + 0xfc]
lea eax, [edi + 0x7e]
mov esi, 0x40
xor edx, edx
mov dh, byte [eax + 1]
sub ecx, 4
sub eax, 2
mov dl, byte [eax + 2]
and edx, 0xffff
sub esi, 1
mov dword [ecx + 4], edx
jne 0x100576a8
pop edi
pop esi
pop ebx
ret

Function at 0x10057a20
Capabilities:
Encode data using xor

Disassembly:
cmp dword [esp + 0x18], 0
je 0x10057a34
mov dword [esp + 0x18], fcn.10058580
jmp fcn.1004d4d0
mov dword [esp + 0x18], fcn.10059330
jmp fcn.1004d670