Function at 0x474a73
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push 0x18
call fcn.0050854a
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 6
rep stosd dword es:[edi], eax
push 0x34
call fcn.0050854a
add esp, 4
mov dword [ebp - 8], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 0xd
rep stosd dword es:[edi], eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
push 0x10
call fcn.0050854a
add esp, 4
mov dword [ebp - 0x18], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov ebx, dword [ebp - 4]
mov dword [ebp - 0x24], ebx
mov eax, dword [ebp + 0x10]
mov ebx, dword [ebp - 0x24]
mov dword [ebx], eax
mov ebx, dword [ebp - 4]
add ebx, 4
mov dword [ebp - 0x24], ebx
mov eax, dword [ebp + 0x14]
mov ebx, dword [ebp - 0x24]
mov dword [ebx], eax
lea eax, [ebp - 4]
push eax
call fcn.004099aa
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], esp
push dword [ebp - 0x24]
push 0
push 0x1039
push dword [ebp + 0xc]
xor eax, eax
call dword [sym.imp.USER32.dll_SendMessageW]
nop
nop
cmp dword [ebp - 0x28], esp
je 0x474b6a
push 0x7b
push 0x401ebc4
push 6
call fcn.00508556
add esp, 0xc
mov ebx, dword [ebp - 4]
add ebx, 0xc
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
cmp dword [ebx], 0xffffffff
je 0x474faf
mov ebx, dword [ebp - 8]
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
mov dword [ebx], 4
mov ebx, dword [ebp - 8]
add ebx, 4
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 4]
add ebx, 0xc
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x24]
mov dword [ebx], eax
lea eax, [ebp - 8]
push eax
call fcn.004099aa
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], esp
push dword [ebp - 0x24]
push 0
push 0x104b
push dword [ebp + 0xc]
xor eax, eax
call dword [sym.imp.USER32.dll_SendMessageW]
nop
nop
cmp dword [ebp - 0x28], esp
je 0x474bef
push 0x157
push 0x401ebc4
push 6
call fcn.00508556
add esp, 0xc
mov ebx, dword [ebp - 8]
add ebx, 0x20
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x474faf
push 0xc
push dword [ebp - 0xc]
call fcn.00409cc5
mov dword [ebp - 0x10], eax
push 0x18
push dword [ebp - 0xc]
call fcn.00409cc5
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x10], 1
jne 0x474c5c
mov ebx, dword [ebp - 4]
add ebx, 0xc
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
push dword [ebx]
push dword [ebp - 0xc]
push dword [ebp + 8]
call fcn.00474fe5
mov eax, 0
jmp 0x474fb9
mov ebx, dword [ebp - 4]
add ebx, 0xc
mov dword [ebp - 0x24], ebx
lea eax, [ebp - 0x18]
push eax
call fcn.004099aa
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], esp
push dword [ebp - 0x28]
mov ebx, dword [ebp - 0x24]
push dword [ebx]
push 0x100e
push dword [ebp + 0xc]
xor eax, eax
call dword [sym.imp.USER32.dll_SendMessageW]
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x474caa
push 0x305
push 0x401ebc4
push 6
call fcn.00508556
add esp, 0xc
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x24], ebx
fild dword [ebp - 0x14]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
fsub qword [0x57c485]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
fmul qword [0x57dc9d]
fstp qword [ebp - 0x3c]
fld qword [ebp - 0x3c]
call fcn.004032fc
mov ebx, dword [ebp - 0x24]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x18]
add ebx, 8
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
fild dword [ebx]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
fadd qword [0x57dc9d]
fstp qword [ebp - 0x38]
fld qword [ebp - 0x38]
call fcn.004032fc
mov ebx, dword [ebp - 0x24]
mov dword [ebx], eax
mov ebx, dword [ebp - 4]
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 4]
add ebx, 4
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], esp
mov ebx, dword [ebp - 0x28]
push dword [ebx]
mov ebx, dword [ebp - 0x24]
push dword [ebx]
push dword [ebp - 0x18]
xor eax, eax
call dword [sym.imp.USER32.dll_PtInRect]
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x474d50
push 0x3f5
push 0x401ebc4
push 6
call fcn.00508556
add esp, 0xc
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x474d80
mov ebx, dword [ebp - 4]
add ebx, 0xc
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
push dword [ebx]
push dword [ebp - 0xc]
push dword [ebp + 8]
call fcn.00474fe5
mov eax, 0
jmp 0x474fb9
mov ebx, dword [ebp - 0x18]
add ebx, 4
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
mov dword [ebx], 1
mov ebx, dword [ebp - 4]
add ebx, 0xc
mov dword [ebp - 0x24], ebx
lea eax, [ebp - 0x18]
push eax
call fcn.004099aa
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], esp
push dword [ebp - 0x28]
mov ebx, dword [ebp - 0x24]
push dword [ebx]
push 0x1038
push dword [ebp + 0xc]
xor eax, eax
call dword [sym.imp.USER32.dll_SendMessageW]
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x474de0
push 0x50b
push 0x401ebc4
push 6
call fcn.00508556
add esp, 0xc
mov ebx, dword [ebp - 4]
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 4]
add ebx, 4
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], esp
mov ebx, dword [ebp - 0x28]
push dword [ebx]
mov ebx, dword [ebp - 0x24]
push dword [ebx]
push dword [ebp - 0x18]
xor eax, eax
call dword [sym.imp.USER32.dll_PtInRect]
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x474e25
push 0x54a
push 0x401ebc4
push 6
call fcn.00508556
add esp, 0xc
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x474faf
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x18]
add ebx, 8
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x18]
add ebx, 0xc
mov dword [ebp - 0x2c], ebx
mov ebx, dword [ebp - 0x18]
add ebx, 4
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x2c]
fild dword [ebx]
fstp qword [ebp - 0x38]
fld qword [ebp - 0x38]
mov ebx, dword [ebp - 0x30]
fild dword [ebx]
fstp qword [ebp - 0x40]
fsub qword [ebp - 0x40]
fstp qword [ebp - 0x48]
mov ebx, dword [ebp - 0x28]
fild dword [ebx]
fstp qword [ebp - 0x50]
fld qword [ebp - 0x50]
fsub qword [ebp - 0x48]
fstp qword [ebp - 0x58]
fld qword [ebp - 0x58]
call fcn.004032fc
mov ebx, dword [ebp - 0x24]
mov dword [ebx], eax
push 4
push dword [ebp - 0xc]
call fcn.00409cc5
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x474faf
cmp dword [ebp + 0x18], 0
jne 0x474f08
mov ebx, dword [ebp - 4]
add ebx, 0xc
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], esp
push 2
mov ebx, dword [ebp - 0x24]
push dword [ebx]
push 0x102c
push dword [ebp + 0xc]
xor eax, eax
call dword [sym.imp.USER32.dll_SendMessageW]
nop
nop
cmp dword [ebp - 0x28], esp
je 0x474ef2
push 0x6c6
push 0x401ebc4
push 6
call fcn.00508556
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 2
jne 0x474f08
mov ebx, dword [ebp + 0x1c]
mov dword [ebx], 1
mov ebx, dword [ebp - 4]
add ebx, 0xc
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 4]
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 4]
add ebx, 4
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x30], esp
mov ebx, dword [ebp - 0x2c]
push dword [ebx]
mov ebx, dword [ebp - 0x28]
push dword [ebx]
push dword [ebp - 0x18]
xor eax, eax
call dword [sym.imp.USER32.dll_PtInRect]
nop
nop
cmp dword [ebp - 0x30], esp
je 0x474f56
push 0x7a9
push 0x401ebc4
push 6
call fcn.00508556
add esp, 0xc
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], 0
push 0
push dword [ebp - 0x38]
mov dword [ebp - 0x3c], 0
push 0
push dword [ebp - 0x3c]
mov dword [ebp - 0x40], 0
push 0
push dword [ebp - 0x40]
push 1
push dword [ebp + 0x18]
push 1
push dword [ebp - 0x34]
push 1
mov ebx, dword [ebp - 0x24]
push dword [ebx]
push 1
push dword [ebp - 0xc]
push 1
push dword [ebp + 8]
push 7
push dword [ebp - 0x1c]
call fcn.0040e7e3
mov eax, 0
jmp 0x474fb9
mov eax, 0
jmp 0x474fb9
push eax
mov ebx, dword [ebp - 4]
push ebx
call fcn.00508550
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
call fcn.00508550
add esp, 4
mov ebx, dword [ebp - 0x18]
push ebx
call fcn.00508550
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x18