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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov esi, eax
call fcn.007d1728
and dword [ebp - 4], 0
mov edi, eax
shl edi, 2
mov dword [ebp - 8], eax
test edi, edi
jle 0x7d1c2d
lea edx, [esi + edi*4 + 8]
lea ecx, [esi + 8]
mov eax, dword [edx - 8]
mov ebx, dword [ecx - 8]
add dword [ebp - 4], 4
mov dword [ecx - 8], eax
mov dword [edx - 8], ebx
mov ebx, dword [edx - 4]
mov eax, dword [ecx - 4]
mov dword [ecx - 4], ebx
mov ebx, dword [edx]
mov dword [edx - 4], eax
mov eax, dword [ecx]
mov dword [ecx], ebx
mov ebx, dword [edx + 4]
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [ecx + 4], ebx
mov dword [edx + 4], eax
sub edi, 4
add ecx, 0x10
sub edx, 0x10
cmp dword [ebp - 4], edi
jl 0x7d1bec
mov eax, dword [ebp - 8]
cmp eax, 1
jle 0x7d1d9f
lea ecx, [eax - 1]
mov dword [ebp - 4], ecx
mov ecx, 0xff
movzx ebx, byte [esi + 0x11]
mov ebx, dword [ebx*4 + 0x1035c7a8]
add esi, 0x10
mov edx, dword [esi]
mov edi, edx
shr edi, 0x18
mov edi, dword [edi*4 + 0x1035c7a8]
and edi, ecx
mov edi, dword [edi*4 + 0x1035cba8]
and ebx, ecx
xor edi, dword [ebx*4 + 0x1035d3a8]
movzx ebx, byte [esi + 2]
mov ebx, dword [ebx*4 + 0x1035c7a8]
and ebx, ecx
xor edi, dword [ebx*4 + 0x1035cfa8]
movzx ebx, byte [esi + 5]
and edx, ecx
mov edx, dword [edx*4 + 0x1035c7a8]
and edx, ecx
xor edi, dword [edx*4 + 0x1035d7a8]
mov edx, dword [esi + 4]
mov dword [esi], edi
mov ebx, dword [ebx*4 + 0x1035c7a8]
mov edi, edx
shr edi, 0x18
mov edi, dword [edi*4 + 0x1035c7a8]
and edi, ecx
mov edi, dword [edi*4 + 0x1035cba8]
and ebx, ecx
xor edi, dword [ebx*4 + 0x1035d3a8]
movzx ebx, byte [esi + 6]
mov ebx, dword [ebx*4 + 0x1035c7a8]
and ebx, ecx
xor edi, dword [ebx*4 + 0x1035cfa8]
movzx ebx, byte [esi + 9]
and edx, ecx
mov edx, dword [edx*4 + 0x1035c7a8]
and edx, ecx
xor edi, dword [edx*4 + 0x1035d7a8]
mov edx, dword [esi + 8]
mov dword [esi + 4], edi
mov ebx, dword [ebx*4 + 0x1035c7a8]
mov edi, edx
shr edi, 0x18
mov edi, dword [edi*4 + 0x1035c7a8]
and edi, ecx
mov edi, dword [edi*4 + 0x1035cba8]
and ebx, ecx
xor edi, dword [ebx*4 + 0x1035d3a8]
movzx ebx, byte [esi + 0xa]
mov ebx, dword [ebx*4 + 0x1035c7a8]
and ebx, ecx
xor edi, dword [ebx*4 + 0x1035cfa8]
movzx ebx, byte [esi + 0xd]
and edx, ecx
mov edx, dword [edx*4 + 0x1035c7a8]
and edx, ecx
xor edi, dword [edx*4 + 0x1035d7a8]
mov edx, dword [esi + 0xc]
mov dword [esi + 8], edi
mov ebx, dword [ebx*4 + 0x1035c7a8]
mov edi, edx
shr edi, 0x18
mov edi, dword [edi*4 + 0x1035c7a8]
and edi, ecx
mov edi, dword [edi*4 + 0x1035cba8]
and ebx, ecx
xor edi, dword [ebx*4 + 0x1035d3a8]
movzx ebx, byte [esi + 0xe]
mov ebx, dword [ebx*4 + 0x1035c7a8]
and edx, ecx
mov edx, dword [edx*4 + 0x1035c7a8]
and ebx, ecx
xor edi, dword [ebx*4 + 0x1035cfa8]
and edx, ecx
xor edi, dword [edx*4 + 0x1035d7a8]
dec dword [ebp - 4]
mov dword [esi + 0xc], edi
jne 0x7d1c41
pop edi
pop esi
pop ebx
leave
ret
Function at 0x7e16d0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
lea ebp, [esp - 0x68]
sub esp, 0x98
push esi
push dword [ebp + 0x78]
xor esi, esi
push dword [ebp + 0x74]
push dword [ebp + 0x70]
call fcn.007e4635
and dword [ebp + 0xc], esi
and dword [ebp + 0x10], esi
add esp, 0xc
push 3
mov dword [ebp - 0x30], 0x63636d70
mov dword [ebp - 0x2c], 0x6c6f636c
mov dword [ebp - 0x28], 0x76657274
mov dword [ebp + 0x14], 0x10273fa8
pop ecx
test al, 2
jne 0x7e1737
push 5
mov dword [ebp - 0x24], 0x6c6e756d
mov dword [ebp + 0x18], 0x10274075
mov dword [ebp - 0x20], 0x6f6e756d
mov dword [ebp + 0x1c], 0x102740a7
pop ecx
test al, 4
jne 0x7e175d
mov dword [ebp + ecx*4 - 0x30], 0x706e756d
mov dword [ebp + ecx*4 + 0xc], 0x102740d9
inc ecx
mov dword [ebp + ecx*4 - 0x30], 0x746e756d
mov dword [ebp + ecx*4 + 0xc], 0x1027410b
inc ecx
test al, 8
jne 0x7e1772
mov dword [ebp + ecx*4 - 0x30], 0x7a65726f
mov dword [ebp + ecx*4 + 0xc], 0x1027413d
inc ecx
push edi
mov edi, eax
and edi, 1
mov edx, 0x1027400c
jne 0x7e17ae
mov dword [ebp + ecx*4 - 0x30], 0x7469746c
mov dword [ebp + ecx*4 + 0xc], 0x10273fda
inc ecx
mov dword [ebp + ecx*4 - 0x30], 0x63617365
mov dword [ebp + ecx*4 + 0xc], edx
inc ecx
mov dword [ebp + ecx*4 - 0x30], 0x63327363
mov dword [ebp + ecx*4 + 0xc], 0x10274043
inc ecx
mov dword [ebp + ecx*4 - 0x30], 0x726c6967
mov dword [ebp + ecx*4 + 0xc], 0x10273f50
inc ecx
mov dword [ebp + ecx*4 - 0x30], 0x6c696761
inc ecx
mov eax, 0x10273f66
mov dword [ebp + ecx*4 + 8], eax
mov dword [ebp + ecx*4 - 0x30], 0x636c6967
mov dword [ebp + ecx*4 + 0xc], eax
inc ecx
mov dword [ebp + ecx*4 - 0x30], 0x646c6967
mov dword [ebp + ecx*4 + 0xc], 0x10273f7c
inc ecx
mov dword [ebp + ecx*4 - 0x30], 0x686c6967
mov dword [ebp + ecx*4 + 0xc], 0x10273f92
inc ecx
test edi, edi
pop edi
jne 0x7e1812
xor esi, esi
mov dword [ebp + 0x58], 0x63707370
mov dword [ebp + 0x48], edx
inc esi
and dword [ebp + esi*4 + 0x48], 0
and dword [ebp + esi*4 + 0x4c], 0
mov dword [ebp + esi*4 + 0x58], 0x6d61726b
inc esi
mov dword [ebp + esi*4 + 0x58], 0x6d6b6d6b
inc esi
mov dword [ebp + esi*4 + 0x58], 0x6b65726e
mov dword [ebp + esi*4 + 0x48], 0x10273ef3
inc esi
push esi
lea eax, [ebp + 0x48]
push eax
lea eax, [ebp + 0x58]
push eax
push ecx
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x30]
push eax
push dword [ebp + 0x7c]
push dword [ebp + 0x78]
push dword [ebp + 0x74]
push dword [ebp + 0x70]
call fcn.007e46b9
add esp, 0x28
pop esi
add ebp, 0x68
leave
ret
Function at 0x7e61d2
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x1c]
cmp dword [ebp + 0x18], eax
jne 0x7e61e3
xor eax, eax
inc eax
mov dword [ebp + 0x18], eax
shl eax, 0x10
cdq
idiv dword [ebp + 0x18]
push edi
xor edi, edi
and dword [ebp + 0x18], edi
mov ecx, eax
mov eax, dword [ebp + 0x14]
mov dword [ebp + 0x1c], ecx
imul ecx, dword [ebp + 0x10]
dec eax
jmp 0x7e6205
inc dword [ebp + 0x18]
sub ecx, dword [ebp + 0x1c]
mov edx, ecx
sar edx, 0x10
cmp edx, eax
jge 0x7e61ff
mov eax, dword [ebp + 0x18]
sub dword [ebp + 0x10], eax
cmp dword [ebp + 0x10], edi
mov eax, dword [ebp + 0xc]
jle 0x7e6260
push ebx
push esi
mov esi, 0xff
mov edx, edi
sar edx, 8
and edx, esi
mov ecx, edi
add edi, dword [ebp + 0x1c]
sar ecx, 0x10
movzx ebx, byte [ecx + eax]
mov eax, edx
xor eax, esi
imul ebx, eax
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax + ecx + 1]
imul ecx, edx
add ebx, ecx
mov ecx, dword [ebp + 8]
sar ebx, 8
inc dword [ebp + 8]
dec dword [ebp + 0x10]
cmp dword [ebp + 0x10], 0
mov byte [ecx], bl
jg 0x7e6223
pop esi
pop ebx
sar edi, 0x10
cmp dword [ebp + 0x18], 0
movzx eax, byte [edi + eax]
pop edi
jle 0x7e627d
push dword [ebp + 0x18]
push eax
push dword [ebp + 8]
call fcn.00864dc0
add esp, 0xc
pop ebp
ret
Function at 0x7e9860
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x34
mov edx, dword [esp + 0x38]
mov ecx, dword [edx + 0x10]
mov edx, dword [edx + 0x14]
push ebx
push ebp
push esi
mov esi, dword [ecx + 0x34]
push edi
lea edi, [edx - 0x40c]
mov dword [esp + 0x18], edi
lea edi, [edx + 0x74]
mov dword [esp + 0x20], esi
mov esi, dword [edx + 0x50]
mov dword [esp + 0x10], edi
lea edi, [edx + 0x3f4]
mov dword [esp + 0x1c], esi
lea edx, [ecx - 0x408]
mov esi, 0x10369e00
xor eax, eax
mov dword [esp + 0x14], edx
sub esi, 0x600
lea ebp, [ecx + 0x78]
lea edx, [ecx + 0x58]
xor ecx, ecx
cmp dword [esp + 0x20], ecx
jne 0x7e98d4
cmp dword [esp + 0x1c], ecx
jne 0x7e98f1
cmp eax, 6
jge 0x7e98cd
mov ecx, 0x1036a118
jmp 0x7e9922
mov ecx, 0x1036a158
jmp 0x7e9922
cmp dword [edx - 0x20], 0
je 0x7e98ea
cmp dword [edx], 0
jne 0x7e98ea
cmp eax, 6
mov ecx, ebp
jl 0x7e98ea
mov ecx, dword [esp + 0x14]
cmp dword [esp + 0x1c], 0
je 0x7e990c
cmp dword [edi - 0x3a0], 0
je 0x7e990c
cmp dword [edi], 0
jne 0x7e990c
cmp eax, 6
mov ecx, dword [esp + 0x10]
jl 0x7e990c
mov ecx, dword [esp + 0x18]
test ecx, ecx
jne 0x7e9940
cmp eax, 6
jge 0x7e993e
test eax, eax
je 0x7e9926
cmp eax, 3
je 0x7e9926
mov ecx, dword [esp + eax*4 + 0x20]
test ecx, ecx
jne 0x7e9940
cmp eax, 6
jge 0x7e993e
xor ecx, ecx
cmp eax, 3
setge cl
shl ecx, 6
add ecx, 0x10369d80
jmp 0x7e9940
mov ecx, esi
add dword [esp + 0x10], 0x40
mov dword [esp + eax*4 + 0x24], ecx
mov ecx, 0x100
add dword [esp + 0x14], ecx
add dword [esp + 0x18], ecx
add esi, ecx
inc eax
add ebp, 0x40
add edx, 4
add edi, 4
cmp esi, 0x1036a000
jl 0x7e98b3
mov ebx, dword [esp + 0x48]
lea eax, [esp + 0x24]
push eax
push ebx
call fcn.007e9580
mov ecx, dword [ebx + 0x14]
add esp, 8
cmp dword [ecx + 0x4c], 0
je 0x7e9997
lea edx, [esp + 0x3c]
push edx
push ebx
call fcn.007e92a0
add esp, 8
mov eax, dword [ebx + 0x10]
cmp dword [eax + 0x30], 0
je 0x7e9a37
lea ecx, [ebx + 0x145f60]
mov edi, 6
nop
mov esi, 6
mov edx, 0xd
lea ebx, [ebx]
xor eax, eax
mov ebp, dword [ecx]
mov dword [eax + ebp], 0x40
add eax, 4
cmp eax, 0x40
jl 0x7e99c2
add ecx, 4
sub edx, 1
jne 0x7e99c0
sub esi, 1
jne 0x7e99b5
sub edi, 1
jne 0x7e99b0
mov ecx, dword [ebx + 0x14]
cmp dword [ecx + 0x4c], edi
je 0x7e9a37
lea ecx, [ebx + 0x1466b0]
lea edi, [edx + 2]
jmp 0x7e9a00
mov esi, 6
mov edx, 0xd
lea ebx, [ebx]
xor eax, eax
mov ebx, dword [ecx]
mov dword [eax + ebx], 0x40
add eax, 4
cmp eax, 0x100
jl 0x7e9a12
add ecx, 4
sub edx, 1
jne 0x7e9a10
sub esi, 1
jne 0x7e9a05
sub edi, 1
jne 0x7e9a00
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret
Function at 0x7f35f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edx, dword [ecx + 0x10]
mov eax, dword [edx + 0x28]
push ebx
push ebp
push esi
lea esi, [eax + eax*2]
mov eax, dword [edx + 0x2c]
add eax, dword [edx + 0x24]
add esi, esi
push edi
lea edi, [eax + eax*2]
mov eax, dword [ecx + 0x54]
lea eax, [eax + esi*2 + 0x34]
add eax, dword [esp + 0x14]
lea ebx, [esi + 0x34]
cdq
idiv ebx
mov eax, esi
neg eax
add edi, edi
sub edx, esi
cmp edx, eax
mov dword [ecx + 0x54], edx
jl 0x7f3634
cmp edx, 0x33
mov eax, edx
jl 0x7f3634
mov eax, 0x33
mov dword [ecx + 0x54], eax
add eax, esi
cdq
mov esi, 6
idiv esi
mov ebx, edi
neg ebx
mov dword [ecx + 0x58], eax
mov dword [ecx + 0x5c], edx
mov edx, dword [ecx + 0x14]
mov eax, dword [edx + 0x38]
mov edx, dword [ecx + 0x54]
add eax, edx
cmp eax, ebx
jge 0x7f365e
mov eax, ebx
jmp 0x7f3668
cmp eax, 0x33
jl 0x7f3668
mov eax, 0x33
movsx eax, byte [eax + 0x10369b14]
mov dword [ecx + 0x60], eax
add eax, edi
cdq
idiv esi
mov eax, dword [ecx + 0x60]
lea esi, [eax + edi]
mov eax, 0x2aaaaaab
mov ebp, 2
mov dword [ecx + 0x78], edx
imul esi
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ecx + 0x68], eax
mov edx, dword [ecx + 0x10]
cmp dword [edx + 0x20], ebp
je 0x7f36a3
mov edx, dword [ecx + 0x78]
jmp 0x7f36ae
lea eax, [esi + 3]
cdq
mov esi, 6
idiv esi
mov dword [ecx + 0x70], eax
mov dword [ecx + 0x80], edx
mov eax, dword [ecx + 0x14]
mov edx, dword [eax + 0x3c]
mov eax, dword [ecx + 0x54]
add eax, edx
cmp eax, ebx
jl 0x7f36d2
cmp eax, 0x33
mov ebx, eax
jl 0x7f36d2
mov ebx, 0x33
movsx eax, byte [ebx + 0x10369b14]
mov dword [ecx + 0x64], eax
add eax, edi
cdq
mov esi, 6
idiv esi
mov eax, 0x2aaaaaab
mov dword [ecx + 0x7c], edx
mov edx, dword [ecx + 0x64]
lea esi, [edx + edi]
imul esi
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ecx + 0x6c], eax
mov edx, dword [ecx + 0x10]
cmp dword [edx + 0x20], ebp
je 0x7f370d
mov edx, dword [ecx + 0x7c]
jmp 0x7f3718
lea eax, [esi + 3]
cdq
mov esi, 6
idiv esi
mov dword [ecx + 0x74], eax
mov dword [ecx + 0x84], edx
cmp dword [ecx + 0x1456a4], 0
je 0x7f37d5
mov eax, dword [ecx + 0x54]
lea eax, [eax + eax*4]
lea edx, [ecx + eax*4 + 0x145a70]
mov eax, dword [ecx + 0x60]
lea eax, [eax + eax*4]
lea edi, [ecx + 0x1456a8]
mov dword [edi], edx
lea edx, [ecx + eax*4 + 0x145a70]
mov eax, dword [ecx + 0x64]
lea eax, [eax + eax*4]
mov dword [ecx + 0x1456ac], edx
lea edx, [ecx + eax*4 + 0x145a70]
mov eax, dword [ecx + 0xc]
mov dword [ecx + 0x1456b0], edx
cmp dword [eax + 8], ebp
jne 0x7f37c6
lea ebx, [ecx + 0x1458c8]
mov ebp, 3
lea esp, [esp]
mov edx, dword [edi]
mov edx, dword [edx + 0xc]
mov eax, ebx
mov esi, 3
lea esp, [esp]
mov dword [eax + 4], edx
mov dword [eax], edx
mov dword [eax - 4], edx
mov dword [eax - 8], edx
mov dword [eax - 0xec], edx
mov dword [eax - 0xf0], edx
mov dword [eax - 0xf4], edx
mov dword [eax - 0xf8], edx
add eax, 0x30
sub esi, 1
jne 0x7f3790
add edi, 4
add ebx, 0x10
sub ebp, 1
jne 0x7f3780
or eax, 0xffffffff
mov dword [ecx + 0x145e84], eax
mov dword [ecx + 0x145e80], eax
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x7f4510
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x10
push ebx
push ebp
mov ebp, dword [esp + 0x1c]
mov eax, dword [ebp + 0x2d0]
mov ecx, dword [ebp + 0x2d4]
mov edx, dword [ebp + 0x2cc]
push esi
mov esi, dword [ebp + 0x2dc]
mov dword [esp + 0xc], eax
lea eax, [ebp + 0xa4]
push edi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], eax
jmp 0x7f455b
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x24]
xor edi, edi
cmp ecx, 0xf
jge 0x7f4594
mov eax, 0xe
sub eax, ecx
shr eax, 3
inc eax
lea ecx, [ecx + eax*8]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x10]
movzx ebx, byte [esi]
shl ecx, 8
add ecx, ebx
inc esi
sub eax, 1
mov dword [esp + 0x10], ecx
jne 0x7f4574
mov dword [esp + 0x14], esi
mov edi, edi
mov ecx, dword [esp + 0x24]
movzx eax, byte [edi + ebp + 0x115]
mov esi, edx
shr esi, 6
mov ebx, eax
and ebx, 0xfffffffc
movzx ebx, byte [esi + ebx + 0x103690b0]
sub edx, ebx
mov esi, edx
shl esi, cl
and eax, 0xfffffffe
cmp dword [esp + 0x10], esi
jb 0x7f45c4
sub dword [esp + 0x10], esi
mov edx, ebx
dec eax
movzx ecx, byte [edx + 0x103692c8]
mov al, byte [eax + 0x103691c1]
sub dword [esp + 0x24], ecx
shl edx, cl
mov byte [edi + ebp + 0x115], al
movzx eax, al
mov ecx, edi
not ecx
xor eax, ecx
test al, 1
je 0x7f45f1
inc edi
cmp edi, 3
jl 0x7f4590
mov ax, word [edi*8 + 0x10369c40]
mov ecx, dword [esp + 0x1c]
mov word [ecx], ax
movzx esi, byte [edi*8 + 0x10369c44]
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x28]
mov dword [edi + eax*4], esi
inc eax
add ecx, 2
cmp eax, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
jl 0x7f4553
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
pop edi
mov dword [ebp + 0x2cc], edx
mov edx, dword [esp + 0x20]
pop esi
mov dword [ebp + 0x2d0], ecx
mov dword [ebp + 0x2d4], edx
mov dword [ebp + 0x2dc], eax
pop ebp
pop ebx
add esp, 0x10
ret 8
Function at 0x81b520
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edx, dword [esp + 4]
mov ecx, dword [edx + 0xc]
push ebx
push ebp
push esi
xor eax, eax
xor ebx, ebx
push edi
test ecx, ecx
jl 0x81b553
mov esi, dword [edx + 4]
movzx edi, byte [esi]
movzx ebp, byte [esi + 1]
shl edi, 8
or edi, ebp
shl edi, cl
add esi, 2
mov dword [edx + 4], esi
or dword [edx + 0x10], edi
add ecx, 0xfffffff0
mov dword [edx + 0xc], ecx
mov ecx, dword [edx + 0x10]
test ecx, ecx
jns 0x81b567
pop edi
pop esi
add ecx, ecx
inc dword [edx + 0xc]
pop ebp
mov dword [edx + 0x10], ecx
pop ebx
ret
cmp ecx, 0x8000
jae 0x81b5ab
nop
shl dword [edx + 0x10], 0x10
add dword [edx + 0xc], 0x10
mov edi, dword [edx + 0x10]
mov ecx, dword [edx + 0xc]
js 0x81b5a2
mov esi, dword [edx + 4]
movzx eax, byte [esi]
movzx ebp, byte [esi + 1]
shl eax, 8
or eax, ebp
shl eax, cl
add esi, 2
mov dword [edx + 4], esi
or eax, edi
add ecx, 0xfffffff0
mov dword [edx + 0x10], eax
mov dword [edx + 0xc], ecx
cmp dword [edx + 0x10], 0x8000
jb 0x81b570
mov ecx, dword [edx + 0x10]
test ecx, ecx
js 0x81b5b9
add ecx, ecx
inc ebx
test ecx, ecx
jns 0x81b5b2
mov ecx, ebx
shl dword [edx + 0x10], cl
add dword [edx + 0xc], ebx
mov eax, dword [edx + 0x10]
mov ecx, dword [edx + 0xc]
js 0x81b5eb
mov esi, dword [edx + 4]
movzx edi, byte [esi]
movzx ebp, byte [esi + 1]
shl edi, 8
or edi, ebp
shl edi, cl
add esi, 2
mov dword [edx + 4], esi
or edi, eax
add ecx, 0xfffffff0
mov dword [edx + 0x10], edi
mov dword [edx + 0xc], ecx
mov edi, dword [edx + 0x10]
mov ecx, 0x1f
sub ecx, ebx
mov esi, edi
shr esi, cl
lea ecx, [ebx + 1]
shl edi, cl
inc ebx
add dword [edx + 0xc], ebx
mov dword [edx + 0x10], edi
test esi, esi
je 0x81b620
mov eax, esi
cdq
lea ecx, [esi - 1]
sub eax, edx
pop edi
and ecx, 1
dec ecx
sar eax, 1
pop esi
xor eax, ecx
pop ebp
sub eax, ecx
pop ebx
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
Function at 0x81b730
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 8
mov edx, dword [esp + 0xc]
mov ecx, dword [edx + 0xc]
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebp, ebp
cmp ecx, edi
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], edi
jl 0x81b76e
mov esi, dword [edx + 4]
movzx eax, byte [esi]
movzx ebx, byte [esi + 1]
shl eax, 8
or eax, ebx
shl eax, cl
add esi, 2
mov dword [edx + 4], esi
or dword [edx + 0x10], eax
add ecx, 0xfffffff0
mov dword [edx + 0xc], ecx
mov ecx, dword [edx + 0x10]
test ecx, ecx
jns 0x81b787
mov eax, edi
pop edi
pop esi
add ecx, ecx
inc dword [edx + 0xc]
pop ebp
mov dword [edx + 0x10], ecx
pop ebx
add esp, 8
ret
mov eax, 0x10
cmp ecx, 0x8000
jae 0x81b7d7
shl dword [edx + 0x10], 0x10
add dword [edx + 0xc], eax
mov edi, dword [edx + 0x10]
mov ecx, dword [edx + 0xc]
js 0x81b7c5
mov esi, dword [edx + 4]
movzx eax, byte [esi]
movzx ebx, byte [esi + 1]
shl eax, 8
or eax, ebx
shl eax, cl
add esi, 2
mov dword [edx + 4], esi
or eax, edi
add ecx, 0xfffffff0
mov dword [edx + 0x10], eax
mov dword [edx + 0xc], ecx
mov eax, 0x10
add dword [esp + 0x10], eax
cmp dword [edx + 0x10], 0x8000
jb 0x81b794
mov esi, dword [edx + 0x10]
mov ecx, esi
test ecx, ecx
js 0x81b7e7
add ecx, ecx
inc ebp
test ecx, ecx
jns 0x81b7e0
add dword [edx + 0xc], ebp
mov ecx, ebp
shl esi, cl
mov ecx, dword [esp + 0x10]
lea ebx, [ecx + ebp + 1]
mov dword [edx + 0x10], esi
test ebx, ebx
je 0x81b877
lea ecx, [ecx]
cmp ebx, 0x10
mov esi, 0x10
jg 0x81b80c
mov esi, ebx
mov ecx, dword [edx + 0xc]
test ecx, ecx
jl 0x81b833
mov edi, dword [edx + 4]
movzx eax, byte [edi]
movzx ebp, byte [edi + 1]
shl eax, 8
or eax, ebp
shl eax, cl
add edi, 2
mov dword [edx + 4], edi
or dword [edx + 0x10], eax
add ecx, 0xfffffff0
mov dword [edx + 0xc], ecx
mov edi, dword [edx + 0x10]
mov ebp, dword [esp + 0x14]
add dword [edx + 0xc], esi
mov ecx, 0x20
sub ecx, esi
mov eax, edi
shr eax, cl
mov ecx, esi
shl ebp, cl
shl edi, cl
or eax, ebp
sub ebx, esi
mov dword [esp + 0x14], eax
mov dword [edx + 0x10], edi
jne 0x81b800
test eax, eax
je 0x81b877
lea ecx, [eax - 1]
cdq
sub eax, edx
pop edi
and ecx, 1
dec ecx
sar eax, 1
pop esi
xor eax, ecx
pop ebp
sub eax, ecx
pop ebx
add esp, 8
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret

