joyce8/EMBER2024-capa huggingface dataset:
Function at 0x52ff90
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x3c
mov esi, dword [esp + 0x50]
mov edi, dword [esp + 0x54]
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x64]
mov ebx, dword [eax]
mov cl, byte [edx]
and ecx, 0xff
mov ebp, ecx
xor eax, eax
mov al, byte [edx + 1]
shl eax, 8
xor ecx, ecx
mov cl, byte [edx + 2]
shl ecx, 0x10
or eax, ecx
or eax, ebp
xor ecx, ecx
mov cl, byte [edx + 3]
shl ecx, 0x18
or eax, ecx
xor ecx, ecx
mov cl, byte [edx + 4]
mov dword [esp + 0x1c], ecx
mov cl, byte [edx + 5]
and ecx, 0xff
mov ebp, ecx
shl ebp, 8
xor ecx, ecx
mov cl, byte [edx + 6]
shl ecx, 0x10
or ebp, ecx
or ebp, dword [esp + 0x1c]
xor ecx, ecx
mov cl, byte [edx + 7]
shl ecx, 0x18
or ebp, ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ebp
mov byte [esp + 0x28], al
mov ecx, eax
shr ecx, 8
mov byte [esp + 0x29], cl
mov ecx, eax
shr ecx, 0x10
mov byte [esp + 0x2a], cl
shr eax, 0x18
mov byte [esp + 0x2b], al
mov eax, ebp
mov byte [esp + 0x2c], al
mov eax, ebp
shr eax, 8
mov byte [esp + 0x2d], al
mov eax, ebp
shr eax, 0x10
mov byte [esp + 0x2e], al
mov eax, ebp
shr eax, 0x18
mov byte [esp + 0x2f], al
mov ecx, dword [esp + 0x58]
test ecx, ecx
je 0x53013d
mov ebp, dword [esp + 0x58]
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], edx
jmp 0x530081
mov dl, byte [esp + ebx + 0x28]
xor dl, byte [esi]
mov byte [edi], dl
inc edi
inc esi
inc ebx
and ebx, 7
dec ebp
je 0x5300f0
test ebx, ebx
jne 0x530070
mov dword [esp + 8], 1
mov ecx, dword [esp + 0x5c]
mov dword [esp + 4], ecx
lea eax, [esp + 0x20]
mov dword [esp], eax
call fcn.005311c0
mov edx, dword [esp + 0x20]
mov byte [esp + 0x28], dl
mov ecx, edx
shr ecx, 8
mov byte [esp + 0x29], cl
mov ecx, edx
shr ecx, 0x10
mov byte [esp + 0x2a], cl
shr edx, 0x18
mov byte [esp + 0x2b], dl
mov edx, dword [esp + 0x24]
mov byte [esp + 0x2c], dl
mov ecx, edx
shr ecx, 8
mov byte [esp + 0x2d], cl
mov ecx, edx
shr ecx, 0x10
mov byte [esp + 0x2e], cl
shr edx, 0x18
mov byte [esp + 0x2f], dl
inc dword [esp + 0x18]
jmp 0x530070
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x53013d
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x24]
mov byte [edx], cl
mov esi, ecx
shr esi, 8
mov eax, esi
mov byte [edx + 1], al
mov esi, ecx
shr esi, 0x10
mov eax, esi
mov byte [edx + 2], al
shr ecx, 0x18
mov byte [edx + 3], cl
mov ecx, edi
mov byte [edx + 4], cl
mov ecx, edi
shr ecx, 8
mov byte [edx + 5], cl
mov ecx, edi
shr ecx, 0x10
mov byte [edx + 6], cl
mov eax, edi
shr eax, 0x18
mov byte [edx + 7], al
mov eax, dword [esp + 0x64]
mov dword [eax], ebx
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x531560
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push esi
push edi
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x24]
mov esi, dword [ebx]
mov edi, dword [ebx + 4]
push edi
push esi
push edi
push esi
mov ebx, esp
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x38]
push ecx
mov eax, dword [esp + 0x34]
push eax
push ebx
cmp ecx, 0
je 0x531630
and ebp, 0xfffffff8
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
je 0x5315ce
mov ecx, dword [esi]
mov edx, dword [esi + 4]
xor eax, ecx
xor ebx, edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ebx
call fcn.005311c0
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
mov dword [edi], eax
mov dword [edi + 4], ebx
add esi, 8
add edi, 8
sub ebp, 8
jne 0x5315a0
mov ebp, dword [esp + 0x38]
and ebp, 7
je 0x5316d7
call 0x5315e0
pop edx
lea ecx, [edx + 0x120]
mov ebp, dword [ecx + ebp*4]
add ebp, edx
xor ecx, ecx
xor edx, edx
jmp ebp
and ebp, 0xfffffff8
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
je 0x531680
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ebx
call fcn.005311c0
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
xor ecx, eax
xor edx, ebx
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov dword [edi], ecx
mov dword [edi + 4], edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ebx
add esi, 8
add edi, 8
sub ebp, 8
jne 0x53163d
mov ebp, dword [esp + 0x38]
and ebp, 7
je 0x5316d7
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ebx
call fcn.005311c0
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
xor ecx, eax
xor edx, ebx
mov eax, dword [esi]
mov ebx, dword [esi + 4]
ror edx, 0x10
mov byte [edi + 6], dl
shr edx, 0x10
mov byte [edi + 5], dh
mov byte [edi + 4], dl
mov dword [edi], ecx
jmp 0x5316d5
jmp 0x5316d7
mov ecx, dword [esp + 0x40]
add esp, 0x1c
mov dword [ecx], eax
mov dword [ecx + 4], ebx
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x531740
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push esi
push edi
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x2c]
mov esi, dword [ebx]
mov edi, dword [ebx + 4]
push edi
push esi
push edi
push esi
mov ebx, esp
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x38]
push eax
push ebx
cmp ecx, 0
je 0x531819
and ebp, 0xfffffff8
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
je 0x5317b7
mov ecx, dword [esi]
mov edx, dword [esi + 4]
xor eax, ecx
xor ebx, edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
call fcn.00531300
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov dword [edi], eax
mov dword [edi + 4], ebx
add esi, 8
add edi, 8
sub ebp, 8
jne 0x531789
mov ebp, dword [esp + 0x3c]
and ebp, 7
je 0x5318c0
call 0x5317c9
pop edx
lea ecx, [edx + 0x137]
mov ebp, dword [ecx + ebp*4]
add ebp, edx
xor ecx, ecx
xor edx, edx
jmp ebp
and ebp, 0xfffffff8
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
je 0x531869
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
call fcn.00531430
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
xor ecx, eax
xor edx, ebx
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov dword [edi], ecx
mov dword [edi + 4], edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebx
add esi, 8
add edi, 8
sub ebp, 8
jne 0x531826
mov ebp, dword [esp + 0x3c]
and ebp, 7
je 0x5318c0
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
call fcn.00531430
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
xor ecx, eax
xor edx, ebx
mov eax, dword [esi]
mov ebx, dword [esi + 4]
ror edx, 0x10
mov byte [edi + 6], dl
shr edx, 0x10
mov byte [edi + 5], dh
mov byte [edi + 4], dl
mov dword [edi], ecx
jmp 0x5318be
jmp 0x5318c0
mov ecx, dword [esp + 0x4c]
add esp, 0x20
mov dword [ecx], eax
mov dword [ecx + 4], ebx
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x533110
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x3c
mov edi, dword [esp + 0x54]
mov eax, dword [esp + 0x6c]
mov ebx, dword [eax]
mov ecx, dword [esp + 0x68]
xor edx, edx
mov dl, byte [ecx]
mov esi, ecx
xor ecx, ecx
mov cl, byte [esi + 1]
shl ecx, 8
xor eax, eax
mov al, byte [esi + 2]
shl eax, 0x10
or ecx, eax
or ecx, edx
xor eax, eax
mov al, byte [esi + 3]
shl eax, 0x18
or ecx, eax
mov al, byte [esi + 4]
and eax, 0xff
mov ebp, eax
xor edx, edx
mov dl, byte [esi + 5]
shl edx, 8
xor eax, eax
mov al, byte [esi + 6]
shl eax, 0x10
or edx, eax
or edx, ebp
xor eax, eax
mov al, byte [esi + 7]
shl eax, 0x18
or edx, eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edx
mov byte [esp + 0x28], cl
mov eax, ecx
shr eax, 8
mov byte [esp + 0x29], al
mov eax, ecx
shr eax, 0x10
mov byte [esp + 0x2a], al
mov eax, ecx
shr eax, 0x18
mov byte [esp + 0x2b], al
mov byte [esp + 0x2c], dl
mov eax, edx
shr eax, 8
mov byte [esp + 0x2d], al
mov eax, edx
shr eax, 0x10
mov byte [esp + 0x2e], al
mov eax, edx
shr eax, 0x18
mov byte [esp + 0x2f], al
mov esi, dword [esp + 0x58]
test esi, esi
je 0x5332af
mov ebp, dword [esp + 0x58]
mov dword [esp + 0x1c], 0
mov esi, dword [esp + 0x50]
jmp 0x5331f1
mov al, byte [esp + ebx + 0x28]
xor al, byte [esi]
mov byte [edi], al
inc edi
inc esi
inc ebx
and ebx, 7
dec ebp
je 0x533270
test ebx, ebx
jne 0x5331e0
mov edx, dword [esp + 0x64]
mov dword [esp + 0xc], edx
mov ecx, dword [esp + 0x60]
mov dword [esp + 8], ecx
mov eax, dword [esp + 0x5c]
mov dword [esp + 4], eax
lea edx, [esp + 0x20]
mov dword [esp], edx
call fcn.00531300
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov byte [esp + 0x28], cl
mov eax, ecx
shr eax, 8
mov byte [esp + 0x29], al
mov eax, ecx
shr eax, 0x10
mov byte [esp + 0x2a], al
mov eax, ecx
shr eax, 0x18
mov byte [esp + 0x2b], al
mov byte [esp + 0x2c], dl
mov eax, edx
shr eax, 8
mov byte [esp + 0x2d], al
mov eax, edx
shr eax, 0x10
mov byte [esp + 0x2e], al
mov eax, edx
shr eax, 0x18
mov byte [esp + 0x2f], al
inc dword [esp + 0x1c]
jmp 0x5331e0
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x5332af
mov esi, dword [esp + 0x68]
mov byte [esi], cl
mov eax, ecx
shr eax, 8
mov byte [esi + 1], al
mov eax, ecx
shr eax, 0x10
mov byte [esi + 2], al
mov eax, ecx
shr eax, 0x18
mov byte [esi + 3], al
mov byte [esi + 4], dl
mov eax, edx
shr eax, 8
mov byte [esi + 5], al
mov eax, edx
shr eax, 0x10
mov byte [esi + 6], al
shr edx, 0x18
mov byte [esi + 7], dl
mov ebp, dword [esp + 0x6c]
mov dword [ebp], ebx
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x533390
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x3c
mov esi, dword [esp + 0x50]
mov edi, dword [esp + 0x54]
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x64]
mov eax, dword [eax]
mov dword [esp + 0x14], eax
xor ecx, ecx
mov cl, byte [edx]
shl ecx, 0x18
xor eax, eax
mov al, byte [edx + 1]
shl eax, 0x10
or ecx, eax
xor eax, eax
mov al, byte [edx + 3]
or ecx, eax
xor eax, eax
mov al, byte [edx + 2]
shl eax, 8
or ecx, eax
xor eax, eax
mov al, byte [edx + 4]
shl eax, 0x18
mov bl, byte [edx + 5]
and ebx, 0xff
mov ebp, ebx
shl ebp, 0x10
or eax, ebp
mov bl, byte [edx + 7]
and ebx, 0xff
or eax, ebx
mov bl, byte [edx + 6]
and ebx, 0xff
mov ebp, ebx
shl ebp, 8
or eax, ebp
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], eax
mov ebp, ecx
shr ebp, 0x18
mov ebx, ebp
mov byte [esp + 0x28], bl
mov ebp, ecx
shr ebp, 0x10
mov ebx, ebp
mov byte [esp + 0x29], bl
mov ebp, ecx
shr ebp, 8
mov ebx, ebp
mov byte [esp + 0x2a], bl
mov byte [esp + 0x2b], cl
mov ecx, eax
shr ecx, 0x18
mov byte [esp + 0x2c], cl
mov ecx, eax
shr ecx, 0x10
mov byte [esp + 0x2d], cl
mov ecx, eax
shr ecx, 8
mov byte [esp + 0x2e], cl
mov byte [esp + 0x2f], al
mov ecx, dword [esp + 0x58]
test ecx, ecx
je 0x533543
mov ebp, dword [esp + 0x58]
mov dword [esp + 0x18], 0
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x1c], edx
jmp 0x533481
mov dl, byte [esp + ebx + 0x28]
xor dl, byte [esi]
mov byte [edi], dl
inc edi
inc esi
inc ebx
and ebx, 7
dec ebp
je 0x5334f0
test ebx, ebx
jne 0x533470
mov eax, dword [esp + 0x5c]
mov dword [esp + 4], eax
lea edx, [esp + 0x20]
mov dword [esp], edx
call fcn.00533770
mov edx, dword [esp + 0x20]
mov ecx, edx
shr ecx, 0x18
mov byte [esp + 0x28], cl
mov ecx, edx
shr ecx, 0x10
mov byte [esp + 0x29], cl
mov ecx, edx
shr ecx, 8
mov byte [esp + 0x2a], cl
mov byte [esp + 0x2b], dl
mov edx, dword [esp + 0x24]
mov ecx, edx
shr ecx, 0x18
mov byte [esp + 0x2c], cl
mov ecx, edx
shr ecx, 0x10
mov byte [esp + 0x2d], cl
mov ecx, edx
shr ecx, 8
mov byte [esp + 0x2e], cl
mov byte [esp + 0x2f], dl
inc dword [esp + 0x18]
jmp 0x533470
mov dword [esp + 0x14], ebx
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x533543
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov esi, ecx
shr esi, 0x18
mov ebx, esi
mov byte [edx], bl
mov esi, ecx
shr esi, 0x10
mov ebx, esi
mov byte [edx + 1], bl
mov esi, ecx
shr esi, 8
mov ebx, esi
mov byte [edx + 2], bl
mov byte [edx + 3], cl
mov ecx, eax
shr ecx, 0x18
mov byte [edx + 4], cl
mov ecx, eax
shr ecx, 0x10
mov byte [edx + 5], cl
mov ecx, eax
shr ecx, 8
mov byte [edx + 6], cl
mov byte [edx + 7], al
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x64]
mov dword [eax], edx
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x5357b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov eax, dword [esp + 0x30]
mov ebx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov byte [eax], 0
mov esi, dword [esp + 0x34]
cmp esi, 0x80
jle 0x5357d7
mov esi, pe_nt_image_headers32
test edx, edx
jle 0x5357e7
cmp edx, 0x400
jle 0x535967
mov edx, 0xffffffff
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0xff
mov dword [esp + 0x10], 0
mov ebp, pe_nt_image_headers32
test esi, esi
jle 0x5359a0
mov ecx, esi
shr ecx, 2
mov dword [esp], ecx
shl ecx, 2
mov dword [esp + 0xc], ecx
test bl, 3
sete byte [esp + 7]
lea ecx, [ebx + 4]
cmp eax, ecx
setae byte [esp + 6]
lea ecx, [eax + 4]
cmp ebx, ecx
setae cl
or byte [esp + 6], cl
mov cl, byte [esp + 6]
and byte [esp + 7], cl
cmp esi, 8
seta cl
test byte [esp + 7], cl
mov ecx, 0
je 0x535887
mov edi, dword [esp + 0xc]
test edi, edi
je 0x535887
mov edi, dword [esp]
mov dword [esp + 8], edx
lea esi, [esi]
lea edi, [edi]
mov edx, dword [ebx + ecx*4]
mov dword [eax + ecx*4], edx
inc ecx
cmp edi, ecx
ja 0x535870
mov edx, dword [esp + 8]
mov ecx, dword [esp + 0xc]
cmp ecx, esi
je 0x53589d
mov edi, edx
lea esi, [esi]
mov dl, byte [ebx + ecx]
mov byte [eax + ecx], dl
inc ecx
cmp esi, ecx
jg 0x535890
mov edx, edi
xor ecx, ecx
mov cl, byte [eax + esi - 1]
cmp esi, 0x80
je 0x5358e2
mov ebx, eax
sub ebx, esi
mov edi, edx
jmp 0x5358c0
add cl, byte [ebx + esi]
and ecx, 0xff
mov cl, byte [ecx + 0x60a780]
mov byte [eax + esi], cl
xor ecx, ecx
mov cl, byte [eax + esi]
inc esi
cmp esi, 0x80
jne 0x5358c0
mov edx, edi
mov ecx, dword [esp + 0x18]
add ecx, eax
xor ebx, ebx
mov bl, byte [ecx]
and ebx, dword [esp + 0x14]
mov bl, byte [ebx + 0x60a780]
mov byte [ecx], bl
and ebx, 0xff
lea esi, [eax + ebp]
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x53592a
lea esi, [esi]
xor ecx, ecx
mov cl, byte [esi + edx]
xor ecx, ebx
mov cl, byte [ecx + 0x60a780]
mov byte [eax + edx], cl
xor ebx, ebx
mov bl, cl
dec edx
cmp edx, 0xffffffff
jne 0x535910
lea esi, [eax + 0xfc]
mov edx, 0x7f
lea esi, [esi]
lea edi, [edi]
xor ecx, ecx
mov cl, byte [eax + edx]
shl ecx, 8
xor ebx, ebx
mov bl, byte [eax + edx - 1]
or ecx, ebx
mov dword [esi + edx*2 - 0xfe], ecx
sub edx, 2
cmp edx, 0xffffffff
jne 0x535940
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret
lea ebp, [edx + 7]
sar ebp, 3
mov dword [esp + 0x10], pe_nt_image_headers32
sub dword [esp + 0x10], ebp
mov ecx, edx
neg ecx
and ecx, 7
mov dword [esp + 0x14], 0xff
sar dword [esp + 0x14], cl
mov edx, dword [esp + 0x10]
mov dword [esp + 0x18], edx
mov edx, 0x7f
sub edx, ebp
jmp 0x535809
xor ecx, ecx
mov cl, byte [eax + esi - 1]
jmp 0x5358ab
Function at 0x535a90
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x3c
mov esi, dword [esp + 0x50]
mov edi, dword [esp + 0x54]
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x64]
mov ebx, dword [eax]
mov cl, byte [edx]
and ecx, 0xff
mov ebp, ecx
xor eax, eax
mov al, byte [edx + 1]
shl eax, 8
xor ecx, ecx
mov cl, byte [edx + 2]
shl ecx, 0x10
or eax, ecx
or eax, ebp
xor ecx, ecx
mov cl, byte [edx + 3]
shl ecx, 0x18
or eax, ecx
xor ecx, ecx
mov cl, byte [edx + 4]
mov dword [esp + 0x1c], ecx
mov cl, byte [edx + 5]
and ecx, 0xff
mov ebp, ecx
shl ebp, 8
xor ecx, ecx
mov cl, byte [edx + 6]
shl ecx, 0x10
or ebp, ecx
or ebp, dword [esp + 0x1c]
xor ecx, ecx
mov cl, byte [edx + 7]
shl ecx, 0x18
or ebp, ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ebp
mov byte [esp + 0x28], al
mov ecx, eax
shr ecx, 8
mov byte [esp + 0x29], cl
mov ecx, eax
shr ecx, 0x10
mov byte [esp + 0x2a], cl
shr eax, 0x18
mov byte [esp + 0x2b], al
mov eax, ebp
mov byte [esp + 0x2c], al
mov eax, ebp
shr eax, 8
mov byte [esp + 0x2d], al
mov eax, ebp
shr eax, 0x10
mov byte [esp + 0x2e], al
mov eax, ebp
shr eax, 0x18
mov byte [esp + 0x2f], al
mov ecx, dword [esp + 0x58]
test ecx, ecx
je 0x535c3d
mov ebp, dword [esp + 0x58]
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], edx
jmp 0x535b81
mov dl, byte [esp + ebx + 0x28]
xor dl, byte [esi]
mov byte [edi], dl
inc edi
inc esi
inc ebx
and ebx, 7
dec ebp
je 0x535bf0
test ebx, ebx
jne 0x535b70
mov ecx, dword [esp + 0x5c]
mov dword [esp + 4], ecx
lea eax, [esp + 0x20]
mov dword [esp], eax
call fcn.00534e50
mov edx, dword [esp + 0x20]
mov byte [esp + 0x28], dl
mov ecx, edx
shr ecx, 8
mov byte [esp + 0x29], cl
mov ecx, edx
shr ecx, 0x10
mov byte [esp + 0x2a], cl
shr edx, 0x18
mov byte [esp + 0x2b], dl
mov edx, dword [esp + 0x24]
mov byte [esp + 0x2c], dl
mov ecx, edx
shr ecx, 8
mov byte [esp + 0x2d], cl
mov ecx, edx
shr ecx, 0x10
mov byte [esp + 0x2e], cl
shr edx, 0x18
mov byte [esp + 0x2f], dl
inc dword [esp + 0x18]
jmp 0x535b70
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x535c3d
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x24]
mov byte [edx], cl
mov esi, ecx
shr esi, 8
mov eax, esi
mov byte [edx + 1], al
mov esi, ecx
shr esi, 0x10
mov eax, esi
mov byte [edx + 2], al
shr ecx, 0x18
mov byte [edx + 3], cl
mov ecx, edi
mov byte [edx + 4], cl
mov ecx, edi
shr ecx, 8
mov byte [edx + 5], cl
mov ecx, edi
shr ecx, 0x10
mov byte [edx + 6], cl
mov eax, edi
shr eax, 0x18
mov byte [edx + 7], al
mov eax, dword [esp + 0x64]
mov dword [eax], ebx
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x536520
Capabilities:
Encode data using xor

