Function at 0x40b995
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov dword [ebp - 4], 0
push 0x10
call fcn.0045778b
add esp, 4
mov dword [ebp - 8], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
mov ebx, dword [0x46abfa]
call fcn.004028ac
xor ecx, ecx
push eax
lea eax, [ebp - 4]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x40ba81
mov ebx, dword [0x46abfa]
call fcn.0040102d
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0x40ba4c
push 4
call fcn.00457797
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40ba5f
push 1
call fcn.00457797
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
mov dword [ebp - 0x2c], ebx
mov eax, dword [ebp + 8]
mov ebx, dword [ebp - 0x2c]
cmp dword [ebx], eax
jne 0x40ba7c
jmp 0x40ba81
pop eax
pop ebx
pop ecx
jmp 0x40ba1e
add esp, 0xc
cmp dword [ebp + 0xc], 0x14
jne 0x40becf
mov dword [ebp - 0x2c], esp
push dword [ebp - 8]
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetClientRect]
nop
nop
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x40bab3
push 6
call fcn.00457797
add esp, 4
mov dword [ebp - 0x2c], esp
push 0
call dword [sym.imp.USER32.dll_GetDC]
nop
nop
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x40bad7
push 6
call fcn.00457797
add esp, 4
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x2c], esp
push dword [ebp - 0xc]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
nop
nop
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x40bafc
push 6
call fcn.00457797
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 8]
add ebx, 8
mov dword [ebp - 0x2c], ebx
mov ebx, dword [ebp - 8]
add ebx, 0xc
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x34], esp
mov ebx, dword [ebp - 0x30]
push dword [ebx]
mov ebx, dword [ebp - 0x2c]
push dword [ebx]
push dword [ebp - 0xc]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
nop
nop
nop
nop
cmp dword [ebp - 0x34], esp
je 0x40bb3d
push 6
call fcn.00457797
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x2c], esp
push dword [ebp - 0x14]
push dword [ebp - 0x10]
call dword [sym.imp.GDI32.dll_SelectObject]
nop
nop
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x40bb65
push 6
call fcn.00457797
add esp, 4
mov dword [ebp - 0x18], eax
mov ebx, dword [0x46abfa]
call fcn.0040102d
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0x40bb88
push 4
call fcn.00457797
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40bb9b
push 1
call fcn.00457797
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x1c
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x30], esp
mov ebx, dword [ebp - 0x2c]
push dword [ebx]
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
nop
nop
nop
nop
cmp dword [ebp - 0x30], esp
je 0x40bbcc
push 6
call fcn.00457797
add esp, 4
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x2c], esp
push dword [ebp - 0x1c]
push dword [ebp - 0x10]
call dword [sym.imp.GDI32.dll_SelectObject]
nop
nop
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x40bbf4
push 6
call fcn.00457797
add esp, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x2c], esp
push dword [ebp - 0x1c]
push dword [ebp - 8]
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_FillRect]
nop
nop
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x40bc1f
push 6
call fcn.00457797
add esp, 4
mov dword [ebp - 0x2c], esp
push dword [ebp - 0x20]
push dword [ebp - 0x10]
call dword [sym.imp.GDI32.dll_SelectObject]
nop
nop
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x40bc44
push 6
call fcn.00457797
add esp, 4
mov dword [ebp - 0x2c], esp
push dword [ebp - 0x1c]
call dword [sym.imp.GDI32.dll_DeleteObject]
nop
nop
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x40bc66
push 6
call fcn.00457797
add esp, 4
mov dword [ebp - 0x2c], esp
push dword [ebp - 0xc]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
nop
nop
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x40bc88
push 6
call fcn.00457797
add esp, 4
mov dword [ebp - 0x24], eax
mov ebx, dword [0x46abfa]
call fcn.0040102d
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0x40bcab
push 4
call fcn.00457797
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40bcbe
push 1
call fcn.00457797
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0xc
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x30], esp
mov ebx, dword [ebp - 0x2c]
push dword [ebx]
push dword [ebp - 0x24]
call dword [sym.imp.GDI32.dll_SelectObject]
nop
nop
nop
nop
cmp dword [ebp - 0x30], esp
je 0x40bcf2
push 6
call fcn.00457797
add esp, 4
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 8]
mov dword [ebp - 0x2c], ebx
mov ebx, dword [ebp - 8]
add ebx, 4
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 8]
add ebx, 8
mov dword [ebp - 0x34], ebx
mov ebx, dword [ebp - 8]
add ebx, 0xc
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x3c], esp
push 0xcc0020
push 0
push 0
push dword [ebp - 0x24]
mov ebx, dword [ebp - 0x38]
push dword [ebx]
mov ebx, dword [ebp - 0x34]
push dword [ebx]
mov ebx, dword [ebp - 0x30]
push dword [ebx]
mov ebx, dword [ebp - 0x2c]
push dword [ebx]
push dword [ebp - 0x10]
call dword [sym.imp.GDI32.dll_BitBlt]
nop
nop
nop
nop
cmp dword [ebp - 0x3c], esp
je 0x40bd5e
push 6
call fcn.00457797
add esp, 4
mov ebx, dword [ebp - 8]
mov dword [ebp - 0x2c], ebx
mov ebx, dword [ebp - 8]
add ebx, 4
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 8]
add ebx, 8
mov dword [ebp - 0x34], ebx
mov ebx, dword [ebp - 8]
add ebx, 0xc
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x3c], esp
push 0xcc0020
push 0
push 0
push dword [ebp - 0x10]
mov ebx, dword [ebp - 0x38]
push dword [ebx]
mov ebx, dword [ebp - 0x34]
push dword [ebx]
mov ebx, dword [ebp - 0x30]
push dword [ebx]
mov ebx, dword [ebp - 0x2c]
push dword [ebx]
push dword [ebp + 0x10]
call dword [sym.imp.GDI32.dll_BitBlt]
nop
nop
nop
nop
cmp dword [ebp - 0x3c], esp
je 0x40bdc7
push 6
call fcn.00457797
add esp, 4
mov dword [ebp - 0x2c], esp
push dword [ebp - 0x28]
push dword [ebp - 0x24]
call dword [sym.imp.GDI32.dll_SelectObject]
nop
nop
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x40bdec
push 6
call fcn.00457797
add esp, 4
mov dword [ebp - 0x2c], esp
push dword [ebp - 0x24]
call dword [sym.imp.GDI32.dll_DeleteDC]
nop
nop
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x40be0e
push 6
call fcn.00457797
add esp, 4
mov dword [ebp - 0x2c], esp
push dword [ebp - 0x18]
push dword [ebp - 0x10]
call dword [sym.imp.GDI32.dll_SelectObject]
nop
nop
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x40be33
push 6
call fcn.00457797
add esp, 4
mov dword [ebp - 0x2c], esp
push dword [ebp - 0x14]
call dword [sym.imp.GDI32.dll_DeleteObject]
nop
nop
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x40be55
push 6
call fcn.00457797
add esp, 4
mov dword [ebp - 0x2c], esp
push dword [ebp - 0x10]
call dword [sym.imp.GDI32.dll_DeleteDC]
nop
nop
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x40be77
push 6
call fcn.00457797
add esp, 4
mov dword [ebp - 0x2c], esp
push dword [ebp - 0xc]
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
nop
nop
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x40be9e
push 6
call fcn.00457797
add esp, 4
mov dword [ebp - 0x2c], esp
push 0
push 0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_InvalidateRect]
nop
nop
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x40beca
push 6
call fcn.00457797
add esp, 4
jmp 0x40bf46
cmp dword [ebp + 0xc], 0x115
jne 0x40bf0d
mov dword [ebp - 0x2c], esp
push 1
push 0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_InvalidateRect]
nop
nop
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x40bf08
push 6
call fcn.00457797
add esp, 4
jmp 0x40bf46
cmp dword [ebp + 0xc], 0x114
jne 0x40bf46
mov dword [ebp - 0x2c], esp
push 1
push 0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_InvalidateRect]
nop
nop
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x40bf46
push 6
call fcn.00457797
add esp, 4
mov ebx, dword [0x46abfa]
call fcn.0040102d
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0x40bf66
push 4
call fcn.00457797
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40bf79
push 1
call fcn.00457797
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x20
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x30], esp
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
mov ebx, dword [ebp - 0x2c]
push dword [ebx]
call dword [sym.imp.USER32.dll_CallWindowProcA]
nop
nop
nop
nop
cmp dword [ebp - 0x30], esp
je 0x40bfb6
push 6
call fcn.00457797
add esp, 4
jmp 0x40bfbb
push eax
mov ebx, dword [ebp - 8]
push ebx
call fcn.00457791
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x10