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

Disassembly:
mov eax, 0x34
call fcn.101b79b0
mov eax, dword [0x1027e110]
xor eax, esp
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x38]
push ebx
push esi
mov esi, dword [esp + 0x44]
mov ebx, edx
lea edx, [esi - 1]
cmp edx, 0x7f
push edi
mov edi, dword [esp + 0x50]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x4c]
ja 0x101328ed
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 0x101327d9
test esi, esi
jle 0x10132820
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
lea ecx, [ecx]
mov al, byte [edx + ecx]
xor al, byte [ecx]
mov ebx, dword [esp + 0x14]
mov byte [ecx + ebp], al
mov byte [ebx + ecx], al
add ecx, 1
sub esi, 1
jne 0x101327c0
jmp 0x10132820
xor ebp, ebp
test esi, esi
jle 0x10132820
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 0x10132804
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]
add ebp, 1
cmp ebp, esi
mov byte [eax + ecx], dl
jl 0x10132800
mov eax, dword [esp + 0x4c]
mov ecx, eax
and ecx, reloc.WS2_32.dll_getsockopt
jns 0x10132833
dec ecx
or ecx, 0xfffffff8
inc ecx
cdq
and edx, 7
add eax, edx
sar eax, 3
test ecx, ecx
mov dword [esp + 0x14], ecx
jne 0x10132874
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.101b40e2
add esp, 0x34
ret
mov dl, 8
sub dl, cl
mov byte [esp + 0x13], dl
add edi, 1
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 0x10132888
pop ebp
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.101b40e2
add esp, 0x34
ret
Function at 0x10132a30
Capabilities:
Encode data using xor

Disassembly:
mov eax, 4
call fcn.101b79b0
mov eax, dword [esp + 0x20]
push ebx
mov ebx, dword [eax]
test ebx, ebx
push ebp
push esi
mov esi, dword [esp + 0x28]
push edi
mov edi, dword [esp + 0x20]
je 0x10132a81
test edi, edi
je 0x10132a81
mov cl, byte [ebx + esi]
mov ebp, dword [esp + 0x18]
xor cl, byte [ebp]
mov eax, dword [esp + 0x1c]
mov byte [eax], cl
add eax, 1
add ebp, 1
add ebx, 1
sub edi, 1
and ebx, 0xf
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ebp
mov dword [esp + 0x20], ebx
jne 0x10132a50
cmp edi, 0x10
jb 0x10132afd
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov eax, edi
shr eax, 4
mov ebx, ecx
mov ebp, edx
mov dword [esp + 0x10], eax
shl eax, 4
add ecx, eax
sub ebx, esi
sub ebp, esi
add edx, eax
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
push edx
push esi
push eax
call dword [esp + 0x40]
mov edx, dword [esp + 0x34]
add esp, 0xc
call fcn.10132a00
mov eax, esi
mov ecx, 4
mov edx, dword [eax + ebp]
xor edx, dword [eax]
add eax, 4
sub ecx, 1
mov dword [ebx + eax - 4], edx
jne 0x10132ad8
sub edi, 0x10
add ebx, 0x10
add ebp, 0x10
sub dword [esp + 0x10], 1
jne 0x10132ab6
mov ebx, dword [esp + 0x20]
test edi, edi
je 0x10132b4e
mov eax, dword [esp + 0x24]
mov ebp, dword [esp + 0x28]
push eax
push esi
push ebp
call dword [esp + 0x40]
add esp, 0xc
mov edx, ebp
call fcn.10132a00
mov ebp, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
lea eax, [ebx + esi]
sub ebp, esi
sub ecx, esi
add ebx, edi
jmp 0x10132b30
mov dl, byte [eax + ebp]
xor dl, byte [eax]
sub edi, 1
mov byte [eax + ecx], dl
add eax, 1
test edi, edi
jne 0x10132b30
mov eax, dword [esp + 0x30]
pop edi
pop esi
pop ebp
mov dword [eax], ebx
pop ebx
pop ecx
ret
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
mov dword [ecx], ebx
pop ebx
pop ecx
ret
Function at 0x10132b90
Capabilities:
Encode data using xor

Disassembly:
mov eax, 4
call fcn.101b79b0
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 0x10132be4
test ebp, ebp
je 0x10132be4
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 0x10132bb0
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 0x10132c8a
jmp 0x10132c10
mov edi, ebp
shr edi, 4
add ebx, edi
cmp ebx, edi
jae 0x10132c1f
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 0x10132c74
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 0x10132c60
shl edi, 4
add dword [esp + 0x1c], edi
add dword [esp + 0x18], edi
sub ebp, edi
cmp ebp, 0x10
jae 0x10132c10
mov eax, dword [esp + 0x10]
test ebp, ebp
je 0x10132d10
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 0x10132cdd
mov edx, esi
call fcn.10132b60
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 0x10132cf2
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 0x10134a00
Capabilities:
Encode data using xor

