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

Disassembly:
sub esp, 0x14
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push esi
push edi
mov edi, ecx
mov esi, dword [edi + 0xfd4]
test esi, esi
mov dword [esp + 0xc], edx
je 0x4583e1
push ebp
mov ebp, dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x4582de
mov eax, dword [esi + 0x10]
cmp eax, dword [edi + 0xfdc]
je 0x4583d5
mov ecx, dword [esi + 0xc]
push ecx
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
mov ecx, dword [edi + 0x1000]
test ecx, ecx
je 0x458301
cmp dword [ecx + 8], eax
je 0x45832a
mov ecx, dword [ecx + 0x120]
test ecx, ecx
jne 0x4582f2
mov ecx, dword [edi + 0xfe8]
test ecx, ecx
je 0x45831c
jmp 0x458310
cmp dword [ecx + 8], eax
je 0x45832a
mov ecx, dword [ecx + 0x40]
test ecx, ecx
jne 0x458310
mov edx, dword [esi + 0xc]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x45838b
mov ecx, dword [esi + 0xc]
lea eax, [esp + 0x14]
push eax
push ecx
call ebp
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov eax, 2
sub edx, eax
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x20]
sub ecx, eax
add edx, eax
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x1c]
push eax
mov dword [esp + 0x24], edx
add ecx, eax
mov eax, dword [edi + 0xc8]
lea edx, [esp + 0x18]
push edx
push eax
push 0
mov dword [esp + 0x2c], ecx
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov edx, dword [edi + 0xc8]
push 1
lea ecx, [esp + 0x18]
push ecx
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [esi + 0xc]
push 0
push 0
push 0xc1
push eax
call ebx
test eax, eax
jg 0x4583d5
mov ecx, dword [esi + 0xc]
push 0x5a0630
push 0x3e7
push 0xd
push ecx
call ebx
push 0x26
push 0x5a0630
call fcn.00563730
add esp, 8
test eax, eax
je 0x4583d5
push 0x5a0630
push 0
mov byte [eax], 1
mov edx, dword [esi + 0xc]
push 0xc
push edx
call ebx
mov esi, dword [esi + 0x40]
test esi, esi
jne 0x4582c7
pop ebp
mov eax, dword [edi + 0xc8]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x4584cd
mov esi, dword [edi + 0xfd4]
test esi, esi
je 0x4584cd
jmp 0x458410
mov ecx, dword [esi + 0x10]
cmp ecx, dword [edi + 0xfdc]
jne 0x4584c2
mov edx, dword [esi + 0xc]
push edx
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
mov ecx, dword [esi + 0x1c]
test ecx, ecx
je 0x458478
mov ecx, dword [edi + 0x1000]
test ecx, ecx
je 0x45844f
lea ebx, [ebx]
cmp dword [ecx + 8], eax
je 0x458478
mov ecx, dword [ecx + 0x120]
test ecx, ecx
jne 0x458440
mov ecx, dword [edi + 0xfe8]
test ecx, ecx
je 0x45846c
lea esp, [esp]
cmp dword [ecx + 8], eax
je 0x458478
mov ecx, dword [ecx + 0x40]
test ecx, ecx
jne 0x458460
mov eax, dword [esi + 0xc]
push 8
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0xc]
push 0
push 0
push 0xc1
push ecx
call ebx
test eax, eax
jg 0x4584c2
mov edx, dword [esi + 0xc]
push 0x5a0630
push 0x3e7
push 0xd
push edx
call ebx
push 1
push 0x5a0630
call fcn.00563730
add esp, 8
test eax, eax
je 0x4584c2
push 0x5a0630
push 0
mov byte [eax], 0x26
mov eax, dword [esi + 0xc]
push 0xc
push eax
call ebx
mov esi, dword [esi + 0x40]
test esi, esi
jne 0x458410
pop edi
pop esi
pop ebx
add esp, 0x14
ret