Function at 0x81eed8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
test eax, eax
jle 0x81ef44
mov dword [ebp - 4], eax
push ebx
mov al, byte [esi]
mov dl, byte [edi]
mov bl, al
xor bl, dl
or al, dl
shr bl, 1
sub al, bl
mov byte [ecx], al
mov al, byte [esi + 1]
mov dl, byte [edi + 1]
mov bl, al
xor bl, dl
or al, dl
shr bl, 1
sub al, bl
mov byte [ecx + 1], al
mov al, byte [esi + 2]
mov dl, byte [edi + 2]
mov bl, al
xor bl, dl
or al, dl
shr bl, 1
sub al, bl
mov byte [ecx + 2], al
mov al, byte [esi + 3]
mov dl, byte [edi + 3]
add esi, dword [ebp + 0x14]
add edi, dword [ebp + 0x18]
mov bl, al
xor bl, dl
shr bl, 1
or al, dl
sub al, bl
mov byte [ecx + 3], al
add ecx, dword [ebp + 0x10]
dec dword [ebp - 4]
jne 0x81eeec
pop ebx
pop edi
pop esi
leave
ret
Function at 0x81f4dc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
test ecx, ecx
jle 0x81f59c
mov dword [ebp - 4], ecx
push ebx
mov cl, byte [esi]
mov dl, byte [edi]
mov bl, cl
xor bl, dl
or cl, dl
shr bl, 1
sub cl, bl
mov byte [eax], cl
mov cl, byte [esi + 1]
mov dl, byte [edi + 1]
mov bl, cl
xor bl, dl
or cl, dl
shr bl, 1
sub cl, bl
mov byte [eax + 1], cl
mov cl, byte [esi + 2]
mov dl, byte [edi + 2]
mov bl, cl
xor bl, dl
or cl, dl
shr bl, 1
sub cl, bl
mov byte [eax + 2], cl
mov cl, byte [esi + 3]
mov dl, byte [edi + 3]
mov bl, cl
xor bl, dl
or cl, dl
shr bl, 1
sub cl, bl
mov byte [eax + 3], cl
mov cl, byte [esi + 4]
mov dl, byte [edi + 4]
mov bl, cl
xor bl, dl
or cl, dl
shr bl, 1
sub cl, bl
mov byte [eax + 4], cl
mov cl, byte [esi + 5]
mov dl, byte [edi + 5]
mov bl, cl
xor bl, dl
or cl, dl
shr bl, 1
sub cl, bl
mov byte [eax + 5], cl
mov cl, byte [esi + 6]
mov dl, byte [edi + 6]
mov bl, cl
xor bl, dl
or cl, dl
shr bl, 1
sub cl, bl
mov byte [eax + 6], cl
mov cl, byte [esi + 7]
mov dl, byte [edi + 7]
add esi, dword [ebp + 0x14]
add edi, dword [ebp + 0x18]
mov bl, cl
xor bl, dl
shr bl, 1
or cl, dl
sub cl, bl
mov byte [eax + 7], cl
add eax, dword [ebp + 0x10]
dec dword [ebp - 4]
jne 0x81f4f4
pop ebx
pop edi
pop esi
leave
ret
Function at 0x8200aa
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
mov edi, eax
test edx, edx
jle 0x82010c
push ebx
mov cl, byte [edi]
mov al, byte [esi]
mov bl, al
xor bl, cl
or al, cl
shr bl, 1
sub al, bl
mov byte [esi], al
mov cl, byte [edi + 1]
mov al, byte [esi + 1]
mov bl, al
xor bl, cl
or al, cl
shr bl, 1
sub al, bl
mov byte [esi + 1], al
mov cl, byte [edi + 2]
mov al, byte [esi + 2]
mov bl, al
xor bl, cl
or al, cl
shr bl, 1
sub al, bl
mov byte [esi + 2], al
mov al, byte [esi + 3]
mov cl, byte [edi + 3]
add edi, dword [esp + 0x18]
mov bl, al
xor bl, cl
shr bl, 1
or al, cl
sub al, bl
mov byte [esi + 3], al
add esi, dword [esp + 0x14]
dec edx
jne 0x8200b7
pop ebx
pop edi
pop esi
ret

