Function at 0x488d03
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ecx]
push ebx
mov dword [ebp - 0xc], eax
push esi
mov esi, dword [eax + 0xc]
mov ebx, esi
mov eax, dword [ecx + 8]
imul eax, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
imul ebx, edi
sub edi, dword [ecx + 0xc]
sar eax, 8
mov dword [ebp + 0x10], eax
mov dword [ebp - 8], ecx
add ebx, dword [ecx + 0x14]
cmp eax, 0xfe
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], esi
mov dword [ebp + 8], edi
jge 0x488e20
mov esi, 0xff00ff
mov dword [ebp + 0xc], eax
mov eax, dword [ecx + 4]
mov eax, dword [eax + 0xc]
imul eax, edi
add eax, dword [ecx + 0x18]
mov ecx, pe_nt_image_headers32
mov edx, dword [eax]
mov edi, edx
shr edi, 8
and edi, esi
imul edi, dword [ebp + 0x10]
shr edi, 8
and edi, esi
mov esi, dword [ebx]
mov eax, edi
shr eax, 0x10
sub ecx, eax
mov eax, esi
shr eax, 8
and eax, 0xff00ff
imul eax, ecx
shr eax, 8
and eax, 0xff00ff
add edi, eax
mov eax, 0xff00ff
and edx, eax
and esi, eax
imul edx, dword [ebp + 0x10]
imul esi, ecx
shr edx, 8
and edx, eax
shr esi, 8
and esi, eax
mov eax, edi
shr eax, 8
add esi, edx
and eax, 0xff00ff
mov edx, pe_nt_image_headers32
sub edx, eax
mov ecx, esi
shr ecx, 8
mov eax, edi
shl eax, 8
and ecx, 0xff00ff
shl edx, 8
or edx, eax
mov eax, pe_nt_image_headers32
sub eax, ecx
mov ecx, pe_nt_image_headers32
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 + 0xc]
shl ecx, 8
or ecx, edi
mov edi, dword [ebp + 8]
xor edx, ecx
mov ecx, dword [ebp - 8]
inc edi
mov dword [ebx], edx
add ebx, dword [ebp - 4]
dec eax
mov dword [ebp + 8], edi
mov dword [ebp + 0xc], eax
test eax, eax
jg 0x488d4e
jmp 0x488f10
mov dword [ebp + 0x10], eax
mov eax, dword [ecx + 4]
mov eax, dword [eax + 0xc]
mov edx, eax
imul edx, edi
mov dword [ebp - 0x10], eax
add edx, dword [ecx + 0x18]
mov dword [ebp + 8], edx
cmp esi, eax
jne 0x488e61
mov ecx, dword [ecx + 4]
cmp dword [ecx + 4], 1
jne 0x488e61
mov ecx, dword [ebp - 0xc]
cmp dword [ecx + 4], 1
jne 0x488e61
imul eax, dword [ebp + 0xc]
push eax
push edx
push ebx
call fcn.004db470
add esp, 0xc
jmp 0x488f10
movzx eax, byte [edx + 3]
mov ecx, pe_nt_image_headers32
mov edi, dword [ebx]
sub ecx, eax
mov edx, dword [edx]
mov esi, edi
mov eax, 0xff00ff
shr edi, 8
and esi, eax
imul esi, ecx
shr esi, 8
and esi, eax
mov eax, edx
and eax, 0xff00ff
shr edx, 8
add esi, eax
mov eax, 0xff00ff
and edi, eax
and edx, eax
imul edi, ecx
mov ecx, esi
shr ecx, 8
and ecx, 0xff00ff
shr edi, 8
and edi, eax
add edi, edx
mov edx, pe_nt_image_headers32
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, pe_nt_image_headers32
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, pe_nt_image_headers32
sub ecx, eax
mov eax, dword [ebp + 0x10]
shl ecx, 8
or ecx, edi
xor edx, ecx
mov dword [ebx], edx
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x10]
add ebx, dword [ebp - 4]
dec eax
mov dword [ebp + 8], edx
mov dword [ebp + 0x10], eax
test eax, eax
jg 0x488e61
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc