Function at 0x1002d920
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0x18]
shr eax, 2
push ebx
push esi
push edi
mov edi, dword [ebp + 0x14]
lea ebx, [ecx + eax*4]
mov eax, dword [ebp + 0x20]
dec eax
mov dword [ebp - 0x28], ebx
shl eax, 0x10
mov dword [ebp - 4], eax
test edi, edi
jns 0x1002d965
mov esi, dword [ebp + 0x10]
nop
cmp ecx, ebx
jae 0x1002d95f
mov eax, dword [esi]
mov dword [ecx], eax
add ecx, 4
add edi, edx
js 0x1002d950
mov eax, dword [ebp - 4]
mov dword [ebp + 0x14], edi
xor edx, edx
sub eax, edi
div dword [ebp + 0x18]
mov edx, ebx
sub edx, ecx
sar edx, 2
cmp eax, edx
cmovb edx, eax
mov eax, dword [ebp - 4]
shr edx, 2
cmp eax, edi
jb 0x1002dd07
test edx, edx
je 0x1002dc18
nop
mov esi, dword [ebp + 0x10]
dec edx
mov eax, edi
mov dword [ebp - 0x38], edx
sar eax, 0x10
mov edx, dword [esi + eax*4]
mov ebx, dword [esi + eax*4 + 4]
mov dword [ebp - 8], edx
movzx eax, di
add edi, dword [ebp + 0x18]
sub eax, 0xffffff80
shr eax, 8
movzx edx, ax
mov eax, edi
sar eax, 0x10
mov dword [ebp - 0x18], ebx
shr ebx, 8
and ebx, 0xffff00ff
mov esi, dword [esi + eax*4]
mov dword [ebp - 0xc], esi
mov esi, dword [ebp + 0x10]
mov eax, dword [esi + eax*4 + 4]
mov dword [ebp - 0x1c], eax
movzx eax, di
add edi, dword [ebp + 0x18]
sub eax, 0xffffff80
shr eax, 8
movzx eax, ax
mov dword [ebp - 0x2c], eax
mov eax, edi
sar eax, 0x10
mov esi, dword [esi + eax*4]
mov dword [ebp - 0x10], esi
mov esi, dword [ebp + 0x10]
mov eax, dword [esi + eax*4 + 4]
mov dword [ebp - 0x20], eax
movzx eax, di
add edi, dword [ebp + 0x18]
sub eax, 0xffffff80
shr eax, 8
movzx eax, ax
mov dword [ebp - 0x30], eax
mov eax, edi
sar eax, 0x10
mov esi, dword [esi + eax*4]
mov dword [ebp - 0x14], esi
mov esi, dword [ebp + 0x10]
mov eax, dword [esi + eax*4 + 4]
mov esi, edx
mov dword [ebp - 0x24], eax
movzx eax, di
add edi, dword [ebp + 0x18]
sub eax, 0xffffff80
shr eax, 8
movzx eax, ax
mov dword [ebp - 0x34], eax
mov eax, 0x100
sub eax, edx
mov dword [ebp + 0x14], edi
mov edx, dword [ebp - 0x18]
movzx edi, ax
and edx, 0xff00ff
mov eax, dword [ebp - 8]
shr eax, 8
and eax, 0xffff00ff
imul ebx, esi
imul eax, edi
imul edx, esi
add ebx, eax
mov eax, dword [ebp - 8]
and eax, 0xff00ff
imul eax, edi
add edx, eax
mov eax, dword [ebp - 8]
shr edx, 8
xor ebx, edx
mov edx, dword [ebp - 0x18]
shr edx, 8
and ebx, 0xff00ff
and edx, 0xff00ff
imul edx, esi
shr eax, 8
and eax, 0xff00ff
imul eax, edi
add edx, eax
mov eax, 0x100
xor ebx, edx
mov edx, dword [ebp - 0x2c]
sub eax, edx
movzx esi, dx
mov edx, dword [ebp - 0x1c]
movzx edi, ax
mov eax, dword [ebp - 0xc]
shr eax, 8
and eax, 0xffff00ff
mov dword [ecx], ebx
mov ebx, edx
imul eax, edi
shr ebx, 8
and edx, 0xff00ff
and ebx, 0xffff00ff
imul edx, esi
imul ebx, esi
add ebx, eax
mov eax, dword [ebp - 0xc]
and eax, 0xff00ff
imul eax, edi
add edx, eax
mov eax, dword [ebp - 0xc]
shr edx, 8
xor ebx, edx
shr eax, 8
mov edx, dword [ebp - 0x1c]
and eax, 0xff00ff
shr edx, 8
and ebx, 0xff00ff
imul eax, edi
and edx, 0xff00ff
imul edx, esi
add edx, eax
mov eax, 0x100
xor ebx, edx
mov edx, dword [ebp - 0x30]
sub eax, edx
movzx esi, dx
mov edx, dword [ebp - 0x20]
movzx edi, ax
mov eax, dword [ebp - 0x10]
mov dword [ecx + 4], ebx
mov ebx, edx
shr eax, 8
and edx, 0xff00ff
and eax, 0xffff00ff
shr ebx, 8
imul eax, edi
and ebx, 0xffff00ff
imul ebx, esi
imul edx, esi
add ebx, eax
mov eax, dword [ebp - 0x10]
and eax, 0xff00ff
imul eax, edi
add edx, eax
mov eax, dword [ebp - 0x10]
shr edx, 8
xor ebx, edx
shr eax, 8
mov edx, dword [ebp - 0x20]
and eax, 0xff00ff
shr edx, 8
and ebx, 0xff00ff
and edx, 0xff00ff
imul eax, edi
imul edx, esi
add edx, eax
mov eax, 0x100
xor ebx, edx
mov edx, dword [ebp - 0x34]
sub eax, edx
mov dword [ecx + 8], ebx
movzx edi, ax
movzx esi, dx
mov edx, dword [ebp - 0x24]
mov ebx, edx
mov eax, dword [ebp - 0x14]
and edx, 0xff00ff
shr eax, 8
shr ebx, 8
and eax, 0xffff00ff
imul eax, edi
and ebx, 0xffff00ff
imul ebx, esi
imul edx, esi
add ebx, eax
mov eax, dword [ebp - 0x14]
and eax, 0xff00ff
imul eax, edi
add edx, eax
mov eax, dword [ebp - 0x14]
shr edx, 8
xor ebx, edx
shr eax, 8
mov edx, dword [ebp - 0x24]
and eax, 0xff00ff
shr edx, 8
and ebx, 0xff00ff
and edx, 0xff00ff
imul eax, edi
mov edi, dword [ebp + 0x14]
imul edx, esi
add edx, eax
xor ebx, edx
mov edx, dword [ebp - 0x38]
mov dword [ecx + 0xc], ebx
add ecx, 0x10
test edx, edx
jne 0x1002d990
mov ebx, dword [ebp - 0x28]
mov eax, dword [ebp - 4]
cmp edi, eax
jae 0x1002dcce
cmp ecx, ebx
jae 0x1002dcce
mov esi, dword [ebp + 0x10]
mov eax, edi
sar eax, 0x10
movzx edx, di
sub edx, 0xffffff80
shr edx, 8
mov ebx, dword [esi + eax*4 + 4]
mov eax, dword [esi + eax*4]
mov dword [ebp - 0x14], eax
mov eax, 0x100
sub eax, edx
mov dword [ebp - 0x24], ebx
movzx edi, ax
mov eax, dword [ebp - 0x14]
shr eax, 8
movzx esi, dx
and eax, 0xffff00ff
mov edx, dword [ebp - 0x24]
shr ebx, 8
and edx, 0xff00ff
imul eax, edi
and ebx, 0xffff00ff
imul ebx, esi
imul edx, esi
add ebx, eax
mov eax, dword [ebp - 0x14]
and eax, 0xff00ff
imul eax, edi
add edx, eax
mov eax, dword [ebp - 0x14]
shr edx, 8
xor ebx, edx
shr eax, 8
mov edx, dword [ebp - 0x24]
and eax, 0xff00ff
shr edx, 8
and ebx, 0xff00ff
and edx, 0xff00ff
imul eax, edi
mov edi, dword [ebp + 0x14]
add edi, dword [ebp + 0x18]
imul edx, esi
mov dword [ebp + 0x14], edi
add edx, eax
xor ebx, edx
mov dword [ecx], ebx
add ecx, 4
mov ebx, dword [ebp - 0x28]
cmp edi, dword [ebp - 4]
jb 0x1002dc20
mov edx, ebx
xor eax, eax
sub edx, ecx
xor esi, esi
add edx, 3
shr edx, 2
cmp ecx, ebx
cmova edx, eax
test edx, edx
je 0x1002dcfe
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 0x20]
lea edi, [eax + edi*4]
nop
mov eax, dword [edi - 4]
lea ecx, [ecx + 4]
inc esi
mov dword [ecx - 4], eax
cmp esi, edx
jb 0x1002dcf0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
push 0x1ed
push str.d:_buildob_bora_18379147_bora_vmsoft_build_release_svgawddm_srclib_raster_rasterscale.c
push str.ASSERT__s:_d_n
call fcn.1002ba30
int3