Function at 0x82010f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
test eax, eax
jle 0x8201be
mov dword [ebp - 4], eax
push ebx
mov al, byte [edi]
mov dl, byte [ecx]
mov bl, al
xor bl, dl
or al, dl
shr bl, 1
sub al, bl
mov dl, al
mov al, byte [esi]
mov bl, al
xor bl, dl
or al, dl
shr bl, 1
sub al, bl
mov byte [esi], al
mov al, byte [edi + 1]
mov dl, byte [ecx + 1]
mov bl, al
xor bl, dl
or al, dl
shr bl, 1
sub al, bl
mov dl, al
mov al, byte [esi + 1]
mov bl, al
xor bl, dl
or al, dl
shr bl, 1
sub al, bl
mov byte [esi + 1], al
mov al, byte [edi + 2]
mov dl, byte [ecx + 2]
mov bl, al
xor bl, dl
or al, dl
shr bl, 1
sub al, bl
mov dl, al
mov al, byte [esi + 2]
mov bl, al
xor bl, dl
or al, dl
shr bl, 1
sub al, bl
mov byte [esi + 2], al
mov al, byte [edi + 3]
mov dl, byte [ecx + 3]
add edi, dword [ebp + 0x14]
add ecx, dword [ebp + 0x18]
mov bl, al
xor bl, dl
or al, dl
shr bl, 1
sub al, bl
mov dl, al
mov al, byte [esi + 3]
mov bl, al
xor bl, dl
shr bl, 1
or al, dl
sub al, bl
mov byte [esi + 3], al
add esi, dword [ebp + 0x10]
dec dword [ebp - 4]
jne 0x820127
pop ebx
pop edi
pop esi
leave
ret

