Function at 0x4438e7
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xec
mov eax, dword [0x464334]
push ebx
push esi
push edi
xor edi, edi
cmp eax, 0xffffffff
mov dword [ebp - 0x28], edi
jne 0x44391e
push 0x1003
push 0x5000
call fcn.00434179
cmp eax, edi
mov dword [0x464334], eax
jl 0x44408e
push 0x4d
push eax
call fcn.004341c8
mov ebx, eax
cmp ebx, edi
je 0x44408e
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0x1c]
mov dword [ebx + 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebx], eax
mov dword [ebx + 0x20], 1
mov dword [ebx + 0x44], esi
push dword [0x46950c]
push str.WinSupClass
call dword [sym.imp.USER32.dll_UnregisterClassA]
lea eax, [ebp - 0xec]
push eax
push str.WinSupClass
push dword [0x46950c]
call dword [sym.imp.USER32.dll_GetClassInfoA]
test eax, eax
jne 0x4439ce
push 4
mov dword [ebp - 0x50], 0xb
pop eax
mov dword [ebp - 0x4c], sym.DEMO32.EXE_WinSupWndProc
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov eax, dword [0x46950c]
push 1
push eax
mov dword [ebp - 0x40], eax
call dword [sym.imp.USER32.dll_LoadIconA]
push 0x7f00
push edi
mov dword [ebp - 0x3c], eax
call dword [sym.imp.USER32.dll_LoadCursorA]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x50]
push eax
mov dword [ebp - 0x34], 0x11
mov dword [ebp - 0x30], 0x469734
mov dword [ebp - 0x2c], str.WinSupClass
call dword [sym.imp.USER32.dll_RegisterClassA]
and byte [ebp - 0xc4], 0
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc4]
push eax
push 0x28
push dword [ebx + 4]
call fcn.0040382e
cmp byte [ebp - 0xc4], 0
jne 0x443a05
lea eax, [ebp - 0xc4]
push 0x464180
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 4]
push eax
push edi
push 0x10
push dword [ebx + 4]
call fcn.0040382e
cmp dword [ebp - 4], edi
jne 0x443a22
mov dword [ebx + 0x2c], 8
jmp 0x443a25
mov dword [ebx + 0x2c], edi
lea eax, [ebp - 4]
push eax
push edi
push 0x22
push dword [ebx + 4]
call fcn.0040382e
cmp dword [ebp - 4], 1
jne 0x443f56
lea eax, [ebp - 4]
push eax
push edi
push 0x33
push dword [ebx + 4]
call fcn.0040382e
cmp dword [ebp - 4], 1
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
jne 0x443b27
cmp dword [0x4693f4], 0
jne 0x443b5f
lea eax, [ebp - 4]
push eax
push 0
push 0x1f
push dword [ebx + 4]
call fcn.0040382e
lea eax, [ebp - 0xec]
push eax
push str.WinSupBackClass
push dword [0x46950c]
call dword [sym.imp.USER32.dll_GetClassInfoA]
test eax, eax
jne 0x443aed
push 0x28
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.0044bf00
mov eax, dword [0x46950c]
add esp, 0xc
mov dword [ebp - 0x4c], sym.DEMO32.EXE_WinSupBackWndProc
mov dword [ebp - 0x40], eax
push 1
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
push 0x7f00
push 0
mov dword [ebp - 0x3c], eax
call dword [sym.imp.USER32.dll_LoadCursorA]
push dword [ebp - 4]
mov dword [ebp - 0x38], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x50]
push eax
mov dword [ebp - 0x2c], str.WinSupBackClass
call dword [sym.imp.USER32.dll_RegisterClassA]
xor eax, eax
push eax
push dword [0x46950c]
push eax
push eax
push 1
call edi
push eax
push 0
call edi
push eax
push 0
push 0
lea eax, [ebp - 0xc4]
push 0x82000000
push eax
push str.WinSupBackClass
push dword [ebx + 0x2c]
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x4693f4], eax
jmp 0x443b5f
mov eax, dword [0x4693f4]
test eax, eax
je 0x443b5f
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x443b5f
push dword [0x4693f4]
call dword [sym.imp.USER32.dll_DestroyWindow]
push dword [0x46950c]
and dword [0x4693f4], 0
push str.WinSupBackClass
call dword [sym.imp.USER32.dll_UnregisterClassA]
lea eax, [ebp - 4]
push eax
push 0
push 0xc
push dword [ebx + 4]
call fcn.0040382e
mov eax, dword [ebp - 4]
test ax, ax
jne 0x443b80
mov dword [esi + 8], 0x280
jmp 0x443b8e
push 0x32
pop ecx
cmp ax, cx
jb 0x443b8b
movzx ecx, ax
mov dword [esi + 8], ecx
shr eax, 0x10
test ax, ax
jne 0x443b9f
mov dword [esi + 0xc], 0x1e0
jmp 0x443bb0
cmp ax, 0x32
jae 0x443baa
push 0x32
pop eax
jmp 0x443bad
movzx eax, ax
mov dword [esi + 0xc], eax
lea eax, [ebp - 4]
push eax
push 0
push 0x25
push dword [ebx + 4]
call fcn.0040382e
mov eax, dword [ebp - 4]
push 0
and eax, 1
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, 0xff840000
add ecx, 0x800000
mov dword [ebp + 8], ecx
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, 0x1b
add ecx, 5
neg eax
sbb eax, eax
mov dword [ebp + 0xc], ecx
and eax, 0x1b
add eax, 6
mov dword [ebp - 0x10], eax
call edi
cmp dword [esi + 8], eax
jne 0x443c0d
push 1
call edi
cmp dword [esi + 0xc], eax
jne 0x443c0d
and dword [ebp + 8], 0
lea eax, [ebp - 4]
push eax
push 0
push 0x36
push dword [ebx + 4]
call fcn.0040382e
test byte [ebp - 4], 2
je 0x443c27
and dword [ebp + 8], 0
lea eax, [ebp - 4]
push eax
push 0
push 0x1d
push dword [ebx + 4]
call fcn.0040382e
mov eax, dword [ebp - 4]
movzx ecx, ax
shr eax, 0x10
mov dword [ebp - 0xc], eax
mov eax, dword [esi + 0xc]
mov dword [esi + 4], eax
mov eax, dword [esi + 8]
mov dword [esi], eax
lea eax, [ebp - 4]
push eax
push 0
push 0x2f
mov dword [ebp - 8], ecx
push dword [ebx + 4]
call fcn.0040382e
cmp dword [ebp - 4], 0
jne 0x443cb1
push 0
call edi
imul eax, dword [ebp - 8]
cdq
mov ecx, 0x280
push 1
idiv ecx
mov dword [ebp - 8], eax
call edi
imul eax, dword [ebp - 0xc]
cdq
mov ecx, 0x1e0
push 0
idiv ecx
mov dword [ebp - 0xc], eax
call edi
imul eax, dword [esi]
cdq
mov ecx, 0x280
push 1
idiv ecx
mov dword [esi], eax
call edi
imul eax, dword [esi + 4]
cdq
mov ecx, 0x1e0
idiv ecx
mov dword [esi + 4], eax
lea eax, [ebp - 4]
push eax
push 0
push 0x13
push dword [ebx + 4]
call fcn.0040382e
cmp dword [ebp - 4], 1
jne 0x443ccd
and dword [ebp + 0x18], 0
jmp 0x443cfa
cmp dword [ebp + 8], 0x40000
mov dword [ebp + 0x18], 0xca0000
jne 0x443cfa
lea eax, [ebp - 4]
push eax
push 0
push 0x25
push dword [ebx + 4]
call fcn.0040382e
test byte [ebp - 4], 2
je 0x443cfa
mov dword [ebp + 0x18], 0xfa0000
mov eax, dword [esi]
cmp dword [ebp + 8], 0
mov dword [ebp + 0x1c], eax
je 0x443d13
push dword [ebp + 0xc]
call edi
mov ecx, dword [ebp + 0x1c]
lea eax, [ecx + eax*2]
mov dword [ebp + 0x1c], eax
cmp dword [ebp + 8], 0x800000
jne 0x443d30
cmp dword [ebp + 0x18], 0
je 0x443d30
push dword [ebp + 0xc]
call edi
mov ecx, dword [ebp + 0x1c]
lea eax, [ecx + eax*4]
mov dword [ebp + 0x1c], eax
push 0
call edi
cmp dword [ebp + 0x1c], eax
jle 0x443d72
push 0
call edi
push 0
mov dword [ebp + 0x1c], eax
call edi
cmp dword [ebp + 8], 0
mov dword [esi], eax
je 0x443d57
push dword [ebp + 0xc]
call edi
neg eax
shl eax, 1
add dword [esi], eax
cmp dword [ebp + 8], 0x800000
jne 0x443d72
cmp dword [ebp + 0x18], 0
je 0x443d72
push dword [ebp + 0xc]
call edi
neg eax
shl eax, 2
add dword [esi], eax
mov eax, dword [esi + 4]
cmp dword [ebp + 8], 0
mov dword [ebp + 0xc], eax
je 0x443d8c
push dword [ebp - 0x10]
call edi
mov ecx, dword [ebp + 0xc]
lea eax, [ecx + eax*2]
mov dword [ebp + 0xc], eax
cmp dword [ebp + 0x18], 0
je 0x443db0
cmp dword [ebp + 8], 0x800000
jne 0x443da9
push dword [ebp - 0x10]
call edi
mov ecx, dword [ebp + 0xc]
lea eax, [ecx + eax*4]
mov dword [ebp + 0xc], eax
push 4
call edi
add dword [ebp + 0xc], eax
push 1
call edi
cmp dword [ebp + 0xc], eax
jle 0x443dfc
push 1
call edi
push 1
mov dword [ebp + 0xc], eax
call edi
cmp dword [ebp + 8], 0
mov dword [esi + 4], eax
je 0x443dd9
push dword [ebp - 0x10]
call edi
neg eax
shl eax, 1
add dword [esi + 4], eax
cmp dword [ebp + 0x18], 0
je 0x443dfc
cmp dword [ebp + 8], 0x800000
jne 0x443df5
push dword [ebp - 0x10]
call edi
neg eax
shl eax, 2
add dword [esi + 4], eax
push 4
call edi
sub dword [esi + 4], eax
lea eax, [ebp - 4]
push eax
push 0
push 0x16
push dword [ebx + 4]
call fcn.0040382e
cmp dword [ebp - 4], 1
jne 0x443e32
xor esi, esi
push esi
call edi
sub eax, dword [ebp + 0x1c]
push 1
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 8], eax
call edi
sub eax, dword [ebp + 0xc]
cdq
sub eax, edx
mov edi, eax
sar edi, 1
jmp 0x443e37
mov edi, dword [ebp - 0xc]
xor esi, esi
mov ecx, dword [0x46917c]
mov edx, 0xfffffc18
cmp ecx, edx
je 0x443e57
mov eax, dword [0x469180]
cmp eax, edx
je 0x443e57
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], eax
mov edi, eax
push 0x18
mov dword [ebx + 0x30], esi
call fcn.00433852
push esi
mov dword [ebx + 0x40], eax
push dword [0x46950c]
mov eax, dword [ebp + 0x18]
or eax, dword [ebp + 8]
push esi
push dword [0x4693f4]
or eax, 0x82000000
push dword [ebp + 0xc]
push dword [ebp + 0x1c]
push edi
push dword [ebp - 8]
push eax
lea eax, [ebp - 0xc4]
push eax
push str.WinSupClass
push dword [ebx + 0x2c]
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp - 0x14], eax
mov eax, dword [0x4693f4]
cmp eax, esi
je 0x443eb3
push 1
push esi
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
cmp dword [ebp - 0x14], esi
je 0x44407a
lea eax, [ebp - 0x60]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], 1
push eax
push dword [ebx + 0x40]
call fcn.004336e2
push ebx
push esi
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SetWindowLongA]
push esi
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_GetSystemMenu]
cmp eax, esi
mov dword [ebp + 8], eax
je 0x443f26
mov edi, dword [sym.imp.USER32.dll_AppendMenuA]
push esi
push esi
push 0x800
push eax
call edi
push str.About...
push 0x1000
push esi
push dword [ebp + 8]
call edi
mov edi, dword [sym.imp.USER32.dll_ShowScrollBar]
push esi
push esi
push dword [ebp - 0x14]
call edi
push esi
push 1
push dword [ebp - 0x14]
call edi
push 1
push ebx
call fcn.004444be
push eax
call fcn.0043457b
mov dword [ebx + 0x48], eax
pop ecx
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret 0x18
mov eax, dword [ebp + 0x18]
push 1
movzx ecx, ax
shr eax, 0x10
mov dword [esi + 8], ecx
mov dword [esi + 0xc], eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [esi + 4], eax
imul eax, dword [esi + 8]
cdq
idiv dword [esi + 0xc]
push edi
mov dword [esi], eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
cmp dword [esi], eax
jle 0x443f9d
push edi
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, eax
mov eax, dword [esi + 0xc]
imul eax, ecx
cdq
idiv dword [esi + 8]
mov dword [esi], ecx
mov dword [esi + 4], eax
push edi
push edi
push edi
push str.DISPLAY
call dword [sym.imp.GDI32.dll_CreateDCA]
push dword [esi + 4]
mov dword [ebp + 8], eax
push dword [esi]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
cmp eax, edi
mov dword [ebx + 0x30], eax
je 0x443ffa
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push dword [ebx + 0x30]
mov dword [ebp + 0xc], eax
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
push 0xcc0020
push edi
push edi
push dword [ebp + 8]
push dword [esi + 4]
push dword [esi]
push edi
push edi
push dword [ebp + 0xc]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp + 0xc]
call dword [sym.imp.GDI32.dll_DeleteDC]
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_DeleteDC]
push 0x18
call fcn.00433852
mov dword [ebx + 0x40], eax
xor esi, esi
push edi
push dword [0x46950c]
push edi
push edi
push 0x14
push 0x14
push esi
push esi
push SysReAllocStringLen
push 0x464180
push str.WinSupClass
push dword [ebx + 0x2c]
call dword [sym.imp.USER32.dll_CreateWindowExA]
cmp eax, edi
mov dword [ebp - 0x14], eax
je 0x44407a
lea ecx, [ebp - 0x60]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
lea eax, [ebp - 0x28]
push eax
push dword [ebx + 0x40]
call fcn.004336e2
push ebx
push edi
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SetWindowLongA]
add esi, 0x32
cmp esi, 0x64
jl 0x44400f
jmp 0x443f3b
push dword [ebx + 0x40]
call fcn.0043389d
push ebx
push dword [0x464334]
call fcn.004342a3
xor eax, eax
jmp 0x443f4f