Function at 0x7c49b6
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
push edi
push 2
pop esi
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x10]
mov dword [ebp - 4], 4
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x24], esi
call fcn.007c53b8
mov eax, dword [ebp + 0x14]
cdq
idiv dword [ebp - 4]
mov edi, dword [ebp + 8]
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x18]
cdq
idiv dword [ebp - 0x10]
mov ebx, eax
imul ebx, dword [ebp - 8]
add ebx, 0xf
and ebx, 0xfffffff0
add ebx, dword [ebp + 0xc]
cmp dword [ebp + 0x1c], 0
mov dword [ebp - 0x18], ebx
je 0x7c51b5
xor eax, eax
cmp dword [ebp + 0x18], eax
mov dword [ebp - 0x1c], eax
jle 0x7c53b1
mov esi, dword [ebp - 0x10]
push 2
pop ecx
cmp esi, ecx
jne 0x7c4a32
sar eax, 1
jmp 0x7c4a35
cdq
idiv esi
cmp dword [ebp - 0x24], ecx
jne 0x7c5040
cmp dword [ebp - 4], 4
jne 0x7c4d10
cmp esi, ecx
jne 0x7c4ed9
cmp dword [ebp - 8], 0
jle 0x7c51a0
add eax, eax
lea ecx, [eax + eax]
xor ecx, eax
and ecx, 0xfffffffc
mov dword [ebp - 0x34], ecx
mov ecx, eax
sar ecx, 1
xor eax, ecx
xor ebx, ebx
inc ebx
and eax, ebx
xor eax, ecx
cdq
sub eax, edx
sar eax, 1
imul eax, dword [ebp - 8]
cdq
sub eax, edx
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x28], ecx
mov ecx, edx
sar ecx, 1
and dword [ebp - 0x28], ebx
mov esi, ecx
xor esi, edx
lea eax, [edx + edx]
xor eax, edx
and eax, 0xfffffffc
mov dword [ebp - 0xc], eax
and esi, ebx
xor esi, ecx
mov edx, esi
sar edx, 1
mov eax, edx
xor eax, esi
and eax, ebx
xor eax, edx
imul eax, dword [ebp + 0x14]
mov dword [ebp + 8], edx
cdq
push 4
pop ebx
idiv ebx
sar dword [ebp - 0x20], 1
mov dword [ebp + 0x1c], ecx
mov dword [ebp - 0x14], 2
mov dword [ebp - 0x44], eax
lea eax, [esi + esi]
xor eax, esi
and eax, 0xfffffffc
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 8]
and eax, 1
and dword [ebp + 0x1c], 1
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x34]
add ebx, 0xfffffffe
xor eax, ebx
and eax, 7
mov edx, ebx
sar edx, 1
and edx, 0xfffffff8
add eax, edx
mov dword [ebp - 0x38], edx
cdq
mov dword [ebp - 0x30], ebx
mov ecx, ebx
push 4
pop ebx
idiv ebx
mov edx, dword [ebp - 0x28]
sar ecx, 2
and ecx, 2
mov dword [ebp - 0x3c], ecx
add eax, dword [ebp - 0x20]
lea eax, [edx + eax*4]
add eax, ecx
mov ecx, dword [ebp + 0xc]
shl eax, 3
sar eax, 3
mov al, byte [eax + ecx]
mov byte [ebp + 0xb], al
mov ecx, dword [ebp - 0xc]
xor ecx, dword [ebp - 0x30]
mov edx, esi
sar edx, 1
mov eax, edx
xor eax, esi
and eax, 1
xor eax, edx
imul eax, dword [ebp + 0x14]
and ecx, 7
add ecx, dword [ebp - 0x38]
mov dword [ebp - 0x38], edx
cdq
idiv ebx
lea edx, [esi + esi]
xor edx, esi
and edx, 0xfffffffc
xor edx, ecx
and edx, 7
add eax, edx
mov edx, ecx
sar ecx, 2
and ecx, 2
sar edx, 1
and edx, 0xfffffff8
add eax, edx
lea ecx, [ecx + eax*4]
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0x18]
and eax, 1
add ecx, eax
mov eax, dword [ebp + 0x1c]
lea ecx, [eax + ecx*4]
add ecx, dword [ebp - 0x3c]
shl ecx, 1
mov eax, ecx
sar eax, 3
mov al, byte [eax + edx]
and cl, 7
shr al, cl
mov ecx, dword [ebp - 0xc]
mov edx, esi
and al, 3
add al, byte [ebp + 0xb]
mov byte [edi], al
mov eax, dword [ebp - 0x14]
dec eax
xor ecx, eax
mov dword [ebp - 0x38], eax
sar eax, 1
and ecx, 7
and eax, 0xfffffff8
add ecx, eax
sar edx, 1
mov eax, edx
xor eax, esi
and eax, 1
xor eax, edx
imul eax, dword [ebp + 0x14]
mov dword [ebp - 0x3c], edx
cdq
idiv ebx
lea edx, [esi + esi]
xor edx, esi
and edx, 0xfffffffc
xor edx, ecx
and edx, 7
add eax, edx
mov edx, ecx
sar edx, 1
and edx, 0xfffffff8
add eax, edx
sar ecx, 2
and ecx, 2
lea ecx, [ecx + eax*4]
mov eax, dword [ebp - 0x3c]
and eax, 1
add ecx, eax
mov eax, dword [ebp - 0x38]
sar eax, 2
and eax, 2
add eax, dword [ebp + 0x1c]
lea eax, [eax + ecx*4]
shl eax, 1
mov edx, eax
mov cl, al
mov eax, dword [ebp - 0x18]
sar edx, 3
mov al, byte [edx + eax]
and cl, 7
shr al, cl
mov ecx, dword [ebp - 0xc]
xor ecx, dword [ebp - 0x14]
mov edx, esi
and al, 3
add al, byte [ebp + 0xb]
sar edx, 1
mov byte [edi + 1], al
mov eax, dword [ebp - 0x14]
sar eax, 1
and eax, 0xfffffff8
and ecx, 7
add ecx, eax
mov eax, edx
xor eax, esi
and eax, 1
xor eax, edx
imul eax, dword [ebp + 0x14]
mov dword [ebp - 0x3c], edx
cdq
idiv ebx
lea edx, [esi + esi]
xor edx, esi
and edx, 0xfffffffc
xor edx, ecx
and edx, 7
add eax, edx
mov edx, ecx
sar edx, 1
and edx, 0xfffffff8
add eax, edx
sar ecx, 2
and ecx, 2
lea ecx, [ecx + eax*4]
mov eax, dword [ebp - 0x3c]
and eax, 1
add ecx, eax
mov eax, dword [ebp - 0x14]
mov edx, eax
sar edx, 2
and edx, 2
add edx, dword [ebp + 0x1c]
lea ecx, [edx + ecx*4]
shl ecx, 1
mov ebx, dword [ebp - 0x18]
mov edx, ecx
and cl, 7
sar edx, 3
mov dl, byte [edx + ebx]
shr dl, cl
lea ecx, [eax + 1]
mov eax, dword [ebp - 0xc]
xor eax, ecx
and eax, 7
mov dword [ebp - 0x3c], ecx
sar ecx, 1
and ecx, 0xfffffff8
add eax, ecx
mov ecx, dword [ebp - 0x40]
xor ecx, eax
and dl, 3
add dl, byte [ebp + 0xb]
and ecx, 7
add ecx, dword [ebp - 0x44]
mov byte [edi + 2], dl
mov edx, eax
sar eax, 2
and eax, 2
add eax, dword [ebp - 0x48]
sar edx, 1
and edx, 0xfffffff8
add edx, ecx
lea ecx, [eax + edx*4]
mov eax, dword [ebp - 0x3c]
sar eax, 2
and eax, 2
add eax, dword [ebp + 0x1c]
add dword [ebp - 0x14], 4
lea ecx, [eax + ecx*4]
shl ecx, 1
mov eax, ecx
sar eax, 3
mov al, byte [eax + ebx]
and cl, 7
shr al, cl
add edi, 4
and al, 3
add al, byte [ebp + 0xb]
dec dword [ebp - 0x2c]
mov byte [edi - 1], al
jne 0x7c4aea
jmp 0x7c51a0
cmp dword [ebp - 4], ecx
jne 0x7c4ed9
cmp esi, ecx
jne 0x7c4ed9
cmp dword [ebp - 8], 0
jle 0x7c51a0
lea ecx, [eax + eax]
lea eax, [ecx + ecx]
xor eax, ecx
and eax, 0xfffffffc
mov dword [ebp - 0x48], eax
mov esi, ecx
sar esi, 1
mov eax, esi
xor eax, ecx
xor ebx, ebx
inc ebx
and eax, ebx
xor eax, esi
cdq
sub eax, edx
sar eax, 1
imul eax, dword [ebp - 8]
cdq
sub eax, edx
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x28], eax
mov ecx, edx
mov dword [ebp - 0x20], esi
sar ecx, 1
and dword [ebp - 0x20], ebx
mov esi, ecx
xor esi, edx
lea eax, [edx + edx]
xor eax, edx
and eax, 0xfffffffc
mov dword [ebp - 0xc], eax
and esi, ebx
xor esi, ecx
mov edx, esi
sar edx, 1
mov eax, edx
xor eax, esi
and eax, ebx
xor eax, edx
imul eax, dword [ebp + 0x14]
mov dword [ebp + 8], edx
cdq
push 4
pop ebx
idiv ebx
sar dword [ebp - 0x28], 1
mov dword [ebp + 0x1c], ecx
and dword [ebp + 0x1c], 1
mov dword [ebp - 0x38], eax
lea eax, [esi + esi]
xor eax, esi
and eax, 0xfffffffc
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 8]
and eax, 1
and dword [ebp - 0x14], 0
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x48]
xor eax, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x14]
and eax, 7
mov ecx, dword [ebp - 0x14]
sar ebx, 1
and ebx, 0xfffffff8
add eax, ebx
cdq
sub eax, edx
mov edx, dword [ebp - 0x20]
sar eax, 1
add eax, dword [ebp - 0x28]
sar ecx, 2
lea eax, [edx + eax*4]
and ecx, 2
add eax, ecx
shl eax, 3
sar eax, 3
mov dword [ebp - 0x40], ecx
mov ecx, dword [ebp + 0xc]
mov al, byte [eax + ecx]
mov byte [ebp + 0xb], al
mov ecx, dword [ebp - 0xc]
xor ecx, dword [ebp - 0x14]
mov edx, esi
sar edx, 1
mov eax, edx
xor eax, esi
and eax, 1
xor eax, edx
imul eax, dword [ebp + 0x14]
and ecx, 7
add ecx, ebx
mov dword [ebp - 0x44], edx
cdq
push 4
pop ebx
idiv ebx
lea ebx, [esi + esi]
xor ebx, esi
and ebx, 0xfffffffc
xor ebx, ecx
push 7
pop edx
and ebx, edx
add eax, ebx
mov ebx, ecx
sar ecx, 2
and ecx, 2
sar ebx, 1
and ebx, 0xfffffff8
add eax, ebx
lea ecx, [ecx + eax*4]
mov eax, dword [ebp - 0x44]
mov ebx, dword [ebp - 0x18]
and eax, 1
add ecx, eax
mov eax, dword [ebp + 0x1c]
lea ecx, [eax + ecx*4]
add ecx, dword [ebp - 0x40]
shl ecx, 1
mov eax, ecx
sar eax, 3
mov al, byte [eax + ebx]
and cl, dl
shr al, cl
mov ecx, dword [ebp - 0x14]
and al, 3
add al, byte [ebp + 0xb]
inc ecx
mov byte [edi], al
mov eax, ecx
xor eax, dword [ebp - 0xc]
mov dword [ebp - 0x44], ecx
sar ecx, 1
and ecx, 0xfffffff8
and eax, edx
add eax, ecx
mov ecx, dword [ebp - 0x3c]
xor ecx, eax
and ecx, edx
add ecx, dword [ebp - 0x38]
mov edx, eax
sar eax, 2
and eax, 2
add eax, dword [ebp - 0x34]
sar edx, 1
and edx, 0xfffffff8
add edx, ecx
lea ecx, [eax + edx*4]
mov eax, dword [ebp - 0x44]
sar eax, 2
and eax, 2
add eax, dword [ebp + 0x1c]
add dword [ebp - 0x14], 2
lea eax, [eax + ecx*4]
shl eax, 1
mov edx, eax
mov cl, al
sar edx, 3
mov al, byte [edx + ebx]
and cl, 7
shr al, cl
and al, 3
add al, byte [ebp + 0xb]
inc edi
mov byte [edi], al
inc edi
dec dword [ebp - 0x2c]
jne 0x7c4dbb
jmp 0x7c51a0
cmp dword [ebp - 8], 0
jle 0x7c51a0
imul eax, dword [ebp - 0x10]
mov edx, eax
mov esi, edx
sar esi, 1
mov eax, esi
xor eax, edx
and eax, 1
xor eax, esi
lea ecx, [edx + edx]
xor ecx, edx
cdq
idiv dword [ebp - 0x10]
and ecx, 0xfffffffc
mov dword [ebp - 0x2c], esi
and dword [ebp - 0x2c], 1
mov dword [ebp - 0x40], ecx
imul eax, dword [ebp - 8]
cdq
sub eax, edx
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 8]
sar dword [ebp - 0x28], 1
and dword [ebp - 0x14], 0
mov dword [ebp - 0x34], eax
mov edx, dword [ebp - 0x14]
sar edx, 1
and edx, 0xfffffff8
mov eax, ecx
xor eax, dword [ebp - 0x14]
and eax, 7
add eax, edx
cdq
idiv dword [ebp - 4]
mov edx, dword [ebp - 0x14]
sar edx, 2
and edx, 2
add edx, dword [ebp - 0x2c]
add eax, dword [ebp - 0x28]
lea eax, [edx + eax*4]
mov edx, dword [ebp + 0xc]
shl eax, 3
sar eax, 3
cmp dword [ebp - 4], 0
mov al, byte [eax + edx]
mov byte [ebp + 0xb], al
jle 0x7c502c
mov edx, dword [ebp - 0x1c]
lea eax, [edx + edx]
xor eax, edx
and eax, 0xfffffffc
mov dword [ebp - 0xc], eax
mov eax, edx
sar eax, 1
mov ecx, eax
xor ecx, edx
mov dword [ebp + 0x1c], eax
and ecx, 1
xor ecx, eax
mov edx, ecx
sar edx, 1
mov eax, edx
xor eax, ecx
and eax, 1
xor eax, edx
imul eax, dword [ebp + 0x14]
mov dword [ebp - 0x48], edx
cdq
push 4
pop esi
idiv esi
lea edx, [ecx + ecx]
xor edx, ecx
and edx, 0xfffffffc
mov dword [ebp - 0x44], edx
mov esi, eax
mov eax, dword [ebp - 0x48]
and eax, 1
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x1c]
and eax, 1
mov dword [ebp + 0x1c], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x30], eax
jmp 0x7c4fcc
mov edx, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x20]
xor ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x20]
sar eax, 1
and eax, 0xfffffff8
and ecx, 7
add ecx, eax
xor edx, ecx
mov eax, ecx
sar ecx, 2
sar eax, 1
and ecx, 2
add ecx, dword [ebp - 0x48]
and eax, 0xfffffff8
and edx, 7
add edx, esi
add eax, edx
lea eax, [ecx + eax*4]
mov ecx, dword [ebp - 0x20]
sar ecx, 2
and ecx, 2
add ecx, dword [ebp + 0x1c]
lea ecx, [ecx + eax*4]
shl ecx, 1
mov eax, ecx
sar eax, 3
mov al, byte [eax + ebx]
and cl, 7
shr al, cl
and al, 3
add al, byte [ebp + 0xb]
mov byte [edi], al
inc edi
inc dword [ebp - 0x20]
dec dword [ebp - 0x30]
jne 0x7c4fc9
mov ecx, dword [ebp - 0x40]
mov eax, dword [ebp - 4]
add dword [ebp - 0x14], eax
dec dword [ebp - 0x34]
jne 0x7c4f23
jmp 0x7c51a0
cmp dword [ebp - 8], 0
jle 0x7c51a0
imul eax, dword [ebp - 0x10]
mov edx, eax
mov esi, edx
sar esi, 1
mov eax, esi
xor eax, edx
and eax, 1
xor eax, esi
lea ecx, [edx + edx]
xor ecx, edx
cdq
idiv dword [ebp - 0x10]
and ecx, 0xfffffffc
mov dword [ebp - 0x28], esi
and dword [ebp - 0x28], 1
mov dword [ebp - 0x40], ecx
imul eax, dword [ebp - 8]
cdq
sub eax, edx
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 8]
sar dword [ebp - 0x2c], 1
and dword [ebp - 0x14], 0
mov dword [ebp - 0x30], eax
mov edx, dword [ebp - 0x14]
sar edx, 1
and edx, 0xfffffff8
mov eax, ecx
xor eax, dword [ebp - 0x14]
and eax, 7
add eax, edx
cdq
idiv dword [ebp - 4]
mov edx, dword [ebp - 0x14]
sar edx, 2
and edx, 2
add edx, dword [ebp - 0x28]
add eax, dword [ebp - 0x2c]
lea eax, [edx + eax*4]
mov edx, dword [ebp + 0xc]
shl eax, 3
sar eax, 3
cmp dword [ebp - 4], 0
mov al, byte [eax + edx]
mov byte [ebp + 0xb], al
jle 0x7c5191
mov edx, dword [ebp - 0x1c]
lea eax, [edx + edx]
xor eax, edx
and eax, 0xfffffffc
mov dword [ebp - 0xc], eax
mov eax, edx
sar eax, 1
mov ecx, eax
xor ecx, edx
mov dword [ebp + 0x1c], eax
and ecx, 1
xor ecx, eax
mov edx, ecx
sar edx, 1
mov eax, edx
xor eax, ecx
and eax, 1
xor eax, edx
imul eax, dword [ebp + 0x14]
mov dword [ebp - 0x48], edx
cdq
push 4
pop esi
idiv esi
lea edx, [ecx + ecx]
xor edx, ecx
and edx, 0xfffffffc
mov dword [ebp - 0x44], edx
mov esi, eax
mov eax, dword [ebp - 0x48]
and eax, 1
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x1c]
and eax, 1
mov dword [ebp + 0x1c], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x34], eax
jmp 0x7c5133
mov edx, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x20]
xor ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x20]
sar eax, 1
and eax, 0xfffffff8
and ecx, 7
add ecx, eax
xor edx, ecx
mov eax, ecx
sar eax, 1
sar ecx, 2
and eax, 0xfffffff8
and ecx, 2
add ecx, dword [ebp - 0x48]
and edx, 7
add edx, esi
add eax, edx
lea eax, [ecx + eax*4]
mov ecx, dword [ebp - 0x20]
sar ecx, 2
and ecx, 2
add ecx, dword [ebp + 0x1c]
lea ecx, [ecx + eax*4]
mov eax, ecx
sar eax, 3
mov al, byte [eax + ebx]
and cl, 7
shr al, cl
and al, 1
add al, byte [ebp + 0xb]
mov byte [edi], al
inc edi
inc dword [ebp - 0x20]
dec dword [ebp - 0x34]
jne 0x7c5130
mov ecx, dword [ebp - 0x40]
mov eax, dword [ebp - 4]
add dword [ebp - 0x14], eax
dec dword [ebp - 0x30]
jne 0x7c508a
mov eax, dword [ebp - 0x1c]
inc eax
cmp eax, dword [ebp + 0x18]
mov dword [ebp - 0x1c], eax
jl 0x7c4a24
jmp 0x7c53b1
cmp dword [ebp - 4], 4
mov dword [ebp + 0x1c], ebx
jne 0x7c524e
cmp dword [ebp - 0x24], esi
jne 0x7c52e5
and dword [ebp + 8], 0
cmp dword [ebp + 0x18], 0
jle 0x7c53b1
mov eax, dword [ebp + 0x14]
sar eax, 2
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 8]
cdq
idiv dword [ebp - 0x10]
mov edx, dword [ebp + 0x14]
mov esi, eax
imul esi, dword [ebp - 0x48]
add esi, dword [ebp + 0xc]
test edx, edx
jle 0x7c523e
dec edx
shr edx, 2
inc edx
mov eax, dword [ebp + 0x1c]
movzx ecx, byte [eax]
mov al, byte [esi]
inc dword [ebp + 0x1c]
mov bl, cl
and bl, 3
add bl, al
mov byte [edi], bl
mov ebx, ecx
shr ebx, 2
and bl, 3
add bl, al
mov byte [edi + 1], bl
mov ebx, ecx
shr ebx, 4
shr ecx, 6
and bl, 3
and cl, 3
add bl, al
add cl, al
mov byte [edi + 2], bl
mov byte [edi + 3], cl
inc esi
add edi, 4
dec edx
jne 0x7c51fe
inc dword [ebp + 8]
mov eax, dword [ebp + 8]
cmp eax, dword [ebp + 0x18]
jl 0x7c51e2
jmp 0x7c53b1
cmp dword [ebp - 4], esi
jne 0x7c52e5
cmp dword [ebp - 0x24], esi
jne 0x7c52e5
and dword [ebp + 8], 0
cmp dword [ebp + 0x18], 0
jle 0x7c53b1
mov eax, dword [ebp + 0x14]
sar eax, 1
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 8]
cdq
idiv dword [ebp - 0x10]
imul eax, dword [ebp - 0x48]
add eax, dword [ebp + 0xc]
cmp dword [ebp + 0x14], 0
jle 0x7c52d5
mov esi, dword [ebp + 0x14]
dec esi
shr esi, 2
inc esi
mov ecx, dword [ebp + 0x1c]
movzx ecx, byte [ecx]
mov dl, byte [eax]
inc dword [ebp + 0x1c]
mov bl, cl
and bl, 3
add bl, dl
mov byte [edi], bl
mov ebx, ecx
shr ebx, 2
and bl, 3
add bl, dl
mov byte [edi + 1], bl
mov ebx, ecx
inc eax
mov dl, byte [eax]
shr ebx, 4
shr ecx, 6
and bl, 3
and cl, 3
add bl, dl
add cl, dl
mov byte [edi + 2], bl
mov byte [edi + 3], cl
inc eax
add edi, 4
dec esi
jne 0x7c5292
inc dword [ebp + 8]
mov eax, dword [ebp + 8]
cmp eax, dword [ebp + 0x18]
jl 0x7c5276
jmp 0x7c53b1
and dword [ebp - 0x20], 0
cmp dword [ebp + 0x18], 0
jle 0x7c53b1
jmp 0x7c52f8
push 2
pop esi
cmp dword [ebp - 0x24], esi
jne 0x7c535b
and dword [ebp - 0x1c], 0
cmp dword [ebp + 0x14], 0
jle 0x7c53a2
mov eax, dword [ebp - 0x20]
cdq
idiv dword [ebp - 0x10]
imul eax, dword [ebp - 8]
mov dword [ebp - 0x2c], eax
xor ebx, ebx
mov eax, dword [ebp + 0x1c]
mov al, byte [eax]
mov cl, bl
shl cl, 1
shr al, cl
mov ecx, dword [ebp - 0x1c]
and al, 3
mov byte [ebp + 0xb], al
lea eax, [ebx + ecx]
cdq
idiv dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
mov dl, byte [ebp + 0xb]
add eax, dword [ebp - 0x2c]
add dl, byte [eax + ecx]
mov byte [edi], dl
inc edi
inc ebx
cmp ebx, 4
jl 0x7c531b
add dword [ebp - 0x1c], 4
mov eax, dword [ebp - 0x1c]
inc dword [ebp + 0x1c]
cmp eax, dword [ebp + 0x14]
jl 0x7c5319
jmp 0x7c53a2
xor esi, esi
cmp dword [ebp + 0x14], esi
jle 0x7c53a2
mov eax, dword [ebp - 0x20]
cdq
idiv dword [ebp - 0x10]
imul eax, dword [ebp - 8]
mov dword [ebp - 0x2c], eax
xor ebx, ebx
lea eax, [ebx + esi]
cdq
idiv dword [ebp - 4]
mov ecx, dword [ebp + 0x1c]
mov dl, byte [ecx]
mov cl, bl
shr dl, cl
mov ecx, dword [ebp + 0xc]
and dl, 1
add eax, dword [ebp - 0x2c]
add dl, byte [eax + ecx]
mov byte [edi], dl
inc edi
inc ebx
cmp ebx, 8
jl 0x7c5372
inc dword [ebp + 0x1c]
add esi, 8
cmp esi, dword [ebp + 0x14]
jl 0x7c5370
inc dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp + 0x18]
jl 0x7c52f5
pop edi
pop esi
mov al, 1
pop ebx
leave
ret