Function at 0x5658a0
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe90
push esi
push edi
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 0x566567
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x30]
cmp eax, dword [ebp - 0xe4]
jge 0x5658ef
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 0x56590d
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x24]
mov dword [ebp - 0xe0], eax
cmp dword [ebp - 0xec], 0
jge 0x56591e
xor eax, eax
mov dword [ebp - 0xec], eax
cmp dword [ebp - 0xe8], 0
jge 0x56592f
xor eax, eax
mov dword [ebp - 0xe8], eax
mov byte [ebp - 0x59], 0xff
mov eax, dword [ebp - 8]
call fcn.0045a69c
dec eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0
jl 0x566567
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
sub eax, 1
jb 0x565966
je 0x565d12
dec eax
je 0x5662c3
jmp 0x566567
mov byte [ebp - 0x5d], 0xff
mov eax, dword [ebp - 0xe8]
add eax, dword [ebp + 8]
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0xec]
xor edx, edx
call sym.DatCutter.exe__Acntutils_WidthOf_qqrrx11Types_TRecto
add eax, dword [ebp - 0xec]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x30]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x90]
cmp eax, dword [ebp - 0x94]
jge 0x5659b9
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x98], eax
jmp 0x5659c5
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x98]
dec eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0xec]
inc eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x64]
test eax, eax
jl 0x566567
inc eax
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x14]
lea eax, [eax + eax*4]
mov edx, dword [ebp - 8]
mov eax, dword [edx + eax*4]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x14]
lea eax, [eax + eax*4]
mov edx, dword [ebp - 8]
mov eax, dword [edx + eax*4 + 4]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x14]
lea eax, [eax + eax*4]
mov edx, dword [ebp - 8]
movzx eax, byte [edx + eax*4 + 8]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0xec]
xor edx, edx
call sym.DatCutter.exe__Acntutils_HeightOf_qqrrx11Types_TRecto
add eax, dword [ebp + 8]
imul dword [ebp - 0x68]
mov ecx, 0x64
cdq
idiv ecx
add eax, dword [ebp - 0x74]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x64]
jne 0x565a96
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x24]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0xe0]
cmp eax, dword [ebp - 0x9c]
jge 0x565a7e
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0xa0], eax
jmp 0x565a8a
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0xa0]
dec eax
mov dword [ebp - 0x78], eax
jmp 0x565af9
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x24]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0xe0]
cmp eax, dword [ebp - 0xa4]
jge 0x565ac0
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0xa8], eax
jmp 0x565acc
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xa8]
dec eax
cmp eax, dword [ebp - 0x78]
jle 0x565ae3
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0xac], eax
jmp 0x565af0
mov eax, dword [ebp - 0xa8]
dec eax
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
sub eax, dword [ebp - 0x74]
test eax, eax
jle 0x565cfe
xor eax, eax
mov al, byte [ebp - 0x54]
mov dword [ebp - 0x170], eax
fild dword [ebp - 0x170]
fstp dword [ebp - 0x28]
wait
xor eax, eax
mov al, byte [ebp - 0x53]
mov dword [ebp - 0x170], eax
fild dword [ebp - 0x170]
fstp dword [ebp - 0x2c]
wait
xor eax, eax
mov al, byte [ebp - 0x52]
mov dword [ebp - 0x170], eax
fild dword [ebp - 0x170]
fstp dword [ebp - 0x30]
wait
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x64]
je 0x565b5c
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x24]
dec eax
cmp eax, dword [ebp - 0x78]
jge 0x565b9e
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x24]
dec eax
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xe0]
dec eax
cmp eax, dword [ebp - 0xb0]
jge 0x565b89
mov eax, dword [ebp - 0xe0]
dec eax
mov dword [ebp - 0xb4], eax
jmp 0x565b95
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
sub eax, dword [ebp - 0x74]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x566567
mov eax, dword [ebp - 0x54]
cmp eax, dword [ebp - 0x58]
jne 0x565c18
mov al, byte [ebp - 0x54]
mov byte [ebp - 0x5a], al
mov al, byte [ebp - 0x53]
mov byte [ebp - 0x5b], al
mov al, byte [ebp - 0x52]
mov byte [ebp - 0x5c], al
mov eax, dword [ebp - 0x74]
mov edx, dword [ebp - 0x78]
sub edx, eax
jl 0x565cfe
inc edx
mov dword [ebp - 0x88], edx
mov dword [ebp - 0x7c], eax
mov edx, dword [ebp - 0x7c]
mov eax, dword [ebp - 4]
call fcn.004ac008
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0xec]
lea eax, [eax + edx*4]
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x18]
call sym.DatCutter.exe__Salphagraph_FillLongword_qqrpviui
inc dword [ebp - 0x7c]
dec dword [ebp - 0x88]
jne 0x565be3
jmp 0x565cfe
xor eax, eax
mov al, byte [ebp - 0x58]
xor edx, edx
mov dl, byte [ebp - 0x54]
sub eax, edx
mov dword [ebp - 0x170], eax
fild dword [ebp - 0x170]
fild dword [ebp - 0x1c]
fdivp st(1)
fstp qword [ebp - 0x38]
wait
xor eax, eax
mov al, byte [ebp - 0x57]
xor edx, edx
mov dl, byte [ebp - 0x53]
sub eax, edx
mov dword [ebp - 0x170], eax
fild dword [ebp - 0x170]
fild dword [ebp - 0x1c]
fdivp st(1)
fstp qword [ebp - 0x40]
wait
xor eax, eax
mov al, byte [ebp - 0x56]
xor edx, edx
mov dl, byte [ebp - 0x52]
sub eax, edx
mov dword [ebp - 0x170], eax
fild dword [ebp - 0x170]
fild dword [ebp - 0x1c]
fdivp st(1)
fstp qword [ebp - 0x48]
wait
mov eax, dword [ebp - 0x74]
mov edx, dword [ebp - 0x78]
sub edx, eax
jl 0x565cfe
inc edx
mov dword [ebp - 0x88], edx
mov dword [ebp - 0x7c], eax
fld dword [ebp - 0x28]
call fcn.00456748
mov byte [ebp - 0x5a], al
fld dword [ebp - 0x2c]
call fcn.00456748
mov byte [ebp - 0x5b], al
fld dword [ebp - 0x30]
call fcn.00456748
mov byte [ebp - 0x5c], al
mov edx, dword [ebp - 0x7c]
mov eax, dword [ebp - 4]
call fcn.004ac008
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0xec]
lea eax, [eax + edx*4]
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x18]
call sym.DatCutter.exe__Salphagraph_FillLongword_qqrpviui
fld dword [ebp - 0x28]
fadd qword [ebp - 0x38]
fstp dword [ebp - 0x28]
wait
fld dword [ebp - 0x2c]
fadd qword [ebp - 0x40]
fstp dword [ebp - 0x2c]
wait
fld dword [ebp - 0x30]
fadd qword [ebp - 0x48]
fstp dword [ebp - 0x30]
wait
inc dword [ebp - 0x7c]
dec dword [ebp - 0x88]
jne 0x565c8f
inc dword [ebp - 0x14]
dec dword [ebp - 0x84]
jne 0x5659f5
jmp 0x566567
lea eax, [ebp - 0xec]
xor edx, edx
call sym.DatCutter.exe__Acntutils_WidthOf_qqrrx11Types_TRecto
mov dword [ebp - 0x170], eax
fild dword [ebp - 0x170]
fdiv dword [0x566570]
fstp qword [ebp - 0x50]
wait
mov eax, dword [ebp - 4]
call fcn.004abf84
cmp al, 7
jne 0x566038
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 - 0x70], eax
mov eax, dword [ebp - 0x64]
test eax, eax
jl 0x565fa0
inc eax
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x14]
lea eax, [eax + eax*4]
mov edx, dword [ebp - 8]
mov eax, dword [edx + eax*4]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x14]
lea eax, [eax + eax*4]
mov edx, dword [ebp - 8]
mov eax, dword [edx + eax*4 + 4]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x14]
lea eax, [eax + eax*4]
mov edx, dword [ebp - 8]
movzx eax, byte [edx + eax*4 + 8]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x6c], eax
fild dword [ebp - 0x68]
fmul qword [ebp - 0x50]
fild dword [ebp - 0x6c]
faddp st(1)
call fcn.00456748
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x64]
jne 0x565e0b
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x30]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xe4]
cmp eax, dword [ebp - 0xb8]
jge 0x565df3
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0xbc], eax
jmp 0x565dff
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xbc]
dec eax
mov dword [ebp - 0x70], eax
jmp 0x565e6e
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x30]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0xe4]
cmp eax, dword [ebp - 0xc0]
jge 0x565e35
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0xc4], eax
jmp 0x565e41
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0xc4]
dec eax
cmp eax, dword [ebp - 0x70]
jle 0x565e58
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0xc8], eax
jmp 0x565e65
mov eax, dword [ebp - 0xc4]
dec eax
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x70]
sub eax, dword [ebp - 0x6c]
test eax, eax
jle 0x565f91
mov eax, dword [ebp - 0x70]
sub eax, dword [ebp - 0x6c]
mov dword [ebp - 0x18], eax
xor eax, eax
mov al, byte [ebp - 0x54]
mov dword [ebp - 0x170], eax
fild dword [ebp - 0x170]
fstp dword [ebp - 0x28]
wait
xor eax, eax
mov al, byte [ebp - 0x53]
mov dword [ebp - 0x170], eax
fild dword [ebp - 0x170]
fstp dword [ebp - 0x2c]
wait
xor eax, eax
mov al, byte [ebp - 0x52]
mov dword [ebp - 0x170], eax
fild dword [ebp - 0x170]
fstp dword [ebp - 0x30]
wait
xor eax, eax
mov al, byte [ebp - 0x58]
xor edx, edx
mov dl, byte [ebp - 0x54]
sub eax, edx
mov dword [ebp - 0x170], eax
fild dword [ebp - 0x170]
fild dword [ebp - 0x18]
fdivp st(1)
fstp qword [ebp - 0x38]
wait
xor eax, eax
mov al, byte [ebp - 0x57]
xor edx, edx
mov dl, byte [ebp - 0x53]
sub eax, edx
mov dword [ebp - 0x170], eax
fild dword [ebp - 0x170]
fild dword [ebp - 0x18]
fdivp st(1)
fstp qword [ebp - 0x40]
wait
xor eax, eax
mov al, byte [ebp - 0x56]
xor edx, edx
mov dl, byte [ebp - 0x52]
sub eax, edx
mov dword [ebp - 0x170], eax
fild dword [ebp - 0x170]
fild dword [ebp - 0x18]
fdivp st(1)
fstp qword [ebp - 0x48]
wait
mov eax, dword [ebp - 0x6c]
mov edx, dword [ebp - 0x70]
sub edx, eax
jl 0x565f91
inc edx
mov dword [ebp - 0x88], edx
mov dword [ebp - 0x80], eax
fld dword [ebp - 0x28]
call fcn.00456748
mov byte [ebp - 0x5a], al
fld dword [ebp - 0x2c]
call fcn.00456748
mov byte [ebp - 0x5b], al
fld dword [ebp - 0x30]
call fcn.00456748
mov byte [ebp - 0x5c], al
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x80]
mov ecx, dword [ebp - 0x5c]
mov dword [eax + edx*4], ecx
fld dword [ebp - 0x28]
fadd qword [ebp - 0x38]
fstp dword [ebp - 0x28]
wait
fld dword [ebp - 0x2c]
fadd qword [ebp - 0x40]
fstp dword [ebp - 0x2c]
wait
fld dword [ebp - 0x30]
fadd qword [ebp - 0x48]
fstp dword [ebp - 0x30]
wait
inc dword [ebp - 0x80]
dec dword [ebp - 0x88]
jne 0x565f3b
inc dword [ebp - 0x14]
dec dword [ebp - 0x84]
jne 0x565d78
lea eax, [ebp - 0xec]
xor edx, edx
call sym.DatCutter.exe__Acntutils_WidthOf_qqrrx11Types_TRecto
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], 1
cmp dword [ebp - 0x20], 0
jle 0x566567
mov eax, dword [ebp - 0xe8]
inc eax
mov edx, dword [ebp - 0xe0]
dec edx
sub edx, eax
jl 0x566567
inc edx
mov dword [ebp - 0x84], edx
mov dword [ebp - 0x74], eax
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 - 0x24]
push eax
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x74]
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
inc dword [ebp - 0x74]
dec dword [ebp - 0x84]
jne 0x565fe1
jmp 0x566567
mov eax, dword [ebp - 0xe8]
mov edx, dword [ebp - 0xe0]
dec edx
sub edx, eax
jl 0x566567
inc edx
mov dword [ebp - 0x84], edx
mov dword [ebp - 0x74], eax
mov edx, dword [ebp - 0x74]
mov eax, dword [ebp - 4]
call fcn.004ac008
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x64]
test eax, eax
jl 0x5662af
inc eax
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x14]
lea eax, [eax + eax*4]
mov edx, dword [ebp - 8]
mov eax, dword [edx + eax*4]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x14]
lea eax, [eax + eax*4]
mov edx, dword [ebp - 8]
mov eax, dword [edx + eax*4 + 4]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x14]
lea eax, [eax + eax*4]
mov edx, dword [ebp - 8]
movzx eax, byte [edx + eax*4 + 8]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x6c], eax
fild dword [ebp - 0x68]
fmul qword [ebp - 0x50]
fild dword [ebp - 0x6c]
faddp st(1)
call fcn.00456748
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x64]
jne 0x56611a
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 0x566102
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0xd0], eax
jmp 0x56610e
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0xd0]
dec eax
mov dword [ebp - 0x70], eax
jmp 0x56617d
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x30]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0xe4]
cmp eax, dword [ebp - 0xd4]
jge 0x566144
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0xd8], eax
jmp 0x566150
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0xd8]
dec eax
cmp eax, dword [ebp - 0x70]
jle 0x566167
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0xdc], eax
jmp 0x566174
mov eax, dword [ebp - 0xd8]
dec eax
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x70]
sub eax, dword [ebp - 0x6c]
test eax, eax
jle 0x5662a0
mov eax, dword [ebp - 0x70]
sub eax, dword [ebp - 0x6c]
mov dword [ebp - 0x18], eax
xor eax, eax
mov al, byte [ebp - 0x54]
mov dword [ebp - 0x170], eax
fild dword [ebp - 0x170]
fstp dword [ebp - 0x28]
wait
xor eax, eax
mov al, byte [ebp - 0x53]
mov dword [ebp - 0x170], eax
fild dword [ebp - 0x170]
fstp dword [ebp - 0x2c]
wait
xor eax, eax
mov al, byte [ebp - 0x52]
mov dword [ebp - 0x170], eax
fild dword [ebp - 0x170]
fstp dword [ebp - 0x30]
wait
xor eax, eax
mov al, byte [ebp - 0x58]
xor edx, edx
mov dl, byte [ebp - 0x54]
sub eax, edx
mov dword [ebp - 0x170], eax
fild dword [ebp - 0x170]
fild dword [ebp - 0x18]
fdivp st(1)
fstp qword [ebp - 0x38]
wait
xor eax, eax
mov al, byte [ebp - 0x57]
xor edx, edx
mov dl, byte [ebp - 0x53]
sub eax, edx
mov dword [ebp - 0x170], eax
fild dword [ebp - 0x170]
fild dword [ebp - 0x18]
fdivp st(1)
fstp qword [ebp - 0x40]
wait
xor eax, eax
mov al, byte [ebp - 0x56]
xor edx, edx
mov dl, byte [ebp - 0x52]
sub eax, edx
mov dword [ebp - 0x170], eax
fild dword [ebp - 0x170]
fild dword [ebp - 0x18]
fdivp st(1)
fstp qword [ebp - 0x48]
wait
mov eax, dword [ebp - 0x6c]
mov edx, dword [ebp - 0x70]
sub edx, eax
jl 0x5662a0
inc edx
mov dword [ebp - 0x8c], edx
mov dword [ebp - 0x80], eax
fld dword [ebp - 0x28]
call fcn.00456748
mov byte [ebp - 0x5a], al
fld dword [ebp - 0x2c]
call fcn.00456748
mov byte [ebp - 0x5b], al
fld dword [ebp - 0x30]
call fcn.00456748
mov byte [ebp - 0x5c], al
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x80]
mov ecx, dword [ebp - 0x5c]
mov dword [eax + edx*4], ecx
fld dword [ebp - 0x28]
fadd qword [ebp - 0x38]
fstp dword [ebp - 0x28]
wait
fld dword [ebp - 0x2c]
fadd qword [ebp - 0x40]
fstp dword [ebp - 0x2c]
wait
fld dword [ebp - 0x30]
fadd qword [ebp - 0x48]
fstp dword [ebp - 0x30]
wait
inc dword [ebp - 0x80]
dec dword [ebp - 0x8c]
jne 0x56624a
inc dword [ebp - 0x14]
dec dword [ebp - 0x88]
jne 0x566087
inc dword [ebp - 0x74]
dec dword [ebp - 0x84]
jne 0x566057
jmp 0x566567
cmp dword [ebp - 0x64], 0xffffffff
jle 0x5662d3
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 0x60], eax
jmp 0x5662d8
xor eax, eax
mov dword [ebp - 0x60], eax
mov word [ebp - 0x12e], 0xff00
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0x13c], eax
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0x138], eax
xor eax, eax
mov al, byte [ebp - 0x60]
shl eax, 8
mov word [ebp - 0x134], ax
xor eax, eax
mov al, byte [ebp - 0x5f]
shl eax, 8
mov word [ebp - 0x132], ax
xor eax, eax
mov al, byte [ebp - 0x5e]
shl eax, 8
mov word [ebp - 0x130], ax
cmp dword [ebp - 0x64], 0
jle 0x566335
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x60], eax
mov word [ebp - 0x11e], 0xff00
lea eax, [ebp - 0xec]
xor edx, edx
call sym.DatCutter.exe__Acntutils_WidthOf_qqrrx11Types_TRecto
sar eax, 1
jns 0x566352
adc eax, 0
add eax, dword [ebp - 0xec]
mov dword [ebp - 0x12c], eax
lea eax, [ebp - 0xec]
xor edx, edx
call sym.DatCutter.exe__Acntutils_HeightOf_qqrrx11Types_TRecto
sar eax, 1
jns 0x566372
adc eax, 0
add eax, dword [ebp - 0xe8]
mov dword [ebp - 0x128], eax
xor eax, eax
mov al, byte [ebp - 0x60]
shl eax, 8
mov word [ebp - 0x124], ax
xor eax, eax
mov al, byte [ebp - 0x5f]
shl eax, 8
mov word [ebp - 0x122], ax
xor eax, eax
mov al, byte [ebp - 0x5e]
shl eax, 8
mov word [ebp - 0x120], ax
cmp dword [ebp - 0x64], 1
jle 0x5663ba
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x60], eax
mov word [ebp - 0x10e], 0xff00
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0x118], eax
xor eax, eax
mov al, byte [ebp - 0x60]
shl eax, 8
mov word [ebp - 0x114], ax
xor eax, eax
mov al, byte [ebp - 0x5f]
shl eax, 8
mov word [ebp - 0x112], ax
xor eax, eax
mov al, byte [ebp - 0x5e]
shl eax, 8
mov word [ebp - 0x110], ax
cmp dword [ebp - 0x64], 2
jle 0x566417
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x3c]
mov dword [ebp - 0x60], eax
mov word [ebp - 0xfe], 0xff00
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0x108], eax
xor eax, eax
mov al, byte [ebp - 0x60]
shl eax, 8
mov word [ebp - 0x104], ax
xor eax, eax
mov al, byte [ebp - 0x5f]
shl eax, 8
mov word [ebp - 0x102], ax
xor eax, eax
mov al, byte [ebp - 0x5e]
shl eax, 8
mov word [ebp - 0x100], ax
cmp dword [ebp - 0x64], 3
jle 0x566474
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x50]
mov dword [ebp - 0x60], eax
mov word [ebp - 0xee], 0xff00
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0xf8], eax
xor eax, eax
mov al, byte [ebp - 0x60]
shl eax, 8
mov word [ebp - 0xf4], ax
push dword [ebx]
ror byte [edx - 0x1f3e5ebb], 8
mov word [ebp - 0xf2], ax
xor eax, eax
mov al, byte [ebp - 0x5e]
shl eax, 8
mov word [ebp - 0xf0], ax
xor eax, eax
mov dword [ebp - 0x16c], eax
mov dword [ebp - 0x168], 1
mov dword [ebp - 0x164], 2
mov dword [ebp - 0x160], 1
mov dword [ebp - 0x15c], 2
mov dword [ebp - 0x158], 3
xor eax, eax
mov dword [ebp - 0x154], eax
mov dword [ebp - 0x150], 1
mov dword [ebp - 0x14c], 4
mov dword [ebp - 0x148], 4
mov dword [ebp - 0x144], 1
mov dword [ebp - 0x140], 3
cmp dword [0x6b635c], 0
je 0x566567
push 2
push 4
lea eax, [ebp - 0x16c]
push eax
push 5
lea eax, [ebp - 0x13c]
push eax
mov eax, dword [ebp - 4]
call fcn.004abe84
call fcn.004a65ec
push eax
call dword [0x6b635c]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8