Function at 0x40680b
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], esp
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_IsWindow]
nop
nop
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x406860
push 6
call fcn.0046cc8f
add esp, 4
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x406b65
mov eax, 0x4996e9
test eax, eax
je 0x406889
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.0046cc83
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40689a
push ebx
call fcn.0046cc7d
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0x80000301
push 0
push dword [ebp + 0x10]
push 1
mov ebx, 0x198
call fcn.0046dc10
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], esp
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4068ca
add eax, 8
push eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x4068d5
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
nop
nop
nop
nop
cmp dword [ebp - 0x20], esp
je 0x4068f2
push 6
call fcn.0046cc8f
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x406902
push ebx
call fcn.0046cc7d
add esp, 4
push dword [ebp + 0xc]
call fcn.00406540
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], esp
push 0
push dword [ebp - 0x1c]
push 0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_FindWindowExW]
nop
nop
nop
nop
cmp dword [ebp - 0x20], esp
je 0x40693c
push 6
call fcn.0046cc8f
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x406b65
mov dword [ebp - 0x1c], esp
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
nop
nop
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x40696b
push 6
call fcn.0046cc8f
add esp, 4
mov dword [ebp - 0x28], eax
fild dword [ebp - 0x28]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
fadd qword [0x499668]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
call fcn.00401925
mov dword [ebp - 0xc], eax
fild dword [ebp - 0xc]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
fmul qword [0x4996cf]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
call fcn.00401925
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x1bc
call fcn.0046d800
add esp, 0x10
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4069d6
push ebx
call fcn.0046cc7d
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x1c], esp
push dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x4069ea
add eax, 8
push eax
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_GetWindowTextW]
nop
nop
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x406a0a
push 6
call fcn.0046cc8f
add esp, 4
lea eax, [ebp - 0x10]
push eax
call fcn.00406540
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 4]
push eax
call fcn.00406540
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], esp
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
call dword [0x5f5eee]
nop
nop
nop
nop
cmp dword [ebp - 0x24], esp
je 0x406a47
push 6
call fcn.0046cc8f
add esp, 4
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x406b05
mov dword [ebp - 0x1c], esp
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_GetParent]
nop
nop
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x406a76
push 6
call fcn.0046cc8f
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], esp
push 0xfffffff4
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_GetWindowLongW]
nop
nop
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x406aa0
push 6
call fcn.0046cc8f
add esp, 4
mov dword [ebp - 0x18], eax
push 0x80000301
push 0
push 0
push 0x80000301
push 0
push dword [ebp - 0x18]
push 2
mov ebx, 0xa00
call fcn.0046dcf0
add esp, 0x1c
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], esp
push dword [ebp - 8]
push dword [ebp - 0x1c]
push 0x111
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SendMessageW]
nop
nop
nop
nop
cmp dword [ebp - 0x20], esp
je 0x406afb
push 6
call fcn.0046cc8f
add esp, 4
mov eax, 1
jmp 0x406b6f
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp - 8]
call fcn.0040680b
test eax, eax
je 0x406b25
mov eax, 1
jmp 0x406b6f
push dword [ebp + 0xc]
call fcn.00406540
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], esp
push 0
push dword [ebp - 0x1c]
push dword [ebp - 8]
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_FindWindowExW]
nop
nop
nop
nop
cmp dword [ebp - 0x20], esp
je 0x406b5d
push 6
call fcn.0046cc8f
add esp, 4
mov dword [ebp - 8], eax
jmp 0x40693f
mov eax, 0
jmp 0x406b6f
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x406b80
push ebx
call fcn.0046cc7d
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x406b90
push ebx
call fcn.0046cc7d
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0xc