Function at 0x4a57d0
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0xc
push ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
push edi
call fcn.005827d0
mov esi, eax
xor ebp, ebp
add esp, 4
cmp esi, ebp
je 0x4a5aa7
push ebx
mov bl, byte [esp + 0x24]
test bl, 0x10
je 0x4a5810
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call fcn.00582af0
add esp, 4
cmp eax, edi
je 0x4a5aa6
call fcn.0053b620
mov edi, eax
mov eax, dword [esi]
push eax
mov dword [esp + 0x18], edi
call fcn.00582c10
add esp, 4
test eax, eax
jne 0x4a58d1
test bl, 8
je 0x4a583a
mov ecx, dword [esi]
push 9
push ecx
jmp 0x4a585c
test bl, 2
je 0x4a5843
push 3
jmp 0x4a5859
mov eax, dword [esi]
push eax
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x4a5857
mov ecx, dword [esi]
push 4
push ecx
jmp 0x4a585c
push 8
mov edx, dword [esi]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
test bl, 4
jne 0x4a58ae
test bl, 1
jne 0x4a5874
cmp dword [0x64532c], ebp
je 0x4a58ae
cmp edi, ebp
je 0x4a588a
mov eax, dword [esi]
push 0x33
push ebp
push ebp
push ebp
push ebp
push ebp
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x4a58ae
mov ecx, dword [esi]
push ecx
call dword [sym.imp.USER32.dll_BringWindowToTop]
mov edx, dword [esi]
push edx
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [esi]
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov ecx, dword [esi]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov edx, dword [esi]
push edx
call fcn.005850e0
call fcn.004a4e20
call fcn.005851c0
push ebp
call fcn.005562e0
add esp, 8
pop ebx
pop edi
pop esi
pop ebp
add esp, 0xc
ret
push ebp
call fcn.00425170
mov dword [esp + 0x1c], eax
mov eax, dword [0x645328]
add esp, 4
push eax
xor ebx, ebx
mov dword [esp + 0x14], ebp
call dword [sym.imp.USER32.dll_GetTopWindow]
mov edi, eax
test edi, edi
je 0x4a5913
push edi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4a5913
push edi
call dword [sym.imp.USER32.dll_IsZoomed]
test eax, eax
je 0x4a5919
mov ebp, 1
jmp 0x4a5919
mov ebp, dword [esi + 0x784]
mov al, byte [esp + 0x24]
test al, 2
je 0x4a5926
mov ebp, 1
test al, 8
jne 0x4a598d
test ebp, ebp
je 0x4a598d
mov ecx, dword [0x645328]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0xb
push ecx
mov dword [esp + 0x20], 1
call ebx
mov edx, dword [esi]
push edx
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
jne 0x4a596b
mov eax, dword [esi]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x4a5972
mov ecx, dword [esi]
push 9
push ecx
call edi
mov edx, dword [esi]
mov eax, dword [0x645328]
push 0
push edx
push 0x222
push eax
call ebx
mov ecx, dword [esi]
push 3
push ecx
call edi
jmp 0x4a59c8
mov edx, dword [esi]
push edx
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x4a59a7
mov eax, dword [esi]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x4a59ac
mov ebx, 1
mov ecx, dword [esi]
push 9
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
test ebx, ebx
je 0x4a59c8
mov edx, dword [esi]
push 0
push edx
call fcn.004eb750
add esp, 8
mov ebx, dword [esp + 0x24]
test bl, 4
jne 0x4a5a57
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4a59f4
mov eax, dword [esi]
push 0x33
push 0
push 0
push 0
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x4a5a57
mov ecx, dword [esi]
push ecx
call dword [sym.imp.USER32.dll_BringWindowToTop]
mov edx, dword [esi]
push edx
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov edi, ebx
and edi, 1
jne 0x4a5a16
mov eax, dword [0x64532c]
test eax, eax
je 0x4a5a1f
mov eax, dword [esi]
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov ecx, dword [esi]
push ecx
call fcn.004eb820
add esp, 4
test eax, eax
jne 0x4a5a37
mov edx, dword [esi]
push edx
call dword [sym.imp.USER32.dll_SetFocus]
test edi, edi
jne 0x4a5a44
mov eax, dword [0x64532c]
test eax, eax
je 0x4a5a4e
push 0
call fcn.005697e0
add esp, 4
mov eax, dword [esi]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov ecx, dword [esi]
push ecx
call fcn.005850e0
add esp, 4
call fcn.004a4e20
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4a5a8d
mov edx, dword [0x645328]
push 0
push 1
push 0xb
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
push esi
call fcn.004a4eb0
add esp, 4
jmp 0x4a5a92
call fcn.005851c0
push 0
call fcn.005562e0
mov eax, dword [esp + 0x1c]
push eax
call fcn.00425170
add esp, 8
pop ebx
pop edi
pop esi
pop ebp
add esp, 0xc
ret