Function at 0x100266bc
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1007d2e9
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x100b97c0]
xor eax, esp
mov dword [esp + 0xa8], eax
push ebx
push esi
push edi
mov eax, dword [0x100b97c0]
xor eax, esp
push eax
lea eax, [esp + 0xc0]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x38], eax
lea eax, [esp + 0x20]
mov edi, ecx
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
cmp dword [edi + 0x30], 0
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
jne 0x100267f7
cmp byte [edi + 0x24], 0
jne 0x100267f7
cmp byte [edi + 0x25], 0
jne 0x100267f7
cmp dword [edi + 0x2c], 0
jne 0x100267f7
push dword [edi + 4]
mov ebx, dword [sym.imp.USER32.dll_GetDC]
call ebx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push dword [edi + 4]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x30]
sub eax, dword [esp + 0x28]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x24]
mov dword [esp + 0x18], eax
call ebx
push dword [esp + 0x18]
push dword [esp + 0x18]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push dword [esp + 0x20]
mov dword [edi + 0x2c], eax
call esi
push dword [edi + 4]
mov dword [esp + 0x18], eax
call ebx
mov ecx, dword [esp + 0x2c]
sub ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
sub edx, dword [esp + 0x20]
push 0xcc0020
xor ebx, ebx
push ebx
push ebx
push eax
push ecx
push edx
push ebx
push ebx
push dword [esp + 0x3c]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [esp + 0x14]
push dword [esp + 0x20]
call esi
mov dword [esp + 0x18], eax
mov eax, dword [edi + 0x2c]
cmp eax, ebx
je 0x100267e0
cmp eax, dword [esp + 0x18]
je 0x100267e0
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esp + 0x18]
mov dword [edi + 0x2c], eax
cmp dword [esp + 0x1c], ebx
je 0x100267f7
push dword [esp + 0x1c]
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [edi + 4]
and dword [esp + 0x6c], 0
lea ecx, [esp + 0x74]
push ecx
push eax
mov dword [esp + 0x78], eax
call dword [sym.imp.USER32.dll_BeginPaint]
mov dword [esp + 0x6c], eax
and dword [esp + 0xc8], 0
lea edx, [esp + 0x20]
mov ecx, eax
lea ebx, [esp + 0x4c]
call fcn.10003eab
mov byte [esp + 0xc8], 1
cmp dword [edi + 0x30], 0
je 0x100268cf
push dword [esp + 0x4c]
lea esi, [esp + 0x34]
call fcn.1000b0d0
mov eax, dword [esp + 0x34]
and dword [esp + 0x34], 0
test eax, eax
jne 0x100268c4
mov eax, dword [esp + 0x28]
fldz
sub eax, dword [esp + 0x20]
fst dword [esp + 0x3c]
fstp dword [esp + 0x40]
mov ecx, dword [edi + 0x30]
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x24]
sub esp, 0x10
fstp dword [esp + 0x2c]
mov dword [esp + 0x24], eax
fld dword [esp + 0x2c]
lea eax, [esp + 0x4c]
fstp dword [esp + 0x54]
fild dword [esp + 0x24]
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
fstp dword [esp + 0x58]
fld dword [esp + 0x28]
fstp dword [esp + 0xc]
fld dword [esp + 0x2c]
fstp dword [esp + 8]
fild dword [edi + 0x38]
fstp dword [esp + 4]
fild dword [edi + 0x34]
fstp dword [esp]
call fcn.1000b0f2
push dword [esp + 0x30]
call sub.gdiplus.dll_GdipDeleteGraphics
jmp 0x1002694c
cmp byte [edi + 0x25], 0
je 0x100268dc
mov eax, dword [edi + 0x28]
test eax, eax
jne 0x100268ea
cmp byte [edi + 0x24], 0
je 0x100268fc
push 0xf
call dword [sym.imp.USER32.dll_GetSysColorBrush]
push eax
lea eax, [esp + 0x24]
push eax
push dword [esp + 0x54]
call dword [sym.imp.USER32.dll_FillRect]
jmp 0x1002694c
push dword [esp + 0x4c]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push dword [edi + 0x2c]
mov ebx, eax
push ebx
call esi
mov ecx, dword [esp + 0x2c]
sub ecx, dword [esp + 0x24]
push 0xcc0020
mov dword [esp + 0x18], eax
xor eax, eax
push eax
push eax
push ebx
push ecx
mov ecx, dword [esp + 0x3c]
sub ecx, dword [esp + 0x34]
push ecx
push eax
push eax
push dword [esp + 0x6c]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [esp + 0x14]
push ebx
call esi
test ebx, ebx
je 0x1002694c
push ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
lea eax, [esp + 0x14]
push eax
push edi
call fcn.10026a88
push dword [esp + 0x14]
push ecx
call fcn.10026ba2
pop ecx
mov esi, eax
call fcn.100280f0
test eax, eax
je 0x1002698f
and dword [esp + 0x18], 0
lea ecx, [esp + 0x18]
push ecx
push eax
call fcn.10013acd
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x1002698f
mov eax, dword [ecx]
lea edx, [esp + 0x4c]
push edx
call dword [eax + 0x58]
mov eax, dword [esp + 0x38]
lea edi, [esp + 0x4c]
mov dword [eax], 1
call fcn.10003e5f
lea eax, [esp + 0x74]
push eax
push dword [esp + 0x74]
call dword [sym.imp.USER32.dll_EndPaint]
xor eax, eax
mov ecx, dword [esp + 0xc0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa8]
xor ecx, esp
call fcn.1005bea6
mov esp, ebp
pop ebp
ret 4