Disassembly:
mov dword [esp + 0x14], edi
xor eax, dword [edi]
xor ebx, dword [edi + 4]
xor ecx, dword [edi + 8]
xor edx, dword [edi + 0xc]
mov esi, dword [edi + 0xf0]
lea esi, [esi + esi - 2]
lea esi, [edi + esi*8]
mov dword [esp + 0x18], esi
mov esi, eax
and esi, 0xff
mov esi, dword [ebp + esi*8]
movzx edi, bh
xor esi, dword [ebp + edi*8 + 3]
mov edi, ecx
shr edi, 0x10
and edi, 0xff
xor esi, dword [ebp + edi*8 + 2]
mov edi, edx
shr edi, 0x18
xor esi, dword [ebp + edi*8 + 1]
mov dword [esp + 4], esi
mov esi, ebx
and esi, 0xff
shr ebx, 0x10
mov esi, dword [ebp + esi*8]
movzx edi, ch
xor esi, dword [ebp + edi*8 + 3]
mov edi, edx
shr edi, 0x10
and edi, 0xff
xor esi, dword [ebp + edi*8 + 2]
mov edi, eax
shr edi, 0x18
xor esi, dword [ebp + edi*8 + 1]
mov dword [esp + 8], esi
mov esi, ecx
and esi, 0xff
shr ecx, 0x18
mov esi, dword [ebp + esi*8]
movzx edi, dh
xor esi, dword [ebp + edi*8 + 3]
mov edi, eax
shr edi, 0x10
and edx, 0xff
and edi, 0xff
xor esi, dword [ebp + edi*8 + 2]
movzx edi, bh
xor esi, dword [ebp + edi*8 + 1]
mov edi, dword [esp + 0x14]
mov edx, dword [ebp + edx*8]
movzx eax, ah
xor edx, dword [ebp + eax*8 + 3]
mov eax, dword [esp + 4]
and ebx, 0xff
xor edx, dword [ebp + ebx*8 + 2]
mov ebx, dword [esp + 8]
xor edx, dword [ebp + ecx*8 + 1]
mov ecx, esi
add edi, 0x10
xor eax, dword [edi]
xor ebx, dword [edi + 4]
xor ecx, dword [edi + 8]
xor edx, dword [edi + 0xc]
cmp edi, dword [esp + 0x18]
mov dword [esp + 0x14], edi
jb 0x536540
mov esi, eax
and esi, 0xff
mov esi, dword [ebp + esi*8 + 2]
and esi, 0xff
movzx edi, bh
mov edi, dword [ebp + edi*8]
and edi, 0xff00
xor esi, edi
mov edi, ecx
shr edi, 0x10
and edi, 0xff
mov edi, dword [ebp + edi*8]
and edi, 0xff0000
xor esi, edi
mov edi, edx
shr edi, 0x18
mov edi, dword [ebp + edi*8 + 2]
and edi, 0xff000000
xor esi, edi
mov dword [esp + 4], esi
mov esi, ebx
and esi, 0xff
shr ebx, 0x10
mov esi, dword [ebp + esi*8 + 2]
and esi, 0xff
movzx edi, ch
mov edi, dword [ebp + edi*8]
and edi, 0xff00
xor esi, edi
mov edi, edx
shr edi, 0x10
and edi, 0xff
mov edi, dword [ebp + edi*8]
and edi, 0xff0000
xor esi, edi
mov edi, eax
shr edi, 0x18
mov edi, dword [ebp + edi*8 + 2]
and edi, 0xff000000
xor esi, edi
mov dword [esp + 8], esi
mov esi, ecx
and esi, 0xff
shr ecx, 0x18
mov esi, dword [ebp + esi*8 + 2]
and esi, 0xff
movzx edi, dh
mov edi, dword [ebp + edi*8]
and edi, 0xff00
xor esi, edi
mov edi, eax
shr edi, 0x10
and edx, 0xff
and edi, 0xff
mov edi, dword [ebp + edi*8]
and edi, 0xff0000
xor esi, edi
movzx edi, bh
mov edi, dword [ebp + edi*8 + 2]
and edi, 0xff000000
xor esi, edi
mov edi, dword [esp + 0x14]
and edx, 0xff
mov edx, dword [ebp + edx*8 + 2]
and edx, 0xff
movzx eax, ah
mov eax, dword [ebp + eax*8]
and eax, 0xff00
xor edx, eax
mov eax, dword [esp + 4]
and ebx, 0xff
mov ebx, dword [ebp + ebx*8]
and ebx, 0xff0000
xor edx, ebx
mov ebx, dword [esp + 8]
mov ecx, dword [ebp + ecx*8 + 2]
and ecx, 0xff000000
xor edx, ecx
mov ecx, esi
add edi, 0x10
xor eax, dword [edi]
xor ebx, dword [edi + 4]
xor ecx, dword [edi + 8]
xor edx, dword [edi + 0xc]
ret
Function at 0x53e2b0
Capabilities:
Encode data using xor

