Function at 0x593580
Capabilities:
Get graphical window text
Hide graphical window

Disassembly:
mov eax, 0x1078
call fcn.005d9990
mov eax, dword [esp + 0x1080]
test eax, eax
push esi
mov esi, dword [esp + 0x1080]
je 0x5935a6
push esi
call fcn.005924e0
add esp, 4
mov ecx, dword [esi]
push 0
lea eax, [esp + 8]
push eax
push ecx
call fcn.00591060
mov eax, dword [esi + 0x147c]
add esp, 0xc
test eax, eax
je 0x5935cd
push 0
push esi
call fcn.00591350
add esp, 8
mov eax, dword [0x66e058]
test eax, eax
je 0x5935e3
mov edx, dword [esi]
push 0
push edx
call fcn.004e6700
add esp, 8
mov eax, dword [esi + 0x1314]
cmp eax, 1
je 0x5935f8
cmp eax, 2
je 0x5935f8
cmp eax, 7
jne 0x593603
push 1
push esi
call fcn.004826b0
add esp, 8
cmp dword [0x61c75c], 0xffffffff
jne 0x593918
push ebx
push edi
push 1
push esi
call fcn.0041f6d0
lea eax, [esp + 0x24]
push 0x1068
push eax
call fcn.004232e0
mov edx, dword [esi]
add esp, 0x10
push 0x1036
lea ecx, [esp + 0x20]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esi]
lea eax, [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextA]
push 0
call fcn.00423fe0
mov edi, dword [esi]
add esp, 4
test edi, edi
mov ebx, eax
je 0x593887
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x593887
push edi
call dword [sym.imp.USER32.dll_GetParent]
mov ecx, dword [0x6a0f44]
cmp eax, ecx
jne 0x593887
mov al, byte [0x6a0f80]
test al, 1
je 0x59382d
test al, 2
je 0x5937df
mov ecx, dword [0x61a9ec]
test ecx, ecx
jne 0x593741
mov ecx, dword [0x61af40]
test ecx, ecx
jne 0x593741
test al, 8
je 0x5936c3
mov edx, dword [esi]
push 8
push edx
jmp 0x5936c8
mov eax, dword [esi]
push 7
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0x1328]
test eax, eax
jne 0x593700
mov ecx, dword [0x6a0f44]
push ecx
call dword [sym.imp.USER32.dll_GetTopWindow]
push eax
call dword [sym.imp.USER32.dll_IsZoomed]
test eax, eax
jne 0x593700
mov edx, dword [esi]
push 0x33
push eax
push eax
push eax
push eax
push eax
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [0x6a0f78]
test ecx, ecx
je 0x593904
mov eax, dword [0x6a0f48]
test eax, eax
je 0x593904
mov eax, dword [0x6a0f88]
test eax, eax
jne 0x593904
mov eax, dword [0x6a0f7c]
test eax, eax
jne 0x5937d3
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
jmp 0x593904
test al, 8
je 0x59377a
mov eax, dword [esi]
push 8
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [0x6a0f44]
push ecx
call dword [sym.imp.USER32.dll_GetTopWindow]
push eax
call dword [sym.imp.USER32.dll_IsZoomed]
test eax, eax
jne 0x59379e
mov edx, dword [esi]
push 0x33
push eax
push eax
push eax
push eax
push eax
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x59379e
mov eax, dword [esi + 0x1904]
test eax, eax
jne 0x593793
mov eax, dword [esi]
push 0
push eax
call fcn.004a8840
add esp, 8
jmp 0x59379e
mov ecx, dword [esi]
push 7
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [0x6a0f78]
test ecx, ecx
je 0x593904
mov eax, dword [0x6a0f48]
test eax, eax
je 0x593904
mov eax, dword [0x6a0f88]
test eax, eax
jne 0x593904
mov eax, dword [0x6a0f7c]
test eax, eax
je 0x593735
push eax
call dword [sym.imp.USER32.dll_SetFocus]
jmp 0x593904
mov eax, dword [0x61a9ec]
test eax, eax
jne 0x593801
mov eax, dword [0x61af40]
test eax, eax
jne 0x593801
mov edx, dword [esi]
push 6
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x593904
mov eax, dword [esi + 0x1904]
test eax, eax
jne 0x59381d
mov eax, dword [esi]
push 0
push eax
call fcn.004a8840
add esp, 8
jmp 0x593904
mov ecx, dword [esi]
push 8
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x593904
mov edx, dword [esi + 0x217c]
test edx, edx
je 0x593904
test al, 4
je 0x593852
mov edx, dword [esi]
push 3
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi]
push edx
jmp 0x5938fc
push ecx
call dword [sym.imp.USER32.dll_GetTopWindow]
push eax
call dword [sym.imp.USER32.dll_IsZoomed]
test eax, eax
je 0x593877
mov eax, dword [esi]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi]
push edx
jmp 0x5938fc
mov ecx, dword [esi]
push 8
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi]
push edx
jmp 0x5938fc
test byte [0x6a0f80], 1
mov eax, dword [esi + 0x217c]
je 0x5938d7
test eax, eax
je 0x593904
mov eax, dword [esi]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 7
push eax
call edi
mov eax, dword [0x6a0f5c]
test eax, eax
je 0x593904
cmp dword [esi + 0x1314], 2
jne 0x5938ce
mov eax, dword [esi + 0x1318]
cmp eax, 1
je 0x593904
cmp eax, 2
je 0x593904
cmp eax, 3
je 0x593904
mov ecx, dword [esi]
push 0
push ecx
call edi
jmp 0x593904
test eax, eax
je 0x593904
test dword [0x6a0cb4], 0x1000000
je 0x5938ee
mov edx, dword [esi]
push 3
push edx
jmp 0x5938f3
mov eax, dword [esi]
push 8
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi]
push ecx
call fcn.00590ee0
add esp, 4
mov edx, dword [esi]
push edx
call dword [sym.imp.USER32.dll_UpdateWindow]
push ebx
call fcn.00423fe0
add esp, 4
pop edi
pop ebx
pop esi
add esp, 0x1078
ret