Function at 0x407c92
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp ebx, 0x64
mov dword [ebp - 0x18], esi
jbe 0x407caa
push 0x64
pop ebx
push edi
push 0xa
lea eax, [ebp - 0x38]
push 0
push eax
mov dword [esi + 0x5d0], ebx
call fcn.00415510
push ebx
lea eax, [ebp - 0x38]
push 0x421fe0
push eax
call fcn.00415cc0
lea eax, [ebp - 0x38]
push 0x421fdc
push eax
call fcn.00415580
add esp, 0x20
lea eax, [ebp - 0x58]
push eax
push dword [esi + 0x5d4]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edi, dword [sym.imp.USER32.dll_ScreenToClient]
lea eax, [ebp - 0x58]
push eax
push dword [esi + 4]
call edi
lea eax, [ebp - 0x50]
push eax
push dword [esi + 4]
call edi
lea eax, [ebp - 0x58]
push 0x10
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.00416690
mov eax, dword [ebp - 0x60]
add esp, 0xc
push 2
pop ecx
add dword [ebp - 0x68], ecx
sub dword [ebp - 0x5c], ecx
add dword [ebp - 0x64], ecx
sub eax, ecx
cmp ebx, 0x64
je 0x407d5a
sub eax, dword [ebp - 0x68]
and dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], ebx
inc eax
mov dword [ebp + 8], eax
fild dword [ebp + 8]
fild qword [ebp - 0x2c]
fmulp st(1)
fmul qword [0x41e408]
call fcn.004164fc
mov ecx, dword [ebp - 0x58]
sub ecx, eax
dec ecx
mov dword [ebp - 0x60], ecx
jmp 0x407d60
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x407d70
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDC]
push eax
mov dword [ebp + 8], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ebx, eax
mov eax, dword [ebp - 0x4c]
sub eax, dword [ebp - 0x54]
inc eax
push eax
mov eax, dword [ebp - 0x50]
sub eax, dword [ebp - 0x58]
inc eax
push eax
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push ebx
mov dword [ebp - 0x28], eax
call esi
push 0xff0000
mov dword [ebp - 0x24], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov edi, dword [sym.imp.USER32.dll_GetSysColor]
push 0xf
mov dword [ebp - 4], eax
call edi
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push 0x10
mov dword [ebp - 8], eax
call edi
push eax
push 1
push 0
call dword [sym.imp.GDI32.dll_CreatePen]
push 0x14
mov dword [ebp - 0xc], eax
call edi
mov edi, dword [sym.imp.GDI32.dll_CreatePen]
push eax
push 1
push 0
call edi
push 0
push 1
push 0
mov dword [ebp - 0x14], eax
call edi
push dword [ebp - 8]
mov dword [ebp - 0x10], eax
push ebx
call esi
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x50]
sub eax, dword [ebp - 0x58]
push dword [ebp - 8]
xor edi, edi
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x4c]
sub eax, dword [ebp - 0x54]
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x48]
push eax
push ebx
call dword [sym.imp.USER32.dll_FillRect]
push dword [ebp - 0xc]
push ebx
call esi
push edi
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x3c]
push dword [ebp - 0x48]
push ebx
call dword [sym.imp.GDI32.dll_MoveToEx]
push dword [ebp - 0x44]
mov edi, dword [sym.imp.GDI32.dll_LineTo]
push dword [ebp - 0x48]
push ebx
call edi
push dword [ebp - 0x44]
push dword [ebp - 0x40]
push ebx
call edi
push dword [ebp - 0x10]
push ebx
call esi
mov eax, dword [ebp - 0x3c]
push 0
dec eax
push eax
mov eax, dword [ebp - 0x48]
inc eax
push eax
push ebx
call dword [sym.imp.GDI32.dll_MoveToEx]
mov eax, dword [ebp - 0x44]
inc eax
push eax
mov eax, dword [ebp - 0x48]
inc eax
push eax
push ebx
call edi
mov eax, dword [ebp - 0x44]
inc eax
push eax
mov eax, dword [ebp - 0x40]
dec eax
push eax
push ebx
call edi
push dword [ebp - 0x14]
push ebx
call esi
push 0
push dword [ebp - 0x3c]
push dword [ebp - 0x48]
push ebx
call dword [sym.imp.GDI32.dll_MoveToEx]
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
push ebx
call edi
push dword [ebp - 0x44]
push dword [ebp - 0x40]
push ebx
call edi
push dword [ebp - 4]
push ebx
call esi
push 3
pop eax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x60]
push dword [ebp - 4]
sub eax, dword [ebp - 0x68]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x4c]
sub eax, dword [ebp - 0x54]
dec eax
dec eax
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x78]
push eax
push ebx
call dword [sym.imp.USER32.dll_FillRect]
push 1
push ebx
call dword [sym.imp.GDI32.dll_SetBkMode]
push 0xffff
push ebx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea eax, [ebp - 0x48]
push 0x25
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.00415b30
pop ecx
push eax
lea eax, [ebp - 0x38]
push eax
push ebx
call dword [sym.imp.USER32.dll_DrawTextA]
mov eax, dword [ebp - 0x4c]
xor edi, edi
sub eax, dword [ebp - 0x54]
push 0xcc0020
push edi
push edi
inc eax
push ebx
push eax
mov eax, dword [ebp - 0x50]
sub eax, dword [ebp - 0x58]
inc eax
push eax
push dword [ebp - 0x54]
push dword [ebp - 0x58]
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_BitBlt]
cmp dword [ebp + 0xc], edi
pop edi
jne 0x407f52
push dword [ebp + 8]
mov eax, dword [ebp - 0x18]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_ReleaseDC]
push dword [ebp - 0x1c]
push ebx
call esi
push dword [ebp - 0x20]
push ebx
call esi
push dword [ebp - 0x24]
push ebx
call esi
push dword [ebp - 4]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
call esi
push dword [ebp - 8]
call esi
push dword [ebp - 0xc]
call esi
push dword [ebp - 0x10]
call esi
push dword [ebp - 0x14]
call esi
push dword [ebp - 0x28]
call esi
push ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
pop esi
pop ebx
leave
ret 8