Function at 0x49a4f0
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0xc
push ebx
push esi
mov ebx, edx
push edi
mov dword [esp + 0xc], ebx
mov edi, ecx
call fcn.00561000
mov esi, eax
test esi, esi
je 0x49a763
test bl, 0x10
je 0x49a527
call dword [sym.imp.USER32.dll_GetFocus]
mov ecx, eax
call fcn.005612d0
cmp eax, edi
je 0x49a763
call fcn.00524660
mov ecx, dword [esi]
mov edi, eax
mov dword [esp + 0x14], edi
call fcn.005613e0
test eax, eax
jne 0x49a5d9
test bl, 2
je 0x49a54a
push 3
jmp 0x49a560
mov ecx, dword [esi]
push ecx
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x49a55e
mov edx, dword [esi]
push 4
push edx
jmp 0x49a563
push 8
mov eax, dword [esi]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
test bl, 4
jne 0x49a5bb
test bl, 1
jne 0x49a57c
mov eax, dword [0x5f92f4]
test eax, eax
je 0x49a5bb
test edi, edi
je 0x49a597
mov ecx, dword [esi]
push 0x33
push 0
push 0
push 0
push 0
push 0
push ecx
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x49a5bb
mov edx, dword [esi]
push edx
call dword [sym.imp.USER32.dll_BringWindowToTop]
mov eax, dword [esi]
push eax
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov ecx, dword [esi]
push ecx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov edx, dword [esi]
push edx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov ecx, dword [esi]
call fcn.00563350
call fcn.00499bb0
call fcn.00563430
pop edi
pop esi
xor ecx, ecx
pop ebx
add esp, 0xc
jmp fcn.0053b590
mov eax, dword [0x5f92f0]
push ebp
xor ebx, ebx
push eax
xor ebp, ebp
mov dword [esp + 0x18], ebx
call dword [sym.imp.USER32.dll_GetTopWindow]
mov edi, eax
test edi, edi
je 0x49a61c
push edi
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x49a61c
push edi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x49a61c
push edi
call dword [sym.imp.USER32.dll_IsZoomed]
test eax, eax
je 0x49a622
mov ebp, 1
jmp 0x49a622
mov ebp, dword [esi + 0x784]
mov al, byte [esp + 0x10]
test al, 2
je 0x49a62f
mov ebp, 1
test al, 8
jne 0x49a668
test ebp, ebp
je 0x49a668
mov ecx, dword [0x5f92f0]
push 0
push 0
push 0xb
push ecx
mov dword [esp + 0x24], 1
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [esi]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 1
push edx
call edi
mov eax, dword [esi]
push 3
push eax
call edi
jmp 0x49a69f
mov ecx, dword [esi]
push ecx
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x49a682
mov edx, dword [esi]
push edx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x49a687
mov ebx, 1
mov eax, dword [esi]
push 1
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
test ebx, ebx
je 0x49a69f
mov ecx, dword [esi]
xor edx, edx
call fcn.004db6b0
mov ebx, dword [esp + 0x10]
test bl, 4
pop ebp
jne 0x49a724
mov eax, dword [esp + 0x14]
test eax, eax
je 0x49a6c8
mov ecx, dword [esi]
push 0x33
push 0
push 0
push 0
push 0
push 0
push ecx
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x49a724
mov edx, dword [esi]
push edx
call dword [sym.imp.USER32.dll_BringWindowToTop]
mov eax, dword [esi]
push eax
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov edi, ebx
and edi, 1
jne 0x49a6ea
mov eax, dword [0x5f92f4]
test eax, eax
je 0x49a6f3
mov ecx, dword [esi]
push ecx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov ecx, dword [esi]
call fcn.004db770
test eax, eax
jne 0x49a707
mov edx, dword [esi]
push edx
call dword [sym.imp.USER32.dll_SetFocus]
test edi, edi
jne 0x49a714
mov eax, dword [0x5f92f4]
test eax, eax
je 0x49a71b
xor ecx, ecx
call fcn.0054d980
mov eax, dword [esi]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov ecx, dword [esi]
call fcn.00563350
call fcn.00499bb0
mov eax, dword [esp + 0x10]
test eax, eax
je 0x49a5c7
mov ecx, dword [0x5f92f0]
push 0
push 1
push 0xb
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, esi
call fcn.00499c40
pop edi
pop esi
xor ecx, ecx
pop ebx
add esp, 0xc
jmp fcn.0053b590
pop edi
pop esi
pop ebx
add esp, 0xc
ret