Function at 0x1001877c
Capabilities:
Get graphical window text

Disassembly:
push ebp
lea ebp, [esp - 0x1004]
mov eax, 0x1004
call fcn.10052570
push 0xffffffffffffffff
push 0x1006adc5
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.100121f7
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 0x100189f2
lea eax, [ebp + 0x800]
push 0x10093cf8
push eax
call fcn.10051cb6
test eax, eax
pop ecx
pop ecx
jne 0x1001886a
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.10018745
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x24], edi
mov dword [ebp - 0x38], esi
je 0x100189f2
push dword [ebp - 0x24]
call fcn.100508c7
jmp 0x100189f2
lea eax, [ebp + 0x800]
push 0x10093c70
push eax
call fcn.10051cb6
test eax, eax
pop ecx
pop ecx
jne 0x1001888d
mov ecx, ebx
call fcn.10016165
jmp 0x100189f2
push esi
lea eax, [ebp + 0xc00]
push eax
lea eax, [ebp + 0x800]
push eax
call fcn.100343be
add esp, 0xc
cmp byte [ebp + 0xc00], 0
jne 0x100188c3
push 0x10070d78
push dword [ebx + 0x14c]
call dword [sym.imp.USER32.dll_SetWindowTextA]
jmp 0x100189f2
push ecx
lea eax, [ebp + 0xc00]
mov ecx, esp
mov dword [ebp - 0x3c], esp
push eax
call fcn.10011f51
mov ecx, ebx
call fcn.10015fce
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 0x1001897d
lea esi, [ebx + 0x198]
cmp word [esi], di
je 0x1001897d
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.10025de7
mov eax, dword [ebp - 0x14]
test eax, eax
mov byte [ebp - 4], 1
je 0x10018971
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
jmp 0x100189f2
mov eax, dword [ebx + 0x178]
push edi
lea ecx, [ebp + 0xc00]
push ecx
push eax
call fcn.1001a200
add esp, 0xc
test eax, eax
je 0x1001899d
xor eax, eax
inc eax
jmp 0x100189f4
push edi
lea eax, [ebp - 0x10]
push eax
push dword [0x10090db8]
call fcn.10035d90
add esp, 0xc
test eax, eax
jne 0x100189c7
inc dword [ebp - 0x10]
push dword [ebp - 0x10]
push dword [0x10090db8]
call fcn.10035e60
pop ecx
pop ecx
cmp dword [0x100a37f0], edi
je 0x100189f2
mov ebx, dword [ebx + 0x60]
cmp ebx, edi
je 0x100189f2
cmp dword [ebx + 0x60], edi
je 0x100189f2
mov eax, dword [ebp - 0x10]
cmp eax, 1
je 0x100189eb
cmp eax, dword [0x100a3830]
jne 0x100189f2
mov ecx, ebx
call fcn.10023f0e
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