Function at 0x57baf0
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push esi
push edi
mov esi, dword [ebp + 0xc]
lea edi, [ebp - 0x64]
push ecx
mov ecx, 0xe
rep movsd dword es:[edi], dword [esi]
pop ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x64]
mov edx, dword [sym.DatCutter.exe___xp_20Smaskdata_TsMaskData]
call fcn.00459d98
xor eax, eax
push ebp
push 0x57c1ec
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 0xc], 0
je 0x57bb42
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x20]
test al, al
je 0x57c1a2
cmp dword [ebp - 0x64], 0
je 0x57bb50
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x2c], eax
jmp 0x57bb66
cmp dword [ebp - 0x3c], 0
je case.0x57c08d.1
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 0x190]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x58]
xor edx, edx
call sym.DatCutter.exe__Acntutils_WidthOf_qqrrx11Types_TRecto
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x58]
xor edx, edx
call sym.DatCutter.exe__Acntutils_HeightOf_qqrrx11Types_TRecto
mov dword [ebp - 0x1c], eax
xor eax, eax
mov dword [ebp - 0x28], eax
mov al, byte [ebp + 8]
dec al
je 0x57bba9
sub al, 3
je 0x57bc32
dec al
je 0x57bcc4
sub al, 5
je 0x57bd56
jmp 0x57be67
push 3
mov eax, dword [ebp - 4]
call fcn.004a65ec
push eax
call sub.GDI32.DLL_SetStretchBltMode
push 0xcc0020
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x54]
push eax
mov eax, dword [ebp - 0x58]
push eax
mov eax, dword [ebp - 0x2c]
call fcn.004abe84
call fcn.004a65ec
push eax
mov eax, dword [ebp - 8]
xor edx, edx
call sym.DatCutter.exe__Acntutils_HeightOf_qqrrx11Types_TRecto
push eax
mov eax, dword [ebp - 8]
xor edx, edx
call sym.DatCutter.exe__Acntutils_WidthOf_qqrrx11Types_TRecto
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
push eax
mov eax, dword [ebp - 4]
call fcn.004a65ec
push eax
call sub.GDI32.DLL_StretchBlt
push 0xffffffffffffffff
lea eax, [ebp - 0x74]
push eax
or ecx, 0xffffffff
or edx, 0xffffffff
or eax, 0xffffffff
call fcn.004376b0
mov eax, dword [ebp - 8]
lea esi, [ebp - 0x74]
mov edi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jmp case.0x57c08d.1
push 3
mov eax, dword [ebp - 4]
call fcn.004a65ec
push eax
call sub.GDI32.DLL_SetStretchBltMode
push 0xcc0020
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x54]
push eax
mov eax, dword [ebp - 0x58]
push eax
mov eax, dword [ebp - 0x2c]
call fcn.004abe84
call fcn.004a65ec
push eax
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 8]
xor edx, edx
call sym.DatCutter.exe__Acntutils_WidthOf_qqrrx11Types_TRecto
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
push eax
mov eax, dword [ebp - 4]
call fcn.004a65ec
push eax
call sub.GDI32.DLL_StretchBlt
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
push eax
lea eax, [ebp - 0x74]
push eax
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx + 8]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 4]
add edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.004376b0
mov eax, dword [ebp - 8]
lea esi, [ebp - 0x74]
mov edi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jmp case.0x57c08d.1
push 3
mov eax, dword [ebp - 4]
call fcn.004a65ec
push eax
call sub.GDI32.DLL_SetStretchBltMode
push 0xcc0020
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x54]
push eax
mov eax, dword [ebp - 0x58]
push eax
mov eax, dword [ebp - 0x2c]
call fcn.004abe84
call fcn.004a65ec
push eax
mov eax, dword [ebp - 8]
xor edx, edx
call sym.DatCutter.exe__Acntutils_HeightOf_qqrrx11Types_TRecto
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
push eax
mov eax, dword [ebp - 4]
call fcn.004a65ec
push eax
call sub.GDI32.DLL_StretchBlt
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
push eax
lea eax, [ebp - 0x74]
push eax
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx + 8]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 4]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
add eax, dword [ebp - 0x18]
call fcn.004376b0
mov eax, dword [ebp - 8]
lea esi, [ebp - 0x74]
mov edi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jmp case.0x57c08d.1
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
sub eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
sub eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x20]
jge 0x57bde4
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x24]
jge 0x57bdd6
push 0xcc0020
mov eax, dword [ebp - 0x54]
push eax
mov eax, dword [ebp - 0x58]
push eax
mov eax, dword [ebp - 0x2c]
call fcn.004abe84
call fcn.004a65ec
push eax
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
call fcn.004a65ec
push eax
call sub.GDI32.DLL_BitBlt
mov eax, dword [ebp - 0x1c]
add dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x24]
jl 0x57bd8f
mov eax, dword [ebp - 0x18]
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x20]
jl 0x57bd7e
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x24]
jge 0x57be42
push 0xcc0020
mov eax, dword [ebp - 0x54]
push eax
mov eax, dword [ebp - 0x58]
push eax
mov eax, dword [ebp - 0x2c]
call fcn.004abe84
call fcn.004a65ec
push eax
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
sub eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
call fcn.004a65ec
push eax
call sub.GDI32.DLL_BitBlt
mov eax, dword [ebp - 0x1c]
add dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x24]
jl 0x57bdf5
push 0xffffffffffffffff
lea eax, [ebp - 0x74]
push eax
or ecx, 0xffffffff
or edx, 0xffffffff
or eax, 0xffffffff
call fcn.004376b0
mov eax, dword [ebp - 8]
lea esi, [ebp - 0x74]
mov edi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jmp case.0x57c08d.1
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
mov al, byte [ebp + 8]
sub al, 1
jb 0x57be84
dec al
je 0x57bea1
dec al
je 0x57beb8
sub al, 3
je 0x57bece
jmp 0x57befd
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
sub eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
sub eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
jmp 0x57bf27
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
sub eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
mov dword [ebp - 0x24], eax
jmp 0x57bf27
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
sub eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
jmp 0x57bf27
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
sub eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 8]
mov dword [edx + 4], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
sub eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
mov dword [ebp - 0x24], eax
jmp 0x57bf27
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
sub eax, dword [ebp - 0x18]
mov edx, dword [ebp - 8]
mov dword [edx], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
sub eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x20]
jge 0x57bfdc
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x24]
jge 0x57bf8b
push 0xcc0020
mov eax, dword [ebp - 0x54]
push eax
mov eax, dword [ebp - 0x58]
push eax
mov eax, dword [ebp - 0x2c]
call fcn.004abe84
call fcn.004a65ec
push eax
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
call fcn.004a65ec
push eax
call sub.GDI32.DLL_BitBlt
mov eax, dword [ebp - 0x1c]
add dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x24]
jl 0x57bf44
push 0xcc0020
mov eax, dword [ebp - 0x54]
push eax
mov eax, dword [ebp - 0x58]
push eax
mov eax, dword [ebp - 0x2c]
call fcn.004abe84
call fcn.004a65ec
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
sub eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
call fcn.004a65ec
push eax
call sub.GDI32.DLL_BitBlt
mov eax, dword [ebp - 0x18]
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x20]
jl 0x57bf33
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x24]
jge 0x57c03a
push 0xcc0020
mov eax, dword [ebp - 0x54]
push eax
mov eax, dword [ebp - 0x58]
push eax
mov eax, dword [ebp - 0x2c]
call fcn.004abe84
call fcn.004a65ec
push eax
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
sub eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
call fcn.004a65ec
push eax
call sub.GDI32.DLL_BitBlt
mov eax, dword [ebp - 0x1c]
add dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x24]
jl 0x57bfed
push 0xcc0020
mov eax, dword [ebp - 0x54]
push eax
mov eax, dword [ebp - 0x58]
push eax
mov eax, dword [ebp - 0x2c]
call fcn.004abe84
call fcn.004a65ec
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
sub eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
sub eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
call fcn.004a65ec
push eax
call sub.GDI32.DLL_BitBlt
xor eax, eax
mov al, byte [ebp + 8]
cmp eax, 7
ja case.0x57c08d.1
jmp dword [eax*4 + 0x57c094]
push 0xffffffffffffffff
lea eax, [ebp - 0x74]
push eax
or ecx, 0xffffffff
or edx, 0xffffffff
or eax, 0xffffffff
call fcn.004376b0
mov eax, dword [ebp - 8]
lea esi, [ebp - 0x74]
mov edi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jmp case.0x57c08d.1
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
push eax
lea eax, [ebp - 0x74]
push eax
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx + 8]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 4]
add edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.004376b0
mov eax, dword [ebp - 8]
lea esi, [ebp - 0x74]
mov edi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jmp case.0x57c08d.1
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
push eax
lea eax, [ebp - 0x74]
push eax
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx + 8]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 4]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
add eax, dword [ebp - 0x18]
call fcn.004376b0
mov eax, dword [ebp - 8]
lea esi, [ebp - 0x74]
mov edi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jmp case.0x57c08d.1
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
sub eax, dword [ebp - 0x1c]
push eax
lea eax, [ebp - 0x74]
push eax
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx + 8]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov edx, dword [ebp - 0x28]
call fcn.004376b0
mov eax, dword [ebp - 8]
lea esi, [ebp - 0x74]
mov edi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jmp case.0x57c08d.1
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
push eax
lea eax, [ebp - 0x74]
push eax
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx + 8]
sub ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 4]
mov eax, dword [ebp - 0x28]
call fcn.004376b0
mov eax, dword [ebp - 8]
lea esi, [ebp - 0x74]
mov edi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jmp case.0x57c08d.1
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call sym.DatCutter.exe__Sgraphutils_TileBitmap_qqrp16Graphics_TCanvasrx11Types_TRectp17Graphics_TGraphic
push 0xffffffffffffffff
lea eax, [ebp - 0x74]
push eax
or ecx, 0xffffffff
or edx, 0xffffffff
or eax, 0xffffffff
call fcn.004376b0
mov eax, dword [ebp - 8]
lea esi, [ebp - 0x74]
mov edi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x57c1f3
lea eax, [ebp - 0x64]
mov edx, dword [sym.DatCutter.exe___xp_20Smaskdata_TsMaskData]
call fcn.00459c2c
ret