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

Disassembly:
sub esp, 0x254
mov eax, dword [0x6069d8]
push ebx
push ebp
push esi
mov ebp, ecx
push 0x808
push eax
mov dword [esp + 0x24], ebp
call dword [sym.imp.USER32.dll_LoadMenuW]
lea ecx, [esp + 0x20]
mov esi, eax
push ecx
mov dword [esp + 0x1c], esi
call dword [sym.imp.USER32.dll_GetCursorPos]
xor ebx, ebx
call fcn.00431570
mov eax, dword [eax + 0x984]
test eax, eax
mov dword [esp + 0xc], eax
je 0x45a25d
lea edx, [eax*4]
push edx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov edx, eax
add esp, 4
test edx, edx
mov dword [esp + 0x10], edx
je 0x45a25d
mov ecx, dword [esp + 0xc]
push edi
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
lea eax, [esp + 0x10]
push eax
push edx
call fcn.00431570
mov ecx, eax
call fcn.00432bc0
test esi, esi
je 0x45a24f
push esi
mov ecx, 0x606b00
call fcn.0049ff20
push ebx
push esi
call dword [sym.imp.USER32.dll_GetSubMenu]
mov edi, eax
test edi, edi
mov dword [esp + 0x18], edi
je 0x45a18f
mov eax, dword [esp + 0x10]
test eax, eax
jbe 0x45a163
mov ebp, dword [esp + 0x14]
mov ecx, dword [ebp]
push ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
mov esi, eax
mov eax, dword [ebp]
lea edx, [esp + 0x5c]
push 0x104
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
xor eax, eax
mov ecx, 0xc
neg esi
sbb esi, esi
lea edi, [esp + 0x2c]
and esi, 8
lea edx, [esp + 0x5c]
rep stosd dword es:[edi], eax
mov dword [esp + 0x38], esi
lea esi, [ebx + 1]
lea ecx, [esp + 0x5c]
push edx
mov dword [esp + 0x30], 0x30
mov dword [esp + 0x34], 0x43
mov dword [esp + 0x40], esi
mov dword [esp + 0x54], ecx
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x54], eax
lea eax, [esp + 0x2c]
push 0
push 0
push 0xffffffffffffffff
push 0
push eax
push 1
push ebx
push ecx
mov ecx, 0x606b00
call fcn.004a0150
mov eax, dword [esp + 0x10]
mov ebx, esi
add ebp, 4
cmp ebx, eax
jb 0x45a0be
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov ebp, dword [esp + 0x20]
mov edx, dword [ebp + 4]
push edx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov eax, dword [ebp + 4]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
push 0
push eax
push ecx
push edx
push 0x188
push edi
mov ecx, 0x606b00
call fcn.004a0590
mov ebx, eax
push esi
mov ecx, 0x606b00
call fcn.0049ffd0
push esi
call dword [sym.imp.USER32.dll_DestroyMenu]
test ebx, ebx
jle 0x45a24f
mov eax, dword [esp + 0x10]
cmp ebx, eax
ja 0x45a1e1
mov eax, dword [esp + 0x14]
mov ebx, dword [eax + ebx*4 - 4]
push ebx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x45a1d6
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 6
push ebx
call esi
push 0
push ebx
call esi
jmp 0x45a24f
push ebx
call fcn.00459f10
add esp, 4
jmp 0x45a24f
sub ebx, 0x8038
je 0x45a22e
dec ebx
je 0x45a202
sub ebx, 0x1c1c
jne 0x45a24f
push 0
mov ecx, 0x52a488
call fcn.00407ad0
jmp 0x45a24f
xor edi, edi
test eax, eax
jbe 0x45a24f
mov esi, dword [esp + 0x14]
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi]
push 6
push ecx
call ebx
mov edx, dword [esi]
push 0
push edx
call ebx
mov eax, dword [esp + 0x10]
inc edi
add esi, 4
cmp edi, eax
jb 0x45a212
jmp 0x45a24f
xor esi, esi
test eax, eax
jbe 0x45a24f
mov edi, dword [esp + 0x14]
mov eax, dword [edi]
push eax
call fcn.00459f10
mov eax, dword [esp + 0x14]
add esp, 4
inc esi
add edi, 4
cmp esi, eax
jb 0x45a238
mov ecx, dword [esp + 0x14]
push ecx
call fcn.004ba355
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x254
ret