Disassembly:
push esi
push ebx
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
cmp dword [esp + 0x20], 0
jne 0x53e2f0
mov dword [esp + 0x20], fcn.0053d570
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], eax
pop ebx
pop esi
jmp fcn.0056dba0
mov dword [esp + 0x20], fcn.0053c8d0
pop ebx
pop esi
jmp fcn.0056d830
Function at 0x541800
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x3c
mov esi, dword [esp + 0x50]
mov edi, dword [esp + 0x54]
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x64]
mov eax, dword [eax]
mov dword [esp + 0x14], eax
xor ecx, ecx
mov cl, byte [edx]
shl ecx, 0x18
xor eax, eax
mov al, byte [edx + 1]
shl eax, 0x10
or ecx, eax
xor eax, eax
mov al, byte [edx + 3]
or ecx, eax
xor eax, eax
mov al, byte [edx + 2]
shl eax, 8
or ecx, eax
xor eax, eax
mov al, byte [edx + 4]
shl eax, 0x18
mov bl, byte [edx + 5]
and ebx, 0xff
mov ebp, ebx
shl ebp, 0x10
or eax, ebp
mov bl, byte [edx + 7]
and ebx, 0xff
or eax, ebx
mov bl, byte [edx + 6]
and ebx, 0xff
mov ebp, ebx
shl ebp, 8
or eax, ebp
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], eax
mov ebp, ecx
shr ebp, 0x18
mov ebx, ebp
mov byte [esp + 0x28], bl
mov ebp, ecx
shr ebp, 0x10
mov ebx, ebp
mov byte [esp + 0x29], bl
mov ebp, ecx
shr ebp, 8
mov ebx, ebp
mov byte [esp + 0x2a], bl
mov byte [esp + 0x2b], cl
mov ecx, eax
shr ecx, 0x18
mov byte [esp + 0x2c], cl
mov ecx, eax
shr ecx, 0x10
mov byte [esp + 0x2d], cl
mov ecx, eax
shr ecx, 8
mov byte [esp + 0x2e], cl
mov byte [esp + 0x2f], al
mov ecx, dword [esp + 0x58]
test ecx, ecx
je 0x5419b3
mov ebp, dword [esp + 0x58]
mov dword [esp + 0x18], 0
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x1c], edx
jmp 0x5418f1
mov dl, byte [esp + ebx + 0x28]
xor dl, byte [esi]
mov byte [edi], dl
inc edi
inc esi
inc ebx
and ebx, 7
dec ebp
je 0x541960
test ebx, ebx
jne 0x5418e0
mov eax, dword [esp + 0x5c]
mov dword [esp + 4], eax
lea edx, [esp + 0x20]
mov dword [esp], edx
call fcn.00541c00
mov edx, dword [esp + 0x20]
mov ecx, edx
shr ecx, 0x18
mov byte [esp + 0x28], cl
mov ecx, edx
shr ecx, 0x10
mov byte [esp + 0x29], cl
mov ecx, edx
shr ecx, 8
mov byte [esp + 0x2a], cl
mov byte [esp + 0x2b], dl
mov edx, dword [esp + 0x24]
mov ecx, edx
shr ecx, 0x18
mov byte [esp + 0x2c], cl
mov ecx, edx
shr ecx, 0x10
mov byte [esp + 0x2d], cl
mov ecx, edx
shr ecx, 8
mov byte [esp + 0x2e], cl
mov byte [esp + 0x2f], dl
inc dword [esp + 0x18]
jmp 0x5418e0
mov dword [esp + 0x14], ebx
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x5419b3
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov esi, ecx
shr esi, 0x18
mov ebx, esi
mov byte [edx], bl
mov esi, ecx
shr esi, 0x10
mov ebx, esi
mov byte [edx + 1], bl
mov esi, ecx
shr esi, 8
mov ebx, esi
mov byte [edx + 2], bl
mov byte [edx + 3], cl
mov ecx, eax
shr ecx, 0x18
mov byte [edx + 4], cl
mov ecx, eax
shr ecx, 0x10
mov byte [edx + 5], cl
mov ecx, eax
shr ecx, 8
mov byte [edx + 6], cl
mov byte [edx + 7], al
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x64]
mov dword [eax], edx
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret