Function at 0x406d80
Capabilities:
Capture screenshot
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x4216f0]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 8], 0
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 8]
mov byte [ebp - 9], 0
cmp ebx, dword [0x422d40]
jne 0x406db3
xor ebx, ebx
mov byte [ebp - 9], 1
inc ebx
mov eax, 0x405
cmp si, ax
jne 0x406e35
push dword [0x422d2c]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x406e35
cmp dword [0x422d30], 1
jne 0x406e35
and dword [0x422d30], eax
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [edi + 0x5c], 0x10
mov eax, dword [0x422d48]
mov dword [ebp - 0x20], eax
jb 0x406dfa
mov eax, dword [edi + 0x48]
jmp 0x406dfd
lea eax, [edi + 0x48]
push 0
push 0x405efe
mov dword [ebp - 0x10], eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
push 0x1914
push dword [ebp - 0x20]
push dword [ebp - 0x10]
call sub.hccutils.DLL_FindResources
pop ecx
pop ecx
push eax
call dword [sym.imp.USER32.dll_CreateDialogParamW]
push 5
push eax
mov dword [0x422d2c], eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp ebx, 0x7e
ja 0x407184
je 0x407178
mov eax, ebx
dec eax
je 0x40715e
dec eax
je 0x407108
sub eax, 4
je 0x4070e8
sub eax, 0x25
je 0x406f3e
dec eax
jne 0x4071a8
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDC]
push 0x2c
mov dword [ebp - 8], eax
lea eax, [ebp - 0x64]
push 0
push eax
call fcn.0040b230
lea ebx, [edi + 0x14]
mov eax, dword [ebx]
add esp, 0xc
mov dword [ebp - 0x64], 0x28
test eax, eax
je 0x406ea3
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
and dword [ebx], 0
push ebx
push 0xd
push dword [edi + 0x40]
call fcn.0040120f
mov eax, dword [ebx]
xor ebx, ebx
add esp, 0xc
cmp eax, ebx
jne 0x406ec1
mov dword [esi + 0x10], ebx
mov dword [esi + 0xc], ebx
jmp 0x406f26
push ebx
lea ecx, [ebp - 0x64]
push ecx
push ebx
push ebx
push ebx
push eax
push dword [ebp - 8]
call dword [sym.imp.GDI32.dll_GetDIBits]
mov eax, dword [ebp - 0x5c]
push ebx
push str.Progman
mov dword [esi + 0x10], eax
call dword [sym.imp.USER32.dll_FindWindowA]
cmp eax, ebx
je 0x406f11
push 0xffffffffffffffec
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x400000
je 0x406f11
push 0x36
call dword [sym.imp.USER32.dll_GetSystemMetrics]
xor ecx, ecx
inc ecx
sub ecx, eax
mov eax, dword [ebp - 0x60]
lea eax, [eax + ecx*2]
mov dword [esi + 0xc], eax
jmp 0x406f26
push 0x36
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [ebp - 0x60]
add eax, eax
sub ecx, eax
sub ecx, 6
mov dword [esi + 0xc], ecx
push dword [ebp - 8]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ReleaseDC]
mov dword [ebp - 8], 1
jmp 0x40723d
cmp dword [edi + 0x14], 0
je 0x40723d
push dword [esi + 0x18]
mov ebx, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
call ebx
push dword [esi + 0x18]
mov dword [ebp - 0x18], eax
call ebx
mov ecx, dword [esi + 0x24]
sub ecx, dword [esi + 0x1c]
mov dword [ebp - 8], eax
mov eax, dword [esi + 0x28]
sub eax, dword [esi + 0x20]
mov dword [ebp - 0x10], ecx
push eax
push ecx
push dword [ebp - 8]
mov dword [ebp - 0x1c], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push dword [edi + 0x14]
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
call edi
push dword [ebp - 0x20]
mov dword [ebp - 0x2c], eax
push dword [ebp - 8]
call edi
push dword [esi + 0x18]
mov dword [ebp - 0x30], eax
call ebx
push dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
push dword [ebp - 0x10]
push dword [ebp - 0x18]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push dword [ebp - 0x14]
mov dword [ebp - 0x34], eax
call edi
push 0xffffff
push dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
call dword [sym.imp.GDI32.dll_SetBkColor]
mov ebx, dword [sym.imp.GDI32.dll_BitBlt]
push 0xcc0020
xor eax, eax
push eax
push eax
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push dword [ebp - 0x10]
push eax
push eax
push dword [ebp - 8]
call ebx
push 0xffffff
push dword [esi + 0x18]
call dword [sym.imp.GDI32.dll_SetBkColor]
push 0
push dword [esi + 0x18]
mov dword [ebp - 0x28], eax
call dword [sym.imp.GDI32.dll_SetTextColor]
push 0xcc0020
push dword [esi + 0x20]
mov dword [ebp - 0x38], eax
push dword [esi + 0x1c]
push dword [esi + 0x18]
push dword [ebp - 0x1c]
push dword [ebp - 0x10]
push 0
push 0
push dword [ebp - 0x14]
call ebx
push 0x660046
xor eax, eax
push eax
push eax
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push dword [ebp - 0x10]
push eax
push eax
push dword [ebp - 0x14]
call ebx
push 0x8800c6
xor eax, eax
push eax
push eax
push dword [ebp - 8]
push dword [ebp - 0x1c]
push dword [ebp - 0x10]
push eax
push eax
push dword [ebp - 0x14]
call ebx
push 0x660046
xor eax, eax
push eax
push eax
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push dword [ebp - 0x10]
push eax
push eax
push dword [ebp - 0x14]
call ebx
push 0xcc0020
push 0
push 0
push dword [ebp - 0x14]
push dword [ebp - 0x1c]
push dword [ebp - 0x10]
push dword [esi + 0x20]
push dword [esi + 0x1c]
push dword [esi + 0x18]
call ebx
push dword [ebp - 0x28]
push dword [esi + 0x18]
call dword [sym.imp.GDI32.dll_SetBkColor]
push dword [ebp - 0x38]
push dword [esi + 0x18]
call dword [sym.imp.GDI32.dll_SetTextColor]
push dword [ebp - 0x30]
push dword [ebp - 8]
call edi
push dword [ebp - 0x24]
push dword [ebp - 0x14]
call edi
push dword [ebp - 0x2c]
push dword [ebp - 0x18]
call edi
push dword [ebp - 8]
mov esi, dword [sym.imp.GDI32.dll_DeleteDC]
call esi
push dword [ebp - 0x18]
call esi
push dword [ebp - 0x14]
call esi
push dword [ebp - 0x20]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
call esi
push dword [ebp - 0x34]
call esi
jmp 0x406f32
cmp dword [edi + 0xc], 0
je 0x40723d
cmp byte [edi + 0x38], 0
jne 0x40723d
mov ecx, edi
call fcn.0040645e
jmp 0x40723d
cmp dword [edi + 0xc], 0
je 0x407115
mov ecx, edi
call fcn.0040645e
mov eax, dword [edi + 8]
test eax, eax
je 0x407126
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
and dword [edi + 8], 0
mov eax, dword [edi + 0x14]
test eax, eax
je 0x407138
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
and dword [edi + 0x14], 0
mov ecx, edi
call fcn.0040644f
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
push esi
push dword [ebp + 0x10]
push 2
push dword [edi + 4]
call dword [sym.imp.USER32.dll_DefWindowProcA]
mov dword [ebp - 8], eax
jmp 0x40723d
cmp byte [ebp - 9], 0
jne 0x40716c
push esi
push dword [ebp + 0x10]
push 1
jmp 0x40714d
mov ecx, edi
call fcn.00406319
jmp 0x40723d
mov dword [0x422d38], 1
jmp 0x4071b9
cmp ebx, 0x111
je 0x407220
cmp ebx, 0x40a
je 0x4071f4
cmp ebx, 0x1989
je 0x4071ed
cmp ebx, 0x807c
je 0x4071af
push esi
push dword [ebp + 0x10]
push ebx
jmp 0x40714d
mov dword [0x422d34], 1
mov eax, dword [0x422d3c]
test eax, eax
je 0x4071d2
push eax
push 0
call dword [sym.imp.USER32.dll_KillTimer]
and dword [0x422d3c], 0
push 0x406a91
push 0x1f4
push 0
push 0
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [0x422d3c], eax
jmp 0x40723d
call fcn.00407e6b
jmp 0x40723d
cmp esi, 0x201
jl 0x40723d
cmp esi, 0x209
jg 0x40723d
cmp dword [ebp + 0x10], 0x64
jne 0x40723d
cmp byte [edi + 0x38], 0
jne 0x40723d
push 0x406490
mov byte [edi + 0x38], 1
push 0x12c
jmp 0x407232
mov eax, dword [ebp + 0x10]
push 0x406b00
mov dword [0x422d1c], eax
push 0x12d
push 1
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040b2aa
leave
ret 0x10