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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, ecx
push edi
cmp ebx, dword [esi + 0x6c]
jle 0x482875
mov dword [esi + 0x6c], ebx
push dword [esi + 0x68]
call fcn.0052ea23
push ebx
call fcn.0052ebfb
pop ecx
pop ecx
mov dword [esi + 0x68], eax
mov edi, dword [esi + 0x68]
mov ecx, esi
push ebx
push dword [ebp + 8]
mov dword [ebp + 0xc], edi
push edi
call fcn.00455c91
mov eax, dword [esi + 0x48]
mov ecx, dword [esi + 0x50]
imul ecx, dword [ebp + 0x10]
mov eax, dword [eax + 0xc]
mov edx, eax
imul edx, dword [ebp + 8]
mov dword [ebp - 4], eax
sar ecx, 8
mov dword [ebp + 0x10], ecx
add edx, dword [esi + 0x64]
mov dword [ebp + 8], edx
cmp ecx, 0xfe
jge 0x48296e
mov esi, 0xff00ff
movzx eax, byte [edi]
mov edi, eax
shl edi, 0x10
or edi, eax
imul edi, ecx
mov ecx, 0x100
shr edi, 8
and edi, esi
mov eax, edi
shr eax, 0x10
sub ecx, eax
mov eax, dword [edx]
mov esi, eax
mov edx, 0xff00ff
shr eax, 8
and esi, edx
and eax, edx
imul esi, ecx
imul eax, ecx
shr esi, 8
shr eax, 8
and esi, edx
and eax, edx
add esi, edi
add edi, eax
mov ecx, esi
mov eax, edi
shr ecx, 8
shr eax, 8
and ecx, 0xff00ff
and eax, edx
mov edx, 0x100
sub edx, eax
mov eax, edi
shl eax, 8
shl edx, 8
or edx, eax
mov eax, 0x100
sub eax, ecx
mov ecx, 0x100
or eax, esi
mov esi, 0xff00ff
xor edx, eax
mov eax, edi
shr eax, 8
and edx, esi
and eax, esi
shl edi, 8
sub ecx, eax
mov eax, dword [ebp + 8]
shl ecx, 8
or ecx, edi
mov edi, dword [ebp + 0xc]
xor edx, ecx
mov ecx, dword [ebp + 0x10]
mov dword [eax], edx
inc edi
mov edx, eax
mov dword [ebp + 0xc], edi
add edx, dword [ebp - 4]
dec ebx
mov dword [ebp + 8], edx
test ebx, ebx
jg 0x4828ba
jmp 0x482a12
movzx eax, byte [edi]
mov ecx, 0x100
mov edi, eax
shl edi, 0x10
or edi, eax
mov eax, edi
shr eax, 0x10
sub ecx, eax
mov eax, dword [edx]
mov esi, eax
mov edx, 0xff00ff
shr eax, 8
and esi, edx
and eax, edx
imul esi, ecx
imul eax, ecx
shr esi, 8
shr eax, 8
and esi, edx
and eax, edx
add esi, edi
add edi, eax
mov ecx, esi
mov eax, edi
shr ecx, 8
shr eax, 8
and ecx, 0xff00ff
and eax, edx
mov edx, 0x100
sub edx, eax
mov eax, edi
shl eax, 8
shl edx, 8
or edx, eax
mov eax, 0x100
sub eax, ecx
mov ecx, 0xff00ff
or eax, esi
xor edx, eax
mov eax, edi
and edx, ecx
shr eax, 8
and eax, ecx
shl edi, 8
mov ecx, 0x100
sub ecx, eax
mov eax, dword [ebp + 8]
shl ecx, 8
or ecx, edi
mov edi, dword [ebp + 0xc]
xor edx, ecx
inc edi
mov dword [eax], edx
mov edx, eax
add edx, dword [ebp - 4]
dec ebx
mov dword [ebp + 0xc], edi
mov dword [ebp + 8], edx
test ebx, ebx
jg 0x48296e
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x482a19
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, ecx
push edi
cmp ebx, dword [esi + 0x6c]
jle 0x482a40
mov dword [esi + 0x6c], ebx
push dword [esi + 0x68]
call fcn.0052ea23
push ebx
call fcn.0052ebfb
pop ecx
pop ecx
mov dword [esi + 0x68], eax
mov edi, dword [esi + 0x68]
mov ecx, esi
push ebx
push dword [ebp + 8]
mov dword [ebp + 0xc], edi
push edi
call fcn.00455d6f
mov eax, dword [esi + 0x48]
mov ecx, dword [esi + 0x50]
imul ecx, dword [ebp + 0x10]
mov eax, dword [eax + 0xc]
mov edx, eax
imul edx, dword [ebp + 8]
mov dword [ebp - 4], eax
sar ecx, 8
mov dword [ebp + 0x10], ecx
add edx, dword [esi + 0x64]
mov dword [ebp + 8], edx
cmp ecx, 0xfe
jge 0x482b39
mov esi, 0xff00ff
movzx eax, byte [edi]
mov edi, eax
shl edi, 0x10
or edi, eax
imul edi, ecx
mov ecx, 0x100
shr edi, 8
and edi, esi
mov eax, edi
shr eax, 0x10
sub ecx, eax
mov eax, dword [edx]
mov esi, eax
mov edx, 0xff00ff
shr eax, 8
and esi, edx
and eax, edx
imul esi, ecx
imul eax, ecx
shr esi, 8
shr eax, 8
and esi, edx
and eax, edx
add esi, edi
add edi, eax
mov ecx, esi
mov eax, edi
shr ecx, 8
shr eax, 8
and ecx, 0xff00ff
and eax, edx
mov edx, 0x100
sub edx, eax
mov eax, edi
shl eax, 8
shl edx, 8
or edx, eax
mov eax, 0x100
sub eax, ecx
mov ecx, 0x100
or eax, esi
mov esi, 0xff00ff
xor edx, eax
mov eax, edi
shr eax, 8
and edx, esi
and eax, esi
shl edi, 8
sub ecx, eax
mov eax, dword [ebp + 8]
shl ecx, 8
or ecx, edi
mov edi, dword [ebp + 0xc]
xor edx, ecx
mov ecx, dword [ebp + 0x10]
mov dword [eax], edx
inc edi
mov edx, eax
mov dword [ebp + 0xc], edi
add edx, dword [ebp - 4]
dec ebx
mov dword [ebp + 8], edx
test ebx, ebx
jg 0x482a85
jmp 0x482bdd
movzx eax, byte [edi]
mov ecx, 0x100
mov edi, eax
shl edi, 0x10
or edi, eax
mov eax, edi
shr eax, 0x10
sub ecx, eax
mov eax, dword [edx]
mov esi, eax
mov edx, 0xff00ff
shr eax, 8
and esi, edx
and eax, edx
imul esi, ecx
imul eax, ecx
shr esi, 8
shr eax, 8
and esi, edx
and eax, edx
add esi, edi
add edi, eax
mov ecx, esi
mov eax, edi
shr ecx, 8
shr eax, 8
and ecx, 0xff00ff
and eax, edx
mov edx, 0x100
sub edx, eax
mov eax, edi
shl eax, 8
shl edx, 8
or edx, eax
mov eax, 0x100
sub eax, ecx
mov ecx, 0xff00ff
or eax, esi
xor edx, eax
mov eax, edi
and edx, ecx
shr eax, 8
and eax, ecx
shl edi, 8
mov ecx, 0x100
sub ecx, eax
mov eax, dword [ebp + 8]
shl ecx, 8
or ecx, edi
mov edi, dword [ebp + 0xc]
xor edx, ecx
inc edi
mov dword [eax], edx
mov edx, eax
add edx, dword [ebp - 4]
dec ebx
mov dword [ebp + 0xc], edi
mov dword [ebp + 8], edx
test ebx, ebx
jg 0x482b39
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x482be4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, ecx
push edi
cmp ebx, dword [esi + 0x6c]
jle 0x482c0e
mov dword [esi + 0x6c], ebx
push dword [esi + 0x68]
call fcn.0052ea23
imul eax, ebx, 3
push eax
call fcn.0052ebfb
pop ecx
pop ecx
mov dword [esi + 0x68], eax
mov edi, dword [esi + 0x68]
mov ecx, esi
push ebx
push dword [ebp + 8]
push edi
call fcn.00455ef2
mov eax, dword [esi + 0x48]
mov eax, dword [eax + 0xc]
mov edx, eax
imul edx, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x50]
imul eax, dword [ebp + 0x10]
add edx, dword [esi + 0x64]
mov dword [ebp + 0xc], edx
sar eax, 8
mov dword [ebp + 0x10], eax
cmp eax, 0xfe
jge 0x482d2c
lea esi, [edi + 2]
mov dword [ebp + 8], esi
movzx edi, byte [esi - 1]
mov ecx, 0x100
mov edx, dword [edx]
or edi, 0xff0000
imul edi, eax
movzx esi, byte [esi]
shl esi, 0x10
shr edi, 8
and edi, 0xff00ff
mov eax, edi
shr eax, 0x10
sub ecx, eax
mov eax, dword [ebp + 8]
movzx eax, byte [eax - 2]
or esi, eax
mov eax, edx
imul esi, dword [ebp + 0x10]
and eax, 0xff00ff
imul eax, ecx
shr edx, 8
shr esi, 8
shr eax, 8
and esi, 0xff00ff
and eax, 0xff00ff
add esi, eax
mov eax, 0xff00ff
and edx, eax
imul edx, ecx
mov ecx, esi
shr ecx, 8
and ecx, 0xff00ff
shr edx, 8
and edx, eax
add edi, edx
mov edx, 0x100
mov eax, edi
shr eax, 8
and eax, 0xff00ff
sub edx, eax
mov eax, edi
shl eax, 8
shl edx, 8
or edx, eax
mov eax, 0x100
sub eax, ecx
mov ecx, 0xff00ff
or eax, esi
mov esi, dword [ebp + 8]
xor edx, eax
add esi, 3
and edx, ecx
mov dword [ebp + 8], esi
mov eax, edi
shl edi, 8
shr eax, 8
and eax, ecx
mov ecx, 0x100
sub ecx, eax
mov eax, dword [ebp + 0xc]
shl ecx, 8
or ecx, edi
xor edx, ecx
mov dword [eax], edx
mov edx, eax
add edx, dword [ebp - 4]
dec ebx
mov eax, dword [ebp + 0x10]
mov dword [ebp + 0xc], edx
test ebx, ebx
jg 0x482c50
jmp 0x482d5c
mov ax, word [edi]
lea edi, [edi + 3]
movzx ecx, byte [edi - 1]
or ecx, 0xffffff00
mov word [ebp + 8], ax
movzx eax, byte [ebp + 9]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebp + 8]
shl ecx, 8
or ecx, eax
mov dword [edx], ecx
add edx, dword [ebp - 4]
dec ebx
test ebx, ebx
jg 0x482d2c
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x482d63
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, ecx
push edi
cmp ebx, dword [esi + 0x6c]
jle 0x482d8d
mov dword [esi + 0x6c], ebx
push dword [esi + 0x68]
call fcn.0052ea23
imul eax, ebx, 3
push eax
call fcn.0052ebfb
pop ecx
pop ecx
mov dword [esi + 0x68], eax
mov edi, dword [esi + 0x68]
mov ecx, esi
push ebx
push dword [ebp + 8]
push edi
call fcn.00455fdd
mov eax, dword [esi + 0x48]
mov eax, dword [eax + 0xc]
mov edx, eax
imul edx, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x50]
imul eax, dword [ebp + 0x10]
add edx, dword [esi + 0x64]
mov dword [ebp + 0xc], edx
sar eax, 8
mov dword [ebp + 0x10], eax
cmp eax, 0xfe
jge 0x482eab
lea esi, [edi + 2]
mov dword [ebp + 8], esi
movzx edi, byte [esi - 1]
mov ecx, 0x100
mov edx, dword [edx]
or edi, 0xff0000
imul edi, eax
movzx esi, byte [esi]
shl esi, 0x10
shr edi, 8
and edi, 0xff00ff
mov eax, edi
shr eax, 0x10
sub ecx, eax
mov eax, dword [ebp + 8]
movzx eax, byte [eax - 2]
or esi, eax
mov eax, edx
imul esi, dword [ebp + 0x10]
and eax, 0xff00ff
imul eax, ecx
shr edx, 8
shr esi, 8
shr eax, 8
and esi, 0xff00ff
and eax, 0xff00ff
add esi, eax
mov eax, 0xff00ff
and edx, eax
imul edx, ecx
mov ecx, esi
shr ecx, 8
and ecx, 0xff00ff
shr edx, 8
and edx, eax
add edi, edx
mov edx, 0x100
mov eax, edi
shr eax, 8
and eax, 0xff00ff
sub edx, eax
mov eax, edi
shl eax, 8
shl edx, 8
or edx, eax
mov eax, 0x100
sub eax, ecx
mov ecx, 0xff00ff
or eax, esi
mov esi, dword [ebp + 8]
xor edx, eax
add esi, 3
and edx, ecx
mov dword [ebp + 8], esi
mov eax, edi
shl edi, 8
shr eax, 8
and eax, ecx
mov ecx, 0x100
sub ecx, eax
mov eax, dword [ebp + 0xc]
shl ecx, 8
or ecx, edi
xor edx, ecx
mov dword [eax], edx
mov edx, eax
add edx, dword [ebp - 4]
dec ebx
mov eax, dword [ebp + 0x10]
mov dword [ebp + 0xc], edx
test ebx, ebx
jg 0x482dcf
jmp 0x482edb
mov ax, word [edi]
lea edi, [edi + 3]
movzx ecx, byte [edi - 1]
or ecx, 0xffffff00
mov word [ebp + 8], ax
movzx eax, byte [ebp + 9]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebp + 8]
shl ecx, 8
or ecx, eax
mov dword [edx], ecx
add edx, dword [ebp - 4]
dec ebx
test ebx, ebx
jg 0x482eab
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x483bdc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ecx + 0x30]
push ebx
push esi
push edi
mov eax, dword [eax + 0xc]
mov esi, 0xff00ff
mov ebx, eax
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
imul ebx, eax
mov dword [ebp - 8], ecx
add ebx, dword [ecx + 0x34]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.0047d8f6
mov ecx, 0x100
mov edx, dword [eax]
mov edi, edx
shr edi, 8
and edx, 0xff00ff
and edi, esi
mov eax, edi
shr eax, 0x10
sub ecx, eax
mov eax, dword [ebx]
mov esi, eax
shr eax, 8
and esi, 0xff00ff
imul esi, ecx
shr esi, 8
and esi, 0xff00ff
add esi, edx
mov edx, 0xff00ff
and eax, edx
imul eax, ecx
mov ecx, esi
shr ecx, 8
and ecx, 0xff00ff
shr eax, 8
and eax, edx
add edi, eax
mov eax, edi
shr eax, 8
and eax, edx
mov edx, 0x100
sub edx, eax
mov eax, edi
shl eax, 8
shl edx, 8
or edx, eax
mov eax, 0x100
sub eax, ecx
mov ecx, 0x100
or eax, esi
mov esi, 0xff00ff
xor edx, eax
mov eax, edi
shr eax, 8
and edx, esi
and eax, esi
shl edi, 8
sub ecx, eax
mov eax, dword [ebp + 8]
shl ecx, 8
or ecx, edi
xor edx, ecx
mov ecx, dword [ebp + 0xc]
inc eax
mov dword [ebx], edx
add ebx, dword [ebp - 4]
dec ecx
mov dword [ebp + 0xc], ecx
test ecx, ecx
mov ecx, dword [ebp - 8]
mov dword [ebp + 8], eax
jg 0x483c01
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x483cc4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ecx + 0x30]
push ebx
push esi
push edi
mov eax, dword [eax + 0xc]
mov esi, 0xff00ff
mov ebx, eax
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
imul ebx, eax
mov dword [ebp - 8], ecx
add ebx, dword [ecx + 0x34]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.0047d935
mov ecx, 0x100
mov edx, dword [eax]
mov edi, edx
shr edi, 8
and edx, 0xff00ff
and edi, esi
mov eax, edi
shr eax, 0x10
sub ecx, eax
mov eax, dword [ebx]
mov esi, eax
shr eax, 8
and esi, 0xff00ff
imul esi, ecx
shr esi, 8
and esi, 0xff00ff
add esi, edx
mov edx, 0xff00ff
and eax, edx
imul eax, ecx
mov ecx, esi
shr ecx, 8
and ecx, 0xff00ff
shr eax, 8
and eax, edx
add edi, eax
mov eax, edi
shr eax, 8
and eax, edx
mov edx, 0x100
sub edx, eax
mov eax, edi
shl eax, 8
shl edx, 8
or edx, eax
mov eax, 0x100
sub eax, ecx
mov ecx, 0x100
or eax, esi
mov esi, 0xff00ff
xor edx, eax
mov eax, edi
shr eax, 8
and edx, esi
and eax, esi
shl edi, 8
sub ecx, eax
mov eax, dword [ebp + 8]
shl ecx, 8
or ecx, edi
xor edx, ecx
mov ecx, dword [ebp + 0xc]
inc eax
mov dword [ebx], edx
add ebx, dword [ebp - 4]
dec ecx
mov dword [ebp + 0xc], ecx
test ecx, ecx
mov ecx, dword [ebp - 8]
mov dword [ebp + 8], eax
jg 0x483ce9
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x483dac
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ecx + 0x68]
push ebx
push esi
push edi
mov eax, dword [eax + 0xc]
mov esi, 0xff00ff
mov ebx, eax
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
imul ebx, eax
mov dword [ebp - 8], ecx
add ebx, dword [ecx + 0x6c]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.0047d98c
mov ecx, 0x100
mov edx, dword [eax]
mov edi, edx
shr edi, 8
and edx, 0xff00ff
and edi, esi
mov eax, edi
shr eax, 0x10
sub ecx, eax
mov eax, dword [ebx]
mov esi, eax
shr eax, 8
and esi, 0xff00ff
imul esi, ecx
shr esi, 8
and esi, 0xff00ff
add esi, edx
mov edx, 0xff00ff
and eax, edx
imul eax, ecx
mov ecx, esi
shr ecx, 8
and ecx, 0xff00ff
shr eax, 8
and eax, edx
add edi, eax
mov eax, edi
shr eax, 8
and eax, edx
mov edx, 0x100
sub edx, eax
mov eax, edi
shl eax, 8
shl edx, 8
or edx, eax
mov eax, 0x100
sub eax, ecx
mov ecx, 0x100
or eax, esi
mov esi, 0xff00ff
xor edx, eax
mov eax, edi
shr eax, 8
and edx, esi
and eax, esi
shl edi, 8
sub ecx, eax
mov eax, dword [ebp + 8]
shl ecx, 8
or ecx, edi
xor edx, ecx
mov ecx, dword [ebp + 0xc]
inc eax
mov dword [ebx], edx
add ebx, dword [ebp - 4]
dec ecx
mov dword [ebp + 0xc], ecx
test ecx, ecx
mov ecx, dword [ebp - 8]
mov dword [ebp + 8], eax
jg 0x483dd1
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x4841c4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 4], edi
mov dword [ebp + 0xc], ecx
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
mov ebx, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
imul ebx, eax
sub eax, dword [edi + 0xc]
mov dword [ebp + 8], eax
add ebx, dword [edi + 0x14]
cmp dword [edi + 8], 0xfe
jge 0x4842e8
mov ecx, dword [edi + 4]
cdq
idiv dword [ecx + 0x10]
mov eax, dword [edi + 0x18]
imul edx, dword [ecx + 0xc]
mov ecx, dword [ebp - 4]
mov esi, dword [edx + eax]
mov edi, esi
shr edi, 8
mov eax, 0xff00ff
and edi, eax
mov edx, dword [ebx]
imul edi, dword [ecx + 8]
mov ecx, 0x100
shr edi, 8
and edi, eax
mov eax, edi
shr eax, 0x10
sub ecx, eax
mov eax, 0xff00ff
and esi, eax
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp - 4]
imul esi, dword [ecx + 8]
shr esi, 8
and esi, eax
mov eax, edx
and eax, 0xff00ff
shr edx, 8
imul eax, dword [ebp - 0xc]
shr eax, 8
and eax, 0xff00ff
add esi, eax
mov eax, 0xff00ff
and edx, eax
mov ecx, esi
imul edx, dword [ebp - 0xc]
shr ecx, 8
and ecx, 0xff00ff
shr edx, 8
and edx, eax
add edi, edx
mov edx, 0x100
mov eax, edi
shr eax, 8
and eax, 0xff00ff
sub edx, eax
mov eax, edi
shl eax, 8
shl edx, 8
or edx, eax
mov eax, 0x100
sub eax, ecx
mov ecx, 0xff00ff
or eax, esi
xor edx, eax
mov eax, edi
and edx, ecx
shr eax, 8
and eax, ecx
shl edi, 8
mov ecx, 0x100
sub ecx, eax
mov eax, dword [ebp + 8]
shl ecx, 8
or ecx, edi
mov edi, dword [ebp - 4]
xor edx, ecx
mov ecx, dword [ebp + 0xc]
inc eax
mov dword [ebx], edx
add ebx, dword [ebp - 8]
dec ecx
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], ecx
test ecx, ecx
jg 0x4841fe
jmp 0x4843ae
mov esi, 0xff00ff
mov ecx, dword [edi + 4]
cdq
idiv dword [ecx + 0x10]
mov eax, dword [edi + 0x18]
imul edx, dword [ecx + 0xc]
mov ecx, 0x100
mov edx, dword [edx + eax]
mov edi, edx
shr edi, 8
and edx, 0xff00ff
and edi, esi
mov eax, edi
shr eax, 0x10
sub ecx, eax
mov eax, dword [ebx]
mov esi, eax
shr eax, 8
and esi, 0xff00ff
imul esi, ecx
shr esi, 8
and esi, 0xff00ff
add esi, edx
mov edx, 0xff00ff
and eax, edx
imul eax, ecx
mov ecx, esi
shr ecx, 8
and ecx, 0xff00ff
shr eax, 8
and eax, edx
add edi, eax
mov eax, edi
shr eax, 8
and eax, edx
mov edx, 0x100
sub edx, eax
mov eax, edi
shl eax, 8
shl edx, 8
or edx, eax
mov eax, 0x100
sub eax, ecx
mov ecx, 0x100
or eax, esi
mov esi, 0xff00ff
xor edx, eax
mov eax, edi
shr eax, 8
and edx, esi
and eax, esi
shl edi, 8
sub ecx, eax
mov eax, dword [ebp + 8]
shl ecx, 8
or ecx, edi
mov edi, dword [ebp - 4]
xor edx, ecx
mov ecx, dword [ebp + 0xc]
inc eax
mov dword [ebx], edx
add ebx, dword [ebp - 8]
dec ecx
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], ecx
test ecx, ecx
jg 0x4842ed
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x4843b5
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov edx, ecx
push ebx
push esi
push edi
mov eax, dword [edx]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], edx
mov eax, dword [eax + 0xc]
mov esi, eax
imul esi, edi
sub edi, dword [edx + 0xc]
mov dword [ebp - 0xc], eax
mov dword [ebp + 8], edi
add esi, dword [edx + 0x14]
cmp dword [edx + 8], 0xfe
mov dword [ebp - 4], esi
jge 0x4844c7
mov eax, dword [ebp + 0xc]
mov ebx, 0xff00ff
mov dword [ebp + 0xc], eax
mov eax, dword [edx + 4]
mov ecx, dword [eax + 0xc]
mov eax, dword [edx + 0x18]
imul ecx, edi
mov edx, dword [ecx + eax]
mov edi, edx
mov eax, dword [ebp - 8]
mov ecx, 0x100
shr edi, 8
and edx, ebx
and edi, ebx
imul edi, dword [eax + 8]
shr edi, 8
and edi, ebx
mov eax, edi
shr eax, 0x10
sub ecx, eax
mov eax, dword [esi]
mov esi, eax
shr eax, 8
and esi, ebx
imul esi, ecx
shr esi, 8
and esi, ebx
mov ebx, dword [ebp - 8]
imul edx, dword [ebx + 8]
mov ebx, 0xff00ff
and eax, ebx
imul eax, ecx
shr edx, 8
and edx, ebx
shr eax, 8
add esi, edx
and eax, ebx
mov edx, 0x100
add edi, eax
mov ecx, esi
mov eax, edi
shr ecx, 8
shr eax, 8
and ecx, ebx
and eax, ebx
sub edx, eax
mov eax, edi
shl eax, 8
shl edx, 8
or edx, eax
mov eax, 0x100
sub eax, ecx
mov ecx, 0x100
or eax, esi
mov esi, dword [ebp - 4]
xor edx, eax
mov eax, edi
shr eax, 8
and edx, ebx
and eax, ebx
shl edi, 8
sub ecx, eax
mov eax, dword [ebp + 0xc]
shl ecx, 8
or ecx, edi
mov edi, dword [ebp + 8]
xor edx, ecx
inc edi
mov dword [esi], edx
add esi, dword [ebp - 0xc]
dec eax
mov edx, dword [ebp - 8]
mov dword [ebp + 8], edi
mov dword [ebp - 4], esi
mov dword [ebp + 0xc], eax
test eax, eax
jg 0x4843fa
jmp 0x4845ad
mov eax, dword [edx + 4]
mov ebx, dword [ebp + 0xc]
mov dword [ebp + 0xc], ebx
mov ecx, dword [eax + 0xc]
mov eax, ecx
imul eax, edi
mov dword [ebp - 0x14], ecx
add eax, dword [edx + 0x18]
mov dword [ebp + 8], eax
cmp dword [ebp - 0xc], ecx
jne 0x48450b
mov edx, dword [edx + 4]
cmp dword [edx + 4], 1
jne 0x48450b
mov edx, dword [ebp - 0x10]
cmp dword [edx + 4], 1
jne 0x48450b
imul ecx, ebx
push ecx
push eax
push esi
call fcn.00524c60
add esp, 0xc
jmp 0x4845ad
mov ebx, 0xff00ff
mov edx, dword [eax]
mov ecx, 0x100
mov edi, edx
and edx, ebx
shr edi, 8
and edi, ebx
mov eax, edi
shr eax, 0x10
sub ecx, eax
mov eax, dword [esi]
mov esi, eax
shr eax, 8
and eax, ebx
and esi, ebx
imul eax, ecx
imul esi, ecx
shr eax, 8
and eax, ebx
shr esi, 8
add edi, eax
and esi, ebx
add esi, edx
mov eax, edi
shr eax, 8
mov edx, 0x100
and eax, ebx
mov ecx, esi
sub edx, eax
shr ecx, 8
shl edx, 8
and ecx, ebx
mov eax, edi
shl eax, 8
or edx, eax
mov eax, 0x100
sub eax, ecx
mov ecx, 0x100
or eax, esi
mov esi, dword [ebp - 4]
xor edx, eax
mov eax, edi
shr eax, 8
and edx, ebx
and eax, ebx
shl edi, 8
sub ecx, eax
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x14]
shl ecx, 8
or ecx, edi
mov dword [ebp + 8], eax
xor edx, ecx
mov ecx, dword [ebp + 0xc]
mov dword [esi], edx
add esi, dword [ebp - 0xc]
dec ecx
mov dword [ebp - 4], esi
mov dword [ebp + 0xc], ecx
test ecx, ecx
jg 0x484510
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x4845b4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, ecx
mov ecx, dword [ebp + 0xc]
push edi
mov dword [ebp - 8], esi
mov dword [ebp + 0xc], ecx
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
mov ebx, eax
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
imul ebx, eax
sub eax, dword [esi + 0xc]
mov dword [ebp + 8], eax
add ebx, dword [esi + 0x14]
cmp dword [esi + 8], 0xfe
jge 0x4846af
mov ecx, dword [esi + 4]
cdq
idiv dword [ecx + 0x10]
mov eax, dword [esi + 0x18]
imul edx, dword [ecx + 0xc]
mov ecx, 0x100
movzx eax, byte [edx + eax]
mov edx, 0xff00ff
mov edi, eax
shl edi, 0x10
or edi, eax
imul edi, dword [esi + 8]
shr edi, 8
and edi, edx
mov eax, edi
shr eax, 0x10
sub ecx, eax
mov eax, dword [ebx]
mov esi, eax
shr eax, 8
and eax, edx
and esi, edx
imul eax, ecx
imul esi, ecx
shr eax, 8
and eax, edx
shr esi, 8
and esi, edx
add esi, edi
add edi, eax
mov eax, edi
mov ecx, esi
shr eax, 8
and eax, edx
shr ecx, 8
and ecx, 0xff00ff
mov edx, 0x100
sub edx, eax
mov eax, edi
shl eax, 8
shl edx, 8
or edx, eax
mov eax, 0x100
sub eax, ecx
mov ecx, 0xff00ff
or eax, esi
mov esi, dword [ebp - 8]
xor edx, eax
mov eax, edi
and edx, ecx
shr eax, 8
and eax, ecx
shl edi, 8
mov ecx, 0x100
sub ecx, eax
mov eax, dword [ebp + 8]
shl ecx, 8
or ecx, edi
xor edx, ecx
mov ecx, dword [ebp + 0xc]
inc eax
mov dword [ebx], edx
add ebx, dword [ebp - 4]
dec ecx
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], ecx
test ecx, ecx
jg 0x4845ed
jmp 0x484763
mov ecx, dword [esi + 4]
cdq
idiv dword [ecx + 0x10]
mov eax, dword [esi + 0x18]
imul edx, dword [ecx + 0xc]
mov ecx, 0x100
movzx eax, byte [edx + eax]
mov edx, 0xff00ff
mov edi, eax
shl edi, 0x10
or edi, eax
mov eax, edi
shr eax, 0x10
sub ecx, eax
mov eax, dword [ebx]
mov esi, eax
shr eax, 8
and eax, edx
and esi, edx
imul eax, ecx
imul esi, ecx
shr eax, 8
and eax, edx
shr esi, 8
and esi, edx
add esi, edi
add edi, eax
mov eax, edi
mov ecx, esi
shr eax, 8
and eax, edx
shr ecx, 8
and ecx, 0xff00ff
mov edx, 0x100
sub edx, eax
mov eax, edi
shl eax, 8
shl edx, 8
or edx, eax
mov eax, 0x100
sub eax, ecx
mov ecx, 0xff00ff
or eax, esi
mov esi, dword [ebp - 8]
xor edx, eax
mov eax, edi
and edx, ecx
shr eax, 8
and eax, ecx
shl edi, 8
mov ecx, 0x100
sub ecx, eax
mov eax, dword [ebp + 8]
shl ecx, 8
or ecx, edi
xor edx, ecx
mov ecx, dword [ebp + 0xc]
inc eax
mov dword [ebx], edx
add ebx, dword [ebp - 4]
dec ecx
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], ecx
test ecx, ecx
jg 0x4846af
pop edi
pop esi
pop ebx
leave
ret 8