Function at 0x10015b9d
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1007aa66
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x100a82b0]
xor eax, esp
mov dword [esp + 0x8c], eax
push esi
push edi
mov eax, dword [0x100a82b0]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x38]
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
cmp byte [ebx + 0x2c], 0
jne 0x10015cbc
cmp byte [ebx + 0x2d], 0
jne 0x10015cbc
cmp dword [ebx + 0x28], 0
jne 0x10015cbc
push dword [ebx + 4]
mov esi, dword [sym.imp.USER32.dll_GetDC]
call esi
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edi, dword [esp + 0x44]
push dword [ebx + 4]
sub edi, dword [esp + 0x40]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x44]
sub eax, dword [esp + 0x3c]
mov dword [esp + 0x14], eax
call esi
push edi
push dword [esp + 0x14]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push dword [esp + 0x18]
mov dword [ebx + 0x28], eax
call edi
push dword [ebx + 4]
mov dword [esp + 0x14], eax
call esi
mov ecx, dword [esp + 0x44]
sub ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
sub edx, dword [esp + 0x38]
push 0xcc0020
xor esi, esi
push esi
push esi
push eax
push ecx
push edx
push esi
push esi
push dword [esp + 0x34]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [esp + 0x10]
push dword [esp + 0x18]
call edi
mov edi, eax
mov eax, dword [ebx + 0x28]
cmp eax, esi
je 0x10015ca9
cmp eax, edi
je 0x10015ca9
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [ebx + 0x28], edi
cmp dword [esp + 0x14], esi
je 0x10015cbc
push dword [esp + 0x14]
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [ebx + 4]
lea ecx, [esp + 0x54]
push ecx
xor esi, esi
push eax
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], eax
call dword [sym.imp.USER32.dll_BeginPaint]
mov dword [esp + 0x4c], eax
mov dword [esp + 0xa8], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x1c], eax
lea esi, [esp + 0x38]
lea edi, [esp + 0x20]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
call esi
mov ecx, dword [esp + 0x28]
sub ecx, dword [esp + 0x20]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x24]
push eax
push ecx
push dword [esp + 0x24]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push dword [esp + 0x1c]
mov dword [esp + 0x38], eax
call edi
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x24]
push 0
neg eax
push eax
neg ecx
push ecx
push dword [esp + 0x24]
call dword [sym.imp.GDI32.dll_SetViewportOrgEx]
mov byte [esp + 0xa8], 1
cmp byte [ebx + 0x2d], 0
je 0x10015d69
mov eax, dword [ebx + 0x30]
test eax, eax
jne 0x10015d77
cmp byte [ebx + 0x2c], 0
je 0x10015d89
push 0xf
call dword [sym.imp.USER32.dll_GetSysColorBrush]
push eax
lea eax, [esp + 0x3c]
push eax
push dword [esp + 0x20]
call dword [sym.imp.USER32.dll_FillRect]
jmp 0x10015dd5
push dword [esp + 0x18]
call esi
push dword [ebx + 0x28]
mov esi, eax
push esi
call edi
mov ecx, dword [esp + 0x44]
sub ecx, dword [esp + 0x3c]
push 0xcc0020
mov dword [esp + 0x14], eax
xor eax, eax
push eax
push eax
push esi
push ecx
mov ecx, dword [esp + 0x54]
sub ecx, dword [esp + 0x4c]
push ecx
push eax
push eax
push dword [esp + 0x38]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [esp + 0x10]
push esi
call edi
test esi, esi
je 0x10015dd5
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov esi, dword [ebx + 0x24]
call fcn.10016514
xor esi, esi
cmp dword [ebx + 0x24], esi
je 0x10015df4
cmp eax, esi
je 0x10015df4
mov edx, dword [eax]
lea ecx, [esp + 0x18]
push ecx
mov ecx, eax
call dword [edx + 0x58]
mov eax, dword [ebx + 0x24]
add eax, 0x74
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esp + 0x48]
push 0xcc0020
push dword [esp + 0x28]
mov dword [eax], 1
push dword [esp + 0x28]
mov eax, dword [esp + 0x38]
push dword [esp + 0x24]
sub eax, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x3c]
sub eax, dword [esp + 0x34]
push eax
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push dword [esp + 0x3c]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [esp + 0x34]
push dword [esp + 0x1c]
call edi
cmp dword [esp + 0x30], esi
je 0x10015e62
push dword [esp + 0x30]
call dword [sym.imp.GDI32.dll_DeleteObject]
test eax, eax
je 0x10015e62
mov dword [esp + 0x30], esi
mov eax, dword [esp + 0x18]
cmp eax, esi
je 0x10015e75
push eax
mov dword [esp + 0x1c], esi
call dword [sym.imp.GDI32.dll_DeleteDC]
lea eax, [esp + 0x54]
push eax
push dword [esp + 0x54]
call dword [sym.imp.USER32.dll_EndPaint]
xor eax, eax
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x8c]
xor ecx, esp
call fcn.10059ccb
mov esp, ebp
pop ebp
ret 4