Function at 0x4038de
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
push ebx
push esi
xor ebx, ebx
xor esi, esi
xor dl, dl
cmp eax, dword [0x416b8c]
push edi
jne 0x4038fd
push 1
inc dl
pop eax
mov ecx, eax
dec ecx
je 0x403cf1
dec ecx
je 0x403ca3
sub ecx, 4
je 0x403c8e
sub ecx, 0x25
je 0x403adf
dec ecx
je 0x4039bb
sub ecx, 0xe5
je 0x40399f
sub ecx, 0x2f9
je 0x403950
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 0x403d0a
cmp dword [ebp + 0x14], 0x201
jl 0x403d0a
cmp dword [ebp + 0x14], 0x209
jg 0x403d0a
cmp dword [ebp + 0x10], 0x64
jne 0x403d0a
mov eax, dword [ebp + 8]
cmp byte [eax + 0x28], 0
jne 0x403d0a
push 0x40400e
push 0x12c
push 1
mov byte [eax + 0x28], 1
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SetTimer]
jmp 0x403d0a
mov eax, dword [ebp + 0x10]
push 0x403f49
mov dword [0x416b84], eax
mov eax, dword [ebp + 8]
push 0x12d
push 1
push dword [eax + 4]
jmp 0x403994
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 - 0x4c]
push ebx
push eax
call fcn.004055d0
mov eax, dword [esi + 0x14]
add esp, 0xc
cmp eax, ebx
mov dword [ebp - 0x4c], 0x28
je 0x4039f1
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [esi + 0x14], ebx
mov eax, dword [esi + 0x30]
sub eax, 3
je 0x403a6c
dec eax
je 0x403a53
dec eax
je 0x403a3a
dec eax
je 0x403a21
dec eax
je 0x403a3a
dec eax
je 0x403a21
mov eax, dword [0x416aa4]
mov ecx, dword [eax + 4]
mov eax, dword [esi + 0x38]
cmp eax, ebx
jne 0x403a1c
mov eax, 0x40e288
push ecx
push 0x68
jmp 0x403a83
mov eax, dword [0x416aa4]
mov ecx, dword [eax + 4]
mov eax, dword [esi + 0x38]
cmp eax, ebx
jne 0x403a35
mov eax, 0x40e288
push ecx
push 0x6a
jmp 0x403a83
mov eax, dword [0x416aa4]
mov ecx, dword [eax + 4]
mov eax, dword [esi + 0x38]
cmp eax, ebx
jne 0x403a4e
mov eax, 0x40e288
push ecx
push 0x6b
jmp 0x403a83
mov eax, dword [0x416aa4]
mov ecx, dword [eax + 4]
mov eax, dword [esi + 0x38]
cmp eax, ebx
jne 0x403a67
mov eax, 0x40e288
push ecx
push 0x69
jmp 0x403a83
mov eax, dword [0x416aa4]
mov ecx, dword [eax + 4]
mov eax, dword [esi + 0x38]
cmp eax, ebx
jne 0x403a80
mov eax, 0x40e288
push ecx
push 0x67
push eax
call sub.hccutils.DLL_LoadBITMAP
add esp, 0xc
cmp eax, ebx
mov dword [esi + 0x14], eax
jne 0x403a9e
mov eax, dword [ebp + 0x14]
mov dword [eax + 0x10], ebx
mov dword [eax + 0xc], ebx
jmp 0x403ace
lea ecx, [ebp - 0x4c]
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 - 0x44]
push 0x36
mov dword [edi + 0x10], eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [ebp - 0x48]
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 0x403c89
mov edi, dword [ebp + 8]
cmp dword [edi + 0x14], ebx
je 0x403d0a
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 ecx, dword [esi + 0x24]
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x28]
sub ecx, dword [esi + 0x1c]
sub eax, dword [esi + 0x20]
mov dword [ebp + 0xc], ecx
push eax
push ecx
push dword [ebp - 4]
mov dword [ebp + 0x10], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push dword [edi + 0x14]
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 8], eax
push dword [ebp + 8]
call edi
push dword [ebp - 8]
mov dword [ebp - 0x1c], eax
push dword [ebp - 4]
call edi
push dword [esi + 0x18]
mov dword [ebp - 0x14], eax
call ebx
push dword [ebp + 0x10]
mov dword [ebp + 0x14], eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov dword [ebp - 0x20], eax
push dword [ebp + 0x14]
call edi
push 0xffffff
mov dword [ebp - 0x18], eax
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_SetBkColor]
xor eax, eax
push 0xcc0020
push eax
push eax
push dword [ebp + 8]
mov ebx, dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
push eax
push dword [ebp - 4]
call ebx
push 0xffffff
push dword [esi + 0x18]
call dword [sym.imp.GDI32.dll_SetBkColor]
push 0
mov dword [ebp - 0xc], eax
push dword [esi + 0x18]
call dword [sym.imp.GDI32.dll_SetTextColor]
push 0xcc0020
mov dword [ebp - 0x10], eax
push dword [esi + 0x20]
push dword [esi + 0x1c]
push dword [esi + 0x18]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 0
push 0
push dword [ebp + 0x14]
call ebx
xor eax, eax
push 0x660046
push eax
push eax
push dword [ebp + 8]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
push eax
push dword [ebp + 0x14]
call ebx
xor eax, eax
push 0x8800c6
push eax
push eax
push dword [ebp - 4]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
push eax
push dword [ebp + 0x14]
call ebx
xor eax, eax
push 0x660046
push eax
push eax
push dword [ebp + 8]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
push eax
push dword [ebp + 0x14]
call ebx
push 0xcc0020
push 0
push 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [esi + 0x20]
push dword [esi + 0x1c]
push dword [esi + 0x18]
call ebx
push dword [ebp - 0xc]
push dword [esi + 0x18]
call dword [sym.imp.GDI32.dll_SetBkColor]
push dword [ebp - 0x10]
push dword [esi + 0x18]
call dword [sym.imp.GDI32.dll_SetTextColor]
push dword [ebp - 0x14]
push dword [ebp - 4]
call edi
push dword [ebp - 0x18]
push dword [ebp + 0x14]
call edi
push dword [ebp - 0x1c]
push dword [ebp + 8]
call edi
push dword [ebp - 4]
mov esi, dword [sym.imp.GDI32.dll_DeleteDC]
call esi
push dword [ebp + 8]
call esi
push dword [ebp + 0x14]
call esi
push dword [ebp - 8]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
call esi
push dword [ebp - 0x20]
call esi
push 1
pop esi
jmp 0x403d0a
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0xc], ebx
je 0x403d0a
cmp byte [ecx + 0x28], 0
jne 0x403d0a
call fcn.00403fdc
jmp 0x403d0a
mov esi, dword [ebp + 8]
cmp dword [esi + 0xc], ebx
je 0x403cb2
mov ecx, esi
call fcn.00403fdc
mov eax, dword [esi + 8]
cmp eax, ebx
je 0x403cc2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esi + 8], ebx
mov eax, dword [esi + 0x14]
cmp eax, ebx
je 0x403cd3
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [esi + 0x14], ebx
mov ecx, esi
call fcn.00403f3b
push ebx
call dword [sym.imp.USER32.dll_PostQuitMessage]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 2
push dword [esi + 4]
jmp 0x403943
test dl, dl
jne 0x403d02
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 1
jmp 0x40393d
mov ecx, dword [ebp + 8]
call fcn.00403d82
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 0x10