Function at 0x406ed2
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 0x406f05
xor ebx, ebx
mov byte [ebp - 9], 1
inc ebx
mov eax, 0x405
cmp si, ax
jne 0x406f87
push dword [0x422d2c]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x406f87
cmp dword [0x422d30], 1
jne 0x406f87
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 0x406f4c
mov eax, dword [edi + 0x48]
jmp 0x406f4f
lea eax, [edi + 0x48]
push 0
push 0x40600c
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 0x4072d6
je 0x4072ca
mov eax, ebx
dec eax
je 0x4072b0
dec eax
je 0x40725a
sub eax, 4
je 0x40723a
sub eax, 0x25
je 0x407090
dec eax
jne 0x4072fa
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.0040b470
lea ebx, [edi + 0x14]
mov eax, dword [ebx]
add esp, 0xc
mov dword [ebp - 0x64], 0x28
test eax, eax
je 0x406ff5
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
and dword [ebx], 0
push ebx
push 0xd
push dword [edi + 0x40]
call fcn.004012cc
mov eax, dword [ebx]
xor ebx, ebx
add esp, 0xc
cmp eax, ebx
jne 0x407013
mov dword [esi + 0x10], ebx
mov dword [esi + 0xc], ebx
jmp 0x407078
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 0x407063
push 0xffffffffffffffec
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x400000
je 0x407063
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 0x407078
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 0x40738f
cmp dword [edi + 0x14], 0
je 0x40738f
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 0x407084
cmp dword [edi + 0xc], 0
je 0x40738f
cmp byte [edi + 0x38], 0
jne 0x40738f
mov ecx, edi
call fcn.00406583
jmp 0x40738f
cmp dword [edi + 0xc], 0
je 0x407267
mov ecx, edi
call fcn.00406583
mov eax, dword [edi + 8]
test eax, eax
je 0x407278
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
and dword [edi + 8], 0
mov eax, dword [edi + 0x14]
test eax, eax
je 0x40728a
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
and dword [edi + 0x14], 0
mov ecx, edi
call fcn.00406574
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 0x40738f
cmp byte [ebp - 9], 0
jne 0x4072be
push esi
push dword [ebp + 0x10]
push 1
jmp 0x40729f
mov ecx, edi
call fcn.0040643e
jmp 0x40738f
mov dword [0x422d38], 1
jmp 0x40730b
cmp ebx, 0x111
je 0x407372
cmp ebx, 0x40a
je 0x407346
cmp ebx, 0x1989
je 0x40733f
cmp ebx, 0x807c
je 0x407301
push esi
push dword [ebp + 0x10]
push ebx
jmp 0x40729f
mov dword [0x422d34], 1
mov eax, dword [0x422d3c]
test eax, eax
je 0x407324
push eax
push 0
call dword [sym.imp.USER32.dll_KillTimer]
and dword [0x422d3c], 0
push 0x406bcd
push 0x1f4
push 0
push 0
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [0x422d3c], eax
jmp 0x40738f
call fcn.0040800b
jmp 0x40738f
cmp esi, 0x201
jl 0x40738f
cmp esi, 0x209
jg 0x40738f
cmp dword [ebp + 0x10], 0x64
jne 0x40738f
cmp byte [edi + 0x38], 0
jne 0x40738f
push 0x4065b5
mov byte [edi + 0x38], 1
push 0x12c
jmp 0x407384
mov eax, dword [ebp + 0x10]
push 0x406c3c
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.0040b4ea
leave
ret 0x10