Disassembly:
mov eax, 8
call fcn.101b79b0
push ebx
xor eax, eax
push ebp
mov ebp, dword [esp + 0x1c]
cmp ebp, 0xc
push esi
mov esi, dword [esp + 0x18]
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 0x10134a5d
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
mov dword [esi], edx
mov edx, dword [ecx + 4]
mov dword [esi + 4], edx
mov ecx, dword [ecx + 8]
mov dword [esi + 8], ecx
mov byte [esi + 0xc], al
mov byte [esi + 0xd], al
mov byte [esi + 0xe], al
mov byte [esi + 0xf], 1
lea ebx, [eax + 1]
jmp 0x10134b96
cmp ebp, 0x10
push edi
lea edi, [esi + 0x40]
mov ebx, ebp
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], eax
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], eax
jb 0x10134ada
mov eax, ebp
shr eax, 4
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x20]
lea eax, [esi + 0x41]
add ecx, 1
mov edx, 4
movzx ebx, byte [ecx - 1]
xor byte [eax - 1], bl
movzx ebx, byte [ecx]
xor byte [eax], bl
movzx ebx, byte [ecx + 1]
xor byte [eax + 1], bl
movzx ebx, byte [ecx + 2]
xor byte [eax + 2], bl
add ecx, 4
add eax, 4
sub edx, 1
jne 0x10134a93
lea eax, [esi + 0x60]
push eax
push edi
call fcn.101345d0
add dword [esp + 0x28], 0x10
add esp, 8
sub ebp, 0x10
sub dword [esp + 0x1c], 1
jne 0x10134a84
mov ebx, dword [esp + 0x10]
xor eax, eax
cmp ebp, eax
je 0x10134afe
jbe 0x10134af1
mov ecx, dword [esp + 0x20]
mov dl, byte [eax + ecx]
xor byte [edi + eax], dl
add eax, 1
cmp eax, ebp
jb 0x10134ae4
lea eax, [esi + 0x60]
push eax
push edi
call fcn.101345d0
add esp, 8
mov eax, dword [esp + 0x14]
shld eax, ebx, 3
mov edx, eax
shr edx, 0x18
xor byte [esi + 0x48], dl
mov edx, eax
shr edx, 0x10
xor byte [esi + 0x49], dl
add ebx, ebx
add ebx, ebx
mov edx, eax
shr edx, 8
xor byte [esi + 0x4a], dl
add ebx, ebx
mov ecx, ebx
mov edx, eax
xor byte [esi + 0x4b], dl
xor byte [esi + 0x4f], cl
mov ebx, eax
mov edx, ecx
shrd edx, ebx, 0x18
xor byte [esi + 0x4c], dl
shr ebx, 0x18
mov ebx, eax
mov edx, ecx
shrd edx, ebx, 0x10
xor byte [esi + 0x4d], dl
mov edx, ecx
shrd edx, eax, 8
xor byte [esi + 0x4e], dl
shr eax, 8
lea eax, [esi + 0x60]
push eax
push edi
shr ebx, 0x10
call fcn.101345d0
movzx ecx, byte [esi + 0x4e]
movzx edx, byte [esi + 0x4f]
mov eax, dword [edi]
xor ebx, ebx
mov bh, byte [esi + 0x4c]
mov dword [esi], eax
mov eax, dword [esi + 0x4c]
add esp, 8
mov dword [esi + 0xc], eax
mov bl, byte [esi + 0x4d]
shl ebx, 8
or ebx, ecx
mov ecx, dword [edi + 4]
shl ebx, 8
or ebx, edx
mov edx, dword [esi + 0x48]
mov dword [esi + 4], ecx
mov dword [esi + 8], edx
xor eax, eax
pop edi
mov ecx, dword [esi + 0x174]
push ecx
lea edx, [esi + 0x20]
push edx
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], eax
mov eax, dword [esi + 0x170]
push esi
call eax
add ebx, 1
add esp, 0xc
mov ecx, ebx
mov edx, ebx
mov eax, ebx
shr ecx, 0x18
shr edx, 0x10
shr eax, 8
mov byte [esi + 0xf], bl
mov byte [esi + 0xc], cl
mov byte [esi + 0xd], dl
mov byte [esi + 0xe], al
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x10134be0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 8]
mov eax, dword [esi + 0x38]
or eax, dword [esi + 0x3c]
je 0x10134bf4
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 0x10134cac
jb 0x10134c18
test ecx, ecx
ja 0x10134cac
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 0x10134c5f
mov edi, edi
test ebx, ebx
je 0x10134c4b
mov cl, byte [ebp]
xor byte [edi + esi + 0x40], cl
add edi, 1
add ebp, 1
sub ebx, 1
and edi, 0xf
jne 0x10134c30
jmp 0x10134c4f
test edi, edi
jne 0x10134c9f
lea edx, [esi + 0x60]
push edx
lea eax, [esi + 0x40]
push eax
call fcn.101345d0
add esp, 8
mov eax, ebx
and eax, 0xfffffff0
mov dword [esp + 0x14], eax
je 0x10134c85
push eax
lea ecx, [esi + 0x60]
push ecx
lea edx, [esi + 0x40]
push edx
mov ecx, ebp
call fcn.10134750
mov eax, dword [esp + 0x20]
add esp, 0xc
add ebp, eax
sub ebx, eax
test ebx, ebx
je 0x10134c9f
xor eax, eax
test ebx, ebx
mov edi, ebx
jbe 0x10134c9f
mov cl, byte [eax + ebp]
xor byte [esi + eax + 0x40], cl
add eax, 1
cmp eax, ebx
jb 0x10134c91
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 0x10136420
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x30
call fcn.101b79b0
mov eax, dword [0x1027e110]
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 0x10136478
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 0x101364a9
movzx edx, byte [esi + eax]
or ecx, edx
mov byte [esi + eax], 0
add eax, 1
shl ecx, 8
cmp eax, 0xf
jb 0x10136494
movzx eax, byte [esi + 0xf]
mov ebp, dword [esp + 0x4c]
or ecx, eax
cmp ecx, ebp
mov byte [esi + 0xf], 1
je 0x101364d0
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.101b40e2
add esp, 0x30
ret
push edi
mov edi, ebp
shr edi, 4
je 0x1013650f
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 0x1013656c
shr edx, 4
mov ecx, esi
call fcn.101361d0
test ebp, ebp
je 0x1013656c
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 0x1013655b
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 0x10136540
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 0x10136588
mov edx, 0x10
sub edx, ebx
push edx
lea eax, [esi + ebx]
push 0
push eax
call fcn.101b5c80
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.101b40e2
add esp, 0x30
ret
Function at 0x10136b40
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
push ebx
mov ebx, dword [esp + 0x10]
push ebx
push eax
push ecx
call fcn.10136640
add esp, 0xc
test eax, eax
jl 0x10136d8a
mov edx, dword [ebx + 0xf0]
add edx, edx
push esi
add edx, edx
xor esi, esi
test edx, edx
push edi
jle 0x10136bbd
lea ecx, [ebx + edx*4 + 8]
lea eax, [ebx + 8]
push ebp
lea ebx, [ebx]
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 0x10136b80
pop ebp
mov edx, 1
cmp dword [ebx + 0xf0], edx
jle 0x10136d86
lea eax, [ebx + 2]
mov ecx, dword [eax + 0xe]
movzx edi, byte [eax + 0xf]
mov edi, dword [edi*4 + 0x1022c850]
add eax, 0x10
mov esi, ecx
shr esi, 0x18
mov esi, dword [esi*4 + 0x1022c850]
and esi, 0xff
mov esi, dword [esi*4 + 0x1022d450]
and edi, 0xff
xor esi, dword [edi*4 + 0x1022dc50]
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x1022c850]
and ecx, 0xff
xor esi, dword [ecx*4 + 0x1022e050]
movzx ecx, byte [eax]
mov ecx, dword [ecx*4 + 0x1022c850]
movzx edi, byte [eax + 3]
and ecx, 0xff
xor esi, dword [ecx*4 + 0x1022d850]
mov ecx, dword [eax + 2]
mov dword [eax - 2], esi
mov edi, dword [edi*4 + 0x1022c850]
mov esi, ecx
shr esi, 0x18
mov esi, dword [esi*4 + 0x1022c850]
and esi, 0xff
mov esi, dword [esi*4 + 0x1022d450]
and edi, 0xff
xor esi, dword [edi*4 + 0x1022dc50]
movzx edi, byte [eax + 4]
mov edi, dword [edi*4 + 0x1022c850]
and edi, 0xff
xor esi, dword [edi*4 + 0x1022d850]
movzx edi, byte [eax + 7]
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x1022c850]
and ecx, 0xff
xor esi, dword [ecx*4 + 0x1022e050]
mov ecx, dword [eax + 6]
mov dword [eax + 2], esi
mov edi, dword [edi*4 + 0x1022c850]
mov esi, ecx
shr esi, 0x18
mov esi, dword [esi*4 + 0x1022c850]
and esi, 0xff
mov esi, dword [esi*4 + 0x1022d450]
and edi, 0xff
xor esi, dword [edi*4 + 0x1022dc50]
movzx edi, byte [eax + 8]
mov edi, dword [edi*4 + 0x1022c850]
and edi, 0xff
xor esi, dword [edi*4 + 0x1022d850]
movzx edi, byte [eax + 0xb]
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x1022c850]
and ecx, 0xff
xor esi, dword [ecx*4 + 0x1022e050]
mov ecx, dword [eax + 0xa]
mov dword [eax + 6], esi
mov edi, dword [edi*4 + 0x1022c850]
mov esi, ecx
shr esi, 0x18
mov esi, dword [esi*4 + 0x1022c850]
and esi, 0xff
mov esi, dword [esi*4 + 0x1022d450]
and edi, 0xff
xor esi, dword [edi*4 + 0x1022dc50]
movzx edi, byte [eax + 0xc]
mov edi, dword [edi*4 + 0x1022c850]
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x1022c850]
and edi, 0xff
xor esi, dword [edi*4 + 0x1022d850]
and ecx, 0xff
xor esi, dword [ecx*4 + 0x1022e050]
add edx, 1
mov dword [eax + 0xa], esi
cmp edx, dword [ebx + 0xf0]
jl 0x10136bd1
pop edi
xor eax, eax
pop esi
pop ebx
ret
Function at 0x10138290
Capabilities:
Encode data using xor

