Function at 0x445137
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x49e602
call fcn.0047d43c
sub esp, 0xe0
mov eax, dword [ebp + 0xc]
push esi
push edi
mov edi, ecx
xor ecx, ecx
cmp dword [eax + 0xc], ecx
mov dword [ebp - 0x40], ecx
jne 0x445178
mov esi, dword [ebp + 8]
push ecx
push eax
mov ecx, esi
mov dword [esi], 0x4a3670
mov dword [esi + 0x20], 0x4a3668
call fcn.00401d87
mov eax, esi
jmp 0x4454ca
push ebx
lea eax, [edi + 0x26c]
mov esi, 0x4a3670
mov ebx, 0x4a3668
push 0
push eax
lea ecx, [ebp - 0xc4]
mov dword [ebp - 0xc4], esi
mov dword [ebp - 0xa4], ebx
call fcn.00401d87
lea eax, [ebp - 0x3c]
lea ecx, [ebp - 0xc4]
push eax
mov dword [ebp - 4], 1
call fcn.0041293c
lea ecx, [ebp - 0x3c]
call fcn.00401093
push 0
lea ecx, [ebp - 0x74]
push dword [ebp + 0xc]
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x54], ebx
call fcn.00401d87
mov eax, dword [edi + 0x2e8]
mov byte [ebp - 4], 2
test eax, eax
je 0x44529e
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push str.ISPREREQDIR
push 0
push 0xc
push eax
call esi
lea ecx, [ebp - 0xc4]
call fcn.00401a14
push eax
push 0
push 0xc
push dword [edi + 0x2e8]
call esi
push 0
push 8
push 0x111
push dword [edi + 0x2e8]
call esi
mov ecx, dword [ebp + 0xc]
call fcn.00401a14
push eax
push 0
push 0xc
push dword [edi + 0x2e8]
call esi
push 0
push 7
push 0x111
push dword [edi + 0x2e8]
call esi
push 0
push 0
push 0xe
push dword [edi + 0x2e8]
call esi
inc eax
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.0040b00a
mov dword [ebp + 0xc], eax
mov ecx, dword [eax]
mov byte [ebp - 4], 3
call fcn.00401a14
mov ecx, dword [ebp + 0xc]
push eax
push dword [ebp - 0x14]
mov dword [ecx + 8], eax
push 0xd
push dword [edi + 0x2e8]
call esi
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 2
call fcn.0040b112
mov esi, 0x4a3670
jmp 0x445490
mov eax, str._ProductLanguage_
mov dword [ebp - 0x3c], esi
mov ecx, eax
mov dword [ebp - 0x1c], ebx
test ecx, ecx
jne 0x4452b4
mov eax, 0x4c6e10
lea ecx, [ebp + 0xf]
push 0
push ecx
push eax
lea ecx, [ebp - 0x3c]
call fcn.004011a9
mov eax, dword [edi + 0x32c]
push 1
push 0xa
lea ecx, [ebp - 0xec]
movzx eax, word [eax + 0x48]
push eax
mov byte [ebp - 4], 4
call fcn.0042a863
push eax
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 5
call fcn.0042a8e1
lea ecx, [ebp - 0xec]
mov byte [ebp - 4], 4
call fcn.00401093
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 2
call fcn.00401093
lea eax, [ebp + 0xf]
push 0
push eax
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0x9c], esi
mov dword [ebp - 0x7c], ebx
call fcn.00401907
mov edi, 0x104
lea eax, [ebp - 0x4c]
push edi
push eax
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 6
call fcn.0040b00a
mov dword [ebp - 0x14], eax
mov ecx, dword [eax]
mov byte [ebp - 4], 7
call fcn.00401a14
mov ecx, dword [ebp - 0x14]
push edi
xor edi, edi
push eax
push edi
mov dword [ecx + 8], eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 6
call fcn.0040b112
mov eax, str._SETUPEXENAME_
mov dword [ebp - 0x3c], esi
mov ecx, eax
mov dword [ebp - 0x1c], ebx
test ecx, ecx
jne 0x445381
mov eax, 0x4c6e10
lea ecx, [ebp - 0xd]
push edi
push ecx
push eax
lea ecx, [ebp - 0x3c]
call fcn.004011a9
lea eax, [ebp - 0xec]
push edi
push eax
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 8
call fcn.004118c4
push eax
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 9
call fcn.0042a8e1
lea ecx, [ebp - 0xec]
mov byte [ebp - 4], 8
call fcn.00401093
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 6
call fcn.00401093
mov eax, str._SETUPEXEDIR_
mov dword [ebp - 0x3c], esi
mov ecx, eax
mov dword [ebp - 0x1c], ebx
test ecx, ecx
jne 0x4453e8
mov eax, 0x4c6e10
lea ecx, [ebp - 0xd]
push edi
push ecx
push eax
lea ecx, [ebp - 0x3c]
call fcn.004011a9
push edi
lea eax, [ebp - 0xec]
push edi
push eax
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 0xa
call fcn.004116e6
push eax
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0xb
call fcn.0042a8e1
lea ecx, [ebp - 0xec]
mov byte [ebp - 4], 0xa
call fcn.00401093
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 6
call fcn.00401093
mov eax, str._ISPREREQDIR_
mov dword [ebp - 0x3c], esi
mov ecx, eax
mov dword [ebp - 0x1c], ebx
test ecx, ecx
jne 0x445450
mov eax, 0x4c6e10
lea ecx, [ebp - 0xd]
push edi
push ecx
push eax
lea ecx, [ebp - 0x3c]
call fcn.004011a9
lea eax, [ebp - 0xc4]
lea ecx, [ebp - 0x74]
push eax
lea eax, [ebp - 0x3c]
push eax
mov byte [ebp - 4], 0xc
call fcn.0042a8e1
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 6
call fcn.00401093
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 2
call fcn.00401093
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x74]
push 0
push eax
mov ecx, edi
mov dword [edi], esi
mov dword [edi + 0x20], ebx
call fcn.00401d87
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x40], 1
mov byte [ebp - 4], 1
call fcn.00401093
and byte [ebp - 4], 0
lea ecx, [ebp - 0xc4]
call fcn.00401093
mov eax, edi
pop ebx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 8