Function at 0x10018456
Capabilities:
Get graphical window text

Disassembly:
push ebp
lea ebp, [esp - 0x1004]
mov eax, 0x1004
call fcn.10052570
push 0xffffffffffffffff
push 0x1006acf4
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x1009140c]
xor eax, ebp
mov dword [ebp + 0x1000], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
push 0x1c6b
push dword [ebx + 0x14c]
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, ebx
call fcn.10011eaa
mov esi, 0x400
push esi
lea eax, [ebp + 0x800]
push eax
push dword [ebx + 0x14c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
cmp byte [ebp + 0x800], 0
je 0x100186cc
lea eax, [ebp + 0x800]
push 0x10093cf8
push eax
call fcn.10051cb6
test eax, eax
pop ecx
pop ecx
jne 0x10018544
push 0x10070d78
push dword [ebx + 0x14c]
call dword [sym.imp.USER32.dll_SetWindowTextA]
xor edi, edi
mov esi, vtable.Candeo::AboutDlg.0
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x18], edi
push edi
mov dword [ebp - 4], edi
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
lea ecx, [ebp - 0x38]
call fcn.1001841f
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x24], edi
mov dword [ebp - 0x38], esi
je 0x100186cc
push dword [ebp - 0x24]
call fcn.100508c7
jmp 0x100186cc
lea eax, [ebp + 0x800]
push 0x10093c70
push eax
call fcn.10051cb6
test eax, eax
pop ecx
pop ecx
jne 0x10018567
mov ecx, ebx
call fcn.10015e3f
jmp 0x100186cc
push esi
lea eax, [ebp + 0xc00]
push eax
lea eax, [ebp + 0x800]
push eax
call fcn.100343d0
add esp, 0xc
cmp byte [ebp + 0xc00], 0
jne 0x1001859d
push 0x10070d78
push dword [ebx + 0x14c]
call dword [sym.imp.USER32.dll_SetWindowTextA]
jmp 0x100186cc
push ecx
lea eax, [ebp + 0xc00]
mov ecx, esp
mov dword [ebp - 0x3c], esp
push eax
call fcn.10011c34
mov ecx, ebx
call fcn.10015ca8
push esi
lea eax, [ebp]
push eax
push esi
lea eax, [ebp + 0xc00]
push eax
xor edi, edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push edi
push edi
push esi
lea eax, [ebp + 0xc00]
push eax
push esi
lea eax, [ebp]
push eax
push edi
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cmp byte [ebp + 0x100c], 0
je 0x10018657
lea esi, [ebx + 0x198]
cmp word [esi], di
je 0x10018657
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov dword [ebp - 4], 1
mov dword [ebp - 0x14], edi
mov eax, dword [ebx]
lea ecx, [ebp - 0x14]
push ecx
push 0x10075754
push ebx
mov byte [ebp - 4], 2
call dword [eax]
mov ecx, dword [ebx + 0x60]
lea eax, [ebp - 0x4c]
push eax
sub esp, 0x10
mov edi, esp
push dword [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.10025dd1
mov eax, dword [ebp - 0x14]
test eax, eax
mov byte [ebp - 4], 1
je 0x1001864b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
jmp 0x100186cc
mov eax, dword [ebx + 0x178]
push edi
lea ecx, [ebp + 0xc00]
push ecx
push eax
call fcn.10019cf0
add esp, 0xc
test eax, eax
je 0x10018677
xor eax, eax
inc eax
jmp 0x100186ce
push edi
lea eax, [ebp - 0x10]
push eax
push dword [0x10090db8]
call fcn.10035da0
add esp, 0xc
test eax, eax
jne 0x100186a1
inc dword [ebp - 0x10]
push dword [ebp - 0x10]
push dword [0x10090db8]
call fcn.10035e70
pop ecx
pop ecx
cmp dword [0x100a37f0], edi
je 0x100186cc
mov ebx, dword [ebx + 0x60]
cmp ebx, edi
je 0x100186cc
cmp dword [ebx + 0x60], edi
je 0x100186cc
mov eax, dword [ebp - 0x10]
cmp eax, 1
je 0x100186c5
cmp eax, dword [0x100a3830]
jne 0x100186cc
mov ecx, ebx
call fcn.10023ebb
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x1000]
xor ecx, ebp
call fcn.100511f7
add ebp, 0x1004
leave
ret 4