Function at 0x8207b0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
mov edi, eax
test edx, edx
jle 0x820866
push ebx
mov cl, byte [edi]
mov al, byte [esi]
mov bl, al
xor bl, cl
or al, cl
shr bl, 1
sub al, bl
mov byte [esi], al
mov cl, byte [edi + 1]
mov al, byte [esi + 1]
mov bl, al
xor bl, cl
or al, cl
shr bl, 1
sub al, bl
mov byte [esi + 1], al
mov cl, byte [edi + 2]
mov al, byte [esi + 2]
mov bl, al
xor bl, cl
or al, cl
shr bl, 1
sub al, bl
mov byte [esi + 2], al
mov cl, byte [edi + 3]
mov al, byte [esi + 3]
mov bl, al
xor bl, cl
or al, cl
shr bl, 1
sub al, bl
mov byte [esi + 3], al
mov cl, byte [edi + 4]
mov al, byte [esi + 4]
mov bl, al
xor bl, cl
or al, cl
shr bl, 1
sub al, bl
mov byte [esi + 4], al
mov cl, byte [edi + 5]
mov al, byte [esi + 5]
mov bl, al
xor bl, cl
or al, cl
shr bl, 1
sub al, bl
mov byte [esi + 5], al
mov cl, byte [edi + 6]
mov al, byte [esi + 6]
mov bl, al
xor bl, cl
or al, cl
shr bl, 1
sub al, bl
mov byte [esi + 6], al
mov al, byte [esi + 7]
mov cl, byte [edi + 7]
add edi, dword [esp + 0x18]
mov bl, al
xor bl, cl
shr bl, 1
or al, cl
sub al, bl
mov byte [esi + 7], al
add esi, dword [esp + 0x14]
dec edx
jne 0x8207c1
pop ebx
pop edi
pop esi
ret