Function at 0x101daf4
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 0x101db23
cmp dword [ebx + 0x1a8], ecx
mov dword [ebp + 0x68], ecx
jne 0x101db2a
mov dword [ebp + 0x68], 1
cmp dword [ebp + 0x7c], ecx
je 0x101db3e
lea eax, [ebp - 0x44]
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_BeginPaint]
jmp 0x101db55
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]
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 0x101df10
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 0x101dba7
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]
jmp 0x101dbb3
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov dword [ebp + 0x70], edi
mov esi, edi
cmp esi, edi
je 0x101df10
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.0102905a
push edi
mov ecx, ebx
call fcn.0101d9e0
cmp dword [ebp + 0x68], edi
jne 0x101dbe4
cmp word [ebx + 0x58], di
jne 0x101dbee
mov ecx, ebx
call fcn.0101d8c0
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 0x101dc10
cmp dword [ebp + 0x7c], edi
jne 0x101dc10
mov dword [ebp + 0x64], edi
mov dword [ebp + 0x68], ecx
jmp 0x101dead
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 0x101dc32
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.0101da55
lea ecx, [ebp + 0x18]
push ecx
push dword [ebx + 0x14c]
lea eax, [ebx + 0xfc]
push eax
push esi
mov ecx, ebx
call fcn.0101da55
lea ecx, [ebp + 0x28]
push ecx
push dword [ebx + 0x1a0]
lea eax, [ebx + 0x150]
push eax
push esi
mov ecx, ebx
call fcn.0101da55
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
jge 0x101dd17
mov esi, dword [ebp + 0x30]
sub esi, dword [ebp + 0x28]
cmp esi, dword [ebp + 0x40]
jge 0x101dd17
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 0x101dd17
mov esi, dword [ebp + 0x20]
sub esi, dword [ebp + 0x18]
cmp esi, dword [ebp + 0x40]
jge 0x101dd17
mov dword [ebp + 0x4c], 1
lea ecx, [edx + eax]
sub ecx, eax
mov eax, dword [ebp + 0x44]
sub eax, ecx
cdq
sub eax, edx
sar eax, 1
test eax, eax
jle 0x101dd2c
mov dword [ebp + 0x6c], eax
jmp 0x101dd30
and dword [ebp + 0x6c], 0
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]
jg 0x101dd4e
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 + 0xa8]
lea eax, [ebx + 0x58]
push eax
push dword [ebp + 0x70]
mov ecx, ebx
call fcn.0101daac
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
je 0x101de2f
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 0x101ddaa
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.0101daac
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 0x101de2c
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 0x101de03
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.0101daac
mov eax, dword [ebp + 0x60]
mov ecx, dword [ebp + 0x5c]
sub ecx, dword [ebp + 0x54]
cmp ecx, dword [ebp + 0x40]
jg 0x101de46
sub eax, dword [ebp + 0x58]
cmp eax, dword [ebp + 0x44]
jg 0x101de46
xor eax, eax
jmp 0x101de49
xor eax, eax
inc eax
cmp dword [ebx + 0x1b8], 0
mov dword [ebx + 0x1ac], eax
je 0x101de64
push dword [ebp]
push dword [ebp + 0x70]
call dword [sym.imp.GDI32.dll_SelectObject]
cmp dword [ebx + 0x1b0], 0
je 0x101dea8
push 0
push 0
push 0x129
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
test al, 1
jne 0x101dea8
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]
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 0x101df04
lea eax, [ebp - 0x44]
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_EndPaint]
jmp 0x101df10
push dword [ebp - 0x44]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ReleaseDC]
cmp dword [ebp + 0x68], edi
pop esi
je 0x101df39
push dword [ebp + 0x64]
mov ecx, ebx
call fcn.0101d83b
cmp dword [ebp + 0x64], edi
jne 0x101df2d
cmp dword [ebp + 0x7c], edi
jne 0x101df2d
push edi
jmp 0x101df2f
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