Function at 0x1015740
Capabilities:
Capture screenshot

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0xd8
push ebx
push edi
mov ebx, ecx
xor ecx, ecx
xor eax, eax
cmp dword [ebp + 0x7c], ecx
mov dword [ebp - 0x54], ecx
lea edi, [ebp - 0x50]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp + 0x64], ecx
je 0x1015ab7
cmp dword [ebx + 0x1a8], ecx
mov dword [ebp + 0x68], ecx
je 0x1015ab7
cmp dword [ebp + 0x7c], ecx
je 0x1015c0f
lea eax, [ebp - 0x44]
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_BeginPaint]
push esi
push dword [ebp - 0x44]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov esi, eax
xor edi, edi
cmp esi, edi
mov dword [ebp + 0x70], esi
je 0x1015a21
mov eax, dword [ebp - 0x30]
sub eax, dword [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x34]
sub eax, dword [ebp - 0x3c]
push eax
push dword [ebp - 0x44]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
cmp eax, edi
mov dword [ebp - 4], eax
je 0x10238c8
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
push dword [ebp - 0x38]
mov dword [ebp + 4], eax
push dword [ebp - 0x3c]
push esi
call dword [sym.imp.GDI32.dll_OffsetWindowOrgEx]
cmp esi, edi
je 0x1015a21
mov eax, dword [ebx + 4]
lea ecx, [ebp - 0x3c]
push ecx
push esi
push eax
push eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.01015634
push edi
mov ecx, ebx
call fcn.010155c4
cmp dword [ebp + 0x68], edi
je 0x1015a80
mov ecx, ebx
call fcn.01015ac3
mov dword [ebp + 0x64], eax
lea eax, [ebp - 0x54]
push eax
push esi
call dword [sym.imp.GDI32.dll_GetClipBox]
xor ecx, ecx
inc ecx
cmp eax, ecx
jne 0x1015835
cmp dword [ebp + 0x7c], edi
je 0x101929f
lea eax, [ebp + 0x38]
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebx + 0x1b8]
cmp eax, edi
je 0x1015857
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp], eax
mov edi, dword [sym.imp.USER32.dll_GetSysColor]
push 0xf
call edi
push eax
push esi
call dword [sym.imp.GDI32.dll_SetBkColor]
push 0x12
call edi
push eax
push esi
call dword [sym.imp.GDI32.dll_SetTextColor]
xor eax, eax
xor ecx, ecx
mov dword [ebp + 0x54], ecx
lea edi, [ebp + 0x58]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [ebp + 0x18], ecx
lea edi, [ebp + 0x1c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp + 0x28], ecx
xor eax, eax
lea edi, [ebp + 0x2c]
stosd dword es:[edi], eax
mov dword [ebp + 0x4c], ecx
mov dword [ebp + 0x48], ecx
stosd dword es:[edi], eax
lea ecx, [ebp + 0x54]
push ecx
push dword [ebx + 0xa8]
stosd dword es:[edi], eax
lea eax, [ebx + 0x58]
push eax
push esi
mov ecx, ebx
call fcn.010155ec
lea ecx, [ebp + 0x18]
push ecx
push dword [ebx + 0x14c]
lea eax, [ebx + 0xfc]
push eax
push esi
mov ecx, ebx
call fcn.010155ec
lea ecx, [ebp + 0x28]
push ecx
push dword [ebx + 0x1a0]
lea eax, [ebx + 0x150]
push eax
push esi
mov ecx, ebx
call fcn.010155ec
mov ecx, dword [ebp + 0x60]
sub ecx, dword [ebp + 0x58]
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [ebp + 0x34]
sub edx, dword [ebp + 0x2c]
sar eax, 1
add ecx, eax
add edx, ecx
cmp edx, dword [ebp + 0x44]
mov dword [ebp + 0x50], eax
jl 0x10238d9
sub ecx, eax
mov eax, dword [ebp + 0x44]
sub eax, ecx
cdq
sub eax, edx
sar eax, 1
test eax, eax
jle 0x10192aa
mov dword [ebp + 0x6c], eax
mov eax, dword [ebp + 0x40]
sub eax, dword [ebp + 0x5c]
lea esi, [ebp + 0x54]
add eax, dword [ebp + 0x54]
lea edi, [ebp + 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
cdq
sub eax, edx
movsd dword es:[edi], dword [esi]
sar eax, 1
test eax, eax
movsd dword es:[edi], dword [esi]
jle 0x1023921
push dword [ebp + 0x6c]
push eax
lea eax, [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
lea eax, [ebp + 8]
push eax
push dword [ebx + 0xa8]
lea eax, [ebx + 0x58]
push eax
push dword [ebp + 0x70]
mov ecx, ebx
call fcn.01015a51
mov eax, dword [ebp + 0x60]
mov ecx, eax
sub ecx, dword [ebp + 0x58]
add ecx, dword [ebp + 0x50]
add dword [ebp + 0x6c], ecx
cmp dword [ebp + 0x48], 0
jne 0x1023928
mov ecx, dword [ebp + 0x5c]
sub ecx, dword [ebp + 0x54]
cmp ecx, dword [ebp + 0x40]
jg 0x10192b3
sub eax, dword [ebp + 0x58]
cmp eax, dword [ebp + 0x44]
jg 0x10192b3
xor eax, eax
cmp dword [ebx + 0x1b8], 0
mov dword [ebx + 0x1ac], eax
je 0x10159b6
push dword [ebp]
push dword [ebp + 0x70]
call dword [sym.imp.GDI32.dll_SelectObject]
cmp dword [ebx + 0x1b0], 0
jne 0x10239d0
mov esi, dword [ebp + 0x70]
xor edi, edi
mov eax, dword [ebp - 0x30]
sub eax, dword [ebp - 0x38]
push 0xcc0020
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
push esi
push eax
mov eax, dword [ebp - 0x34]
sub eax, dword [ebp - 0x3c]
push eax
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
push dword [ebp - 0x44]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp + 4]
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 4]
call dword [sym.imp.GDI32.dll_DeleteObject]
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
cmp dword [ebp + 0x7c], edi
je 0x1015c2b
lea eax, [ebp - 0x44]
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_EndPaint]
cmp dword [ebp + 0x68], edi
pop esi
je 0x1015a46
push dword [ebp + 0x64]
mov ecx, ebx
call fcn.01015a8f
cmp dword [ebp + 0x64], edi
je 0x10192bb
push 1
push edi
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
pop edi
xor eax, eax
pop ebx
add ebp, 0x74
leave
ret 4
cmp word [ebx + 0x58], di
jne 0x101581a
jmp 0x1015810
mov dword [ebp + 0x68], 1
jmp 0x1015777
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDC]
lea ecx, [ebp - 0x3c]
push ecx
push eax
mov dword [ebp - 0x44], eax
call dword [sym.imp.GDI32.dll_GetClipBox]
jmp 0x101578d
push dword [ebp - 0x44]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ReleaseDC]
jmp 0x1015a21
mov dword [ebp + 0x64], edi
mov dword [ebp + 0x68], ecx
jmp 0x10159c8
and dword [ebp + 0x6c], 0
jmp 0x1015920
xor eax, eax
inc eax
jmp 0x101599b
cmp dword [ebp + 0x7c], edi
jne 0x1015a3a
push edi
jmp 0x1015a3c
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov dword [ebp + 0x70], edi
mov esi, edi
jmp 0x10157e1
mov esi, dword [ebp + 0x30]
sub esi, dword [ebp + 0x28]
cmp esi, dword [ebp + 0x40]
jge 0x1015909
lea ecx, [edx + eax]
mov edx, dword [ebp + 0x24]
sub edx, dword [ebp + 0x1c]
mov dword [ebp + 0x48], 1
add edx, ecx
cmp edx, dword [ebp + 0x44]
jge 0x1015909
mov esi, dword [ebp + 0x20]
sub esi, dword [ebp + 0x18]
cmp esi, dword [ebp + 0x40]
jge 0x1015909
mov dword [ebp + 0x4c], 1
lea ecx, [edx + eax]
jmp 0x1015909
xor eax, eax
jmp 0x1015940
mov eax, dword [ebp + 0x40]
sub eax, dword [ebp + 0x30]
lea esi, [ebp + 0x28]
add eax, dword [ebp + 0x28]
lea edi, [ebp + 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
cdq
sub eax, edx
movsd dword es:[edi], dword [esi]
sar eax, 1
test eax, eax
movsd dword es:[edi], dword [esi]
jg 0x1023946
xor eax, eax
push dword [ebp + 0x6c]
push eax
lea eax, [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
lea eax, [ebp + 8]
push eax
push dword [ebx + 0x1a0]
lea eax, [ebx + 0x150]
push eax
push dword [ebp + 0x70]
mov ecx, ebx
call fcn.01015a51
mov eax, dword [ebp + 0x34]
sub eax, dword [ebp + 0x2c]
add eax, dword [ebp + 0x50]
add dword [ebp + 0x6c], eax
cmp dword [ebp + 0x4c], 0
je 0x10239c8
mov eax, dword [ebp + 0x40]
sub eax, dword [ebp + 0x20]
lea esi, [ebp + 0x18]
add eax, dword [ebp + 0x18]
lea edi, [ebp + 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
cdq
sub eax, edx
movsd dword es:[edi], dword [esi]
sar eax, 1
test eax, eax
movsd dword es:[edi], dword [esi]
jg 0x102399f
xor eax, eax
push dword [ebp + 0x6c]
push eax
lea eax, [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
lea eax, [ebp + 8]
push eax
push dword [ebx + 0x14c]
lea eax, [ebx + 0xfc]
push eax
push dword [ebp + 0x70]
mov ecx, ebx
call fcn.01015a51
mov eax, dword [ebp + 0x60]
jmp 0x101597e
push 0
push 0
push 0x129
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
test al, 1
jne 0x10159c3
lea esi, [ebp + 0x38]
lea edi, [ebp - 0x64]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0
movsd dword es:[edi], dword [esi]
push 0xfffffffffffffffe
lea eax, [ebp - 0x64]
push eax
movsd dword es:[edi], dword [esi]
call dword [sym.imp.USER32.dll_InflateRect]
lea eax, [ebp - 0x64]
push eax
push dword [ebp + 0x70]
call dword [sym.imp.USER32.dll_DrawFocusRect]
jmp 0x10159c3