Function at 0x40bacc
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov dword [ebp - 4], 0
push 0x10
call fcn.00445682
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 [0x457f25]
call fcn.004029e8
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 0x40bbb8
mov ebx, dword [0x457f25]
call fcn.00401161
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0x40bb83
push 4
call fcn.0044568e
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40bb96
push 1
call fcn.0044568e
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 0x40bbb3
jmp 0x40bbb8
pop eax
pop ebx
pop ecx
jmp 0x40bb55
add esp, 0xc
cmp dword [ebp + 0xc], 0x14
jne 0x40c006
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 0x40bbea
push 6
call fcn.0044568e
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 0x40bc0e
push 6
call fcn.0044568e
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 0x40bc33
push 6
call fcn.0044568e
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 0x40bc74
push 6
call fcn.0044568e
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 0x40bc9c
push 6
call fcn.0044568e
add esp, 4
mov dword [ebp - 0x18], eax
mov ebx, dword [0x457f25]
call fcn.00401161
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0x40bcbf
push 4
call fcn.0044568e
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40bcd2
push 1
call fcn.0044568e
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 0x40bd03
push 6
call fcn.0044568e
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 0x40bd2b
push 6
call fcn.0044568e
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 0x40bd56
push 6
call fcn.0044568e
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 0x40bd7b
push 6
call fcn.0044568e
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 0x40bd9d
push 6
call fcn.0044568e
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 0x40bdbf
push 6
call fcn.0044568e
add esp, 4
mov dword [ebp - 0x24], eax
mov ebx, dword [0x457f25]
call fcn.00401161
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0x40bde2
push 4
call fcn.0044568e
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40bdf5
push 1
call fcn.0044568e
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 0x40be29
push 6
call fcn.0044568e
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 0x40be95
push 6
call fcn.0044568e
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 0x40befe
push 6
call fcn.0044568e
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 0x40bf23
push 6
call fcn.0044568e
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 0x40bf45
push 6
call fcn.0044568e
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 0x40bf6a
push 6
call fcn.0044568e
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 0x40bf8c
push 6
call fcn.0044568e
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 0x40bfae
push 6
call fcn.0044568e
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 0x40bfd5
push 6
call fcn.0044568e
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 0x40c001
push 6
call fcn.0044568e
add esp, 4
jmp 0x40c07d
cmp dword [ebp + 0xc], 0x115
jne 0x40c044
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 0x40c03f
push 6
call fcn.0044568e
add esp, 4
jmp 0x40c07d
cmp dword [ebp + 0xc], 0x114
jne 0x40c07d
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 0x40c07d
push 6
call fcn.0044568e
add esp, 4
mov ebx, dword [0x457f25]
call fcn.00401161
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0x40c09d
push 4
call fcn.0044568e
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40c0b0
push 1
call fcn.0044568e
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 0x40c0ed
push 6
call fcn.0044568e
add esp, 4
jmp 0x40c0f2
push eax
mov ebx, dword [ebp - 8]
push ebx
call fcn.00445688
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x10