Function at 0x1000d270
Capabilities:
Capture screenshot

Disassembly:
push 0xa8
mov eax, 0x1007fcbe
call fcn.1006a107
mov eax, dword [ebp + 8]
mov dword [ebp - 0x84], eax
lea eax, [ebp - 0x78]
mov edi, ecx
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
xor eax, eax
cmp dword [edi + 0x54], eax
je 0x1000d389
cmp dword [edi + 0x60], eax
jne 0x1000d389
cmp byte [edi + 0x34], al
jne 0x1000d389
cmp byte [edi + 0x35], al
jne 0x1000d389
lea ebx, [edi + 0x64]
cmp dword [ebx], eax
jne 0x1000d389
push dword [edi + 4]
mov esi, dword [sym.imp.USER32.dll_GetDC]
call esi
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [ebp - 0x64], eax
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x6c]
sub eax, dword [ebp - 0x74]
push dword [edi + 4]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x70]
sub eax, dword [ebp - 0x78]
mov dword [ebp - 0x60], eax
call esi
push dword [ebp - 0x68]
push dword [ebp - 0x60]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push dword [ebp - 0x64]
mov dword [ebx], eax
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [edi + 4]
mov dword [ebp - 0x60], eax
call esi
push 0xcc0020
xor esi, esi
push esi
push esi
push eax
mov eax, dword [ebp - 0x6c]
sub eax, dword [ebp - 0x74]
push eax
mov eax, dword [ebp - 0x70]
sub eax, dword [ebp - 0x78]
push eax
push esi
push esi
push dword [ebp - 0x64]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp - 0x60]
push dword [ebp - 0x64]
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x68], eax
mov eax, dword [ebx]
cmp eax, esi
je 0x1000d35d
cmp eax, dword [ebp - 0x68]
je 0x1000d35d
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebp - 0x68]
mov dword [ebx], eax
push dword [edi + 0x5c]
mov ecx, dword [edi + 0x54]
push dword [edi + 0x58]
mov eax, ebx
call fcn.100199d6
mov esi, dword [edi + 0x54]
call fcn.10018e97
cmp dword [ebp - 0x64], 0
je 0x1000d389
push dword [ebp - 0x64]
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [edi + 4]
and dword [ebp - 0x5c], 0
lea ecx, [ebp - 0x54]
push ecx
push eax
mov dword [ebp - 0x58], eax
call dword [sym.imp.USER32.dll_BeginPaint]
lea edx, [ebp - 0x78]
mov ecx, eax
lea ebx, [ebp - 0xa4]
mov dword [ebp - 0x5c], eax
call fcn.1000d8d8
xor ebx, ebx
cmp dword [edi + 0x60], ebx
je 0x1000d44b
push dword [ebp - 0xa4]
lea esi, [ebp - 0x80]
call fcn.1000cc54
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x7c], ebx
cmp eax, ebx
jne 0x1000d43e
mov eax, dword [ebp - 0x70]
fldz
sub eax, dword [ebp - 0x78]
fst dword [ebp - 0xb4]
fstp dword [ebp - 0xb0]
mov ecx, dword [edi + 0x60]
mov dword [ebp - 0x60], eax
fild dword [ebp - 0x60]
mov eax, dword [ebp - 0x6c]
sub eax, dword [ebp - 0x74]
sub esp, 0x10
fstp dword [ebp - 0x64]
mov dword [ebp - 0x60], eax
fld dword [ebp - 0x64]
lea eax, [ebp - 0xb4]
fstp dword [ebp - 0xac]
fild dword [ebp - 0x60]
fstp dword [ebp - 0x68]
fld dword [ebp - 0x68]
fstp dword [ebp - 0xa8]
fld dword [ebp - 0x68]
fstp dword [esp + 0xc]
fld dword [ebp - 0x64]
fstp dword [esp + 8]
fild dword [edi + 0x5c]
fstp dword [esp + 4]
fild dword [edi + 0x58]
fstp dword [esp]
call fcn.1000cc76
push dword [ebp - 0x80]
call sub.gdiplus.dll_GdipDeleteGraphics
jmp 0x1000d4cb
cmp byte [edi + 0x35], bl
je 0x1000d457
mov eax, dword [edi + 0x38]
cmp eax, ebx
jne 0x1000d464
cmp byte [edi + 0x34], bl
je 0x1000d477
push 0xf
call dword [sym.imp.USER32.dll_GetSysColorBrush]
push eax
lea eax, [ebp - 0x78]
push eax
push dword [ebp - 0xa4]
call dword [sym.imp.USER32.dll_FillRect]
jmp 0x1000d4cb
push dword [ebp - 0xa4]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push dword [edi + 0x64]
mov esi, eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push 0xcc0020
push ebx
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x6c]
sub eax, dword [ebp - 0x74]
push ebx
push esi
push eax
mov eax, dword [ebp - 0x70]
sub eax, dword [ebp - 0x78]
push eax
push ebx
push ebx
push dword [ebp - 0xa4]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp - 0x60]
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
cmp esi, ebx
je 0x1000d4cb
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [edi + 0x3c]
cmp dword [eax - 0xc], ebx
je 0x1000d516
push dword [edi + 0x40]
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 0xa4]
call ebx
push 1
push dword [ebp - 0xa4]
mov esi, eax
call dword [sym.imp.GDI32.dll_SetBkMode]
mov eax, dword [edi + 0x3c]
push 5
add edi, 0x44
push edi
push dword [eax - 0xc]
push eax
push dword [ebp - 0xa4]
call dword [sym.imp.USER32.dll_DrawTextW]
push esi
push dword [ebp - 0xa4]
call ebx
mov eax, dword [ebp - 0x84]
lea edi, [ebp - 0xa4]
mov dword [eax], 1
call fcn.1000d88c
lea eax, [ebp - 0x54]
push eax
push dword [ebp - 0x58]
call dword [sym.imp.USER32.dll_EndPaint]
xor eax, eax
call fcn.1006a18a
ret 4