Function at 0x101a07a
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 0x101a44f
cmp dword [ebx + 0x1a8], ecx
mov dword [ebp + 0x68], ecx
je 0x101a44f
cmp dword [ebp + 0x7c], ecx
je 0x101a45b
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 0x101a356
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 0x1023c36
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 0x101a356
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.01019f75
push edi
mov ecx, ebx
call fcn.01019f05
cmp dword [ebp + 0x68], edi
jne 0x101a39a
cmp word [ebx + 0x58], di
je 0x101a39a
lea eax, [ebp - 0x54]
push eax
push esi
call dword [sym.imp.GDI32.dll_GetClipBox]
xor ecx, ecx
inc ecx
cmp eax, ecx
je 0x101dd5b
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 0x101a18c
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.01019f2d
lea ecx, [ebp + 0x18]
push ecx
push dword [ebx + 0x14c]
lea eax, [ebx + 0xfc]
push eax
push esi
mov ecx, ebx
call fcn.01019f2d
lea ecx, [ebp + 0x28]
push ecx
push dword [ebx + 0x1a0]
lea eax, [ebx + 0x150]
push eax
push esi
mov ecx, ebx
call fcn.01019f2d
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 0x1023c47
sub ecx, eax
mov eax, dword [ebp + 0x44]
sub eax, ecx
cdq
sub eax, edx
sar eax, 1
test eax, eax
jle 0x101dd7e
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 0x1023c8f
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.0101a36b
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 0x1023c96
mov ecx, dword [ebp + 0x5c]
sub ecx, dword [ebp + 0x54]
cmp ecx, dword [ebp + 0x40]
jg 0x101dd87
sub eax, dword [ebp + 0x58]
cmp eax, dword [ebp + 0x44]
jg 0x101dd87
xor eax, eax
cmp dword [ebx + 0x1b8], 0
mov dword [ebx + 0x1ac], eax
je 0x101a2eb
push dword [ebp]
push dword [ebp + 0x70]
call dword [sym.imp.GDI32.dll_SelectObject]
cmp dword [ebx + 0x1b0], 0
jne 0x1023d3e
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 0x101a477
lea eax, [ebp - 0x44]
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_EndPaint]
cmp dword [ebp + 0x68], edi
pop esi
jne 0x101a3ff
pop edi
xor eax, eax
pop ebx
add ebp, 0x74
leave
ret 4
mov ecx, ebx
call fcn.0101a3a9
mov dword [ebp + 0x64], eax
jmp 0x101a154
push dword [ebp + 0x64]
mov ecx, ebx
call fcn.0101a423
cmp dword [ebp + 0x64], edi
je 0x101dd6f
push 1
push edi
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x101a360
mov dword [ebp + 0x68], 1
jmp 0x101a0b1
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 0x101a0c7
push dword [ebp - 0x44]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ReleaseDC]
jmp 0x101a356
cmp dword [ebp + 0x7c], edi
jne 0x101a16a
mov dword [ebp + 0x64], edi
mov dword [ebp + 0x68], ecx
jmp 0x101a2fd
cmp dword [ebp + 0x7c], edi
jne 0x101a412
push edi
jmp 0x101a414
and dword [ebp + 0x6c], 0
jmp 0x101a255
xor eax, eax
inc eax
jmp 0x101a2d0
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov dword [ebp + 0x70], edi
mov esi, edi
jmp 0x101a11b
mov esi, dword [ebp + 0x30]
sub esi, dword [ebp + 0x28]
cmp esi, dword [ebp + 0x40]
jge 0x101a23e
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 0x101a23e
mov esi, dword [ebp + 0x20]
sub esi, dword [ebp + 0x18]
cmp esi, dword [ebp + 0x40]
jge 0x101a23e
mov dword [ebp + 0x4c], 1
lea ecx, [edx + eax]
jmp 0x101a23e
xor eax, eax
jmp 0x101a275
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 0x1023cb4
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.0101a36b
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 0x1023d36
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 0x1023d0d
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.0101a36b
mov eax, dword [ebp + 0x60]
jmp 0x101a2b3
push 0
push 0
push 0x129
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
test al, 1
jne 0x101a2f8
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 0x101a2f8