Function at 0x68703ee0
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x6c
cmp dword [ebp + 0x24], 2
mov esi, dword [ebp + 0x1c]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], edx
mov ebx, dword [ebp + 0x20]
mov dword [ebp - 0x34], ecx
jne 0x68704070
test esi, esi
je 0x68704060
test ebx, ebx
je 0x68704060
cmp dword [ebp + 8], esi
jg 0x68704158
cmp dword [ebp + 0xc], ebx
jg 0x68704158
cmp dword [ebp + 8], esi
cmovle esi, dword [ebp + 8]
cmp dword [ebp + 0xc], ebx
cmovle ebx, dword [ebp + 0xc]
mov dword [esp + 4], 4
mov dword [esp], eax
call sym._SetStretchBltMode_8
sub esp, 8
mov edi, eax
lea eax, [ebp - 0x20]
mov dword [esp + 0xc], eax
mov ecx, dword [ebp - 0x34]
mov dword [esp + 8], ecx
mov ecx, dword [ebp - 0x30]
mov dword [esp + 4], ecx
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
call sym._SetBrushOrgEx_16
sub esp, 0x10
cmp dword [ebp + 0x28], 1
je 0x68704540
mov ecx, dword [ebp + 0x28]
test ecx, ecx
je 0x68703fcd
mov eax, dword [0x6871b748]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], esi
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], esi
mov eax, dword [ebp - 0x34]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
call sym._AlphaBlend_44
sub esp, 0x2c
test eax, eax
jne 0x687045a0
mov dword [esp + 0x28], 0xcc0020
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], esi
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], esi
mov eax, dword [ebp - 0x34]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
call sym._StretchBlt_44
sub esp, 0x2c
mov edx, eax
mov dword [ebp - 0x30], edx
mov dword [esp + 0xc], 0
mov eax, dword [ebp - 0x1c]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x20]
mov dword [esp + 4], eax
mov esi, dword [ebp - 0x2c]
mov dword [esp], esi
call sym._SetBrushOrgEx_16
sub esp, 0x10
mov dword [esp + 4], edi
mov dword [esp], esi
call sym._SetStretchBltMode_8
mov edx, dword [ebp - 0x30]
sub esp, 8
lea esp, [ebp - 0xc]
pop ebx
mov eax, edx
pop esi
pop edi
pop ebp
ret
lea esp, [ebp - 0xc]
mov edx, 1
pop ebx
mov eax, edx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 4], 4
mov dword [esp], eax
call sym._SetStretchBltMode_8
sub esp, 8
mov edi, eax
lea eax, [ebp - 0x20]
mov dword [esp + 0xc], eax
mov ecx, dword [ebp - 0x34]
mov dword [esp + 8], ecx
mov ecx, dword [ebp - 0x30]
mov dword [esp + 4], ecx
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
call sym._SetBrushOrgEx_16
sub esp, 0x10
cmp dword [ebp + 0x28], 1
je 0x68704460
mov eax, dword [ebp + 0x28]
test eax, eax
jne 0x687043f8
mov dword [esp + 0x28], 0xcc0020
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], esi
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
call sym._StretchBlt_44
sub esp, 0x2c
mov edx, eax
mov dword [ebp - 0x30], edx
mov dword [esp + 0xc], 0
mov eax, dword [ebp - 0x1c]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x20]
mov dword [esp + 4], eax
mov ebx, dword [ebp - 0x2c]
mov dword [esp], ebx
call sym._SetBrushOrgEx_16
sub esp, 0x10
mov dword [esp + 4], edi
mov dword [esp], ebx
call sym._SetStretchBltMode_8
mov edx, dword [ebp - 0x30]
sub esp, 8
lea esp, [ebp - 0xc]
pop ebx
mov eax, edx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call sym._CreateCompatibleDC_4
xor edx, edx
sub esp, 4
mov edi, eax
test eax, eax
je 0x687043d9
mov eax, dword [ebp + 8]
lea ecx, [eax + esi - 1]
mov eax, ecx
cdq
idiv esi
mov eax, dword [ebp + 0xc]
sub ecx, edx
mov dword [ebp - 0x3c], ecx
lea ecx, [eax + ebx - 1]
mov eax, ecx
cdq
idiv ebx
mov eax, ecx
sub eax, edx
mov dword [ebp - 0x40], eax
mov dword [esp + 8], eax
mov ecx, dword [ebp - 0x3c]
mov dword [esp + 4], ecx
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call sym._CreateCompatibleBitmap_12
sub esp, 0xc
mov dword [ebp - 0x44], eax
mov dword [esp + 4], eax
mov dword [esp], edi
call sym._SelectObject_8
sub esp, 8
mov dword [ebp - 0x48], eax
mov dword [esp + 0x20], 0xcc0020
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], edi
call sym._BitBlt_36
mov edx, dword [ebp - 0x3c]
sub esp, 0x24
sub edx, esi
test edx, edx
jle 0x68704278
mov dword [ebp + 0x20], ebx
mov ebx, edx
mov edx, edi
mov edi, esi
lea esi, cs:[esi]
nop
cmp esi, ebx
mov dword [esp + 0x14], edx
cmovg esi, ebx
mov dword [esp + 0x20], 0xcc0020
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov eax, dword [ebp + 0x20]
sub ebx, esi
mov dword [esp + 0xc], esi
mov dword [esp + 4], edi
add edi, esi
add esi, esi
mov dword [esp], edx
mov dword [esp + 0x10], eax
mov dword [esp + 8], 0
mov dword [ebp - 0x38], edx
call sym._BitBlt_36
mov edx, dword [ebp - 0x38]
sub esp, 0x24
test ebx, ebx
jg 0x68704220
mov ebx, dword [ebp + 0x20]
mov edi, edx
mov esi, dword [ebp - 0x40]
sub esi, ebx
test esi, esi
jle 0x687042dd
mov ecx, edi
mov edi, ebx
lea esi, [esi]
cmp esi, ebx
mov dword [esp + 0x14], ecx
cmovle ebx, esi
mov dword [esp + 0x20], 0xcc0020
mov dword [esp + 0x1c], 0
mov dword [esp + 0x10], ebx
sub esi, ebx
mov dword [esp + 0x18], 0
mov eax, dword [ebp - 0x3c]
mov dword [esp + 8], edi
add edi, ebx
add ebx, ebx
mov dword [esp], ecx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 0
mov dword [ebp - 0x38], ecx
call sym._BitBlt_36
mov ecx, dword [ebp - 0x38]
sub esp, 0x24
test esi, esi
jg 0x68704288
mov edi, ecx
mov dword [esp + 4], 4
mov esi, dword [ebp - 0x2c]
mov dword [esp], esi
call sym._SetStretchBltMode_8
sub esp, 8
mov ebx, eax
lea eax, [ebp - 0x20]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x30]
mov dword [esp], esi
mov dword [esp + 4], eax
call sym._SetBrushOrgEx_16
sub esp, 0x10
cmp dword [ebp + 0x28], 1
je 0x687045b0
mov edx, dword [ebp + 0x28]
test edx, edx
jne 0x687044d0
mov dword [esp + 0x28], 0xcc0020
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], edi
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
call sym._StretchBlt_44
sub esp, 0x2c
mov edx, eax
mov dword [ebp - 0x30], edx
mov dword [esp + 0xc], 0
mov eax, dword [ebp - 0x1c]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x20]
mov dword [esp + 4], eax
mov esi, dword [ebp - 0x2c]
mov dword [esp], esi
call sym._SetBrushOrgEx_16
sub esp, 0x10
mov dword [esp + 4], ebx
mov dword [esp], esi
call sym._SetStretchBltMode_8
mov eax, dword [ebp - 0x48]
sub esp, 8
mov dword [esp + 4], eax
mov dword [esp], edi
call sym._SelectObject_8
mov eax, dword [ebp - 0x44]
sub esp, 8
mov dword [esp], eax
call sym._DeleteObject_4
mov edx, dword [ebp - 0x30]
sub esp, 4
mov dword [ebp - 0x2c], edx
mov dword [esp], edi
call sym._DeleteDC_4
mov edx, dword [ebp - 0x2c]
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
mov eax, edx
pop esi
pop edi
pop ebp
ret
mov eax, dword [0x6871b748]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], esi
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
call sym._AlphaBlend_44
sub esp, 0x2c
test eax, eax
je 0x687040bd
mov edx, 1
jmp 0x6870410e
mov eax, dword [ebp + 0x2c]
mov dword [esp + 0x28], eax
mov eax, ebx
neg eax
cmovs eax, ebx
mov dword [esp + 0x24], eax
mov eax, esi
neg eax
cmovs eax, esi
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0xc]
neg eax
cmovs eax, dword [ebp + 0xc]
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 8]
neg eax
cmovs eax, dword [ebp + 8]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
call sym._TransparentBlt_44
sub esp, 0x2c
mov edx, eax
jmp 0x6870410e
mov eax, dword [0x6871b748]
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], edi
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
call sym._AlphaBlend_44
sub esp, 0x2c
test eax, eax
je 0x6870432a
mov edx, 1
jmp 0x68704380
mov edx, ebx
mov eax, esi
mov ecx, dword [ebp + 0x2c]
neg edx
cmovs edx, ebx
neg eax
mov dword [esp + 0x28], ecx
cmovs eax, esi
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], eax
mov ecx, dword [ebp + 0x18]
mov dword [esp + 0x1c], ecx
mov ecx, dword [ebp + 0x14]
mov dword [esp + 0x18], ecx
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ecx
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
call sym._TransparentBlt_44
sub esp, 0x2c
mov edx, eax
jmp 0x68704018
mov edx, 1
jmp 0x68704018
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x2c]
neg edx
cmovs edx, dword [ebp + 0xc]
neg eax
cmovs eax, dword [ebp + 8]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], edx
mov dword [esp + 0x10], edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], edi
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
call sym._TransparentBlt_44
sub esp, 0x2c
mov edx, eax
jmp 0x68704380