Function at 0x454a70
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x55e2f4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x1c]
push ebx
mov ebx, dword [ebp + 0x18]
push esi
mov esi, dword [ebp + 0xc]
push edi
push 0x2010
push 0
push 0
push 0
push eax
push 0
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x18], ecx
call dword [sym.imp.USER32.dll_LoadImageW]
push esi
mov edi, eax
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push 1
push eax
mov dword [ebp - 0x1c], eax
call dword [sym.imp.GDI32.dll_SetMapMode]
push edi
push dword [ebp - 0x1c]
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
push esi
push dword [ebp - 0x20]
call dword [sym.imp.USER32.dll_ReleaseDC]
mov esi, dword [ebp - 0x1c]
push 7
push esi
call dword [sym.imp.GDI32.dll_GetCurrentObject]
cmp dword [ebp + 0x20], 0
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
jne 0x454b55
test ebx, ebx
jne 0x454b55
test edi, edi
jne 0x454b55
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x20]
call dword [sym.imp.USER32.dll_GetClientRect]
push dword [ebp - 0xc]
cmp dword [ebp + 0x24], edi
je 0x454b41
movsd xmm0, qword [0x559320]
comisd xmm0, xmmword [0x519ac8]
jbe 0x454b30
call fcn.0041f460
jmp 0x454b46
call fcn.0041f3f0
push dword [ebp - 8]
mov ebx, eax
call fcn.0041f3f0
jmp 0x454b50
call fcn.0041f3f0
push dword [ebp - 8]
mov ebx, eax
call fcn.0041f460
add esp, 8
mov edi, eax
lea eax, [ebp - 0x3c]
push eax
push 0x18
push dword [ebp - 0x24]
call dword [sym.imp.GDI32.dll_GetObjectW]
mov ecx, dword [ebp - 0x38]
mov eax, ecx
cdq
idiv ebx
movsd xmm0, qword [0x519ac8]
movd xmm2, eax
mov eax, dword [ebp - 0x34]
cdq
idiv edi
cvtdq2pd xmm2, xmm2
movd xmm1, eax
comisd xmm2, xmm0
cvtdq2pd xmm1, xmm1
ja 0x454b96
comisd xmm1, xmm0
jbe 0x454bbf
comisd xmm2, xmm1
jbe 0x454baf
movd xmm0, dword [ebp - 0x34]
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm2
cvttsd2si edi, xmm0
jmp 0x454bbf
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm1
cvttsd2si ebx, xmm0
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push edi
push ebx
push esi
mov dword [ebp - 0x18], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov esi, eax
push esi
push dword [ebp - 0x18]
mov dword [ebp - 0x24], esi
call dword [sym.imp.GDI32.dll_SelectObject]
push 4
push dword [ebp - 0x18]
call dword [sym.imp.GDI32.dll_SetStretchBltMode]
push 0xcc0020
push dword [ebp - 0x34]
push dword [ebp - 0x38]
push 0
push 0
push dword [ebp - 0x1c]
push edi
push ebx
push 0
push 0
push dword [ebp - 0x18]
call dword [sym.imp.GDI32.dll_StretchBlt]
push dword [ebp - 0x1c]
call dword [sym.imp.GDI32.dll_DeleteDC]
cmp dword [ebp + 0x20], 0
je 0x454c50
push dword [ebp - 0x20]
call dword [sym.imp.USER32.dll_GetDC]
push 0xcc0020
push 0
push 0
push dword [ebp - 0x18]
mov esi, eax
push edi
push ebx
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push esi
call dword [sym.imp.GDI32.dll_BitBlt]
mov edi, dword [sym.imp.GDI32.dll_DeleteDC]
push esi
call edi
mov esi, dword [ebp - 0x24]
jmp 0x454c76
push esi
push 0
push 0x172
push dword [ebp - 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x454c70
cmp eax, esi
je 0x454c70
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov edi, dword [sym.imp.GDI32.dll_DeleteDC]
push dword [ebp - 0x18]
call edi
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004e1f40
mov esp, ebp
pop ebp
ret