Function at 0x464f9b
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
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 - 0x24]
mov eax, dword [ebx + 0x344]
neg eax
sbb eax, eax
and eax, 0x4000
mov dword [ebp - 0xc], eax
mov eax, dword [0x4f1fcc]
add eax, 0x18
push eax
mov eax, dword [0x4f1fc8]
add eax, 0x30
movsd dword es:[edi], dword [esi]
push eax
mov eax, dword [0x4f1fc4]
add eax, 0xffffffe8
movsd dword es:[edi], dword [esi]
push eax
mov eax, dword [0x4f1fc0]
add eax, 0xffffffd0
movsd dword es:[edi], dword [esi]
push eax
lea eax, [ebp - 0x34]
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
sub dword [ebp - 0x1c], eax
mov esi, dword [ebp + 0x10]
add esp, 0x10
lea eax, [ebp - 0x34]
push dword [ebp + 0x14]
push esi
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x465038
mov eax, dword [0x4f1fd0]
jmp 0x465059
sub esi, dword [0x4f1fb8]
mov eax, dword [ebp - 0x24]
cmp esi, eax
mov dword [ebp + 8], esi
jge 0x46504b
mov dword [ebp + 8], eax
mov eax, dword [ebp - 0x1c]
sub eax, dword [0x4f1fec]
cmp dword [ebp + 8], eax
jle 0x46505c
mov dword [ebp + 8], eax
lea eax, [ebp - 0x44]
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 - 0x40]
sub esi, 4
add esp, 0x10
neg esi
sbb esi, esi
neg eax
push eax
mov eax, dword [ebp - 0x44]
neg eax
push eax
lea eax, [ebp - 0x24]
push eax
inc esi
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x18]
sub eax, dword [ebp - 0x24]
push dword [ebp + 0x10]
sub edi, dword [ebp - 0x20]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x44]
sub dword [ebp + 8], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push edi
mov dword [ebp + 0x14], eax
push dword [ebp - 0x4c]
push dword [ebp + 0x10]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov dword [ebp - 0x14], eax
push dword [ebp + 0x14]
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
sub eax, dword [ebp - 0x24]
push edi
push eax
push 0
lea eax, [ebp - 0x34]
push 0
push eax
call dword [sym.imp.USER32.dll_SetRect]
xor eax, eax
cmp esi, eax
je 0x46511d
push eax
push eax
push eax
lea eax, [ebp - 0x34]
push 2
push eax
push dword [ebx + 0x340]
push dword [ebp + 0x14]
push dword [ebp + 0xc]
call fcn.00463a4f
add esp, 0x20
jmp 0x465132
push dword [ebp - 4]
lea eax, [ebp - 0x34]
push dword [ebp - 8]
push eax
push dword [ebp + 0x14]
call fcn.004637f3
add esp, 0x10
mov eax, dword [0x4f1fec]
push edi
sub eax, dword [ebp - 0x24]
push dword [ebp - 0x4c]
add eax, dword [ebp + 8]
push 0
push eax
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.USER32.dll_SetRect]
xor eax, eax
cmp esi, eax
je 0x465173
push eax
push eax
push eax
lea eax, [ebp - 0x34]
push 3
push eax
push dword [ebx + 0x340]
push dword [ebp + 0x14]
push dword [ebp + 0xc]
call fcn.00463a4f
add esp, 0x20
jmp 0x465188
push dword [ebp - 4]
lea eax, [ebp - 0x34]
push dword [ebp - 8]
push eax
push dword [ebp + 0x14]
call fcn.004637f3
add esp, 0x10
mov eax, dword [0x4f1fec]
push edi
sub eax, dword [ebp - 0x24]
add eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 8]
sub eax, dword [ebp - 0x24]
push 0
push eax
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.USER32.dll_SetRect]
test esi, esi
je 0x4651ce
push 0
push 1
push 1
lea eax, [ebp - 0x34]
push 5
push eax
push dword [ebx + 0x340]
push dword [ebp + 0x14]
push dword [ebp + 0xc]
call fcn.00463a4f
add esp, 0x20
jmp 0x465200
cmp dword [ebx + 0x344], 0
je 0x4651ee
push 0x10
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
lea eax, [ebp - 0x34]
push eax
push dword [ebp + 0x14]
call fcn.004638ae
jmp 0x4651fd
push dword [ebp - 0xc]
lea eax, [ebp - 0x34]
push eax
push dword [ebp + 0x14]
call fcn.00462c42
add esp, 0xc
push 0xcc0020
push 0
push 0
push dword [ebp + 0x14]
push edi
push dword [ebp - 0x4c]
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push dword [ebp + 0x10]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp - 0x10]
push dword [ebp + 0x14]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 0x14]
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [ebp + 0x14]
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 0x465276
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 + 8]
sub eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
jmp 0x46527c
mov esi, dword [ebp + 8]
sub esi, dword [ebp - 0x24]
cmp esi, dword [0x4dab54]
je 0x46529b
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 + 0x14]
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