joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100f8080
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x70
call fcn.101632f0
mov eax, dword [0x101f9e50]
xor eax, esp
mov dword [esp + 0x6c], eax
cmp dword [esp + 0x88], 0x40000000
mov eax, dword [esp + 0x7c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x84]
push ebp
mov ebp, dword [esp + 0x78]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x90]
push esi
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], 0
ja 0x100f8257
mov esi, dword [esp + 0x80]
cmp esi, 0x40000000
ja 0x100f8257
cmp dword [esp + 0x88], 0x40000000
ja 0x100f8257
push ebx
push edi
push eax
call fcn.100a11b0
mov edi, eax
lea eax, [esp + 0x28]
push eax
call fcn.1008d270
push 0
push dword [esp + 0x28]
lea eax, [esp + 0x34]
push eax
mov ebx, 1
call fcn.1008ce50
push dword [esp + 0xa4]
lea eax, [esp + 0x3c]
push dword [esp + 0x30]
mov dword [esp + 0x2c], 0x1000000
push eax
call fcn.1008d000
add esp, 0x20
test eax, eax
je 0x100f8233
push 4
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.1008d000
add esp, 0xc
test eax, eax
je 0x100f8233
push dword [esp + 0x98]
lea eax, [esp + 0x28]
push dword [esp + 0x24]
push eax
call fcn.1008d000
add esp, 0xc
test eax, eax
je 0x100f8233
push 0
cmp esi, edi
jb 0x100f81fb
lea eax, [esp + 0x28]
push ebp
push eax
call fcn.1008cd70
add esp, 0xc
test eax, eax
je 0x100f8233
sub esi, edi
je 0x100f822b
push 0
push dword [esp + 0x20]
lea eax, [esp + 0x2c]
push eax
add ebp, edi
inc ebx
call fcn.1008ce50
push dword [esp + 0x9c]
mov eax, ebx
push dword [esp + 0x28]
shr eax, 8
mov byte [esp + 0x26], al
mov eax, ebx
shr eax, 0x10
mov byte [esp + 0x25], al
mov eax, ebx
shr eax, 0x18
mov byte [esp + 0x24], al
lea eax, [esp + 0x38]
push eax
mov byte [esp + 0x2b], bl
call fcn.1008d000
add esp, 0x18
test eax, eax
jne 0x100f8147
jmp 0x100f8233
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.1008cd70
add esp, 0xc
test eax, eax
je 0x100f8233
push esi
lea eax, [esp + 0x40]
push eax
push ebp
call fcn.10161ee0
lea eax, [esp + 0x48]
push edi
push eax
call fcn.1009bdc0
add esp, 0x14
mov dword [esp + 0x14], 1
lea eax, [esp + 0x24]
push eax
call fcn.1008d010
mov eax, dword [esp + 0x18]
add esp, 4
pop edi
pop ebx
pop esi
pop ebp
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.1016027d
add esp, 0x70
ret
mov ecx, dword [esp + 0x74]
pop esi
pop ebp
xor ecx, esp
xor eax, eax
call fcn.1016027d
add esp, 0x70
ret
Function at 0x100f8b10
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, 0x28
call fcn.101632f0
mov eax, dword [0x101f9e50]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [esp + 0x40]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x24], eax
movzx ebx, byte [eax]
lea ebp, [eax + 1]
mov edx, ebp
movzx eax, byte [edx]
shl eax, 8
or ebx, eax
movzx eax, byte [edx + 1]
movzx ecx, byte [edx + 3]
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
movzx eax, byte [edx + 5]
mov dword [esp + 0x2c], ecx
movzx ecx, byte [edx + 6]
mov edx, dword [esp + 0x2c]
shl ecx, 8
or ecx, eax
mov eax, ebx
shr eax, 8
mov byte [esp + 0x2d], al
mov eax, ebx
shr eax, 0x10
mov byte [esp + 0x2e], al
shl ecx, 0x10
or edx, ecx
mov eax, ebx
shr eax, 0x18
mov byte [esp + 0x2f], al
mov eax, edx
shr eax, 8
mov byte [esp + 0x31], al
mov eax, edx
shr eax, 0x10
mov byte [esp + 0x32], al
mov eax, edx
shr eax, 0x18
mov edi, dword [esp + 0x50]
mov byte [esp + 0x33], al
mov eax, dword [esp + 0x44]
mov esi, dword [edi]
mov dword [esp + 0x14], edi
mov dword [esp + 0x28], ebp
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], edx
mov byte [esp + 0x2c], bl
mov byte [esp + 0x30], dl
test eax, eax
je 0x100f8cd3
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x3c]
sub ecx, edi
mov dword [esp + 0x10], ecx
xor ebp, ebp
lea ebx, [ebx]
dec eax
mov dword [esp + 0x44], eax
test esi, esi
jne 0x100f8c67
push 1
push dword [esp + 0x24]
lea eax, [esp + 0x20]
push eax
call fcn.100cc9f0
mov ebx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x1c]
mov eax, ebx
shr eax, 8
mov byte [esp + 0x39], al
mov eax, ebx
shr eax, 0x10
mov byte [esp + 0x3a], al
mov eax, ebx
shr eax, 0x18
mov byte [esp + 0x3b], al
mov eax, edx
shr eax, 8
mov byte [esp + 0x3d], al
mov eax, edx
shr eax, 0x10
mov byte [esp + 0x3e], al
mov eax, edx
shr eax, 0x18
add esp, 0xc
mov byte [esp + 0x2c], bl
mov byte [esp + 0x30], dl
mov byte [esp + 0x33], al
inc ebp
mov al, byte [esp + esi + 0x2c]
xor al, byte [edi]
inc esi
mov byte [ecx + edi], al
mov eax, dword [esp + 0x44]
inc edi
and esi, 7
test eax, eax
jne 0x100f8c00
test ebp, ebp
mov ebp, dword [esp + 0x28]
je 0x100f8cba
mov eax, dword [esp + 0x24]
mov byte [eax], bl
mov eax, ebx
shr eax, 8
mov byte [ebp], al
mov eax, ebx
shr eax, 0x10
mov byte [ebp + 1], al
shr ebx, 0x18
mov byte [ebp + 2], bl
mov eax, edx
shr eax, 8
mov byte [ebp + 3], dl
mov byte [ebp + 4], al
mov eax, edx
shr eax, 0x10
shr edx, 0x18
mov byte [ebp + 5], al
mov byte [ebp + 6], dl
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.1016027d
add esp, 0x28
ret
mov ecx, dword [esp + 0x34]
mov dword [edi], esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1016027d
add esp, 0x28
ret
Function at 0x100f9800
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, 0x30
call fcn.101632f0
mov eax, dword [0x101f9e50]
xor eax, esp
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x38]
mov dword [esp], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x20], eax
push ebx
movzx ebx, byte [eax]
push ebp
push esi
push edi
lea edi, [eax + 1]
mov edx, edi
mov ebp, dword [esp + 0x60]
movzx eax, byte [edx]
shl eax, 8
or ebx, eax
movzx eax, byte [edx + 1]
movzx ecx, byte [edx + 3]
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
movzx eax, byte [edx + 5]
mov dword [esp + 0x34], ecx
movzx ecx, byte [edx + 6]
mov edx, dword [esp + 0x34]
shl ecx, 8
or ecx, eax
mov eax, ebx
shr eax, 8
mov byte [esp + 0x35], al
mov esi, dword [ebp]
mov eax, ebx
shr eax, 0x10
mov byte [esp + 0x36], al
shl ecx, 0x10
or edx, ecx
mov eax, ebx
shr eax, 0x18
mov byte [esp + 0x37], al
mov eax, edx
shr eax, 8
mov byte [esp + 0x39], al
mov eax, edx
shr eax, 0x10
mov byte [esp + 0x3a], al
mov eax, edx
shr eax, 0x18
mov byte [esp + 0x3b], al
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x24], edi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], edx
mov byte [esp + 0x34], bl
mov byte [esp + 0x38], dl
test eax, eax
je 0x100f99dd
mov ecx, dword [esp + 0x10]
mov ebp, dword [esp + 0x44]
sub ecx, ebp
mov dword [esp + 0x10], ecx
xor edi, edi
lea ebx, [ebx]
dec eax
mov dword [esp + 0x4c], eax
test esi, esi
jne 0x100f996d
push dword [esp + 0x2c]
lea eax, [esp + 0x1c]
push dword [esp + 0x24]
push dword [esp + 0x30]
push eax
call fcn.100ccfa0
mov ebx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x20]
mov eax, ebx
shr eax, 8
mov byte [esp + 0x45], al
mov eax, ebx
shr eax, 0x10
mov byte [esp + 0x46], al
mov eax, ebx
shr eax, 0x18
mov byte [esp + 0x47], al
mov eax, edx
shr eax, 8
mov byte [esp + 0x49], al
mov eax, edx
shr eax, 0x10
mov byte [esp + 0x4a], al
mov eax, edx
shr eax, 0x18
add esp, 0x10
mov byte [esp + 0x34], bl
mov byte [esp + 0x38], dl
mov byte [esp + 0x3b], al
inc edi
mov al, byte [esp + esi + 0x34]
xor al, byte [ebp]
inc esi
mov byte [ecx + ebp], al
mov eax, dword [esp + 0x4c]
inc ebp
and esi, 7
test eax, eax
jne 0x100f9900
test edi, edi
mov edi, dword [esp + 0x24]
je 0x100f99c4
mov eax, dword [esp + 0x30]
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
shr ebx, 0x18
mov byte [edi + 2], bl
mov eax, edx
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 [esp + 0x14]
pop edi
mov dword [eax], esi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.1016027d
add esp, 0x30
ret
mov ecx, dword [esp + 0x3c]
pop edi
mov dword [ebp], esi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1016027d
add esp, 0x30
ret
Function at 0x100fb680
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, 0x28
call fcn.101632f0
mov eax, dword [0x101f9e50]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [esp + 0x40]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x24], eax
movzx ebx, byte [eax]
lea ebp, [eax + 1]
mov edx, ebp
shl ebx, 0x18
movzx eax, byte [edx]
shl eax, 0x10
or ebx, eax
movzx eax, byte [edx + 1]
movzx ecx, byte [edx + 3]
shl eax, 8
or ebx, eax
movzx eax, byte [edx + 2]
or ebx, eax
movzx eax, byte [edx + 4]
shl eax, 0x10
shl ecx, 0x18
or ecx, eax
movzx eax, byte [edx + 6]
mov dword [esp + 0x2c], ecx
movzx ecx, byte [edx + 5]
mov edx, dword [esp + 0x2c]
shl ecx, 8
or ecx, eax
mov eax, ebx
shr eax, 0x18
mov byte [esp + 0x2c], al
mov eax, ebx
shr eax, 0x10
mov byte [esp + 0x2d], al
or edx, ecx
mov eax, ebx
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 edi, dword [esp + 0x50]
mov byte [esp + 0x32], al
mov eax, dword [esp + 0x44]
mov esi, dword [edi]
mov dword [esp + 0x14], edi
mov dword [esp + 0x28], ebp
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], edx
mov byte [esp + 0x2f], bl
mov byte [esp + 0x33], dl
test eax, eax
je 0x100fb845
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x3c]
sub ecx, edi
mov dword [esp + 0x10], ecx
xor ebp, ebp
lea ebx, [ebx]
dec eax
mov dword [esp + 0x44], eax
test esi, esi
jne 0x100fb7d5
push dword [esp + 0x20]
lea eax, [esp + 0x1c]
push eax
call fcn.100facb0
mov ebx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
mov eax, ebx
shr eax, 0x18
mov byte [esp + 0x34], al
mov eax, ebx
shr eax, 0x10
mov byte [esp + 0x35], al
mov eax, ebx
shr eax, 8
mov byte [esp + 0x36], al
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
mov byte [esp + 0x2f], bl
mov byte [esp + 0x32], al
mov byte [esp + 0x33], dl
inc ebp
mov al, byte [esp + esi + 0x2c]
xor al, byte [edi]
inc esi
mov byte [ecx + edi], al
mov eax, dword [esp + 0x44]
inc edi
and esi, 7
test eax, eax
jne 0x100fb770
test ebp, ebp
mov ebp, dword [esp + 0x28]
je 0x100fb82c
mov ecx, dword [esp + 0x24]
mov eax, ebx
shr eax, 0x18
mov byte [ecx], al
mov eax, ebx
shr eax, 0x10
mov byte [ebp], al
mov eax, ebx
shr eax, 8
mov byte [ebp + 1], al
mov byte [ebp + 2], bl
mov eax, edx
shr eax, 0x18
mov byte [ebp + 3], al
mov eax, edx
shr eax, 0x10
mov byte [ebp + 4], al
mov eax, edx
shr eax, 8
mov byte [ebp + 5], al
mov byte [ebp + 6], dl
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.1016027d
add esp, 0x28
ret
mov ecx, dword [esp + 0x34]
mov dword [edi], esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1016027d
add esp, 0x28
ret
Function at 0x100fb860
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov eax, dword [esp + 8]
push ebx
mov ebx, dword [esp + 8]
push ebp
mov ebp, dword [esp + 0x18]
push esi
push edi
mov edi, 0x80
cmp eax, edi
cmovg eax, edi
mov byte [ebx], 0
test ebp, ebp
jg 0x100fb888
mov ebp, 0x400
jmp 0x100fb892
mov ecx, 0x400
cmp ebp, ecx
cmovg ebp, ecx
test eax, eax
jle 0x100fb8b1
sub dword [esp + 0x1c], ebx
mov edx, ebx
mov ebx, dword [esp + 0x1c]
mov esi, eax
mov cl, byte [ebx + edx]
mov byte [edx], cl
lea edx, [edx + 1]
dec esi
jne 0x100fb8a2
mov ebx, dword [esp + 0x14]
movzx edx, byte [ebx + eax - 1]
cmp eax, 0x80
jge 0x100fb8e0
mov esi, ebx
sub esi, eax
movzx ecx, byte [esi + eax]
add ecx, edx
and ecx, 0xff
inc eax
movzx edx, byte [ecx + 0x101bdab0]
mov byte [eax + ebx - 1], dl
cmp eax, 0x80
jl 0x100fb8c1
lea eax, [ebp + 7]
sar eax, 3
sub edi, eax
neg ebp
and ebp, 7
lea esi, [edi + ebx]
mov ecx, ebp
mov edx, 0xff
sar edx, cl
mov dword [esp + 0x14], eax
movzx eax, byte [esi]
and edx, eax
movzx ecx, byte [edx + 0x101bdab0]
mov byte [esi], cl
test edi, edi
je 0x100fb929
mov edx, dword [esp + 0x14]
movzx eax, byte [esi + edx - 1]
lea esi, [esi - 1]
xor eax, ecx
movzx ecx, byte [eax + 0x101bdab0]
mov byte [esi], cl
dec edi
jne 0x100fb913
lea esi, [ebx + 0xfc]
lea edx, [ebx + 0x7e]
mov edi, 0x40
jmp 0x100fb940
movzx ecx, byte [edx + 1]
movzx eax, byte [edx]
shl ecx, 8
or ecx, eax
and ecx, 0xffff
mov dword [esi], ecx
lea esi, [esi - 4]
lea edx, [edx - 2]
dec edi
jne 0x100fb940
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x100fc400
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, 0x28
call fcn.101632f0
mov eax, dword [0x101f9e50]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [esp + 0x40]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x24], eax
movzx ebx, byte [eax]
lea ebp, [eax + 1]
mov edx, ebp
movzx eax, byte [edx]
shl eax, 8
or ebx, eax
movzx eax, byte [edx + 1]
movzx ecx, byte [edx + 3]
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
movzx eax, byte [edx + 5]
mov dword [esp + 0x2c], ecx
movzx ecx, byte [edx + 6]
mov edx, dword [esp + 0x2c]
shl ecx, 8
or ecx, eax
mov eax, ebx
shr eax, 8
mov byte [esp + 0x2d], al
mov eax, ebx
shr eax, 0x10
mov byte [esp + 0x2e], al
shl ecx, 0x10
or edx, ecx
mov eax, ebx
shr eax, 0x18
mov byte [esp + 0x2f], al
mov eax, edx
shr eax, 8
mov byte [esp + 0x31], al
mov eax, edx
shr eax, 0x10
mov byte [esp + 0x32], al
mov eax, edx
shr eax, 0x18
mov edi, dword [esp + 0x50]
mov byte [esp + 0x33], al
mov eax, dword [esp + 0x44]
mov esi, dword [edi]
mov dword [esp + 0x14], edi
mov dword [esp + 0x28], ebp
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], edx
mov byte [esp + 0x2c], bl
mov byte [esp + 0x30], dl
test eax, eax
je 0x100fc5c1
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x3c]
sub ecx, edi
mov dword [esp + 0x10], ecx
xor ebp, ebp
lea ebx, [ebx]
dec eax
mov dword [esp + 0x44], eax
test esi, esi
jne 0x100fc555
push dword [esp + 0x20]
lea eax, [esp + 0x1c]
push eax
call fcn.100fc090
mov ebx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
mov eax, ebx
shr eax, 8
mov byte [esp + 0x35], al
mov eax, ebx
shr eax, 0x10
mov byte [esp + 0x36], al
mov eax, ebx
shr eax, 0x18
mov byte [esp + 0x37], al
mov eax, edx
shr eax, 8
mov byte [esp + 0x39], al
mov eax, edx
shr eax, 0x10
mov byte [esp + 0x3a], al
mov eax, edx
shr eax, 0x18
add esp, 8
mov byte [esp + 0x2c], bl
mov byte [esp + 0x30], dl
mov byte [esp + 0x33], al
inc ebp
mov al, byte [esp + esi + 0x2c]
xor al, byte [edi]
inc esi
mov byte [ecx + edi], al
mov eax, dword [esp + 0x44]
inc edi
and esi, 7
test eax, eax
jne 0x100fc4f0
test ebp, ebp
mov ebp, dword [esp + 0x28]
je 0x100fc5a8
mov eax, dword [esp + 0x24]
mov byte [eax], bl
mov eax, ebx
shr eax, 8
mov byte [ebp], al
mov eax, ebx
shr eax, 0x10
mov byte [ebp + 1], al
shr ebx, 0x18
mov byte [ebp + 2], bl
mov eax, edx
shr eax, 8
mov byte [ebp + 3], dl
mov byte [ebp + 4], al
mov eax, edx
shr eax, 0x10
shr edx, 0x18
mov byte [ebp + 5], al
mov byte [ebp + 6], dl
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.1016027d
add esp, 0x28
ret
mov ecx, dword [esp + 0x34]
mov dword [edi], esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1016027d
add esp, 0x28
ret
Function at 0x100fd630
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, 0x28
call fcn.101632f0
mov eax, dword [0x101f9e50]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [esp + 0x40]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x24], eax
movzx ebx, byte [eax]
lea ebp, [eax + 1]
mov edx, ebp
shl ebx, 0x18
movzx eax, byte [edx]
shl eax, 0x10
or ebx, eax
movzx eax, byte [edx + 1]
movzx ecx, byte [edx + 3]
shl eax, 8
or ebx, eax
movzx eax, byte [edx + 2]
or ebx, eax
movzx eax, byte [edx + 4]
shl eax, 0x10
shl ecx, 0x18
or ecx, eax
movzx eax, byte [edx + 6]
mov dword [esp + 0x2c], ecx
movzx ecx, byte [edx + 5]
mov edx, dword [esp + 0x2c]
shl ecx, 8
or ecx, eax
mov eax, ebx
shr eax, 0x18
mov byte [esp + 0x2c], al
mov eax, ebx
shr eax, 0x10
mov byte [esp + 0x2d], al
or edx, ecx
mov eax, ebx
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 edi, dword [esp + 0x50]
mov byte [esp + 0x32], al
mov eax, dword [esp + 0x44]
mov esi, dword [edi]
mov dword [esp + 0x14], edi
mov dword [esp + 0x28], ebp
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], edx
mov byte [esp + 0x2f], bl
mov byte [esp + 0x33], dl
test eax, eax
je 0x100fd7f5
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x3c]
sub ecx, edi
mov dword [esp + 0x10], ecx
xor ebp, ebp
lea ebx, [ebx]
dec eax
mov dword [esp + 0x44], eax
test esi, esi
jne 0x100fd785
push dword [esp + 0x20]
lea eax, [esp + 0x1c]
push eax
call fcn.100fd040
mov ebx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
mov eax, ebx
shr eax, 0x18
mov byte [esp + 0x34], al
mov eax, ebx
shr eax, 0x10
mov byte [esp + 0x35], al
mov eax, ebx
shr eax, 8
mov byte [esp + 0x36], al
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
mov byte [esp + 0x2f], bl
mov byte [esp + 0x32], al
mov byte [esp + 0x33], dl
inc ebp
mov al, byte [esp + esi + 0x2c]
xor al, byte [edi]
inc esi
mov byte [ecx + edi], al
mov eax, dword [esp + 0x44]
inc edi
and esi, 7
test eax, eax
jne 0x100fd720
test ebp, ebp
mov ebp, dword [esp + 0x28]
je 0x100fd7dc
mov ecx, dword [esp + 0x24]
mov eax, ebx
shr eax, 0x18
mov byte [ecx], al
mov eax, ebx
shr eax, 0x10
mov byte [ebp], al
mov eax, ebx
shr eax, 8
mov byte [ebp + 1], al
mov byte [ebp + 2], bl
mov eax, edx
shr eax, 0x18
mov byte [ebp + 3], al
mov eax, edx
shr eax, 0x10
mov byte [ebp + 4], al
mov eax, edx
shr eax, 8
mov byte [ebp + 5], al
mov byte [ebp + 6], dl
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.1016027d
add esp, 0x28
ret
mov ecx, dword [esp + 0x34]
mov dword [edi], esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1016027d
add esp, 0x28
ret
Function at 0x100ffb30
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, 0x28
call fcn.101632f0
mov eax, dword [0x101f9e50]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [esp + 0x40]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x24], eax
movzx ebx, byte [eax]
lea ebp, [eax + 1]
mov edx, ebp
shl ebx, 0x18
movzx eax, byte [edx]
shl eax, 0x10
or ebx, eax
movzx eax, byte [edx + 1]
movzx ecx, byte [edx + 3]
shl eax, 8
or ebx, eax
movzx eax, byte [edx + 2]
or ebx, eax
movzx eax, byte [edx + 4]
shl eax, 0x10
shl ecx, 0x18
or ecx, eax
movzx eax, byte [edx + 6]
mov dword [esp + 0x2c], ecx
movzx ecx, byte [edx + 5]
mov edx, dword [esp + 0x2c]
shl ecx, 8
or ecx, eax
mov eax, ebx
shr eax, 0x18
mov byte [esp + 0x2c], al
mov eax, ebx
shr eax, 0x10
mov byte [esp + 0x2d], al
or edx, ecx
mov eax, ebx
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 edi, dword [esp + 0x50]
mov byte [esp + 0x32], al
mov eax, dword [esp + 0x44]
mov esi, dword [edi]
mov dword [esp + 0x14], edi
mov dword [esp + 0x28], ebp
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], edx
mov byte [esp + 0x2f], bl
mov byte [esp + 0x33], dl
test eax, eax
je 0x100ffcf5
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x3c]
sub ecx, edi
mov dword [esp + 0x10], ecx
xor ebp, ebp
lea ebx, [ebx]
dec eax
mov dword [esp + 0x44], eax
test esi, esi
jne 0x100ffc85
push dword [esp + 0x20]
lea eax, [esp + 0x1c]
push eax
call fcn.100ff4a0
mov ebx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
mov eax, ebx
shr eax, 0x18
mov byte [esp + 0x34], al
mov eax, ebx
shr eax, 0x10
mov byte [esp + 0x35], al
mov eax, ebx
shr eax, 8
mov byte [esp + 0x36], al
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
mov byte [esp + 0x2f], bl
mov byte [esp + 0x32], al
mov byte [esp + 0x33], dl
inc ebp
mov al, byte [esp + esi + 0x2c]
xor al, byte [edi]
inc esi
mov byte [ecx + edi], al
mov eax, dword [esp + 0x44]
inc edi
and esi, 7
test eax, eax
jne 0x100ffc20
test ebp, ebp
mov ebp, dword [esp + 0x28]
je 0x100ffcdc
mov ecx, dword [esp + 0x24]
mov eax, ebx
shr eax, 0x18
mov byte [ecx], al
mov eax, ebx
shr eax, 0x10
mov byte [ebp], al
mov eax, ebx
shr eax, 8
mov byte [ebp + 1], al
mov byte [ebp + 2], bl
mov eax, edx
shr eax, 0x18
mov byte [ebp + 3], al
mov eax, edx
shr eax, 0x10
mov byte [ebp + 4], al
mov eax, edx
shr eax, 8
mov byte [ebp + 5], al
mov byte [ebp + 6], dl
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.1016027d
add esp, 0x28
ret
mov ecx, dword [esp + 0x34]
mov dword [edi], esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1016027d
add esp, 0x28
ret
Function at 0x10101410
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x10
call fcn.101632f0
mov ecx, dword [esp + 0x28]
push ebx
mov ebx, dword [esp + 0x1c]
push ebp
mov ebp, dword [esp + 0x1c]
push esi
mov esi, dword [esp + 0x28]
push edi
mov edi, dword [esp + 0x3c]
mov edi, dword [edi]
test edi, edi
je 0x1010144d
test esi, esi
je 0x1010144d
mov al, byte [edi + ecx]
xor al, byte [ebp]
inc edi
mov byte [ebx], al
inc ebx
inc ebp
dec esi
and edi, 0xf
jne 0x10101438
mov edx, dword [esp + 0x34]
cmp esi, 0x10
jb 0x101014e2
mov eax, ebp
sub eax, ecx
mov dword [esp + 0x10], eax
xor edi, edi
mov eax, esi
shr eax, 4
mov dword [esp + 0x14], edi
mov edi, ebx
mov dword [esp + 0x2c], eax
shl eax, 4
add ebx, eax
sub edi, ecx
add ebp, eax
mov dword [esp + 0x18], ebx
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x1c], ebp
mov ebp, dword [esp + 0x38]
lea esp, [esp]
push dword [esp + 0x30]
push ebp
push edx
call dword [esp + 0x4c]
mov eax, dword [esp + 0x40]
push eax
call fcn.101016c0
add esp, 0x10
mov eax, ebp
mov edx, 4
mov edi, edi
mov ecx, dword [ebx + eax]
xor ecx, dword [eax]
lea eax, [eax + 4]
mov dword [edi + eax - 4], ecx
dec edx
jne 0x101014b0
mov edx, dword [esp + 0x34]
sub esi, 0x10
add edi, 0x10
add ebx, 0x10
dec dword [esp + 0x2c]
jne 0x10101490
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov ecx, dword [esp + 0x38]
test esi, esi
je 0x1010151f
push dword [esp + 0x30]
push ecx
push edx
call dword [esp + 0x4c]
mov eax, dword [esp + 0x40]
push eax
call fcn.101016c0
mov eax, dword [esp + 0x48]
add esp, 0x10
lea ecx, [edi + eax]
sub ebp, eax
sub ebx, eax
add edi, esi
lea ebx, [ebx]
mov al, byte [ecx + ebp]
xor al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [ecx + ebx - 1], al
dec esi
jne 0x10101510
mov eax, dword [esp + 0x3c]
mov dword [eax], edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret