Function at 0x4015b7
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push 0xffffffffffffffeb
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_GetDC]
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x28]
push eax
call fcn.00401071
add esp, 4
push eax
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.0040103a
add esp, 4
push eax
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x28]
push edx
call section..text
add esp, 4
cmp eax, 8
jg 0x401678
mov eax, dword [ebp - 0x28]
push eax
call fcn.004010b5
add esp, 4
mov dword [ebp - 0x14], eax
push 0
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.GDI32.dll_SelectPalette]
mov dword [ebp - 0x2c], eax
push 0
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.GDI32.dll_SelectPalette]
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.GDI32.dll_RealizePalette]
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.GDI32.dll_RealizePalette]
push 0
push 0
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x28]
push edx
call fcn.004012c2
add esp, 0x10
push 1
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.GDI32.dll_SetBkMode]
push 0xffffff
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [ebp - 0xc]
add ecx, 3
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x10]
add edx, 3
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 8]
sub eax, 3
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
sub ecx, 3
mov dword [ebp - 4], ecx
push 0xcc0020
push 0
push 0
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x28]
push eax
call fcn.00401071
add esp, 4
push eax
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.0040103a
add esp, 4
push eax
push 0
push 0
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [ebp - 0x28]
push eax
call section..text
add esp, 4
cmp eax, 8
jg 0x401749
push 0
mov ecx, dword [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.GDI32.dll_SelectPalette]
push 0
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.GDI32.dll_SelectPalette]
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [ebp - 0x30]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_ReleaseDC]
push 0
push 0
push 0xf
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_DefWindowProcW]
mov esp, ebp
pop ebp
ret