Disassembly:
mov eax, 4
call fcn.101b79b0
push ebx
push ebp
mov ebp, dword [esp + 0x10]
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [esp + 0x18]
cmp esi, ebx
jbe 0x10138338
mov eax, dword [ebp + 0x18]
cmp esi, eax
jb 0x101382e9
mov edx, dword [ebp + 0x40]
mov ecx, esi
sub ecx, eax
add ecx, 4
and ecx, 0xfffffffc
add eax, ecx
push 0x71
mov dword [ebp + 0x18], eax
push str.cryptomodesocb128.c
shl eax, 4
push eax
push edx
call fcn.100de270
add esp, 0x10
test eax, eax
jne 0x101382e6
pop esi
pop ebp
pop ebx
pop ecx
ret
mov dword [ebp + 0x40], eax
cmp ebx, esi
jae 0x10138335
push edi
mov edi, ebx
sub esi, ebx
shl edi, 4
add ebx, esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x10], ebx
nop
mov eax, dword [ebp + 0x40]
mov bl, byte [edi + eax]
lea edx, [edi + eax]
lea esi, [edx + 0x10]
shr bl, 7
push esi
neg bl
push 1
and bl, 0x87
call fcn.101381d0
xor byte [esi + 0xf], bl
add esp, 8
add edi, 0x10
sub dword [esp + 0x18], 1
jne 0x10138300
mov ebx, dword [esp + 0x10]
mov esi, dword [esp + 0x1c]
pop edi
mov dword [ebp + 0x14], ebx
mov eax, esi
shl eax, 4
add eax, dword [ebp + 0x40]
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x10139bf0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, 0x28
call fcn.101b79b0
mov eax, dword [0x1027e110]
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 0x10139dcf
sub dword [esp + 0x18], 1
test esi, esi
jne 0x10139d2b
mov ecx, dword [esp + 0x24]
push ecx
lea edx, [esp + 0x20]
push edx
call fcn.101390d0
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 0x10139cc7
cmp dword [esp + 0x10], 0
je 0x10139db6
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.101b40e2
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.101b40e2
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.101b40e2
add esp, 0x28
ret
Function at 0x10139df0
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 0x10139e0a
mov eax, 0x80
mov ecx, dword [esp + 0x1c]
test ecx, ecx
jle 0x10139e1a
cmp ecx, 0x400
jle 0x10139e1f
mov ecx, 0x400
test eax, eax
jle 0x10139e3e
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 0x10139e30
pop ebp
cmp eax, 0x80
movzx edx, byte [edi + eax - 1]
jge 0x10139e70
mov esi, edi
sub esi, eax
mov edi, edi
movzx ebx, byte [esi + eax]
add ebx, edx
and ebx, 0xff
movzx edx, byte [ebx + 0x1022e5a0]
mov byte [eax + edi], dl
add eax, 1
cmp eax, 0x80
jl 0x10139e50
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 + 0x1022e5a0]
mov byte [esi], cl
je 0x10139eba
mov edi, edi
movzx ebx, byte [esi + edx - 1]
sub esi, 1
xor ebx, ecx
movzx ecx, byte [ebx + 0x1022e5a0]
sub eax, 1
test eax, eax
mov byte [esi], cl
jne 0x10139ea0
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 0x10139ec8
pop edi
pop esi
pop ebx
ret