Function at 0x404226
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [ebp + 0xc]
push ebx
push esi
xor ebx, ebx
xor esi, esi
xor dl, dl
cmp eax, dword [0x42353c]
push edi
jne 0x404245
push 1
inc dl
pop eax
mov ecx, eax
dec ecx
je 0x404559
dec ecx
je 0x40450b
sub ecx, 4
je 0x4044f6
sub ecx, 0x25
je 0x4043a6
dec ecx
je 0x404303
sub ecx, 0xe5
je 0x4042e7
sub ecx, 0x2f9
je 0x404298
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 8]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_DefWindowProcA]
mov esi, eax
jmp 0x404572
cmp dword [ebp + 0x14], 0x201
jl 0x404572
cmp dword [ebp + 0x14], 0x209
jg 0x404572
cmp dword [ebp + 0x10], 0x64
jne 0x404572
mov eax, dword [ebp + 8]
cmp byte [eax + 0x38], 0
jne 0x404572
push 0x4048c2
push 1
push 0x12c
mov byte [eax + 0x38], 1
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SetTimer]
jmp 0x404572
mov eax, dword [ebp + 0x10]
push 0x4046e8
mov dword [0x423534], eax
mov eax, dword [ebp + 8]
push 1
push 0x12d
push dword [eax + 4]
jmp 0x4042dc
mov esi, dword [ebp + 8]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDC]
mov dword [ebp + 8], eax
push 0x2c
lea eax, [ebp - 0x40]
push ebx
push eax
call fcn.0040f5d0
add esp, 0xc
cmp dword [esi + 0x14], ebx
mov dword [ebp - 0x40], 0x28
jne 0x404353
mov eax, dword [0x423444]
mov ecx, dword [eax + 4]
mov eax, dword [esi + 0x2c]
cmp eax, ebx
jne 0x404341
mov eax, 0x41a648
push ecx
push 0x516
push eax
call sub.hccutils.DLL_LoadBITMAP
add esp, 0xc
mov dword [esi + 0x14], eax
mov eax, dword [esi + 0x14]
cmp eax, ebx
jne 0x404365
mov eax, dword [ebp + 0x14]
mov dword [eax + 0x10], ebx
mov dword [eax + 0xc], ebx
jmp 0x404395
lea ecx, [ebp - 0x40]
push ebx
push ecx
push ebx
push ebx
push ebx
push eax
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_GetDIBits]
mov edi, dword [ebp + 0x14]
mov eax, dword [ebp - 0x38]
push 0x36
mov dword [edi + 0x10], eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [ebp - 0x3c]
shl eax, 1
sub ecx, eax
sub ecx, 6
mov dword [edi + 0xc], ecx
push dword [ebp + 8]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ReleaseDC]
jmp 0x4044f1
mov edi, dword [ebp + 8]
cmp dword [edi + 0x14], ebx
je 0x404572
mov esi, dword [ebp + 0x14]
mov ebx, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push dword [esi + 0x18]
call ebx
push dword [esi + 0x18]
mov dword [ebp + 8], eax
call ebx
mov ebx, dword [esi + 0x28]
mov dword [ebp + 0x14], eax
mov eax, dword [esi + 0x24]
sub ebx, dword [esi + 0x20]
sub eax, dword [esi + 0x1c]
push ebx
mov dword [ebp + 0xc], ebx
push eax
mov dword [ebp + 0x10], eax
push dword [ebp + 0x14]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push dword [edi + 0x14]
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 4], eax
push dword [ebp + 8]
call edi
push dword [ebp - 4]
mov dword [ebp - 0x14], eax
push dword [ebp + 0x14]
call edi
push 0
mov dword [ebp - 0x10], eax
call dword [sym.imp.GDI32.dll_GetStockObject]
push 0xffffff
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_SetBkColor]
xor eax, eax
push 0xcc0020
push eax
push eax
push dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp + 0x10]
push eax
push eax
push dword [ebp + 0x14]
call ebx
push 0xffffff
push dword [esi + 0x18]
call dword [sym.imp.GDI32.dll_SetBkColor]
push 0
mov dword [ebp - 8], eax
push dword [esi + 0x18]
call dword [sym.imp.GDI32.dll_SetTextColor]
push 0x660046
push 0
push 0
mov dword [ebp - 0xc], eax
push dword [ebp + 8]
push dword [ebp + 0xc]
push dword [ebp + 0x10]
push dword [esi + 0x20]
push dword [esi + 0x1c]
push dword [esi + 0x18]
call ebx
push 0x8800c6
push 0
push 0
push dword [ebp + 0x14]
push dword [ebp + 0xc]
push dword [ebp + 0x10]
push dword [esi + 0x20]
push dword [esi + 0x1c]
push dword [esi + 0x18]
call ebx
push 0x660046
push 0
push 0
push dword [ebp + 8]
push dword [ebp + 0xc]
push dword [ebp + 0x10]
push dword [esi + 0x20]
push dword [esi + 0x1c]
push dword [esi + 0x18]
call ebx
push dword [ebp - 8]
push dword [esi + 0x18]
call dword [sym.imp.GDI32.dll_SetBkColor]
push dword [ebp - 0xc]
push dword [esi + 0x18]
call dword [sym.imp.GDI32.dll_SetTextColor]
push dword [ebp - 0x10]
push dword [ebp + 0x14]
call edi
push dword [ebp - 4]
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [ebp - 0x14]
push dword [ebp + 8]
call edi
push dword [ebp + 0x14]
mov esi, dword [sym.imp.GDI32.dll_DeleteDC]
call esi
push dword [ebp + 8]
call esi
push 1
pop esi
jmp 0x404572
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0xc], ebx
je 0x404572
cmp byte [ecx + 0x38], 0
jne 0x404572
call fcn.00404895
jmp 0x404572
mov esi, dword [ebp + 8]
cmp dword [esi + 0xc], ebx
je 0x40451a
mov ecx, esi
call fcn.00404895
mov eax, dword [esi + 8]
cmp eax, ebx
je 0x40452a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esi + 8], ebx
mov eax, dword [esi + 0x14]
cmp eax, ebx
je 0x40453b
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [esi + 0x14], ebx
mov ecx, esi
call fcn.004046da
push ebx
call dword [sym.imp.USER32.dll_PostQuitMessage]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 2
push dword [esi + 4]
jmp 0x40428b
test dl, dl
jne 0x40456a
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 1
jmp 0x404285
mov ecx, dword [ebp + 8]
call fcn.004045ea
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 0x10