Function at 0x45a050
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x588953
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4b0
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x14], edi
mov ecx, 0x5f5774
mov eax, dword [0x5f5774]
mov edx, dword [eax + 0xc]
call edx
add eax, 0x10
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 1
mov esi, dword [ebp + 8]
test esi, esi
jne 0x45a0a0
xor eax, eax
jmp 0x45a0b4
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x45a0a5
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [ebp - 0x18]
call fcn.00406040
push 3
push 0x59cdf4
lea ecx, [ebp - 0x18]
call fcn.00406040
lea ebx, [edi + 0x298]
mov dword [ebp - 0x30], ebx
add ebx, 4
push 0x30
push 0
lea eax, [ebp - 0x78]
push eax
call fcn.00555020
add esp, 0xc
mov dword [ebp - 0x78], bind
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x68], esi
mov dword [ebp - 0x7c], 3
mov dword [ebp - 0x60], 1
lea ecx, [ebp - 0x7c]
push ecx
push 0
push 0x104d
mov edx, dword [ebx]
push edx
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
call esi
mov dword [ebp - 0x20], eax
mov ecx, 0x5f5774
mov eax, dword [0x5f5774]
mov edx, dword [eax + 0xc]
call edx
add eax, 0x10
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 3
push 0x3f0
mov eax, dword [edi + 0x274]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, eax
mov dword [ebp - 0x34], edi
push 0x80000
push 0
push 0x401
push edi
call esi
push 0
push 0
push 0x402
push edi
call esi
xor ecx, ecx
mov word [ebp - 0x4ac], cx
push 0x206
push ecx
lea edx, [ebp - 0x4aa]
push edx
call fcn.00555020
xor eax, eax
mov word [ebp - 0x2a4], ax
push 0x206
push eax
lea ecx, [ebp - 0x2a2]
push ecx
call fcn.00555020
add esp, 0x18
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x14]
add edx, 0x1d04
push edx
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x28]
push ecx
call fcn.00425e40
add esp, 0xc
mov byte [ebp - 4], 5
mov eax, dword [eax]
push eax
push 0
mov edx, dword [ebp - 0x20]
push edx
mov ecx, ebx
call fcn.00401a50
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
call fcn.00404d60
mov byte [ebp - 0x29], 0
lea eax, [ebp - 0x29]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00511af0
add esp, 8
push 0
push 2
push 0x402
push edi
call esi
push 0x12c
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x336
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0x28], eax
cmp byte [ebp - 0x29], 0
je 0x45a2dc
lea ecx, [ebp - 0x28]
call fcn.00424c10
cmp eax, 1
je 0x45a2dc
mov ecx, dword [ebp - 0x14]
add ecx, 0x1f04
push ecx
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x28]
push eax
call fcn.00425e40
add esp, 0xc
mov byte [ebp - 4], 6
mov eax, dword [eax]
push eax
push 0
mov ecx, dword [ebp - 0x20]
push ecx
mov ecx, ebx
call fcn.00401a50
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
call fcn.00404d60
push 0
push 0
push 0
push 2
push 0
push 2
push 0
mov edx, dword [ebp - 0x20]
push edx
mov ecx, ebx
call fcn.004019e0
push 0
push 0
push 0x402
push edi
call esi
lea eax, [ebp - 0x2a4]
push eax
call fcn.005116a0
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.00404d60
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00404d60
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0
push 3
push 0x402
push edi
call esi
push 0x12c
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 0x14]
add ecx, 0x604
push ecx
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x28]
push eax
call fcn.00425e40
add esp, 0xc
mov byte [ebp - 4], 7
mov eax, dword [eax]
push eax
push 0
mov ecx, dword [ebp - 0x20]
push ecx
mov ecx, ebx
call fcn.00401a50
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
call fcn.00404d60
push 0
push 6
push 0x402
push edi
call esi
push 0x12c
call dword [sym.imp.KERNEL32.dll_Sleep]
mov byte [ebp - 4], 8
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x14]
call fcn.00459990
test al, al
jne 0x45a38e
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x45a36c
and eax, 0xffff
or eax, 0x80070000
push str.InstallFiles_szHost_
push eax
lea ecx, [ebp - 0x8c]
call fcn.00434a80
push 0x5cc0a0
lea eax, [ebp - 0x8c]
push eax
call fcn.00554cbc
mov dword [ebp - 4], 4
push 0
push 7
push 0x402
push edi
call esi
push 0x12c
call dword [sym.imp.KERNEL32.dll_Sleep]
mov byte [ebp - 4], 0xb
mov byte [ebp - 0x21], 0
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [ebp - 0x21]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00511af0
add esp, 8
cmp byte [ebp - 0x21], 0
jne 0x45a40b
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x45a3e9
and eax, 0xffff
or eax, 0x80070000
push str.bIsInstalled
push eax
lea ecx, [ebp - 0x9c]
call fcn.00434a80
push 0x5cc0a0
lea eax, [ebp - 0x9c]
push eax
call fcn.00554cbc
mov dword [ebp - 4], 4
push 0
push 8
push 0x402
push edi
call esi
push 0x12c
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x2a4]
push ecx
call fcn.005116a0
mov edx, dword [ebp - 0x14]
add edx, 0x1704
push edx
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x28]
push ecx
call fcn.00425e40
add esp, 0x10
mov byte [ebp - 4], 0xd
mov eax, dword [eax]
push eax
push 0
mov edx, dword [ebp - 0x20]
push edx
mov ecx, ebx
call fcn.00401a50
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
call fcn.00404d60
push 0
push 0
push 0
push 2
push 0
push 2
push 0
mov eax, dword [ebp - 0x20]
push eax
mov ecx, ebx
call fcn.004019e0
push 0
push 0
push 0x402
push edi
call esi
jmp 0x45a2ac