Function at 0x40d45c
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov dword [ebp - 4], 0
push 0x10
call fcn.004481d2
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 [0x45b10e]
call fcn.004028a0
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 0x40d548
mov ebx, dword [0x45b10e]
call fcn.00401021
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0x40d513
push 4
call fcn.004481de
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40d526
push 1
call fcn.004481de
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 0x40d543
jmp 0x40d548
pop eax
pop ebx
pop ecx
jmp 0x40d4e5
add esp, 0xc
cmp dword [ebp + 0xc], 0x14
jne 0x40d996
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 0x40d57a
push 6
call fcn.004481de
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 0x40d59e
push 6
call fcn.004481de
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 0x40d5c3
push 6
call fcn.004481de
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 0x40d604
push 6
call fcn.004481de
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 0x40d62c
push 6
call fcn.004481de
add esp, 4
mov dword [ebp - 0x18], eax
mov ebx, dword [0x45b10e]
call fcn.00401021
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0x40d64f
push 4
call fcn.004481de
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40d662
push 1
call fcn.004481de
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 0x40d693
push 6
call fcn.004481de
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 0x40d6bb
push 6
call fcn.004481de
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 0x40d6e6
push 6
call fcn.004481de
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 0x40d70b
push 6
call fcn.004481de
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 0x40d72d
push 6
call fcn.004481de
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 0x40d74f
push 6
call fcn.004481de
add esp, 4
mov dword [ebp - 0x24], eax
mov ebx, dword [0x45b10e]
call fcn.00401021
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0x40d772
push 4
call fcn.004481de
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40d785
push 1
call fcn.004481de
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 0x40d7b9
push 6
call fcn.004481de
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 0x40d825
push 6
call fcn.004481de
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 0x40d88e
push 6
call fcn.004481de
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 0x40d8b3
push 6
call fcn.004481de
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 0x40d8d5
push 6
call fcn.004481de
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 0x40d8fa
push 6
call fcn.004481de
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 0x40d91c
push 6
call fcn.004481de
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 0x40d93e
push 6
call fcn.004481de
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 0x40d965
push 6
call fcn.004481de
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 0x40d991
push 6
call fcn.004481de
add esp, 4
jmp 0x40da0d
cmp dword [ebp + 0xc], 0x115
jne 0x40d9d4
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 0x40d9cf
push 6
call fcn.004481de
add esp, 4
jmp 0x40da0d
cmp dword [ebp + 0xc], 0x114
jne 0x40da0d
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 0x40da0d
push 6
call fcn.004481de
add esp, 4
mov ebx, dword [0x45b10e]
call fcn.00401021
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0x40da2d
push 4
call fcn.004481de
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40da40
push 1
call fcn.004481de
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 0x40da7d
push 6
call fcn.004481de
add esp, 4
jmp 0x40da82
push eax
mov ebx, dword [ebp - 8]
push ebx
call fcn.004481d8
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x10