Function at 0x566574
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push esi
push edi
mov esi, dword [ebp + 0x10]
lea edi, [ebp - 0xfc]
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, edx
lea edi, [ebp - 0xec]
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 dword [ebp - 8], ecx
mov dword [ebp - 4], eax
lea eax, [ebp - 0xec]
push eax
call sub.USER32.DLL_IsRectEmpty
test eax, eax
jne 0x56710b
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x30]
cmp eax, dword [ebp - 0xe4]
jge 0x5665d0
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x30]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x24]
cmp eax, dword [ebp - 0xe0]
jge 0x5665ee
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x24]
mov dword [ebp - 0xe0], eax
cmp dword [ebp - 0xec], 0
jge 0x5665ff
xor eax, eax
mov dword [ebp - 0xec], eax
cmp dword [ebp - 0xe8], 0
jge 0x566610
xor eax, eax
mov dword [ebp - 0xe8], eax
mov al, byte [ebp + 8]
mov byte [ebp - 0x69], al
mov al, byte [ebp + 8]
mov byte [ebp - 0x71], al
lea eax, [ebp - 0xfc]
push eax
call sub.USER32.DLL_IsRectEmpty
test eax, eax
je 0x56664f
mov eax, dword [ebp + 0x14]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
lea eax, [ebp - 0xfc]
push eax
mov eax, dword [ebp + 0x14]
mov edx, dword [eax]
call dword [edx + 0x30]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.0041c16c
lea eax, [ebp - 0xfc]
mov dl, 1
call sym.DatCutter.exe__Acntutils_WidthOf_qqrrx11Types_TRecto
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0xfc]
mov dl, 1
call sym.DatCutter.exe__Acntutils_HeightOf_qqrrx11Types_TRecto
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x14]
mov edx, dword [eax]
call dword [edx + 0x24]
dec eax
mov edx, dword [ebp - 0xf8]
add edx, dword [ebp - 0x30]
cmp eax, edx
jge 0x566697
mov eax, dword [ebp + 0x14]
mov edx, dword [eax]
call dword [edx + 0x24]
dec eax
sub eax, dword [ebp - 0xf8]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x14]
mov edx, dword [eax]
call dword [edx + 0x30]
dec eax
mov edx, dword [ebp - 0xfc]
add edx, dword [ebp - 0x2c]
cmp eax, edx
jge 0x5666bf
mov eax, dword [ebp + 0x14]
mov edx, dword [eax]
call dword [edx + 0x30]
dec eax
sub eax, dword [ebp - 0xfc]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x30], 0
jl 0x56710b
cmp dword [ebp - 0x2c], 0
jl 0x56710b
mov eax, dword [ebp - 8]
call fcn.0045a69c
dec eax
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0
jl 0x56710b
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
sub eax, 1
jb 0x5666ff
je 0x566aeb
jmp 0x56710b
mov byte [ebp - 0x75], 0xff
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x7c]
test eax, eax
jl 0x56710b
inc eax
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x18]
lea eax, [eax + eax*4]
mov edx, dword [ebp - 8]
mov eax, dword [edx + eax*4]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x18]
lea eax, [eax + eax*4]
mov edx, dword [ebp - 8]
mov eax, dword [edx + eax*4 + 4]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x18]
lea eax, [eax + eax*4]
mov edx, dword [ebp - 8]
movzx eax, byte [edx + eax*4 + 8]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x8c], eax
lea eax, [ebp - 0xec]
xor edx, edx
call sym.DatCutter.exe__Acntutils_HeightOf_qqrrx11Types_TRecto
imul dword [ebp - 0x80]
mov ecx, 0x64
cdq
idiv ecx
add eax, dword [ebp - 0x8c]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x7c]
jne 0x5667d5
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x24]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xe0]
cmp eax, dword [ebp - 0xa8]
jge 0x5667ba
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0xac], eax
jmp 0x5667c6
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0xac]
dec eax
mov dword [ebp - 0x90], eax
jmp 0x566841
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x24]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xe0]
cmp eax, dword [ebp - 0xb0]
jge 0x5667ff
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0xb4], eax
jmp 0x56680b
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xb4]
dec eax
cmp eax, dword [ebp - 0x90]
jle 0x566828
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0xb8], eax
jmp 0x566835
mov eax, dword [ebp - 0xb4]
dec eax
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x90]
sub eax, dword [ebp - 0x8c]
test eax, eax
jle 0x566ad7
xor eax, eax
mov al, byte [ebp - 0x64]
mov dword [ebp - 0x100], eax
fild dword [ebp - 0x100]
fstp dword [ebp - 0x34]
wait
xor eax, eax
mov al, byte [ebp - 0x63]
mov dword [ebp - 0x100], eax
fild dword [ebp - 0x100]
fstp dword [ebp - 0x38]
wait
xor eax, eax
mov al, byte [ebp - 0x62]
mov dword [ebp - 0x100], eax
fild dword [ebp - 0x100]
fstp dword [ebp - 0x3c]
wait
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x7c]
je 0x5668ad
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x24]
dec eax
cmp eax, dword [ebp - 0x90]
jge 0x5668f2
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x24]
dec eax
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xe0]
dec eax
cmp eax, dword [ebp - 0xbc]
jge 0x5668da
mov eax, dword [ebp - 0xe0]
dec eax
mov dword [ebp - 0xc0], eax
jmp 0x5668e6
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x90]
sub eax, dword [ebp - 0x8c]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x56710b
xor eax, eax
mov al, byte [ebp - 0x68]
xor edx, edx
mov dl, byte [ebp - 0x64]
sub eax, edx
mov dword [ebp - 0x100], eax
fild dword [ebp - 0x100]
fild dword [ebp - 0x28]
fdivp st(1)
fstp qword [ebp - 0x48]
wait
xor eax, eax
mov al, byte [ebp - 0x67]
xor edx, edx
mov dl, byte [ebp - 0x63]
sub eax, edx
mov dword [ebp - 0x100], eax
fild dword [ebp - 0x100]
fild dword [ebp - 0x28]
fdivp st(1)
fstp qword [ebp - 0x50]
wait
xor eax, eax
mov al, byte [ebp - 0x66]
xor edx, edx
mov dl, byte [ebp - 0x62]
sub eax, edx
mov dword [ebp - 0x100], eax
fild dword [ebp - 0x100]
fild dword [ebp - 0x28]
fdivp st(1)
fstp qword [ebp - 0x58]
wait
mov eax, dword [ebp - 0x8c]
mov edx, dword [ebp - 0x90]
sub edx, eax
jl 0x566ad7
inc edx
mov dword [ebp - 0xa0], edx
mov dword [ebp - 0x94], eax
fld dword [ebp - 0x34]
call fcn.00456748
mov byte [ebp - 0x6a], al
fld dword [ebp - 0x38]
call fcn.00456748
mov byte [ebp - 0x6b], al
fld dword [ebp - 0x3c]
call fcn.00456748
mov byte [ebp - 0x6c], al
mov edx, dword [ebp - 0x94]
mov eax, dword [ebp - 4]
call fcn.004ac008
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x94]
cdq
idiv dword [ebp - 0x30]
add edx, dword [ebp - 0xf8]
mov eax, dword [ebp + 0x14]
call fcn.004ac008
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xec]
mov edx, dword [ebp - 0xe4]
dec edx
sub edx, eax
jl 0x566aa7
inc edx
mov dword [ebp - 0xa4], edx
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x98]
cdq
idiv dword [ebp - 0x2c]
add edx, dword [ebp - 0xfc]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + edx*4]
mov dword [ebp - 0x70], eax
xor eax, eax
mov al, byte [ebp - 0x6e]
xor edx, edx
mov dl, byte [ebp - 0x6a]
sub eax, edx
xor edx, edx
mov dl, byte [ebp + 0xc]
imul edx
xor edx, edx
mov dl, byte [ebp - 0x6a]
shl edx, 8
add eax, edx
shr eax, 8
and al, 0xff
mov byte [ebp - 0x72], al
xor eax, eax
mov al, byte [ebp - 0x6f]
xor edx, edx
mov dl, byte [ebp - 0x6b]
sub eax, edx
xor edx, edx
mov dl, byte [ebp + 0xc]
imul edx
xor edx, edx
mov dl, byte [ebp - 0x6b]
shl edx, 8
add eax, edx
shr eax, 8
and al, 0xff
mov byte [ebp - 0x73], al
xor eax, eax
mov al, byte [ebp - 0x70]
xor edx, edx
mov dl, byte [ebp - 0x6c]
sub eax, edx
xor edx, edx
mov dl, byte [ebp + 0xc]
imul edx
xor edx, edx
mov dl, byte [ebp - 0x6c]
shl edx, 8
add eax, edx
shr eax, 8
and al, 0xff
mov byte [ebp - 0x74], al
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x98]
mov ecx, dword [ebp - 0x74]
mov dword [eax + edx*4], ecx
inc dword [ebp - 0x98]
dec dword [ebp - 0xa4]
jne 0x5669fe
fld dword [ebp - 0x34]
fadd qword [ebp - 0x48]
fstp dword [ebp - 0x34]
wait
fld dword [ebp - 0x38]
fadd qword [ebp - 0x50]
fstp dword [ebp - 0x38]
wait
fld dword [ebp - 0x3c]
fadd qword [ebp - 0x58]
fstp dword [ebp - 0x3c]
wait
inc dword [ebp - 0x94]
dec dword [ebp - 0xa0]
jne 0x56698f
inc dword [ebp - 0x18]
dec dword [ebp - 0x9c]
jne 0x566728
jmp 0x56710b
lea eax, [ebp - 0xec]
xor edx, edx
call sym.DatCutter.exe__Acntutils_WidthOf_qqrrx11Types_TRecto
mov dword [ebp - 0x100], eax
fild dword [ebp - 0x100]
fdiv dword [0x567114]
fstp qword [ebp - 0x60]
wait
mov edx, dword [ebp - 0xe8]
mov eax, dword [ebp - 4]
call fcn.004ac008
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x7c]
test eax, eax
jl 0x566d9f
inc eax
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x18]
lea eax, [eax + eax*4]
mov edx, dword [ebp - 8]
mov eax, dword [edx + eax*4]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x18]
lea eax, [eax + eax*4]
mov edx, dword [ebp - 8]
mov eax, dword [edx + eax*4 + 4]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x18]
lea eax, [eax + eax*4]
mov edx, dword [ebp - 8]
movzx eax, byte [edx + eax*4 + 8]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x84], eax
fild dword [ebp - 0x80]
fmul qword [ebp - 0x60]
fild dword [ebp - 0x84]
faddp st(1)
call fcn.00456748
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x7c]
jne 0x566be6
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x30]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0xe4]
cmp eax, dword [ebp - 0xc4]
jge 0x566bcb
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0xc8], eax
jmp 0x566bd7
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0xc8]
dec eax
mov dword [ebp - 0x88], eax
jmp 0x566c52
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x30]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0xe4]
cmp eax, dword [ebp - 0xcc]
jge 0x566c10
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0xd0], eax
jmp 0x566c1c
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0xd0]
dec eax
cmp eax, dword [ebp - 0x88]
jle 0x566c39
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0xd4], eax
jmp 0x566c46
mov eax, dword [ebp - 0xd0]
dec eax
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x88]
sub eax, dword [ebp - 0x84]
test eax, eax
jle 0x566d90
mov eax, dword [ebp - 0x88]
sub eax, dword [ebp - 0x84]
mov dword [ebp - 0x24], eax
xor eax, eax
mov al, byte [ebp - 0x64]
mov dword [ebp - 0x100], eax
fild dword [ebp - 0x100]
fstp dword [ebp - 0x34]
wait
xor eax, eax
mov al, byte [ebp - 0x63]
mov dword [ebp - 0x100], eax
fild dword [ebp - 0x100]
fstp dword [ebp - 0x38]
wait
xor eax, eax
mov al, byte [ebp - 0x62]
mov dword [ebp - 0x100], eax
fild dword [ebp - 0x100]
fstp dword [ebp - 0x3c]
wait
xor eax, eax
mov al, byte [ebp - 0x68]
xor edx, edx
mov dl, byte [ebp - 0x64]
sub eax, edx
mov dword [ebp - 0x100], eax
fild dword [ebp - 0x100]
fild dword [ebp - 0x24]
fdivp st(1)
fstp qword [ebp - 0x48]
wait
xor eax, eax
mov al, byte [ebp - 0x67]
xor edx, edx
mov dl, byte [ebp - 0x63]
sub eax, edx
mov dword [ebp - 0x100], eax
fild dword [ebp - 0x100]
fild dword [ebp - 0x24]
fdivp st(1)
fstp qword [ebp - 0x50]
wait
xor eax, eax
mov al, byte [ebp - 0x66]
xor edx, edx
mov dl, byte [ebp - 0x62]
sub eax, edx
mov dword [ebp - 0x100], eax
fild dword [ebp - 0x100]
fild dword [ebp - 0x24]
fdivp st(1)
fstp qword [ebp - 0x58]
wait
mov eax, dword [ebp - 0x84]
mov edx, dword [ebp - 0x88]
sub edx, eax
jl 0x566d90
inc edx
mov dword [ebp - 0xa0], edx
mov dword [ebp - 0x98], eax
fld dword [ebp - 0x34]
call fcn.00456748
mov byte [ebp - 0x6a], al
fld dword [ebp - 0x38]
call fcn.00456748
mov byte [ebp - 0x6b], al
fld dword [ebp - 0x3c]
call fcn.00456748
mov byte [ebp - 0x6c], al
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x98]
mov ecx, dword [ebp - 0x6c]
mov dword [eax + edx*4], ecx
fld dword [ebp - 0x34]
fadd qword [ebp - 0x48]
fstp dword [ebp - 0x34]
wait
fld dword [ebp - 0x38]
fadd qword [ebp - 0x50]
fstp dword [ebp - 0x38]
wait
fld dword [ebp - 0x3c]
fadd qword [ebp - 0x58]
fstp dword [ebp - 0x3c]
wait
inc dword [ebp - 0x98]
dec dword [ebp - 0xa0]
jne 0x566d34
inc dword [ebp - 0x18]
dec dword [ebp - 0x9c]
jne 0x566b44
lea eax, [ebp - 0xec]
mov dl, 1
call sym.DatCutter.exe__Acntutils_HeightOf_qqrrx11Types_TRecto
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0xd8]
jge 0x566dc8
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0xdc], eax
jmp 0x566dd4
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0xdc]
dec eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0xe8]
inc eax
mov edx, dword [ebp - 0x20]
add edx, dword [ebp - 0xe8]
sub edx, eax
jl 0x566f1b
inc edx
mov dword [ebp - 0x9c], edx
mov dword [ebp - 0x8c], eax
mov edx, dword [ebp - 0x8c]
mov eax, dword [ebp - 4]
call fcn.004ac008
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x8c]
cdq
idiv dword [ebp - 0x30]
add edx, dword [ebp - 0xf8]
mov eax, dword [ebp + 0x14]
call fcn.004ac008
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xec]
mov edx, dword [ebp - 0xe4]
dec edx
sub edx, eax
jl 0x566f09
inc edx
mov dword [ebp - 0xa0], edx
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x98]
cdq
idiv dword [ebp - 0x2c]
add edx, dword [ebp - 0xfc]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + edx*4]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x98]
mov eax, dword [eax + edx*4]
mov dword [ebp - 0x6c], eax
xor eax, eax
mov al, byte [ebp - 0x6e]
xor edx, edx
mov dl, byte [ebp - 0x6a]
sub eax, edx
xor edx, edx
mov dl, byte [ebp + 0xc]
imul edx
xor edx, edx
mov dl, byte [ebp - 0x6a]
shl edx, 8
add eax, edx
shr eax, 8
and al, 0xff
mov byte [ebp - 0x6a], al
xor eax, eax
mov al, byte [ebp - 0x6f]
xor edx, edx
mov dl, byte [ebp - 0x6b]
sub eax, edx
xor edx, edx
mov dl, byte [ebp + 0xc]
imul edx
xor edx, edx
mov dl, byte [ebp - 0x6b]
shl edx, 8
add eax, edx
shr eax, 8
and al, 0xff
mov byte [ebp - 0x6b], al
xor eax, eax
mov al, byte [ebp - 0x70]
xor edx, edx
mov dl, byte [ebp - 0x6c]
sub eax, edx
xor edx, edx
mov dl, byte [ebp + 0xc]
imul edx
xor edx, edx
mov dl, byte [ebp - 0x6c]
shl edx, 8
add eax, edx
shr eax, 8
and al, 0xff
mov byte [ebp - 0x6c], al
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x98]
mov ecx, dword [ebp - 0x6c]
mov dword [eax + edx*4], ecx
inc dword [ebp - 0x98]
dec dword [ebp - 0xa0]
jne 0x566e51
inc dword [ebp - 0x8c]
dec dword [ebp - 0x9c]
jne 0x566e03
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x8c]
cdq
idiv dword [ebp - 0x30]
add edx, dword [ebp - 0xf8]
mov eax, dword [ebp + 0x14]
call fcn.004ac008
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xec]
mov edx, dword [ebp - 0xe4]
dec edx
sub edx, eax
jl 0x56701c
inc edx
mov dword [ebp - 0x9c], edx
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x98]
cdq
idiv dword [ebp - 0x2c]
add edx, dword [ebp - 0xfc]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + edx*4]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x98]
mov eax, dword [eax + edx*4]
mov dword [ebp - 0x6c], eax
xor eax, eax
mov al, byte [ebp - 0x6e]
xor edx, edx
mov dl, byte [ebp - 0x6a]
sub eax, edx
xor edx, edx
mov dl, byte [ebp + 0xc]
imul edx
xor edx, edx
mov dl, byte [ebp - 0x6a]
shl edx, 8
add eax, edx
shr eax, 8
and al, 0xff
mov byte [ebp - 0x6a], al
xor eax, eax
mov al, byte [ebp - 0x6f]
xor edx, edx
mov dl, byte [ebp - 0x6b]
sub eax, edx
xor edx, edx
mov dl, byte [ebp + 0xc]
imul edx
xor edx, edx
mov dl, byte [ebp - 0x6b]
shl edx, 8
add eax, edx
shr eax, 8
and al, 0xff
mov byte [ebp - 0x6b], al
xor eax, eax
mov al, byte [ebp - 0x70]
xor edx, edx
mov dl, byte [ebp - 0x6c]
sub eax, edx
xor edx, edx
mov dl, byte [ebp + 0xc]
imul edx
xor edx, edx
mov dl, byte [ebp - 0x6c]
shl edx, 8
add eax, edx
shr eax, 8
and al, 0xff
mov byte [ebp - 0x6c], al
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x98]
mov ecx, dword [ebp - 0x6c]
mov dword [eax + edx*4], ecx
inc dword [ebp - 0x98]
dec dword [ebp - 0x9c]
jne 0x566f64
mov eax, dword [ebp - 0xe8]
add eax, dword [ebp - 0x20]
mov dword [ebp - 0x8c], eax
lea eax, [ebp - 0xec]
xor edx, edx
call sym.DatCutter.exe__Acntutils_WidthOf_qqrrx11Types_TRecto
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jle 0x5670a8
jmp 0x567096
push 0xcc0020
mov eax, dword [ebp - 0xe8]
push eax
mov eax, dword [ebp - 0xec]
push eax
mov eax, dword [ebp - 4]
call fcn.004abe84
call fcn.004a65ec
push eax
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x8c]
push eax
mov eax, dword [ebp - 0xec]
push eax
mov eax, dword [ebp - 4]
call fcn.004abe84
call fcn.004a65ec
push eax
call sub.GDI32.DLL_BitBlt
mov eax, dword [ebp - 0x20]
add dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0xe0]
dec eax
sub eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x8c]
jg 0x567043
mov eax, dword [ebp - 0xe0]
dec eax
cmp eax, dword [ebp - 0x8c]
jle 0x56710b
push 0xcc0020
mov eax, dword [ebp - 0xe8]
push eax
mov eax, dword [ebp - 0xec]
push eax
mov eax, dword [ebp - 4]
call fcn.004abe84
call fcn.004a65ec
push eax
mov eax, dword [ebp - 0xe0]
dec eax
sub eax, dword [ebp - 0x8c]
push eax
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x8c]
push eax
mov eax, dword [ebp - 0xec]
push eax
mov eax, dword [ebp - 4]
call fcn.004abe84
call fcn.004a65ec
push eax
call sub.GDI32.DLL_BitBlt
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10