Function at 0x40bac9
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 [0x46abfe]
call fcn.004029e0
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 0x40bbb5
mov ebx, dword [0x46abfe]
call fcn.00401161
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0x40bb80
push 4
call fcn.00457797
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40bb93
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 0x40bbb0
jmp 0x40bbb5
pop eax
pop ebx
pop ecx
jmp 0x40bb52
add esp, 0xc
cmp dword [ebp + 0xc], 0x14
jne 0x40c003
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 0x40bbe7
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 0x40bc0b
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 0x40bc30
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 0x40bc71
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 0x40bc99
push 6
call fcn.00457797
add esp, 4
mov dword [ebp - 0x18], eax
mov ebx, dword [0x46abfe]
call fcn.00401161
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0x40bcbc
push 4
call fcn.00457797
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40bccf
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 0x40bd00
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 0x40bd28
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 0x40bd53
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 0x40bd78
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 0x40bd9a
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 0x40bdbc
push 6
call fcn.00457797
add esp, 4
mov dword [ebp - 0x24], eax
mov ebx, dword [0x46abfe]
call fcn.00401161
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0x40bddf
push 4
call fcn.00457797
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40bdf2
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 0x40be26
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 0x40be92
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 0x40befb
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 0x40bf20
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 0x40bf42
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 0x40bf67
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 0x40bf89
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 0x40bfab
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 0x40bfd2
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 0x40bffe
push 6
call fcn.00457797
add esp, 4
jmp 0x40c07a
cmp dword [ebp + 0xc], 0x115
jne 0x40c041
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 0x40c03c
push 6
call fcn.00457797
add esp, 4
jmp 0x40c07a
cmp dword [ebp + 0xc], 0x114
jne 0x40c07a
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 0x40c07a
push 6
call fcn.00457797
add esp, 4
mov ebx, dword [0x46abfe]
call fcn.00401161
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0x40c09a
push 4
call fcn.00457797
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40c0ad
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 0x40c0ea
push 6
call fcn.00457797
add esp, 4
jmp 0x40c0ef
push eax
mov ebx, dword [ebp - 8]
push ebx
call fcn.00457791
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x10