Function at 0x4652b9
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push ebx
push esi
push edi
call fcn.004637c1
mov dword [ebp - 8], eax
call fcn.004637ea
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], eax
mov esi, 0x4f1fc0
lea edi, [ebp - 0x28]
mov eax, dword [ebx + 0x344]
neg eax
sbb eax, eax
and eax, 0x4000
mov dword [ebp - 0x10], eax
mov eax, dword [0x4f1fcc]
add eax, 0x30
push eax
mov eax, dword [0x4f1fc8]
add eax, 0x18
movsd dword es:[edi], dword [esi]
push eax
mov eax, dword [0x4f1fc4]
add eax, 0xffffffd0
movsd dword es:[edi], dword [esi]
push eax
mov eax, dword [0x4f1fc0]
add eax, 0xffffffe8
movsd dword es:[edi], dword [esi]
push eax
lea eax, [ebp - 0x38]
push eax
movsd dword es:[edi], dword [esi]
call dword [sym.imp.USER32.dll_SetRect]
xor edi, edi
push edi
push ebx
call fcn.00462d69
add dword [ebp - 0x24], eax
push edi
push ebx
call fcn.00462d69
mov esi, dword [ebp + 0x14]
sub dword [ebp - 0x1c], eax
add esp, 0x10
lea eax, [ebp - 0x38]
push esi
push dword [ebp + 0x10]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x465356
mov eax, dword [0x4f1fd0]
jmp 0x465377
sub esi, dword [0x4f1fb8]
mov eax, dword [ebp - 0x24]
cmp esi, eax
mov dword [ebp + 0x14], esi
jge 0x465369
mov dword [ebp + 0x14], eax
mov eax, dword [ebp - 0x1c]
sub eax, dword [0x4f1fec]
cmp dword [ebp + 0x14], eax
jle 0x46537a
mov dword [ebp + 0x14], eax
lea eax, [ebp - 0x48]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_GetWindowRect]
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_GetWindowDC]
push 1
push ebx
push edi
mov dword [ebp + 0x10], eax
push dword [ebp + 0xc]
call fcn.004639cf
mov esi, eax
mov eax, dword [ebp - 0x44]
sub esi, 4
add esp, 0x10
neg esi
sbb esi, esi
neg eax
push eax
mov eax, dword [ebp - 0x48]
neg eax
push eax
lea eax, [ebp - 0x28]
push eax
inc esi
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [ebp - 0x44]
mov edi, dword [ebp - 0x20]
sub dword [ebp + 0x14], eax
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x24]
push dword [ebp + 0x10]
sub edi, dword [ebp - 0x28]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x14]
sub eax, dword [ebp - 0x24]
mov dword [ebp - 0xc], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push dword [ebp - 0x4c]
mov dword [ebp + 8], eax
push edi
push dword [ebp + 0x10]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov dword [ebp - 0x18], eax
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp + 0x14]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x38]
push edi
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_SetRect]
xor eax, eax
cmp esi, eax
je 0x465440
push eax
push eax
push eax
lea eax, [ebp - 0x38]
push 2
push eax
push dword [ebx + 0x340]
push dword [ebp + 8]
push dword [ebp + 0xc]
call fcn.00463a4f
add esp, 0x20
jmp 0x465455
push dword [ebp - 4]
lea eax, [ebp - 0x38]
push dword [ebp - 8]
push eax
push dword [ebp + 8]
call fcn.004637f3
add esp, 0x10
push dword [ebp - 0x4c]
mov eax, dword [0x4f1fec]
mov ecx, dword [ebp - 0xc]
add eax, ecx
push edi
push eax
lea eax, [ebp - 0x38]
push 0
push eax
call dword [sym.imp.USER32.dll_SetRect]
xor eax, eax
cmp esi, eax
je 0x465495
push eax
push eax
push eax
lea eax, [ebp - 0x38]
push 3
push eax
push dword [ebx + 0x340]
push dword [ebp + 8]
push dword [ebp + 0xc]
call fcn.00463a4f
add esp, 0x20
jmp 0x4654aa
push dword [ebp - 4]
lea eax, [ebp - 0x38]
push dword [ebp - 8]
push eax
push dword [ebp + 8]
call fcn.004637f3
add esp, 0x10
mov ecx, dword [0x4f1fec]
mov eax, dword [ebp - 0xc]
add ecx, eax
push ecx
push edi
push eax
lea eax, [ebp - 0x38]
push 0
push eax
call dword [sym.imp.USER32.dll_SetRect]
test esi, esi
je 0x4654ea
push 0
push 1
push 1
lea eax, [ebp - 0x38]
push 5
push eax
push dword [ebx + 0x340]
push dword [ebp + 8]
push dword [ebp + 0xc]
call fcn.00463a4f
add esp, 0x20
jmp 0x46551c
cmp dword [ebx + 0x344], 0
je 0x46550a
push 0x10
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
lea eax, [ebp - 0x38]
push eax
push dword [ebp + 8]
call fcn.004638ae
jmp 0x465519
push dword [ebp - 0x10]
lea eax, [ebp - 0x38]
push eax
push dword [ebp + 8]
call fcn.00462c42
add esp, 0xc
push 0xcc0020
push 0
push 0
push dword [ebp + 8]
push dword [ebp - 0x4c]
push edi
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push dword [ebp + 0x10]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp - 0x14]
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 0x18]
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_DeleteDC]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [ebx + 0x14]
sub eax, dword [ebx + 0x10]
test eax, eax
jle 0x465592
mov ecx, dword [ebp - 0x1c]
sub eax, dword [ebx + 0x18]
sub ecx, dword [0x4f1fec]
sub ecx, dword [ebp - 0x24]
inc eax
push ecx
push eax
mov eax, dword [ebp + 0x14]
sub eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
jmp 0x465598
mov esi, dword [ebp + 0x14]
sub esi, dword [ebp - 0x24]
cmp esi, dword [0x4dab54]
je 0x4655b7
push esi
push 5
mov dword [ebx + 0x20], esi
push dword [0x4f1ffc]
push dword [ebp + 0xc]
call fcn.004649d9
add esp, 0x10
push 2
push ebx
push dword [ebp + 8]
mov dword [0x4dab54], esi
push dword [ebp + 0xc]
call fcn.004639cf
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret