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

Disassembly:
push ebp
mov ebp, esp
push ecx
mov edx, dword [ebp + 0xc]
mov ecx, edx
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
push 0x10
pop ebx
mov dword [ebp - 4], ebx
sub esi, edx
mov edi, ebx
mov al, byte [esi + ecx]
xor byte [ecx], al
inc ecx
sub edi, 1
jne 0x58a93d
push ebx
push edx
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 8]
push edx
push dword [eax + 4]
call fcn.00582c90
add esp, 0x14
test eax, eax
je 0x58a96b
cmp dword [ebp - 4], ebx
jne 0x58a96b
xor eax, eax
inc eax
jmp 0x58a96d
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x58aac8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x58ab2f
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x58ab2f
mov edx, dword [ebp + 8]
push esi
push edi
mov eax, dword [edx + 0xc]
cmp ecx, eax
mov esi, eax
cmovb esi, ecx
mov dword [ebp + 0xc], esi
xor esi, esi
mov edi, esi
cmp dword [ebp + 0xc], esi
jbe 0x58ab0a
mov ecx, dword [ebp + 0xc]
mov al, byte [edi + ebx]
xor byte [edx + edi + 0x10], al
inc edi
cmp edi, ecx
jb 0x58aaf8
mov eax, dword [edx + 0xc]
mov ecx, dword [ebp + 0x10]
cmp ecx, eax
jbe 0x58ab2d
sub ecx, eax
push 0x10
pop eax
cmp ecx, eax
cmova ecx, eax
test ecx, ecx
je 0x58ab2d
mov eax, dword [edx + 0xc]
add eax, esi
mov al, byte [eax + ebx]
xor byte [edx + esi + 0x30], al
inc esi
cmp esi, ecx
jb 0x58ab1c
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x5905e9
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push 0x5c
push 0
push esi
call fcn.00739c90
add esp, 0xc
mov dword [esi], 0x67452301
xor eax, eax
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
inc eax
mov dword [esi + 0xc], 0x10325476
pop esi
pop ebp
ret
Function at 0x5944b4
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x904fe8]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x18]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x2c], eax
push ebx
movzx ebx, byte [ecx]
push esi
lea esi, [ecx + 1]
mov dword [ebp - 0x28], ecx
mov edx, esi
mov dword [ebp - 0x24], esi
push edi
mov edi, dword [eax]
xor eax, eax
mov dword [ebp - 0x14], eax
movzx eax, byte [edx]
shl eax, 8
or ebx, eax
movzx ecx, byte [edx + 3]
movzx eax, byte [edx + 1]
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
mov dword [ebp - 0x1c], ebx
movzx eax, byte [edx + 5]
mov dword [ebp - 8], ecx
movzx ecx, byte [edx + 6]
mov edx, dword [ebp - 8]
shl ecx, 8
or ecx, eax
mov byte [ebp - 0xc], bl
mov eax, ebx
shl ecx, 0x10
shr eax, 8
or edx, ecx
mov byte [ebp - 0xb], al
mov eax, ebx
shr eax, 0x10
mov byte [ebp - 0xa], al
mov eax, ebx
shr eax, 0x18
mov byte [ebp - 9], al
mov eax, edx
shr eax, 8
mov byte [ebp - 7], al
mov eax, edx
shr eax, 0x10
mov byte [ebp - 6], al
mov eax, edx
shr eax, 0x18
cmp dword [ebp + 0x10], 0
mov dword [ebp - 0x18], edx
mov byte [ebp - 8], dl
mov byte [ebp - 5], al
je 0x594630
mov ecx, dword [ebp + 8]
sub dword [ebp - 0x10], ecx
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp - 0x10]
dec eax
mov dword [ebp + 0x10], eax
test edi, edi
jne 0x5945dd
push 1
push dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
push eax
call fcn.005915d5
mov ebx, dword [ebp - 0x1c]
add esp, 0xc
mov edx, dword [ebp - 0x18]
mov eax, ebx
shr eax, 8
mov byte [ebp - 0xb], al
mov eax, ebx
mov ecx, dword [ebp + 8]
shr eax, 0x10
mov byte [ebp - 0xa], al
mov eax, ebx
shr eax, 0x18
mov byte [ebp - 9], al
mov eax, edx
shr eax, 8
mov byte [ebp - 7], al
mov eax, edx
shr eax, 0x10
mov byte [ebp - 6], al
mov eax, edx
shr eax, 0x18
inc dword [ebp - 0x14]
mov byte [ebp - 0xc], bl
mov byte [ebp - 8], dl
mov byte [ebp - 5], al
mov al, byte [ebp + edi - 0xc]
xor al, byte [ecx]
mov byte [esi + ecx], al
inc ecx
mov eax, dword [ebp + 0x10]
inc edi
and edi, 7
mov dword [ebp + 8], ecx
test eax, eax
jne 0x594582
mov esi, dword [ebp - 0x24]
cmp dword [ebp - 0x14], eax
je 0x594630
mov eax, dword [ebp - 0x28]
mov byte [eax], bl
mov eax, ebx
shr eax, 8
mov byte [esi], al
mov eax, ebx
shr eax, 0x10
mov byte [esi + 1], al
mov eax, edx
shr ebx, 0x18
mov byte [esi + 2], bl
shr eax, 8
mov byte [esi + 3], dl
mov byte [esi + 4], al
mov eax, edx
shr eax, 0x10
shr edx, 0x18
mov byte [esi + 5], al
mov byte [esi + 6], dl
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov dword [eax], edi
pop edi
pop esi
pop ebx
call fcn.007207bc
leave
ret
Function at 0x594e94
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x904fe8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x20]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x34], eax
push ebx
movzx ebx, byte [ecx]
push esi
lea esi, [ecx + 1]
mov dword [ebp - 0x30], ecx
mov edx, esi
mov dword [ebp - 0x2c], esi
push edi
mov edi, dword [eax]
xor eax, eax
mov dword [ebp - 0x14], eax
movzx eax, byte [edx]
shl eax, 8
or ebx, eax
movzx ecx, byte [edx + 3]
movzx eax, byte [edx + 1]
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
mov dword [ebp - 0x1c], ebx
movzx eax, byte [edx + 5]
mov dword [ebp - 8], ecx
movzx ecx, byte [edx + 6]
mov edx, dword [ebp - 8]
shl ecx, 8
or ecx, eax
mov byte [ebp - 0xc], bl
mov eax, ebx
shl ecx, 0x10
shr eax, 8
or edx, ecx
mov byte [ebp - 0xb], al
mov eax, ebx
shr eax, 0x10
mov byte [ebp - 0xa], al
mov eax, ebx
shr eax, 0x18
mov byte [ebp - 9], al
mov eax, edx
shr eax, 8
mov byte [ebp - 7], al
mov eax, edx
shr eax, 0x10
mov byte [ebp - 6], al
mov eax, edx
shr eax, 0x18
cmp dword [ebp + 0x10], 0
mov dword [ebp - 0x18], edx
mov byte [ebp - 8], dl
mov byte [ebp - 5], al
je 0x595020
mov ecx, dword [ebp + 8]
sub dword [ebp - 0x10], ecx
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp - 0x10]
dec eax
mov dword [ebp + 0x10], eax
test edi, edi
jne 0x594fcd
push dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push eax
call fcn.00593608
mov ebx, dword [ebp - 0x1c]
add esp, 0x10
mov edx, dword [ebp - 0x18]
mov eax, ebx
shr eax, 8
mov byte [ebp - 0xb], al
mov eax, ebx
mov ecx, dword [ebp + 8]
shr eax, 0x10
mov byte [ebp - 0xa], al
mov eax, ebx
shr eax, 0x18
mov byte [ebp - 9], al
mov eax, edx
shr eax, 8
mov byte [ebp - 7], al
mov eax, edx
shr eax, 0x10
mov byte [ebp - 6], al
mov eax, edx
shr eax, 0x18
inc dword [ebp - 0x14]
mov byte [ebp - 0xc], bl
mov byte [ebp - 8], dl
mov byte [ebp - 5], al
mov al, byte [ebp + edi - 0xc]
xor al, byte [ecx]
mov byte [esi + ecx], al
inc ecx
mov eax, dword [ebp + 0x10]
inc edi
and edi, 7
mov dword [ebp + 8], ecx
test eax, eax
jne 0x594f6e
mov esi, dword [ebp - 0x2c]
cmp dword [ebp - 0x14], eax
je 0x595020
mov eax, dword [ebp - 0x30]
mov byte [eax], bl
mov eax, ebx
shr eax, 8
mov byte [esi], al
mov eax, ebx
shr eax, 0x10
mov byte [esi + 1], al
mov eax, edx
shr ebx, 0x18
mov byte [esi + 2], bl
shr eax, 8
mov byte [esi + 3], dl
mov byte [esi + 4], al
mov eax, edx
shr eax, 0x10
shr edx, 0x18
mov byte [esi + 5], al
mov byte [esi + 6], dl
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov dword [eax], edi
pop edi
pop esi
pop ebx
call fcn.007207bc
leave
ret
Function at 0x5961fe
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x904fe8]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x18]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x2c], eax
push ebx
movzx ebx, byte [ecx]
push esi
lea esi, [ecx + 1]
shl ebx, 0x18
mov edx, esi
mov dword [ebp - 0x28], ecx
push edi
mov edi, dword [eax]
xor eax, eax
mov dword [ebp - 0x14], eax
movzx eax, byte [edx]
movzx ecx, byte [edx + 3]
shl eax, 0x10
or ebx, eax
shl ecx, 0x18
movzx eax, byte [edx + 1]
shl eax, 8
or ebx, eax
mov dword [ebp - 0x24], esi
movzx eax, byte [edx + 2]
or ebx, eax
movzx eax, byte [edx + 4]
shl eax, 0x10
or ecx, eax
mov dword [ebp - 0x1c], ebx
movzx eax, byte [edx + 6]
mov dword [ebp - 8], ecx
movzx ecx, byte [edx + 5]
mov edx, dword [ebp - 8]
shl ecx, 8
or ecx, eax
mov byte [ebp - 9], bl
mov eax, ebx
or edx, ecx
shr eax, 0x18
mov byte [ebp - 0xc], al
mov eax, ebx
shr eax, 0x10
mov byte [ebp - 0xb], al
mov eax, ebx
shr eax, 8
mov byte [ebp - 0xa], al
mov eax, edx
shr eax, 0x18
mov byte [ebp - 8], al
mov eax, edx
shr eax, 0x10
mov byte [ebp - 7], al
mov eax, edx
shr eax, 8
cmp dword [ebp + 0x10], 0
mov dword [ebp - 0x18], edx
mov byte [ebp - 6], al
mov byte [ebp - 5], dl
je 0x59637b
mov ecx, dword [ebp + 8]
sub dword [ebp - 0x10], ecx
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp - 0x10]
dec eax
mov dword [ebp + 0x10], eax
test edi, edi
jne 0x596324
push dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
push eax
call fcn.0059587b
mov ebx, dword [ebp - 0x1c]
mov eax, ebx
mov edx, dword [ebp - 0x18]
shr eax, 0x18
mov byte [ebp - 0xc], al
mov eax, ebx
shr eax, 0x10
mov byte [ebp - 0xb], al
mov eax, ebx
shr eax, 8
mov byte [ebp - 0xa], al
mov eax, edx
shr eax, 0x18
mov byte [ebp - 8], al
mov eax, edx
shr eax, 0x10
mov byte [ebp - 7], al
mov eax, edx
pop ecx
shr eax, 8
inc dword [ebp - 0x14]
pop ecx
mov ecx, dword [ebp + 8]
mov byte [ebp - 9], bl
mov byte [ebp - 6], al
mov byte [ebp - 5], dl
mov al, byte [ebp + edi - 0xc]
xor al, byte [ecx]
mov byte [esi + ecx], al
inc ecx
mov eax, dword [ebp + 0x10]
inc edi
and edi, 7
mov dword [ebp + 8], ecx
test eax, eax
jne 0x5962cc
mov esi, dword [ebp - 0x24]
cmp dword [ebp - 0x14], eax
je 0x59637b
mov ecx, dword [ebp - 0x28]
mov eax, ebx
shr eax, 0x18
mov byte [ecx], al
mov eax, ebx
shr eax, 0x10
mov byte [esi], al
mov eax, ebx
shr eax, 8
mov byte [esi + 1], al
mov eax, edx
shr eax, 0x18
mov byte [esi + 2], bl
mov byte [esi + 3], al
mov eax, edx
shr eax, 0x10
mov byte [esi + 4], al
mov eax, edx
shr eax, 8
mov byte [esi + 5], al
mov byte [esi + 6], dl
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov dword [eax], edi
pop edi
pop esi
pop ebx
call fcn.007207bc
leave
ret
Function at 0x59638f
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, 0x400
push edi
mov edi, 0x80
mov edx, eax
cmp dword [ebp + 0xc], edi
mov ecx, edi
mov byte [esi], 0
cmovle ecx, dword [ebp + 0xc]
cmp dword [ebp + 0x14], 0
cmovg edx, dword [ebp + 0x14]
cmp edx, eax
cmovg edx, eax
mov dword [ebp + 0xc], edx
test ecx, ecx
jle 0x5963de
mov ebx, dword [ebp + 0x10]
mov edx, esi
sub ebx, esi
mov esi, ecx
mov al, byte [ebx + edx]
mov byte [edx], al
inc edx
sub esi, 1
jne 0x5963cd
mov esi, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
movzx eax, byte [ecx + esi - 1]
mov dword [ebp + 0x14], eax
cmp ecx, edi
jge 0x59640b
mov ebx, esi
mov edx, eax
movzx eax, byte [ebx]
add eax, edx
movzx eax, al
mov al, byte [eax + 0x836560]
mov byte [ecx + esi], al
inc ecx
inc ebx
movzx edx, al
cmp ecx, edi
jl 0x5963ee
mov edx, dword [ebp + 0xc]
lea eax, [edx + 7]
neg edx
sar eax, 3
and edx, 7
sub edi, eax
mov dword [ebp + 0xc], edx
mov ecx, dword [ebp + 0xc]
mov edx, 0xff
mov dword [ebp + 0x14], eax
sar edx, cl
lea ebx, [edi + esi]
movzx eax, byte [ebx]
and edx, eax
mov al, byte [edx + 0x836560]
movzx edx, al
mov byte [ebx], al
test edi, edi
je 0x596459
mov ecx, dword [ebp + 0x14]
dec ebx
movzx eax, byte [ebx + ecx]
xor eax, edx
mov al, byte [eax + 0x836560]
movzx edx, al
mov byte [ebx], al
sub edi, 1
jne 0x596442
push 0x40
lea edx, [esi + 0xfc]
add esi, 0x7e
pop edi
movzx ecx, byte [esi + 1]
movzx eax, byte [esi]
lea esi, [esi - 2]
shl ecx, 8
or ecx, eax
mov dword [edx], ecx
lea edx, [edx - 4]
sub edi, 1
jne 0x596465
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x596e23
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x904fe8]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x18]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x2c], eax
push ebx
movzx ebx, byte [ecx]
push esi
lea esi, [ecx + 1]
mov dword [ebp - 0x28], ecx
mov edx, esi
mov dword [ebp - 0x24], esi
push edi
mov edi, dword [eax]
xor eax, eax
mov dword [ebp - 0x14], eax
movzx eax, byte [edx]
shl eax, 8
or ebx, eax
movzx ecx, byte [edx + 3]
movzx eax, byte [edx + 1]
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
mov dword [ebp - 0x1c], ebx
movzx eax, byte [edx + 5]
mov dword [ebp - 8], ecx
movzx ecx, byte [edx + 6]
mov edx, dword [ebp - 8]
shl ecx, 8
or ecx, eax
mov byte [ebp - 0xc], bl
mov eax, ebx
shl ecx, 0x10
shr eax, 8
or edx, ecx
mov byte [ebp - 0xb], al
mov eax, ebx
shr eax, 0x10
mov byte [ebp - 0xa], al
mov eax, ebx
shr eax, 0x18
mov byte [ebp - 9], al
mov eax, edx
shr eax, 8
mov byte [ebp - 7], al
mov eax, edx
shr eax, 0x10
mov byte [ebp - 6], al
mov eax, edx
shr eax, 0x18
cmp dword [ebp + 0x10], 0
mov dword [ebp - 0x18], edx
mov byte [ebp - 8], dl
mov byte [ebp - 5], al
je 0x596f9c
mov ecx, dword [ebp + 8]
sub dword [ebp - 0x10], ecx
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp - 0x10]
dec eax
mov dword [ebp + 0x10], eax
test edi, edi
jne 0x596f49
push dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
push eax
call fcn.00596b36
mov ebx, dword [ebp - 0x1c]
mov eax, ebx
mov edx, dword [ebp - 0x18]
shr eax, 8
mov byte [ebp - 0xb], al
mov eax, ebx
shr eax, 0x10
mov byte [ebp - 0xa], al
mov eax, ebx
shr eax, 0x18
mov byte [ebp - 9], al
mov eax, edx
shr eax, 8
mov byte [ebp - 7], al
mov eax, edx
shr eax, 0x10
mov byte [ebp - 6], al
mov eax, edx
pop ecx
shr eax, 0x18
inc dword [ebp - 0x14]
pop ecx
mov ecx, dword [ebp + 8]
mov byte [ebp - 0xc], bl
mov byte [ebp - 8], dl
mov byte [ebp - 5], al
mov al, byte [ebp + edi - 0xc]
xor al, byte [ecx]
mov byte [esi + ecx], al
inc ecx
mov eax, dword [ebp + 0x10]
inc edi
and edi, 7
mov dword [ebp + 8], ecx
test eax, eax
jne 0x596ef1
mov esi, dword [ebp - 0x24]
cmp dword [ebp - 0x14], eax
je 0x596f9c
mov eax, dword [ebp - 0x28]
mov byte [eax], bl
mov eax, ebx
shr eax, 8
mov byte [esi], al
mov eax, ebx
shr eax, 0x10
mov byte [esi + 1], al
mov eax, edx
shr ebx, 0x18
mov byte [esi + 2], bl
shr eax, 8
mov byte [esi + 3], dl
mov byte [esi + 4], al
mov eax, edx
shr eax, 0x10
shr edx, 0x18
mov byte [esi + 5], al
mov byte [esi + 6], dl
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov dword [eax], edi
pop edi
pop esi
pop ebx
call fcn.007207bc
leave
ret
Function at 0x5979d9
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 0x10]
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00597bc4
add esp, 0xc
test eax, eax
js 0x597bc1
mov eax, dword [edi + 0xf0]
push ebx
mov ebx, eax
shl ebx, 2
push esi
test ebx, ebx
jle 0x597a58
lea edx, [edi + 8]
lea esi, [edi + 8]
xor edi, edi
lea edx, [edx + ebx*4]
mov ecx, dword [esi - 8]
add edi, 4
mov eax, dword [edx - 8]
sub ebx, 4
mov dword [esi - 8], eax
mov eax, dword [edx - 4]
mov dword [edx - 8], ecx
mov ecx, dword [esi - 4]
mov dword [esi - 4], eax
mov eax, dword [edx]
mov dword [edx - 4], ecx
mov ecx, dword [esi]
mov dword [esi], eax
lea esi, [esi + 0x10]
mov eax, dword [edx + 4]
mov dword [edx], ecx
lea edx, [edx - 0x10]
mov ecx, dword [esi - 0xc]
mov dword [esi - 0xc], eax
mov dword [edx + 0x14], ecx
cmp edi, ebx
jl 0x597a13
mov edi, dword [ebp + 0x10]
mov eax, dword [edi + 0xf0]
xor ebx, ebx
inc ebx
cmp eax, ebx
jle 0x597bbd
lea esi, [edi + 2]
lea esi, [esi + 0x10]
mov edx, dword [esi - 2]
mov eax, edx
shr eax, 0x18
movzx ecx, byte [eax*4 + 0x836a60]
movzx eax, byte [esi - 1]
mov ecx, dword [ecx*4 + 0x837660]
movzx eax, byte [eax*4 + 0x836a60]
xor ecx, dword [eax*4 + 0x837e60]
movzx eax, byte [esi]
movzx eax, byte [eax*4 + 0x836a60]
xor ecx, dword [eax*4 + 0x837a60]
movzx eax, dl
mov edx, dword [esi + 2]
movzx eax, byte [eax*4 + 0x836a60]
xor ecx, dword [eax*4 + 0x838260]
mov eax, edx
shr eax, 0x18
mov dword [esi - 2], ecx
movzx ecx, byte [eax*4 + 0x836a60]
movzx eax, byte [esi + 3]
mov ecx, dword [ecx*4 + 0x837660]
movzx eax, byte [eax*4 + 0x836a60]
xor ecx, dword [eax*4 + 0x837e60]
movzx eax, byte [esi + 4]
movzx eax, byte [eax*4 + 0x836a60]
xor ecx, dword [eax*4 + 0x837a60]
movzx eax, dl
mov edx, dword [esi + 6]
movzx eax, byte [eax*4 + 0x836a60]
xor ecx, dword [eax*4 + 0x838260]
mov eax, edx
shr eax, 0x18
mov dword [esi + 2], ecx
movzx ecx, byte [eax*4 + 0x836a60]
movzx eax, byte [esi + 7]
mov ecx, dword [ecx*4 + 0x837660]
movzx eax, byte [eax*4 + 0x836a60]
xor ecx, dword [eax*4 + 0x837e60]
movzx eax, byte [esi + 8]
movzx eax, byte [eax*4 + 0x836a60]
xor ecx, dword [eax*4 + 0x837a60]
movzx eax, dl
mov edx, dword [esi + 0xa]
movzx eax, byte [eax*4 + 0x836a60]
xor ecx, dword [eax*4 + 0x838260]
mov eax, edx
shr eax, 0x18
mov dword [esi + 6], ecx
movzx ecx, byte [eax*4 + 0x836a60]
movzx eax, byte [esi + 0xb]
mov ecx, dword [ecx*4 + 0x837660]
movzx eax, byte [eax*4 + 0x836a60]
xor ecx, dword [eax*4 + 0x837e60]
movzx eax, byte [esi + 0xc]
movzx eax, byte [eax*4 + 0x836a60]
xor ecx, dword [eax*4 + 0x837a60]
movzx eax, dl
movzx eax, byte [eax*4 + 0x836a60]
xor ecx, dword [eax*4 + 0x838260]
inc ebx
mov dword [esi + 0xa], ecx
cmp ebx, dword [edi + 0xf0]
jl 0x597a66
pop esi
xor eax, eax
pop ebx
pop edi
pop ebp
ret
Function at 0x5980f2
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x904fe8]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0x18]
push ebx
mov ebx, dword [ebp + 0x1c]
push esi
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x2c], ebx
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x20], edi
test esi, esi
je 0x598266
push 0x10
pop ebx
cmp edi, ecx
je 0x598199
mov eax, edx
mov dword [ebp - 0x30], eax
cmp esi, ebx
jb 0x598189
mov eax, esi
shr eax, 4
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x28]
push ecx
push edi
call dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x18]
add esp, 0xc
mov edx, dword [ebp - 0x30]
mov esi, ecx
sub edx, ecx
push 4
pop edi
mov eax, dword [edx + esi]
xor dword [esi], eax
lea esi, [esi + 4]
sub edi, 1
jne 0x59815e
mov edi, dword [ebp - 0x20]
add ecx, ebx
sub dword [ebp + 0x10], ebx
mov eax, edi
add edi, ebx
mov dword [ebp - 0x30], eax
sub dword [ebp - 0x1c], 1
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x18], ecx
jne 0x598146
mov edx, dword [ebp - 0x24]
mov esi, eax
mov edi, edx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp - 0x20]
jmp 0x5981f2
cmp esi, ebx
jb 0x5981f5
mov eax, esi
mov dword [ebp - 0x20], ecx
shr eax, 4
mov dword [ebp - 0x1c], eax
shl eax, 4
add ecx, eax
mov dword [ebp - 0x18], ecx
push dword [ebp - 0x28]
lea eax, [ebp - 0x14]
push eax
push edi
call dword [ebp - 0x2c]
mov edx, dword [ebp - 0x24]
add esp, 0xc
mov esi, dword [ebp - 0x20]
xor ebx, ebx
mov eax, dword [ebp + ebx*4 - 0x14]
xor eax, dword [edx + ebx*4]
mov ecx, dword [edi + ebx*4]
mov dword [esi + ebx*4], eax
mov dword [edx + ebx*4], ecx
inc ebx
cmp ebx, 4
jb 0x5981c6
mov esi, dword [ebp + 0x10]
push 0x10
pop ebx
add dword [ebp - 0x20], ebx
sub esi, ebx
add edi, ebx
mov dword [ebp + 0x10], esi
sub dword [ebp - 0x1c], 1
jne 0x5981b0
mov eax, dword [ebp - 0x28]
test esi, esi
je 0x598266
lea ecx, [ebp - 0x14]
sub dword [ebp - 0x18], ecx
push eax
lea eax, [ebp - 0x14]
push eax
push edi
call dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x24]
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x1c], eax
cmp eax, esi
jae 0x59823e
mov ebx, dword [ebp - 0x24]
mov cl, byte [ebp + eax - 0x14]
mov dl, byte [edi + eax]
push 0x10
xor cl, byte [ebx + eax]
add eax, dword [ebp - 0x18]
mov byte [ebp + eax - 0x14], cl
mov ecx, ebx
mov eax, dword [ebp - 0x1c]
pop ebx
mov byte [ecx + eax], dl
inc eax
mov dword [ebp - 0x1c], eax
cmp eax, ebx
jb 0x598213
cmp esi, ebx
jbe 0x598250
add dword [ebp - 0x18], ebx
add edi, ebx
mov eax, dword [ebp - 0x28]
sub esi, ebx
jne 0x5981ff
jmp 0x598266
cmp eax, ebx
jae 0x598266
sub edi, dword [ebp - 0x24]
add ecx, eax
sub ebx, eax
mov al, byte [edi + ecx]
mov byte [ecx], al
inc ecx
sub ebx, 1
jne 0x59825b
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.007207bc
leave
ret
Function at 0x598275
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov ecx, dword [ebp + 0x18]
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 8], ecx
test edi, edi
je 0x59837d
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], ebx
push esi
mov esi, dword [ebp + 0xc]
cmp edi, 0x10
jb 0x59836b
mov eax, edi
shr eax, 4
mov dword [ebp - 0xc], eax
sub ecx, ebx
mov eax, esi
sub eax, ebx
mov edx, ebx
push 4
mov dword [ebp - 8], eax
mov edi, eax
pop ebx
mov eax, dword [ecx + edx]
xor eax, dword [edx]
mov dword [edi + edx], eax
lea edx, [edx + 4]
sub ebx, 1
jne 0x5982b9
push dword [ebp + 0x14]
push esi
push esi
call dword [ebp + 0x1c]
mov edi, dword [ebp + 0x10]
mov ecx, esi
mov ebx, dword [ebp - 4]
sub edi, 0x10
add ebx, 0x10
mov dword [ebp + 0x10], edi
add esp, 0xc
mov dword [ebp - 4], ebx
add esi, 0x10
sub dword [ebp - 0xc], 1
jne 0x5982a9
mov dword [ebp - 8], ecx
jmp 0x59836b
sub ecx, ebx
mov dword [ebp - 0x10], ebx
xor edx, edx
mov dword [ebp - 0x14], ecx
sub esi, ebx
mov dword [ebp - 0x18], esi
mov esi, ecx
mov ecx, dword [ebp - 0x18]
cmp edx, edi
jae 0x59831d
mov al, byte [esi + ebx]
xor al, byte [ebx]
inc edx
mov byte [ecx + ebx], al
inc ebx
cmp edx, 0x10
jb 0x59830a
mov esi, dword [ebp - 0xc]
mov ebx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
cmp edx, 0x10
jae 0x598348
push 0x10
pop eax
sub ecx, esi
lea edi, [edx + esi]
sub eax, edx
mov dword [ebp - 0x18], eax
mov edx, eax
mov al, byte [ecx + edi]
mov byte [edi], al
inc edi
sub edx, 1
jne 0x59833a
mov edi, dword [ebp + 0x10]
push dword [ebp + 0x14]
push esi
push esi
call dword [ebp + 0x1c]
add esp, 0xc
mov ecx, esi
mov dword [ebp - 8], ecx
push 0x10
pop eax
cmp edi, eax
jbe 0x598372
sub edi, eax
add esi, eax
add ebx, eax
mov dword [ebp + 0x10], edi
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], esi
test edi, edi
jne 0x5982f6
mov edi, dword [ebp + 0x18]
mov esi, ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
pop ebx
pop edi
leave
ret